Package org.ametys.web.clientsideelement
Class DeletePageClientSideElement
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.core.ui.StaticFileImportsClientSideElement
-
- org.ametys.core.ui.StaticClientSideElement
-
- org.ametys.web.clientsideelement.AbstractPageClientSideElement
-
- org.ametys.web.clientsideelement.DeletePageClientSideElement
-
- All Implemented Interfaces:
ClientSideElement
,LogEnabled
,PluginAware
,Configurable
,Serviceable
public class DeletePageClientSideElement extends AbstractPageClientSideElement
ThisClientSideElement
creates a button to delete a page
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
-
-
Field Summary
-
Fields inherited from class org.ametys.web.clientsideelement.AbstractPageClientSideElement
_resolver, _synchronizeComponent
-
Fields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
-
-
Constructor Summary
Constructors Constructor Description DeletePageClientSideElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
getStatus(List<String> pageIds)
Get the pages' statusprotected boolean
hasRight(Page page)
Determines if user has convenient right on page-
Methods inherited from class org.ametys.web.clientsideelement.AbstractPageClientSideElement
getAllRightPageDescription, getNoModifiablePageDescription, getNoRightPageDescription, getPageDefaultParameters, service
-
Methods inherited from class org.ametys.core.ui.StaticClientSideElement
_configureClass, _configureParameters, _configureScript, configureInitialParameters
-
Methods inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Constructor Detail
-
DeletePageClientSideElement
public DeletePageClientSideElement()
-
-
Method Detail
-
getStatus
public Map<String,Object> getStatus(List<String> pageIds)
Get the pages' status- Parameters:
pageIds
- The page ids- Returns:
- the page status
-
hasRight
protected boolean hasRight(Page page)
Description copied from class:AbstractPageClientSideElement
Determines if user has convenient right on page- Overrides:
hasRight
in classAbstractPageClientSideElement
- Parameters:
page
- The page- Returns:
- true if the user has convenient right
-
-