public class ImmutableFieldConfigurationScheme extends Object implements FieldConfigurationScheme
This object was introduced for caching because the mutable cached object FieldLayoutSchemeImpl
was causing performance problems due to contention on its Locks (see JRA-16870).
Constructor and Description |
---|
ImmutableFieldConfigurationScheme(org.ofbiz.core.entity.GenericValue genericValue,
Collection<org.ofbiz.core.entity.GenericValue> fieldLayoutSchemeEntityGVs) |
Modifier and Type | Method and Description |
---|---|
Set<Long> |
getAllFieldLayoutIds(Collection<String> allIssueTypeIds)
Returns the id's of the field layout's represented by FieldConfigurationScheme (i.e.
|
String |
getDescription() |
Long |
getFieldLayoutId(String issueTypeId)
Returns the id of the field layout to use for this given issue type id.
|
Long |
getId() |
String |
getName() |
public ImmutableFieldConfigurationScheme(org.ofbiz.core.entity.GenericValue genericValue, Collection<org.ofbiz.core.entity.GenericValue> fieldLayoutSchemeEntityGVs)
public Long getFieldLayoutId(String issueTypeId)
FieldConfigurationScheme
getFieldLayoutId
in interface FieldConfigurationScheme
issueTypeId
- the Issue Type ID.FieldLayout
("Field Configuration") to use for this given issue type id.public Set<Long> getAllFieldLayoutIds(Collection<String> allIssueTypeIds)
FieldConfigurationScheme
getAllFieldLayoutIds
in interface FieldConfigurationScheme
allIssueTypeIds
- all the issue type id's that are in the system. This is used to determine if we need
to return the layout for the default, if we have all the issue types mapped in the system then we do not care
about the default since it is never used.FieldLayout
("Field Configuration") to use for the project this is associcated with.public Long getId()
getId
in interface FieldConfigurationScheme
public String getName()
getName
in interface FieldConfigurationScheme
public String getDescription()
getDescription
in interface FieldConfigurationScheme
Copyright © 2002-2021 Atlassian. All Rights Reserved.