|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pyxis.greenhopper.jira.boards.context.DefaultBoardContext
public class DefaultBoardContext
| Field Summary | |
|---|---|
protected CardLayouts |
cardLayouts
|
protected ListLayouts |
listLayouts
|
protected org.apache.log4j.Logger |
log
|
protected SummaryLayouts |
summaryLayouts
|
| Constructor Summary | |
|---|---|
DefaultBoardContext(com.atlassian.jira.project.Project project,
com.atlassian.crowd.embedded.api.User user)
|
|
| Method Summary | |
|---|---|
void |
addWatchedField(java.lang.String fieldId)
|
java.util.Map<java.lang.String,AssigneeBoard> |
getAllAssigneeBoards()
|
java.util.Map<java.lang.String,AssigneeBoard> |
getAllAssigneeBoards(com.atlassian.jira.project.Project project)
|
java.util.Set<IssueField> |
getAllAvailableWatchedFields()
|
java.util.Map<java.lang.String,ComponentBoard> |
getAllComponentBoards()
|
java.util.TreeSet<VersionBoard> |
getAllSortedArchivedChartBoards()
|
java.util.TreeSet<VersionBoard> |
getAllSortedVersionBoards()
|
ArchivedChartBoard |
getArchivedChartBoard(com.atlassian.jira.project.version.Version version)
|
java.util.Set<VersionBoard> |
getArchivedChartBoards(java.util.Collection<java.lang.String> ids)
|
AssigneeBoard |
getAssigneeBoard(java.lang.String id)
|
java.util.Map<java.lang.String,java.lang.String> |
getCardColors()
|
CardLayouts |
getCardLayouts()
|
ChartBoard |
getChartBoard(com.atlassian.jira.project.version.Version version)
|
ChartOverviewBoard |
getChartOverviewBoard()
|
ComponentAssociations |
getComponentAssociations()
|
ComponentBoard |
getComponentBoard(java.lang.String id)
|
ProjectConfiguration |
getConfiguration()
Retrieves the project configuration |
Contexts |
getContexts()
|
VersionBoard |
getDeepestVersionBoard()
|
FlagField |
getFlagField()
|
GreenHopper |
getGreenHopperService()
|
java.lang.String |
getHtmlEncodedText(java.lang.String key)
|
IssueFieldManager |
getIssueFieldManager()
|
ListLayouts |
getListLayouts()
|
UserBoardsPreferences |
getPreferences()
Retrieves the user's project preferences |
com.atlassian.jira.project.Project |
getProject()
Retrieves the board context project |
ProjectBoard |
getProjectBoard()
|
java.lang.Long |
getProjectId()
Retrieves the id of the board context project |
java.util.Set<IssueField> |
getRankingFields()
|
VersionAssociations |
getReleasedVersionAssociations()
|
java.util.Map<java.lang.String,VersionBoard> |
getReleasedVersionBoards()
|
CustomFieldMultiVersion |
getReleasedVersionHistoryField()
|
ScrumDefaultConfiguration |
getScrumConfiguration()
|
SearchBoard |
getSearchBoard(java.lang.String searchType,
java.lang.String searchKey)
|
Context |
getSelectedContext(java.lang.String view)
Retrieves the selected context of the selected view |
java.util.TreeSet<AssigneeBoard> |
getSortedAssigneeBoards()
|
java.util.TreeSet<ComponentBoard> |
getSortedComponentBoards()
|
java.util.TreeSet<VersionBoard> |
getSortedReleasedVersionBoards()
|
java.util.TreeSet<VersionBoard> |
getSortedVersionBoards()
|
java.util.Set<IssueField> |
getSortFields()
|
SummaryLayouts |
getSummaryLayouts()
|
TaskBoard |
getTaskBoard(java.lang.String id)
|
TaskBoardConfiguration |
getTaskBoardConfiguration()
Retrieves the project TaskBoardConfiguration |
java.lang.String |
getText(java.lang.String key)
|
java.lang.String |
getText(java.lang.String key,
java.util.Locale locale)
|
java.lang.String |
getText(java.lang.String key,
java.lang.Object parameters)
|
com.atlassian.jira.timezone.TimeZoneInfo |
getTimeZoneInfo()
|
java.util.Map<java.lang.String,VersionBoard> |
getUnreleasedVersionBoards()
|
com.atlassian.crowd.embedded.api.User |
getUser()
Retrieves the user of the board context project |
java.lang.String |
getUserFullName()
|
UserBoardSettings |
getUserSettings()
Retrieves the users project settings |
VersionAssociations |
getVersionAssociations()
|
VersionBoard |
getVersionBoard(java.lang.String id)
|
java.util.Set<VersionBoard> |
getVersionBoards(java.util.Collection<java.lang.String> ids)
|
WatchedField |
getWatchedField(java.lang.String fieldId)
|
java.util.Set<WatchedField> |
getWatchedFields()
|
boolean |
isEpicLabel(com.atlassian.jira.issue.fields.CustomField field)
|
boolean |
isEpicType(com.atlassian.jira.issue.issuetype.IssueType type)
|
java.lang.String |
pushAssigneeBoardId(java.lang.String newId)
|
java.lang.String |
pushChartBoardId(java.lang.String id)
|
java.lang.String |
pushComponentBoardId(java.lang.String id)
|
java.lang.String |
pushVersionBoardId(java.lang.String id,
boolean unscheduleAllowed)
|
void |
removeWatchedField(java.lang.String fieldId)
|
void |
saveConfiguration()
Saves the project configuration |
void |
savePreferences()
Saves the user's project preferences |
void |
saveTaskBoardConfiguration()
Saves the project TaskBoardConfiguration |
void |
saveUserSettings()
Saves the user's project settings |
void |
updatePreferences(java.lang.String key,
java.lang.Object value)
Updates the user's project preferences with the new key/value pair |
void |
updateUserSettings(java.lang.String key,
java.lang.Object value)
Updates the user's project settings with the new key/value pair |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.log4j.Logger log
protected CardLayouts cardLayouts
protected SummaryLayouts summaryLayouts
protected ListLayouts listLayouts
| Constructor Detail |
|---|
public DefaultBoardContext(com.atlassian.jira.project.Project project,
com.atlassian.crowd.embedded.api.User user)
| Method Detail |
|---|
public GreenHopper getGreenHopperService()
getGreenHopperService in interface BoardContextpublic IssueFieldManager getIssueFieldManager()
getIssueFieldManager in interface BoardContextpublic ProjectConfiguration getConfiguration()
BoardContext
getConfiguration in interface BoardContextProjectConfigurationpublic ScrumDefaultConfiguration getScrumConfiguration()
public TaskBoardConfiguration getTaskBoardConfiguration()
BoardContext
getTaskBoardConfiguration in interface BoardContextTaskBoardConfigurationpublic UserBoardsPreferences getPreferences()
BoardContext
getPreferences in interface BoardContextUserBoardsPreferencespublic UserBoardSettings getUserSettings()
BoardContext
getUserSettings in interface BoardContextUserBoardSettingspublic boolean isEpicType(com.atlassian.jira.issue.issuetype.IssueType type)
isEpicType in interface BoardContextpublic boolean isEpicLabel(com.atlassian.jira.issue.fields.CustomField field)
isEpicLabel in interface BoardContext
public void updatePreferences(java.lang.String key,
java.lang.Object value)
BoardContext
updatePreferences in interface BoardContext
public void updateUserSettings(java.lang.String key,
java.lang.Object value)
BoardContext
updateUserSettings in interface BoardContextpublic void saveConfiguration()
BoardContext
saveConfiguration in interface BoardContextpublic void saveTaskBoardConfiguration()
BoardContext
saveTaskBoardConfiguration in interface BoardContextpublic void savePreferences()
BoardContext
savePreferences in interface BoardContextpublic void saveUserSettings()
BoardContext
saveUserSettings in interface BoardContextpublic com.atlassian.jira.project.Project getProject()
BoardContext
getProject in interface BoardContextProjectpublic java.lang.Long getProjectId()
BoardContext
getProjectId in interface BoardContextpublic com.atlassian.crowd.embedded.api.User getUser()
BoardContext
getUser in interface BoardContextUserpublic java.lang.String getUserFullName()
public Context getSelectedContext(java.lang.String view)
BoardContext
getSelectedContext in interface BoardContextContextpublic ProjectBoard getProjectBoard()
getProjectBoard in interface BoardContextpublic VersionBoard getVersionBoard(java.lang.String id)
getVersionBoard in interface BoardContextpublic VersionBoard getDeepestVersionBoard()
getDeepestVersionBoard in interface BoardContextpublic TaskBoard getTaskBoard(java.lang.String id)
getTaskBoard in interface BoardContextpublic ComponentBoard getComponentBoard(java.lang.String id)
getComponentBoard in interface BoardContext
public java.lang.String pushVersionBoardId(java.lang.String id,
boolean unscheduleAllowed)
pushVersionBoardId in interface BoardContextpublic java.lang.String pushChartBoardId(java.lang.String id)
pushChartBoardId in interface BoardContextpublic java.lang.String pushComponentBoardId(java.lang.String id)
pushComponentBoardId in interface BoardContextpublic java.lang.String pushAssigneeBoardId(java.lang.String newId)
pushAssigneeBoardId in interface BoardContextpublic AssigneeBoard getAssigneeBoard(java.lang.String id)
getAssigneeBoard in interface BoardContextpublic ChartBoard getChartBoard(com.atlassian.jira.project.version.Version version)
getChartBoard in interface BoardContext
public SearchBoard getSearchBoard(java.lang.String searchType,
java.lang.String searchKey)
getSearchBoard in interface BoardContextpublic ArchivedChartBoard getArchivedChartBoard(com.atlassian.jira.project.version.Version version)
getArchivedChartBoard in interface BoardContextpublic ChartOverviewBoard getChartOverviewBoard()
getChartOverviewBoard in interface BoardContextpublic java.util.TreeSet<VersionBoard> getSortedVersionBoards()
getSortedVersionBoards in interface BoardContextpublic java.util.TreeSet<VersionBoard> getSortedReleasedVersionBoards()
getSortedReleasedVersionBoards in interface BoardContextpublic java.util.TreeSet<VersionBoard> getAllSortedVersionBoards()
getAllSortedVersionBoards in interface BoardContextpublic java.util.Set<VersionBoard> getVersionBoards(java.util.Collection<java.lang.String> ids)
getVersionBoards in interface BoardContextpublic java.util.TreeSet<VersionBoard> getAllSortedArchivedChartBoards()
getAllSortedArchivedChartBoards in interface BoardContextpublic java.util.Set<VersionBoard> getArchivedChartBoards(java.util.Collection<java.lang.String> ids)
getArchivedChartBoards in interface BoardContextpublic VersionAssociations getVersionAssociations()
getVersionAssociations in interface BoardContextpublic VersionAssociations getReleasedVersionAssociations()
getReleasedVersionAssociations in interface BoardContextpublic java.util.TreeSet<ComponentBoard> getSortedComponentBoards()
getSortedComponentBoards in interface BoardContextpublic ComponentAssociations getComponentAssociations()
getComponentAssociations in interface BoardContextpublic java.util.TreeSet<AssigneeBoard> getSortedAssigneeBoards()
getSortedAssigneeBoards in interface BoardContextpublic java.util.Map<java.lang.String,AssigneeBoard> getAllAssigneeBoards(com.atlassian.jira.project.Project project)
public CardLayouts getCardLayouts()
getCardLayouts in interface BoardContextpublic SummaryLayouts getSummaryLayouts()
getSummaryLayouts in interface BoardContextpublic ListLayouts getListLayouts()
getListLayouts in interface BoardContextpublic java.util.Set<IssueField> getSortFields()
getSortFields in interface BoardContextpublic java.util.Set<IssueField> getRankingFields()
getRankingFields in interface BoardContextpublic CustomFieldMultiVersion getReleasedVersionHistoryField()
getReleasedVersionHistoryField in interface BoardContextpublic FlagField getFlagField()
getFlagField in interface BoardContextpublic java.util.Set<IssueField> getAllAvailableWatchedFields()
getAllAvailableWatchedFields in interface BoardContextpublic java.util.Set<WatchedField> getWatchedFields()
getWatchedFields in interface BoardContext
public void addWatchedField(java.lang.String fieldId)
throws GreenHopperException
addWatchedField in interface BoardContextGreenHopperExceptionpublic void removeWatchedField(java.lang.String fieldId)
removeWatchedField in interface BoardContextpublic WatchedField getWatchedField(java.lang.String fieldId)
getWatchedField in interface BoardContextpublic java.util.Map<java.lang.String,java.lang.String> getCardColors()
getCardColors in interface BoardContextpublic Contexts getContexts()
getContexts in interface BoardContextpublic java.lang.String getText(java.lang.String key)
getText in interface I18n
public java.lang.String getText(java.lang.String key,
java.util.Locale locale)
getText in interface I18npublic java.lang.String getHtmlEncodedText(java.lang.String key)
getHtmlEncodedText in interface I18n
public java.lang.String getText(java.lang.String key,
java.lang.Object parameters)
getText in interface I18npublic java.util.Map<java.lang.String,VersionBoard> getUnreleasedVersionBoards()
getUnreleasedVersionBoards in interface BoardContextpublic java.util.Map<java.lang.String,VersionBoard> getReleasedVersionBoards()
getReleasedVersionBoards in interface BoardContextpublic java.util.Map<java.lang.String,ComponentBoard> getAllComponentBoards()
getAllComponentBoards in interface BoardContextpublic java.util.Map<java.lang.String,AssigneeBoard> getAllAssigneeBoards()
getAllAssigneeBoards in interface BoardContextpublic com.atlassian.jira.timezone.TimeZoneInfo getTimeZoneInfo()
getTimeZoneInfo in interface BoardContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||