public class SetPagePermissionsAction extends AbstractPageAwareAction implements Beanable
ContentPermission
s for the Page, overwriting any existing ones.Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
bean |
contentPermissionManager, spaceManager
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
SetPagePermissionsAction() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getBean() |
boolean |
isPageRequired()
If the action requires that the page be set before being run, then it should
return true to this method.
|
void |
setContentEntityManager(ContentEntityManager contentEntityManager) |
void |
setContentId(long contentId) |
String |
setContentPermissions() |
void |
setEditPermissionsGroups(String editPermissionsGroups) |
void |
setEditPermissionsUsers(String editPermissionsUsers) |
String |
setPagePermissions() |
void |
setViewPermissionsGroups(String viewPermissionsGroups) |
void |
setViewPermissionsUsers(String viewPermissionsUsers) |
getFriendlyDateFormatterHelper, getPage, getPageId, getSpace, getSpaceKey, getTitle, hasViewPagePermission, isCollaborativeContent, isLatestVersionRequired, isPermitted, isViewPermissionRequired, setContentPermissionManager, setPage, setSpaceManager
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEditPermissionRequired
validate
public boolean isPageRequired()
PageAware
isPageRequired
in interface PageAware
isPageRequired
in class AbstractPageAwareAction
public void setViewPermissionsGroups(String viewPermissionsGroups)
public void setViewPermissionsUsers(String viewPermissionsUsers)
public void setEditPermissionsGroups(String editPermissionsGroups)
public void setEditPermissionsUsers(String editPermissionsUsers)
public void setContentEntityManager(ContentEntityManager contentEntityManager)
public void setContentId(long contentId)
Copyright © 2003–2018 Atlassian. All rights reserved.