public class DeleteContentClientSideElement extends SmartContentClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile
Modifier and Type | Field and Description |
---|---|
protected ObservationManager |
_observationManager
Observer manager.
|
_context, _resolver, _userManager, _userProvider, _workflowProvider
_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
Constructor and Description |
---|
DeleteContentClientSideElement() |
Modifier and Type | Method and Description |
---|---|
protected I18nizableText |
_getReferencedDescription(Content content)
Get i18n description when the content is orphan
|
protected boolean |
_isContentReferenced(Content content)
Test if content is still referenced before removing it
|
Map<String,Object> |
getStatus(List<String> contentsId)
Get informations on contents' state
|
void |
service(ServiceManager smanager) |
_getAllRightDescription, _getIncorrectWorkflowStepDescription, _getLockedDescription, _getNoModifiableDescription, _getNoRightDescription, _getWorkflowActionUnvailableDescription, _hasRight, _isAllRight, _isLocked, _isModifiable, _isWorkflowStepCorrect, _workflowAction, contextualize, getContentDefaultParameters
_configureClass, _configureParameters, _configureScript, configureInitialParameters
_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toString
getLogger, setLogger
protected ObservationManager _observationManager
public DeleteContentClientSideElement()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class SmartContentClientSideElement
ServiceException
public Map<String,Object> getStatus(List<String> contentsId)
SmartContentClientSideElement
getStatus
in class SmartContentClientSideElement
contentsId
- the ids of contentsprotected boolean _isContentReferenced(Content content)
content
- The content to removeprotected I18nizableText _getReferencedDescription(Content content)
content
- The contentI18nizableText
description