|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.issue.fields.config.manager.IssueTypeSchemeManagerImpl
public class IssueTypeSchemeManagerImpl
A manager to manage IssueType's unique set of circumstances. That is, it circumvents the scheme system by
collpasing the scheme and config
| Constructor Summary | |
|---|---|
IssueTypeSchemeManagerImpl(FieldConfigSchemeManager configSchemeManager,
OptionSetManager optionSetManager,
GenericConfigManager genericConfigManager,
ConstantsManager constantsManager)
|
|
| 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<FieldConfigScheme> |
getAllRelatedSchemes(String optionId)
Gets all schemes that has the issue type as part of its options |
List<FieldConfigScheme> |
getAllSchemes()
Retrieves all schemes and sorts them. |
FieldConfigScheme |
getConfigScheme(org.ofbiz.core.entity.GenericValue project)
Returns a config scheme for a given project |
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 for a 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)
Return the collection of issue types associated with this project |
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 IssueTypeSchemeManager.getNonSubTaskIssueTypesForProject(com.atlassian.jira.project.Project)
produces the same result as a call to
IssueTypeSchemeManager.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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IssueTypeSchemeManagerImpl(FieldConfigSchemeManager configSchemeManager,
OptionSetManager optionSetManager,
GenericConfigManager genericConfigManager,
ConstantsManager constantsManager)
| Method Detail |
|---|
public FieldConfigScheme create(String schemeName,
String schemeDescription,
List optionIds)
create in interface IssueTypeSchemeManager
public FieldConfigScheme update(FieldConfigScheme configScheme,
Collection optionIds)
update in interface IssueTypeSchemeManagerpublic FieldConfigScheme getDefaultIssueTypeScheme()
IssueTypeSchemeManager
getDefaultIssueTypeScheme in interface IssueTypeSchemeManagerpublic boolean isDefaultIssueTypeScheme(FieldConfigScheme configScheme)
isDefaultIssueTypeScheme in interface IssueTypeSchemeManagerpublic void addOptionToDefault(String id)
IssueTypeSchemeManager
addOptionToDefault in interface IssueTypeSchemeManagerid - issue type idpublic Collection<FieldConfigScheme> getAllRelatedSchemes(String optionId)
IssueTypeSchemeManager
getAllRelatedSchemes in interface IssueTypeSchemeManageroptionId - Issue type id being queried
FieldConfigScheme objectspublic void removeOptionFromAllSchemes(String optionId)
removeOptionFromAllSchemes in interface IssueTypeSchemeManagerpublic void deleteScheme(FieldConfigScheme configScheme)
deleteScheme in interface IssueTypeSchemeManagerpublic List<FieldConfigScheme> getAllSchemes()
getAllSchemes in interface IssueTypeSchemeManagerpublic IssueType getDefaultValue(Issue issue)
getDefaultValue in interface IssueTypeSchemeManagerpublic IssueType getDefaultValue(FieldConfig config)
IssueTypeSchemeManagerIssueType object that is the default for thie configuration
getDefaultValue in interface IssueTypeSchemeManagerpublic IssueType getDefaultValue(org.ofbiz.core.entity.GenericValue project)
getDefaultValue in interface IssueTypeSchemeManagerproject -
public void setDefaultValue(FieldConfig config,
String optionId)
setDefaultValue in interface IssueTypeSchemeManagerpublic FieldConfigScheme getConfigScheme(org.ofbiz.core.entity.GenericValue project)
IssueTypeSchemeManager
getConfigScheme in interface IssueTypeSchemeManagerpublic FieldConfigScheme getConfigScheme(Project project)
IssueTypeSchemeManager
getConfigScheme in interface IssueTypeSchemeManagerpublic Collection<IssueType> getIssueTypesForProject(org.ofbiz.core.entity.GenericValue project)
IssueTypeSchemeManager
getIssueTypesForProject in interface IssueTypeSchemeManagerproject - project generic value
public Collection<IssueType> getIssueTypesForProject(Project project)
IssueTypeSchemeManager
getIssueTypesForProject in interface IssueTypeSchemeManagerproject - project to return the issue types of
IssueType objects (possibly empty, never null).public Collection<IssueType> getIssueTypesForDefaultScheme()
IssueTypeSchemeManager
getIssueTypesForDefaultScheme in interface IssueTypeSchemeManagerIssueType objects (possibly empty, never null).public Collection<IssueType> getNonSubTaskIssueTypesForProject(Project project)
IssueTypeSchemeManagerIssueTypeSchemeManager.getSubTaskIssueTypesForProject(com.atlassian.jira.project.Project)
produces the same result as a call to
IssueTypeSchemeManager.getIssueTypesForProject(com.atlassian.jira.project.Project).
getNonSubTaskIssueTypesForProject in interface IssueTypeSchemeManagerproject - project to return the issue types of
IssueType objectspublic Collection<IssueType> getSubTaskIssueTypesForProject(Project project)
IssueTypeSchemeManagerIssueTypeSchemeManager.getNonSubTaskIssueTypesForProject(com.atlassian.jira.project.Project)
produces the same result as a call to
IssueTypeSchemeManager.getIssueTypesForProject(com.atlassian.jira.project.Project).
getSubTaskIssueTypesForProject in interface IssueTypeSchemeManagerproject - project to return the issue types of
IssueType objects (possibly empty, never null).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||