|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@PublicApi public interface FieldConfigScheme
A field config scheme is a set of FieldConfig
objects that has been associated to a particular set of IssueType
s
and then associated to a series of contexts (JiraContextNode
). Methods return List
will generally return nulls
unless specified.
Nested Class Summary | |
---|---|
static class |
FieldConfigScheme.Builder
|
Method Summary | |
---|---|
Collection<String> |
getAssociatedIssueTypeIds()
Returns the associated Issue Types. |
Collection<IssueType> |
getAssociatedIssueTypeObjects()
Returns the associated Issue Types. |
Set<org.ofbiz.core.entity.GenericValue> |
getAssociatedIssueTypes()
Deprecated. Use getAssociatedIssueTypeObjects() instead. Since v6.1. |
List<org.ofbiz.core.entity.GenericValue> |
getAssociatedProjectCategories()
Deprecated. since 5.2 use getAssociatedProjectCategoryObjects() instead |
List<ProjectCategory> |
getAssociatedProjectCategoryObjects()
|
List<Long> |
getAssociatedProjectIds()
The associated projectIds, or an empty list if none associated. |
List<Project> |
getAssociatedProjectObjects()
The associated projects, or an empty list if none associated. |
List<org.ofbiz.core.entity.GenericValue> |
getAssociatedProjects()
Deprecated. since 5.1 use getAssociatedProjectObjects() instead |
Map<String,FieldConfig> |
getConfigs()
Returns a Map whose key is a String of issue types and the value is the FieldConfig
for that issue type |
org.apache.commons.collections.MultiMap |
getConfigsByConfig()
Returns a Map whose key is a FieldConfig and values are associated a Collection Issue Type GenericValue |
List<JiraContextNode> |
getContexts()
Returns a list of JiraContextNode objects this scheme is relevent to |
String |
getDescription()
|
ConfigurableField |
getField()
|
Long |
getId()
|
String |
getName()
|
FieldConfig |
getOneAndOnlyConfig()
Returns the one and only config for this scheme iff there's only one config associated |
boolean |
isAllIssueTypes()
|
boolean |
isAllProjects()
|
boolean |
isBasicMode()
|
boolean |
isEnabled()
|
boolean |
isGlobal()
|
boolean |
isInContext(IssueContext issueContext)
|
Method Detail |
---|
String getName()
String getDescription()
Map<String,FieldConfig> getConfigs()
String
of issue types and the value is the FieldConfig
for that issue type
FieldConfig
keyed by name. Null if nothing associatedLong getId()
List<JiraContextNode> getContexts()
JiraContextNode
objects this scheme is relevent to
JiraContextNode
. an empty list if no contextsboolean isInContext(IssueContext issueContext)
@Deprecated List<org.ofbiz.core.entity.GenericValue> getAssociatedProjectCategories()
getAssociatedProjectCategoryObjects()
instead
List<ProjectCategory> getAssociatedProjectCategoryObjects()
@Deprecated List<org.ofbiz.core.entity.GenericValue> getAssociatedProjects()
getAssociatedProjectObjects()
instead
List<Project> getAssociatedProjectObjects()
getAssociatedProjectIds()
@Nonnull List<Long> getAssociatedProjectIds()
getAssociatedProjectObjects()
.
getAssociatedProjectObjects()
Set<org.ofbiz.core.entity.GenericValue> getAssociatedIssueTypes()
getAssociatedIssueTypeObjects()
instead. Since v6.1.
Collection<IssueType> getAssociatedIssueTypeObjects()
@Nonnull Collection<String> getAssociatedIssueTypeIds()
boolean isGlobal()
boolean isAllProjects()
boolean isAllIssueTypes()
boolean isEnabled()
boolean isBasicMode()
org.apache.commons.collections.MultiMap getConfigsByConfig()
FieldConfig
and values are associated a Collection
Issue Type GenericValue
FieldConfig getOneAndOnlyConfig()
FieldConfig
. Null if no configs, or more than one configConfigurableField getField()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |