public class ChildrenAction extends AbstractPageAwareAction implements SpaceAware, JSONAction
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 |
---|
ChildrenAction() |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
String |
getJSONString() |
List<Page> |
getPermittedChildren() |
Space |
getSpace() |
boolean |
hasPermittedChildren(Page page) |
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 |
setNode(String node) |
void |
setPageManager(PageManager pageManager) |
void |
setPermissionCheckExemptions(PermissionCheckExemptions permissionCheckExemptions) |
void |
setSpace(Space space)
IOC method for setting the space on the action.
|
getFriendlyDateFormatterHelper, getPage, getPageId, getSpaceKey, getTitle, hasViewPagePermission, isLatestVersionRequired, isViewPermissionRequired, setContentPermissionManager, setPage, setSpaceManager
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, 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, 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 void setPageManager(PageManager pageManager)
public boolean hasPermittedChildren(Page page)
public void setPermissionCheckExemptions(PermissionCheckExemptions permissionCheckExemptions)
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public void setNode(String node)
public boolean isPageRequired()
PageAware
isPageRequired
in interface PageAware
isPageRequired
in class AbstractPageAwareAction
public Space getSpace()
getSpace
in interface Spaced
getSpace
in class AbstractPageAwareAction
public void setSpace(Space space)
SpaceAware
setSpace
in interface SpaceAware
space
- the space that the action will be working on.public boolean isSpaceRequired()
SpaceAware
isSpaceRequired
in interface SpaceAware
public String getJSONString()
getJSONString
in interface JSONAction
public boolean isPermitted()
isPermitted
in class AbstractPageAwareAction
Copyright © 2003–2016 Atlassian. All rights reserved.