com.pyxis.greenhopper.jira.configurations
Class GlobalConfiguration
java.lang.Object
com.pyxis.greenhopper.jira.configurations.AbstractPersisted
com.pyxis.greenhopper.jira.configurations.AbstractConfiguration
com.pyxis.greenhopper.jira.configurations.GlobalConfiguration
- All Implemented Interfaces:
- Configuration, Persisted
public class GlobalConfiguration
- extends AbstractConfiguration
Fields inherited from interface com.pyxis.greenhopper.jira.configurations.Configuration |
AUTO_ASSIGN, BASE_CONFIGURATION, CARD_BG_COLORED, CARD_COLORS, CARD_CREATION, CONFIGURATION, DONE, GREENHOPPER_ENTITY_NAME, IN_PROGRESS, JIRA_IFRAME, LINK_TYPE, LIST_ALT, NWDAYS, PERMISSION_SCHEDULE, TO_DO, USE_AGGREGATION |
Methods inherited from class com.pyxis.greenhopper.jira.configurations.AbstractConfiguration |
addNonWorkingDay, addProject, addWatchedField, allowCardCreation, getAllLinks, getAllWorkflowStatuses, getCanRankPermission, getCanSchedulePermission, getCardColor, getConfigNonWorkingDays, getConfigNonWorkingDays2, getCornerFieldIds, getFlagField, getLayout, getLinkType, getName, getNonWorkingDays, getNonWorkingDays2, getRankingFields, getStoredField, getStoredFields, getTaskBoardConfiguration, getUniqueIdentifier, isAutoAssignOn, isCardBgColored, isEditable, isHidden, isListAlt, isPermissionScheduled, removeCorner, removeLayout, removeNonWorkingDay, removeStoredField, removeWatchedField, setAllowCardCreation, setAutoAssign, setCardColor, setCornerField, setDefaultCardColor, setFlagField, setLayout, setLinkType, setListAlt, setPermissionScheduled, setUseAggregation, setUseJiraIFrame, storeField, toggleCardBgColored, useAggregation, useJiraIFrame, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalConfiguration
public GlobalConfiguration()
GlobalConfiguration
public GlobalConfiguration(java.lang.String id)
getEntityId
public long getEntityId()
- Specified by:
getEntityId
in class AbstractPersisted
getFallBackConfiguration
public Configuration getFallBackConfiguration()
getDefaultConfiguration
public Configuration getDefaultConfiguration()
getAllIssueTypes
public java.util.Collection<com.atlassian.jira.issue.issuetype.IssueType> getAllIssueTypes()
getAllIssueTypeIds
public java.util.Collection<java.lang.String> getAllIssueTypeIds()
getCardColors
public java.util.Map<java.lang.String,java.lang.String> getCardColors()
- Specified by:
getCardColors
in interface Configuration
- Overrides:
getCardColors
in class AbstractConfiguration
getAllAvailableFlagValues
public java.util.Set<java.lang.String> getAllAvailableFlagValues(CustomIssueField field)
getAllAvailableFieldsFor
public java.util.Set<IssueField> getAllAvailableFieldsFor(java.lang.String boardType,
java.lang.String group,
IssueFieldManager issueFieldManager)
getWatchedFieldsFor
public java.util.Set<WatchedField> getWatchedFieldsFor(java.lang.String boardType,
IssueFieldManager issueFieldManager)
getWatchedFieldsFor
public java.util.Set<WatchedField> getWatchedFieldsFor(com.atlassian.jira.project.Project project,
IssueFieldManager issueFieldManager)
getSortedFields
public java.util.Set<IssueField> getSortedFields(IssueFieldManager issueFieldManager)
- Specified by:
getSortedFields
in interface Configuration
- Overrides:
getSortedFields
in class AbstractConfiguration
getDBLayoutKey
protected java.lang.String getDBLayoutKey(java.lang.String layoutType,
java.lang.String position)
- Specified by:
getDBLayoutKey
in class AbstractConfiguration
getDataStorage
protected java.util.Map<java.lang.String,java.lang.Object> getDataStorage()
- GHS-2826
Overwrite these two methods to bridge over to GHConfiguration, as both use the same entityName/entityId/key.
- Overrides:
getDataStorage
in class AbstractPersisted
save
public void save()
- Specified by:
save
in interface Persisted
- Overrides:
save
in class AbstractPersisted
Copyright © 2007-2011 Atlassian. All Rights Reserved.