iteration over the map are protected by a read-lock.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldLayoutSchemeImpl
public FieldLayoutSchemeImpl(FieldLayoutManager fieldLayoutManager,
org.ofbiz.core.entity.GenericValue genericValue)
init
protected void init()
- Specified by:
init in class AbstractGVBean
getId
public Long getId()
- Specified by:
getId in interface FieldLayoutScheme
getName
public String getName()
- Specified by:
getName in interface FieldLayoutScheme
setName
public void setName(String name)
- Specified by:
setName in interface FieldLayoutScheme
getDescription
public String getDescription()
- Specified by:
getDescription in interface FieldLayoutScheme
setDescription
public void setDescription(String description)
- Specified by:
setDescription in interface FieldLayoutScheme
store
public void store()
- Specified by:
store in interface FieldLayoutScheme
getFieldLayoutId
public Long getFieldLayoutId(String issueTypeId)
- Description copied from interface:
FieldLayoutScheme
- 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.
- Specified by:
getFieldLayoutId in interface FieldLayoutScheme
- Parameters:
issueTypeId - the Issue Type ID.
- Returns:
- the id of the
FieldLayout ("Field Configuration") to use for this given issue type id.
getEntity
public FieldLayoutSchemeEntity getEntity(String issueTypeId)
- Specified by:
getEntity in interface FieldLayoutScheme
getEntity
public FieldLayoutSchemeEntity getEntity(EditableFieldLayout editableFieldLayout)
- Specified by:
getEntity in interface FieldLayoutScheme
getProjects
public Collection<org.ofbiz.core.entity.GenericValue> getProjects()
- Specified by:
getProjects in interface FieldLayoutScheme
containsEntity
public boolean containsEntity(String issueTypeId)
- Specified by:
containsEntity in interface FieldLayoutScheme
getInternalSchemeEntities
protected Map<String,FieldLayoutSchemeEntity> getInternalSchemeEntities()
addEntity
public void addEntity(FieldLayoutSchemeEntity fieldLayoutSchemeEntity)
- Specified by:
addEntity in interface FieldLayoutScheme
removeEntity
public void removeEntity(String issueTypeId)
- Specified by:
removeEntity in interface FieldLayoutScheme
getEntities
public Collection<FieldLayoutSchemeEntity> getEntities()
- Specified by:
getEntities in interface FieldLayoutScheme
remove
public void remove()
- Specified by:
remove in interface FieldLayoutScheme
Copyright © 2002-2012 Atlassian. All Rights Reserved.