|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IssueTypeSchemeManager
A manager to manage IssueType's unique set of circumstances. That is, it circumvents the scheme system by
collpasing the scheme and config
| Method Summary | |
|---|---|
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 |
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)
Returns the default IssueType object based on the passed in project. |
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)
|
| Method Detail |
|---|
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 queried
FieldConfigScheme objectsvoid removeOptionFromAllSchemes(String optionId)
void deleteScheme(FieldConfigScheme configScheme)
List<FieldConfigScheme> getAllSchemes()
IssueType getDefaultValue(Issue issue)
IssueType getDefaultValue(FieldConfig config)
IssueType object that is the default for thie configuration
config -
void setDefaultValue(FieldConfig config,
String optionId)
IssueType getDefaultValue(org.ofbiz.core.entity.GenericValue project)
IssueType object based on the passed in project.
project -
FieldConfigScheme getConfigScheme(org.ofbiz.core.entity.GenericValue project)
GenericValue is discouraged. Deprecated since: v4.0. Use getConfigScheme(Project) instead.
project -
FieldConfigScheme getConfigScheme(Project project)
project -
@NotNull @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
@NotNull Collection<IssueType> getIssueTypesForProject(Project project)
project - project to return the issue types of
IssueType objects (possibly empty, never null).@NotNull Collection<IssueType> getIssueTypesForDefaultScheme()
IssueType objects (possibly empty, never null).
@NotNull
Collection<IssueType> getSubTaskIssueTypesForProject(@NotNull
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 of
IssueType objects (possibly empty, never null).@NotNull 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 of
IssueType objects
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||