public class PageVisibilityClientSideElement extends AbstractPageClientSideElement
ClientSideElement
creates a button representing the 'visible' status of a Page
ClientSideElement.Script, ClientSideElement.ScriptFile
_resolver, _synchronizeComponent
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
PageVisibilityClientSideElement() |
Modifier and Type | Method and Description |
---|---|
private I18nizableText |
_getInvisibleDescription(Page page) |
private I18nizableText |
_getParentInvisibleDescription(Page page) |
private I18nizableText |
_getVisibleDescription(Page page) |
private boolean |
_isParentInvisible(Page page) |
Map<String,Object> |
getStatus(List<String> pageIds)
Get the visible 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 PageVisibilityClientSideElement()
public Map<String,Object> getStatus(List<String> pageIds)
pageIds
- The page idprivate I18nizableText _getInvisibleDescription(Page page)
private I18nizableText _getParentInvisibleDescription(Page page)
private I18nizableText _getVisibleDescription(Page page)
private boolean _isParentInvisible(Page page)