com.atlassian.studio.repository.web.action
Class ProjectRepositoryPermissions
java.lang.Object
webwork.action.ActionSupport
com.atlassian.jira.action.JiraActionSupport
com.atlassian.jira.web.action.JiraWebActionSupport
com.atlassian.studio.repository.web.action.ProjectRepositoryPermissions
- All Implemented Interfaces:
- ErrorCollection, I18nHelper, AuthorizationSupport, Serializable, webwork.action.Action, webwork.action.CommandDriven, webwork.action.IllegalArgumentAware
public class ProjectRepositoryPermissions
- extends JiraWebActionSupport
This class extends the ViewProject class so that we don't have to rewrite the "get project' code.
- Since:
- v1.0
- See Also:
- Serialized Form
| Fields inherited from class webwork.action.ActionSupport |
command, errorMap, errorMessages |
| Fields inherited from interface webwork.action.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Methods inherited from class com.atlassian.jira.web.action.JiraWebActionSupport |
addError, addErrorCollection, addErrorMessage, addErrorMessageByKeyIfAbsent, addErrorMessageIfAbsent, addReason, addReasons, forceRedirect, getAdministratorContactLink, getApplicationProperties, getConglomerateCookieValue, getConstantsManager, getDateFormat, getDateTimeFormat, getDateTimeFormatter, getDescTranslation, getDmyDateFormatter, getField, getFlushedErrorMessages, getGlobalPermissionManager, getHint, getHintManager, getJiraContactHelper, getJiraServiceContext, getLanguage, getLoggedInUser, getNameTranslation, getOutlookDate, getPermissionManager, getProjectManager, getRandomHint, getReasons, getRedirect, getRedirectChecker, getReturnUrl, getReturnUrlForCancelLink, getSearchSortDescriptions, getSelectedProject, getSelectedProjectObject, getServerId, getTimeFormat, getUriValidator, getUserFullName, getUserManager, getUserProjectHistoryManager, getVersionManager, getWebworkStack, getWebworkStack, getXsrfToken, hasErrorMessage, hasErrorMessageByKey, htmlEncode, insertContextPath, isHasIssuePermission, isHasIssuePermission, isHasPermission, isHasPermission, isHasPermission, isHasProjectPermission, isHasProjectPermission, isInlineDialogMode, isSystemAdministrator, isUserExists, returnComplete, returnComplete, returnCompleteWithInlineRedirect, returnCompleteWithInlineRedirectAndMsg, returnMsgToUser, setConglomerateCookieValue, setInline, setReasons, setReturnUrl, setSelectedProjectId |
| Methods inherited from class com.atlassian.jira.action.JiraActionSupport |
addErrorMessages, addErrorMessages, addErrors, addIllegalArgumentException, execute, getActionName, getComponentInstanceOfType, getDefaultResourceBundle, getDelegator, getI18nHelper, getKeysForPrefix, getLocale, getOfBizDelegator, getRemoteUser, getResult, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getUnescapedText, getUserPreferences, getWatcherManager, hasAnyErrors, isIndexing, removeKeyOrAddError |
| Methods inherited from class webwork.action.ActionSupport |
addError, addErrorMessage, doDefault, doValidation, getCommandName, getErrorMessages, getErrors, 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 webwork.action.CommandDriven |
getCommandName, setCommand |
ProjectRepositoryPermissions
public ProjectRepositoryPermissions(RepositoryPermissionsManager permissionsManager,
com.atlassian.sal.api.message.I18nResolver resolver,
JiraPermissionUtils jiraPermissionUtils,
com.atlassian.studio.common.appstatus.AppStatusService appStatusService,
GroupManager groupManager)
doExecute
public String doExecute()
throws webwork.action.ResultException
- Overrides:
doExecute in class webwork.action.ActionSupport
- Throws:
webwork.action.ResultException
doRemove
public String doRemove()
doAdd
public String doAdd()
validateAddPermission
protected void validateAddPermission()
doAnon
public String doAnon()
setAnon
public void setAnon(boolean b)
isAnon
public boolean isAnon()
getPermissions
public RepositoryPermissions getPermissions()
getReadOnlyGroups
public List<com.atlassian.crowd.embedded.api.Group> getReadOnlyGroups()
getReadWriteGroups
public List<com.atlassian.crowd.embedded.api.Group> getReadWriteGroups()
setPermission
public void setPermission(String permission)
getSvnPath
public String getSvnPath()
getFisheyeRepositoryKey
public String getFisheyeRepositoryKey()
getGroups
protected Collection<com.atlassian.crowd.embedded.api.Group> getGroups()
getGroupsAvailableForCommit
public Collection<com.atlassian.crowd.embedded.api.Group> getGroupsAvailableForCommit()
getGroupsAvailableForRead
public Collection<com.atlassian.crowd.embedded.api.Group> getGroupsAvailableForRead()
getTarget
public String getTarget()
setTarget
public void setTarget(String target)
getRepositoryKey
public String getRepositoryKey()
setRepositoryKey
public void setRepositoryKey(String repositoryKey)
getProjectName
public String getProjectName()
Copyright © 2002-2012 Atlassian. All Rights Reserved.