Interface FieldLayoutScheme
- All Superinterfaces:
Named,NamedWithDescription,NamedWithId
- All Known Implementing Classes:
FieldLayoutSchemeImpl
FieldLayoutScheme is the Java Data Object representing what is called a "Field Configuration Scheme" in the UI.
A Field Configuration Scheme maps each Issue Type to a "Field Configuration" (FieldLayoutSchemeEntity).
A Field Configuration defines for each field if it is required or not, whether it is visible or hidden, and what
"Screens" it will appear on. (The Screen defines the order the fields are shown in, and can define multiple tabs).
- See Also:
-
Field Summary
Fields inherited from interface com.atlassian.jira.util.Named
NAME_COMPARATOR -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntity(FieldLayoutSchemeEntity fieldLayoutSchemeEntity) booleancontainsEntity(String issueTypeId) getEntity(EditableFieldLayout editableFieldLayout) getFieldLayoutId(String issueTypeId) Returns the id of the field layout to use for this given issue type id.org.ofbiz.core.entity.GenericValuegetId()getName()Collection<org.ofbiz.core.entity.GenericValue> Deprecated.voidremove()voidremoveEntity(String issueTypeId) voidsetDescription(String description) voidsetGenericValue(org.ofbiz.core.entity.GenericValue genericValue) voidvoidstore()
-
Method Details
-
getId
Long getId()- Specified by:
getIdin interfaceNamedWithId
-
getName
String getName() -
setName
-
getDescription
String getDescription()- Specified by:
getDescriptionin interfaceNamedWithDescription
-
setDescription
-
getGenericValue
org.ofbiz.core.entity.GenericValue getGenericValue() -
setGenericValue
void setGenericValue(org.ofbiz.core.entity.GenericValue genericValue) -
store
void store() -
getFieldLayoutId
Returns the id of the field layout to use for this given issue type id. This will do all the necessary work to lookup the default entry if no specific mapping for the given isuse type id exists. So after calling this method simply use the returned field layout id.- Parameters:
issueTypeId- the Issue Type ID.- Returns:
- the id of the
FieldLayout("Field Configuration") to use for this given issue type id.
-
addEntity
-
removeEntity
-
getEntities
Collection<FieldLayoutSchemeEntity> getEntities() -
remove
void remove() -
getEntity
-
getEntity
-
getProjects
Collection<org.ofbiz.core.entity.GenericValue> getProjects()Deprecated.UsegetProjectsUsing()instead. Since v6.4. -
getProjectsUsing
Collection<Project> getProjectsUsing() -
containsEntity
-
getProjectsUsing()instead.