public class CustomFieldOptionResolver extends Object implements NameResolver<Option>
| Constructor and Description |
|---|
CustomFieldOptionResolver(OptionsManager optionsManager) |
| Modifier and Type | Method and Description |
|---|---|
Option |
get(Long id)
Get by id.
|
Collection<Option> |
getAll()
Gets all domain objects of this type in the underlying database.
|
List<String> |
getIdsFromName(String name)
Returns the list of ids of T objects that have the given name.
|
boolean |
idExists(Long id)
Returns true if the id would resolve to a domain object.
|
boolean |
nameExists(String name)
Returns true if the name would resolve to a domain object.
|
public CustomFieldOptionResolver(OptionsManager optionsManager)
public List<String> getIdsFromName(String name)
NameResolvergetIdsFromName in interface NameResolver<Option>name - the name of the T.public boolean nameExists(String name)
NameResolvernameExists in interface NameResolver<Option>name - the addressable name.public boolean idExists(Long id)
NameResolveridExists in interface NameResolver<Option>id - the primary key.public Option get(Long id)
NameResolverget in interface NameResolver<Option>id - the id.public Collection<Option> getAll()
NameResolvergetAll in interface NameResolver<Option>Copyright © 2002-2024 Atlassian. All Rights Reserved.