public interface IssueTypeSchemeManager
IssueType
's unique set of circumstances. That is, it circumvents the scheme system by
collpasing the scheme and configModifier and Type | Method and Description |
---|---|
void |
addOptionToDefault(String id)
Adds the option with the issue type id to the default issue type scheme
|
FieldConfigScheme |
create(String schemeName,
String schemeDescription,
List optionIds) |
void |
deleteScheme(FieldConfigScheme configScheme) |
Collection |
getAllRelatedSchemes(String optionId)
Gets all schemes that has the issue type as part of its options
|
List<FieldConfigScheme> |
getAllSchemes() |
FieldConfigScheme |
getConfigScheme(org.ofbiz.core.entity.GenericValue project)
Deprecated.
Use of
GenericValue is discouraged. Deprecated since: v4.0. Use getConfigScheme(Project) instead. |
FieldConfigScheme |
getConfigScheme(Project project)
Returns a config scheme for a given project
|
IssueType |
getDefaultIssueType(Project project)
Returns the default
IssueType object based on the passed in project. |
FieldConfigScheme |
getDefaultIssueTypeScheme()
Returns the default global issue type, to which all issue types are added to
|
IssueType |
getDefaultValue(FieldConfig config)
Returns the
IssueType object that is the default for thie configuration |
IssueType |
getDefaultValue(org.ofbiz.core.entity.GenericValue project)
Deprecated.
Use
getDefaultIssueType(Project) instead. Since v5.2. |
IssueType |
getDefaultValue(Issue issue) |
Collection<IssueType> |
getIssueTypesForDefaultScheme()
Return the collection of issue types associated with the default scheme.
|
Collection<IssueType> |
getIssueTypesForProject(org.ofbiz.core.entity.GenericValue project)
Deprecated.
Use of
GenericValue is discouraged. Deprecated since: 3.9. Use getIssueTypesForProject(Project) instead. |
Collection<IssueType> |
getIssueTypesForProject(Project project)
Return the collection of issue types associated with this project
|
Collection<IssueType> |
getNonSubTaskIssueTypesForProject(Project project)
Return the collection of issue types other than sub-tasks associated with this project.
|
Collection<IssueType> |
getSubTaskIssueTypesForProject(Project project)
Return the collection of sub-task issue types associated with this project
Join of the result of this method and
getNonSubTaskIssueTypesForProject(com.atlassian.jira.project.Project)
produces the same result as a call to
getIssueTypesForProject(com.atlassian.jira.project.Project) . |
boolean |
isDefaultIssueTypeScheme(FieldConfigScheme configScheme) |
void |
removeOptionFromAllSchemes(String optionId) |
void |
setDefaultValue(FieldConfig config,
String optionId) |
FieldConfigScheme |
update(FieldConfigScheme configScheme,
Collection optionIds) |
FieldConfigScheme create(String schemeName, String schemeDescription, List optionIds)
FieldConfigScheme update(FieldConfigScheme configScheme, Collection optionIds)
FieldConfigScheme getDefaultIssueTypeScheme()
boolean isDefaultIssueTypeScheme(FieldConfigScheme configScheme)
void addOptionToDefault(String id)
id
- issue type idCollection getAllRelatedSchemes(String optionId)
optionId
- Issue type id being queriedFieldConfigScheme
objectsvoid removeOptionFromAllSchemes(String optionId)
void deleteScheme(FieldConfigScheme configScheme)
List<FieldConfigScheme> getAllSchemes()
IssueType getDefaultValue(FieldConfig config)
IssueType
object that is the default for thie configurationconfig
- void setDefaultValue(FieldConfig config, String optionId)
IssueType getDefaultValue(org.ofbiz.core.entity.GenericValue project)
getDefaultIssueType(Project)
instead. Since v5.2.IssueType
object based on the passed in project.project
- IssueType getDefaultIssueType(Project project)
IssueType
object based on the passed in project.project
- the ProjectFieldConfigScheme getConfigScheme(org.ofbiz.core.entity.GenericValue project)
GenericValue
is discouraged. Deprecated since: v4.0. Use getConfigScheme(Project)
instead.project
- FieldConfigScheme getConfigScheme(Project project)
project
- @Nonnull @Deprecated Collection<IssueType> getIssueTypesForProject(org.ofbiz.core.entity.GenericValue project)
GenericValue
is discouraged. Deprecated since: 3.9. Use getIssueTypesForProject(Project)
instead.project
- project generic value@Nonnull Collection<IssueType> getIssueTypesForProject(Project project)
project
- project to return the issue types ofIssueType
objects (possibly empty, never null).@Nonnull Collection<IssueType> getIssueTypesForDefaultScheme()
IssueType
objects (possibly empty, never null).@Nonnull Collection<IssueType> getSubTaskIssueTypesForProject(@Nonnull Project project)
getNonSubTaskIssueTypesForProject(com.atlassian.jira.project.Project)
produces the same result as a call to
getIssueTypesForProject(com.atlassian.jira.project.Project)
.project
- project to return the issue types ofIssueType
objects (possibly empty, never null).@Nonnull Collection<IssueType> getNonSubTaskIssueTypesForProject(Project project)
getSubTaskIssueTypesForProject(com.atlassian.jira.project.Project)
produces the same result as a call to
getIssueTypesForProject(com.atlassian.jira.project.Project)
.project
- project to return the issue types ofIssueType
objectsCopyright © 2002-2015 Atlassian. All Rights Reserved.