|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object webwork.action.ActionSupport com.atlassian.jira.action.JiraActionSupport com.atlassian.jira.web.action.JiraWebActionSupport com.atlassian.jira.web.action.user.RestoreDefaultDashboard
public class RestoreDefaultDashboard
Action to restore the default dashboard.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
---|
JiraWebActionSupport.MessageType |
Nested classes/interfaces inherited from interface com.atlassian.jira.util.ErrorCollection |
---|
ErrorCollection.Reason |
Nested classes/interfaces inherited from interface com.atlassian.jira.util.I18nHelper |
---|
I18nHelper.BeanFactory |
Field Summary |
---|
Fields inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
---|
ISSUE_NOT_FOUND_RESULT, PERMISSION_VIOLATION_RESULT, request, RETURN_URL_PARAMETER, savedFilters |
Fields inherited from class com.atlassian.jira.action.JiraActionSupport |
---|
log |
Fields inherited from class webwork.action.ActionSupport |
---|
command, errorMap, errorMessages |
Fields inherited from interface webwork.action.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
RestoreDefaultDashboard(PortalPageService portalPageService,
FavouritesService favouritesService,
EmailFormatter emailFormatter,
GroupPermissionChecker groupPermissionChecker)
|
Method Summary | |
---|---|
protected String |
doExecute()
|
protected void |
doValidation()
|
String |
getCancelUrl()
|
String |
getDestination()
|
String |
getDisplayEmail(String email)
|
Map |
getPortalPagesFavouritedByOthersWithUserCount()
Note: result is cached to avoid double calculation (once for checking emptyness, once for iterating). |
boolean |
isConfirm()
|
boolean |
isHasViewGroupPermission(String group,
com.atlassian.crowd.embedded.api.User user)
|
void |
setConfirm(boolean confirm)
|
void |
setDestination(String destination)
|
Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
---|
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResourceBundle, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUntransformedRawText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, isKeyDefined, removeKeyOrAddError |
Methods inherited from class webwork.action.ActionSupport |
---|
addError, addErrorMessage, doDefault, getCommandName, getHasErrorMessages, getHasErrors, getPropertyEditorMessage, getTexts, getTexts, getTimezone, invalidInput, invokeCommand, isCommand, setCommand, setErrorMessages, setErrors, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.jira.util.ErrorCollection |
---|
addError, addErrorMessage, addErrorMessages, addErrors, hasAnyErrors, setErrorMessages |
Methods inherited from interface webwork.action.CommandDriven |
---|
getCommandName, setCommand |
Constructor Detail |
---|
public RestoreDefaultDashboard(PortalPageService portalPageService, FavouritesService favouritesService, EmailFormatter emailFormatter, GroupPermissionChecker groupPermissionChecker)
Method Detail |
---|
protected void doValidation()
doValidation
in class webwork.action.ActionSupport
protected String doExecute() throws Exception
doExecute
in class webwork.action.ActionSupport
Exception
public boolean isConfirm()
public void setConfirm(boolean confirm)
public String getDestination()
public void setDestination(String destination)
public String getCancelUrl()
public boolean isHasViewGroupPermission(String group, com.atlassian.crowd.embedded.api.User user)
public String getDisplayEmail(String email)
public Map getPortalPagesFavouritedByOthersWithUserCount()
PortalPage
s which have been favourited
by other users, and the number of other users who have that PortalPage favourited.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |