public interface UserPropertyService
Modifier and Type | Method and Description |
---|---|
List<String> |
getQuickCreateFields(com.atlassian.jira.user.ApplicationUser user)
Returns a list of the fields for the custom quick create form that the user last saw
|
String |
getQuickCreateIssueTypeId()
Returns the issue type id for the custom quick create form that the user last saw
|
Boolean |
getUseQuickFormPreference(com.atlassian.jira.user.ApplicationUser user)
Has the user last viewed the quick form or the form with all fields
|
boolean |
hasUserCompletedRapidBoardWelcomeMat(com.atlassian.jira.user.ApplicationUser user)
Has the user "completed" the welcome mat for the Rapid Board? This is defined as having
successfully created a new project, created a new Rapid View or found an existing Rapid View.
|
boolean |
hasUserDismissedClassicBoardsEOLWarning(com.atlassian.jira.user.ApplicationUser user)
Has the user dismissed the classic boards warning message
|
boolean |
isRapidViewSelected(com.atlassian.jira.user.ApplicationUser user)
Is the Rapid Board the currently selected "view"? This is kept separate from the user board settings as
the rapid board is non-project specific.
|
void |
setHasUserDismissedClassicBoardsEOLWarning(boolean hasDismissed,
com.atlassian.jira.user.ApplicationUser user)
Set whether or not the user has dismissed the classic boards warning message
|
void |
setQuickCreateFields(com.atlassian.jira.user.ApplicationUser user,
List<String> string)
Store the list of the fields to be used for the custom quck create form.
|
void |
setQuickCreateIssueTypeId(String issueTypeId)
Store the quick create issue type id for the current user
|
void |
setRapidViewSelected(boolean selected,
com.atlassian.jira.user.ApplicationUser user)
Set whether the rapid view is currently selected.
|
void |
setUseQuickFormPreference(com.atlassian.jira.user.ApplicationUser user,
boolean useQuickForm)
Store the preference for whether to use the quick create form (custom fields) or long form (all fields)
|
void |
setUserCompletedRapidBoardWelcomeMat(boolean completed,
com.atlassian.jira.user.ApplicationUser user)
Set whether or not the user has completed the welcome mat for Rapid Board
|
boolean isRapidViewSelected(com.atlassian.jira.user.ApplicationUser user)
user
- if null then anonymous user is assumed (session based storage is used)void setRapidViewSelected(boolean selected, com.atlassian.jira.user.ApplicationUser user)
selected
- booleanuser
- if null then anonymous user is assumed (session based storage is used)boolean hasUserCompletedRapidBoardWelcomeMat(com.atlassian.jira.user.ApplicationUser user)
user
- if null then anonymous user is assumed (session based storage is used)void setUserCompletedRapidBoardWelcomeMat(boolean completed, com.atlassian.jira.user.ApplicationUser user)
completed
- booleanuser
- if null then anonymous user is assumed (session based storage is used)boolean hasUserDismissedClassicBoardsEOLWarning(com.atlassian.jira.user.ApplicationUser user)
void setHasUserDismissedClassicBoardsEOLWarning(boolean hasDismissed, com.atlassian.jira.user.ApplicationUser user)
String getQuickCreateIssueTypeId()
void setQuickCreateIssueTypeId(String issueTypeId)
issueTypeId
- the id of the issue typeList<String> getQuickCreateFields(com.atlassian.jira.user.ApplicationUser user)
user
- current logged in uservoid setQuickCreateFields(com.atlassian.jira.user.ApplicationUser user, List<String> string)
user
- current logged in userstring
- List of field namesBoolean getUseQuickFormPreference(com.atlassian.jira.user.ApplicationUser user)
user
- current logged in uservoid setUseQuickFormPreference(com.atlassian.jira.user.ApplicationUser user, boolean useQuickForm)
user
- currently logged in useruseQuickForm
- true for quick form, false for long formCopyright © 2007–2015 Atlassian. All rights reserved.