|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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.opensymphony.user.User user)
|
|
DefaultBoardContext(XProject xproject,
com.opensymphony.user.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)
|
BacklogBoardDataFactory |
getBacklogBoardDataFactory()
|
BacklogService |
getBacklogService()
|
BaseDataFactory |
getBaseDataFactory()
|
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.Set<IssueField> |
getSortedFields()
|
java.util.TreeSet<VersionBoard> |
getSortedReleasedVersionBoards()
|
java.util.TreeSet<VersionBoard> |
getSortedVersionBoards()
|
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)
|
java.util.Map<java.lang.String,VersionBoard> |
getUnreleasedVersionBoards()
|
com.opensymphony.user.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.opensymphony.user.User user)
public DefaultBoardContext(XProject xproject, com.opensymphony.user.User user)
Method Detail |
---|
public GreenHopper getGreenHopperService()
getGreenHopperService
in interface BoardContext
public IssueFieldManager getIssueFieldManager()
getIssueFieldManager
in interface BoardContext
public ProjectConfiguration getConfiguration()
BoardContext
getConfiguration
in interface BoardContext
ProjectConfiguration
public ScrumDefaultConfiguration getScrumConfiguration()
public BacklogService getBacklogService()
public BaseDataFactory getBaseDataFactory()
public BacklogBoardDataFactory getBacklogBoardDataFactory()
public TaskBoardConfiguration getTaskBoardConfiguration()
BoardContext
getTaskBoardConfiguration
in interface BoardContext
TaskBoardConfiguration
public UserBoardsPreferences getPreferences()
BoardContext
getPreferences
in interface BoardContext
UserBoardsPreferences
public UserBoardSettings getUserSettings()
BoardContext
getUserSettings
in interface BoardContext
UserBoardSettings
public boolean isEpicType(com.atlassian.jira.issue.issuetype.IssueType type)
isEpicType
in interface BoardContext
public 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 BoardContext
public void saveConfiguration()
BoardContext
saveConfiguration
in interface BoardContext
public void saveTaskBoardConfiguration()
BoardContext
saveTaskBoardConfiguration
in interface BoardContext
public void savePreferences()
BoardContext
savePreferences
in interface BoardContext
public void saveUserSettings()
BoardContext
saveUserSettings
in interface BoardContext
public com.atlassian.jira.project.Project getProject()
BoardContext
getProject
in interface BoardContext
Project
public java.lang.Long getProjectId()
BoardContext
getProjectId
in interface BoardContext
public com.opensymphony.user.User getUser()
BoardContext
getUser
in interface BoardContext
User
public java.lang.String getUserFullName()
public Context getSelectedContext(java.lang.String view)
BoardContext
getSelectedContext
in interface BoardContext
Context
public ProjectBoard getProjectBoard()
getProjectBoard
in interface BoardContext
public VersionBoard getVersionBoard(java.lang.String id)
getVersionBoard
in interface BoardContext
public VersionBoard getDeepestVersionBoard()
getDeepestVersionBoard
in interface BoardContext
public TaskBoard getTaskBoard(java.lang.String id)
getTaskBoard
in interface BoardContext
public ComponentBoard getComponentBoard(java.lang.String id)
getComponentBoard
in interface BoardContext
public java.lang.String pushVersionBoardId(java.lang.String id, boolean unscheduleAllowed)
pushVersionBoardId
in interface BoardContext
public java.lang.String pushChartBoardId(java.lang.String id)
pushChartBoardId
in interface BoardContext
public java.lang.String pushComponentBoardId(java.lang.String id)
pushComponentBoardId
in interface BoardContext
public java.lang.String pushAssigneeBoardId(java.lang.String newId)
pushAssigneeBoardId
in interface BoardContext
public AssigneeBoard getAssigneeBoard(java.lang.String id)
getAssigneeBoard
in interface BoardContext
public 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 BoardContext
public ArchivedChartBoard getArchivedChartBoard(com.atlassian.jira.project.version.Version version)
getArchivedChartBoard
in interface BoardContext
public ChartOverviewBoard getChartOverviewBoard()
getChartOverviewBoard
in interface BoardContext
public java.util.TreeSet<VersionBoard> getSortedVersionBoards()
getSortedVersionBoards
in interface BoardContext
public java.util.TreeSet<VersionBoard> getSortedReleasedVersionBoards()
getSortedReleasedVersionBoards
in interface BoardContext
public java.util.TreeSet<VersionBoard> getAllSortedVersionBoards()
getAllSortedVersionBoards
in interface BoardContext
public java.util.Set<VersionBoard> getVersionBoards(java.util.Collection<java.lang.String> ids)
getVersionBoards
in interface BoardContext
public java.util.TreeSet<VersionBoard> getAllSortedArchivedChartBoards()
getAllSortedArchivedChartBoards
in interface BoardContext
public java.util.Set<VersionBoard> getArchivedChartBoards(java.util.Collection<java.lang.String> ids)
getArchivedChartBoards
in interface BoardContext
public VersionAssociations getVersionAssociations()
getVersionAssociations
in interface BoardContext
public VersionAssociations getReleasedVersionAssociations()
getReleasedVersionAssociations
in interface BoardContext
public java.util.TreeSet<ComponentBoard> getSortedComponentBoards()
getSortedComponentBoards
in interface BoardContext
public ComponentAssociations getComponentAssociations()
getComponentAssociations
in interface BoardContext
public java.util.TreeSet<AssigneeBoard> getSortedAssigneeBoards()
getSortedAssigneeBoards
in interface BoardContext
public java.util.Map<java.lang.String,AssigneeBoard> getAllAssigneeBoards(com.atlassian.jira.project.Project project)
public CardLayouts getCardLayouts()
getCardLayouts
in interface BoardContext
public SummaryLayouts getSummaryLayouts()
getSummaryLayouts
in interface BoardContext
public ListLayouts getListLayouts()
getListLayouts
in interface BoardContext
public java.util.Set<IssueField> getSortedFields()
getSortedFields
in interface BoardContext
public java.util.Set<IssueField> getRankingFields()
getRankingFields
in interface BoardContext
public CustomFieldMultiVersion getReleasedVersionHistoryField()
getReleasedVersionHistoryField
in interface BoardContext
public FlagField getFlagField()
getFlagField
in interface BoardContext
public java.util.Set<IssueField> getAllAvailableWatchedFields()
getAllAvailableWatchedFields
in interface BoardContext
public java.util.Set<WatchedField> getWatchedFields()
getWatchedFields
in interface BoardContext
public void addWatchedField(java.lang.String fieldId) throws GreenHopperException
addWatchedField
in interface BoardContext
GreenHopperException
public void removeWatchedField(java.lang.String fieldId)
removeWatchedField
in interface BoardContext
public WatchedField getWatchedField(java.lang.String fieldId)
getWatchedField
in interface BoardContext
public java.util.Map<java.lang.String,java.lang.String> getCardColors()
getCardColors
in interface BoardContext
public Contexts getContexts()
getContexts
in interface BoardContext
public 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 I18n
public 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 I18n
public java.util.Map<java.lang.String,VersionBoard> getUnreleasedVersionBoards()
getUnreleasedVersionBoards
in interface BoardContext
public java.util.Map<java.lang.String,VersionBoard> getReleasedVersionBoards()
getReleasedVersionBoards
in interface BoardContext
public java.util.Map<java.lang.String,ComponentBoard> getAllComponentBoards()
getAllComponentBoards
in interface BoardContext
public java.util.Map<java.lang.String,AssigneeBoard> getAllAssigneeBoards()
getAllAssigneeBoards
in interface BoardContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |