Class LazyLoadedOption
java.lang.Object
com.atlassian.jira.issue.customfields.option.LazyLoadedOption
- All Implemented Interfaces:
Option,SimpleOption<Option>,Comparable<Option>
-
Constructor Summary
ConstructorsConstructorDescriptionLazyLoadedOption(org.ofbiz.core.entity.GenericValue gv, OptionsManager optionsManager, FieldConfigManager fieldManager) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanReturn a list of options that exist under this option (i.e.Get the disabled status.org.ofbiz.core.entity.GenericValueThe ID of the option or null if it currently does not have one.Get related CustomField's FieldConfig.getValue()The current value of the option.inthashCode()retrieveAllChildren(List<Option> listToAddTo) Deprecated.voidsetDisabled(Boolean disabled) voidsetSequence(Long sequence) voidvoidstore()toString()
-
Constructor Details
-
LazyLoadedOption
public LazyLoadedOption(org.ofbiz.core.entity.GenericValue gv, OptionsManager optionsManager, FieldConfigManager fieldManager)
-
-
Method Details
-
getRelatedCustomField
Description copied from interface:OptionGet related CustomField's FieldConfig.- Specified by:
getRelatedCustomFieldin interfaceOption- Returns:
- FieldConfig of a CustomField
-
getParentOption
- Specified by:
getParentOptionin interfaceOption
-
getParentOptionId
- Specified by:
getParentOptionIdin interfaceOption
-
getChildOptions
Description copied from interface:OptionReturn a list of options that exist under this option (i.e. its children).NOTE: This method is here is keep the API checker happy (JRADEV-23901).
- Specified by:
getChildOptionsin interfaceOption- Specified by:
getChildOptionsin interfaceSimpleOption<Option>- Returns:
- the list of options that exist under this option. An empty list is returned when such options exist.
-
retrieveAllChildren
Deprecated.- Specified by:
retrieveAllChildrenin interfaceOption- Parameters:
listToAddTo- the list to add the options to- Returns:
- a list of all descendant options
-
getOptionId
Description copied from interface:OptionThe ID of the option or null if it currently does not have one.NOTE: This method is here is keep the API checker happy (see JRADEV-23901).
- Specified by:
getOptionIdin interfaceOption- Specified by:
getOptionIdin interfaceSimpleOption<Option>- Returns:
- the ID of the option or null if it does not have one.
-
getSequence
- Specified by:
getSequencein interfaceOption
-
getValue
Description copied from interface:OptionThe current value of the option. This is the option displayed to the user.NOTE: This method is here is keep the API checker happy (JRADEV-23901).
- Specified by:
getValuein interfaceOption- Specified by:
getValuein interfaceSimpleOption<Option>- Returns:
- the value of the option.
-
getDisabled
Description copied from interface:OptionGet the disabled status. A disabled option will is not available to be assigned to this associated custom field, It remains valid historically and for searching with.- Specified by:
getDisabledin interfaceOption
-
setValue
-
setSequence
- Specified by:
setSequencein interfaceOption
-
setDisabled
- Specified by:
setDisabledin interfaceOption
-
store
public void store() -
getGenericValue
public org.ofbiz.core.entity.GenericValue getGenericValue()- Specified by:
getGenericValuein interfaceOption
-
compareTo
- Specified by:
compareToin interfaceComparable<Option>
-
equals
-
hashCode
public int hashCode() -
toString
-