public class GetPagePermissionsAction extends AbstractPageAwareAction implements Beanable, SpaceAware
Modifier and Type | Field and Description |
---|---|
protected Map<String,Object> |
bean |
contentPermissionManager, spaceManager
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
GetPagePermissionsAction() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getBean() |
String |
getContentPermissions() |
String |
getEditPagePermissions()
Deprecated.
since 6.0, use
getContentPermissions() |
String |
getPagePermissions()
Deprecated.
since 6.0, use
getContentPermissions() |
boolean |
isPageRequired()
If the action requires that the page be set before being run, then it should
return true to this method.
|
boolean |
isPermitted() |
boolean |
isSpaceRequired()
If the action requires that the space be set before being run, then it should
return true to this method.
|
void |
setContentEntityManager(ContentEntityManager contentEntityManager) |
void |
setContentId(long contentId) |
void |
setContentPermissionManager(ContentPermissionManager contentPermissionManager) |
void |
setPageManager(PageManager pageManager) |
void |
setParentPageId(long parentPageId) |
void |
setParentPageTitle(String parentPageTitle) |
void |
setSpace(Space space)
IOC method for setting the space on the action.
|
getFriendlyDateFormatterHelper, getPage, getPageId, getSpace, getSpaceKey, getTitle, hasViewPagePermission, isLatestVersionRequired, isViewPermissionRequired, setPage, setSpaceManager
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, 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
isViewPermissionRequired
validate
public boolean isPermitted()
isPermitted
in class AbstractPageAwareAction
@Deprecated public String getPagePermissions() throws Exception
getContentPermissions()
Exception
@Deprecated public String getEditPagePermissions() throws Exception
getContentPermissions()
Exception
public void setContentPermissionManager(ContentPermissionManager contentPermissionManager)
setContentPermissionManager
in class AbstractPageAwareAction
public void setPageManager(PageManager pageManager)
public void setSpace(Space space)
SpaceAware
setSpace
in interface SpaceAware
space
- the space that the action will be working on.public boolean isPageRequired()
PageAware
isPageRequired
in interface PageAware
isPageRequired
in class AbstractPageAwareAction
public boolean isSpaceRequired()
SpaceAware
isSpaceRequired
in interface SpaceAware
public void setParentPageId(long parentPageId)
public void setParentPageTitle(String parentPageTitle)
public void setContentEntityManager(ContentEntityManager contentEntityManager)
public void setContentId(long contentId)
Copyright © 2003–2015 Atlassian. All rights reserved.