public class GlobalConfiguration extends AbstractConfiguration
loggeri18n, logALIAS, AUTO_ASSIGN, BASE_CONFIGURATION, CARD_BG_COLORED, CARD_COLORS, CARD_CREATION, CONFIGURATION, DONE, GREENHOPPER_ENTITY_NAME, IN_PROGRESS, LINK_TYPE, LIST_ALT, NWDAYS, PERMISSION_SCHEDULE, TO_DO, USE_AGGREGATIONCONFIGURATION_ID, CONFIGURATION_NAME, log| Constructor and Description |
|---|
GlobalConfiguration() |
GlobalConfiguration(String id) |
| Modifier and Type | Method and Description |
|---|---|
Set<IssueField> |
getAllAvailableFieldsFor(String boardType,
String group,
IssueFieldManager issueFieldManager) |
Set<com.atlassian.jira.issue.customfields.option.Option> |
getAllAvailableFlagValues(CustomIssueField field) |
Collection<String> |
getAllIssueTypeIds() |
Collection<com.atlassian.jira.issue.issuetype.IssueType> |
getAllIssueTypes() |
Map<String,String> |
getCardColors() |
protected Map<String,Object> |
getDataStorage()
GHS-2826
Overwrite these two methods to bridge over to GHConfiguration, as both use the same entityName/entityId/key.
|
protected String |
getDBLayoutKey(String layoutType,
String position) |
Configuration |
getDefaultConfiguration() |
long |
getEntityId() |
Configuration |
getFallBackConfiguration() |
Set<IssueField> |
getSortedFields(IssueFieldManager issueFieldManager) |
Set<WatchedField> |
getWatchedFieldsFor(com.atlassian.jira.project.Project project,
IssueFieldManager issueFieldManager) |
Set<WatchedField> |
getWatchedFieldsFor(String boardType,
IssueFieldManager issueFieldManager) |
void |
save() |
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, storeField, toggleCardBgColored, useAggregation, validatecreateAndPersistField, delete, getCustomFieldService, getData, getDBPrefix, getGreenHopperService, getId, getPropertyKey, loadFromDatabase, setName, validateNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, getData, getId, getPropertyKey, setName, validateNamepublic GlobalConfiguration()
public GlobalConfiguration(String id)
public long getEntityId()
getEntityId in class AbstractPersistedpublic Configuration getFallBackConfiguration()
public Configuration getDefaultConfiguration()
public Collection<com.atlassian.jira.issue.issuetype.IssueType> getAllIssueTypes()
public Collection<String> getAllIssueTypeIds()
public Map<String,String> getCardColors()
getCardColors in interface ConfigurationgetCardColors in class AbstractConfigurationpublic Set<com.atlassian.jira.issue.customfields.option.Option> getAllAvailableFlagValues(CustomIssueField field)
public Set<IssueField> getAllAvailableFieldsFor(String boardType, String group, IssueFieldManager issueFieldManager)
public Set<WatchedField> getWatchedFieldsFor(String boardType, IssueFieldManager issueFieldManager)
public Set<WatchedField> getWatchedFieldsFor(com.atlassian.jira.project.Project project, IssueFieldManager issueFieldManager)
public Set<IssueField> getSortedFields(IssueFieldManager issueFieldManager)
getSortedFields in interface ConfigurationgetSortedFields in class AbstractConfigurationprotected String getDBLayoutKey(String layoutType, String position)
getDBLayoutKey in class AbstractConfigurationprotected Map<String,Object> getDataStorage()
getDataStorage in class AbstractPersistedpublic void save()
save in interface Persistedsave in class AbstractPersistedCopyright © 2007–2015 Atlassian. All rights reserved.