public class PreviewPageClientSideElement extends AbstractPageClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
_resolver, _synchronizeComponent
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
PreviewPageClientSideElement() |
Modifier and Type | Method and Description |
---|---|
private I18nizableText |
_getInvalidPageDescription(Page page)
Get i18n description for invalid page
|
private Page |
_getPageRedirection(Page page) |
private boolean |
_isInfiniteRedirection(Page page,
List<String> pagesSequence) |
private boolean |
_isPageExist(String id) |
private boolean |
_isPreviewable(Page page)
Determine if this page is previewable
|
Map<String,Object> |
getStatus(List<String> pageIds)
Get the preview status of given pages
|
getAllRightPageDescription, getNoModifiablePageDescription, getNoRightPageDescription, getPageDefaultParameters, hasRight, service
_configureClass, _configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
public PreviewPageClientSideElement()
public Map<String,Object> getStatus(List<String> pageIds)
pageIds
- The page idprivate I18nizableText _getInvalidPageDescription(Page page)
page
- The pageI18nizableText
descriptionprivate boolean _isPreviewable(Page page)
page
- The page to look atprivate boolean _isPageExist(String id)
private boolean _isInfiniteRedirection(Page page, List<String> pagesSequence)
private Page _getPageRedirection(Page page)