public class DeleteContentClientSideElement extends SmartContentClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile| Modifier and Type | Field and Description | 
|---|---|
protected ObservationManager | 
_observationManager
Observer manager. 
 | 
_contentHelper, _resolver, _smartHelper_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, getContentDefaultParameters_configureClass, _configureParameters, _configureScript, configureInitialParameters_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toStringgetLogger, setLoggerprotected ObservationManager _observationManager
public DeleteContentClientSideElement()
public void service(ServiceManager smanager) throws ServiceException
service in interface Serviceableservice in class SmartContentClientSideElementServiceExceptionpublic Map<String,Object> getStatus(List<String> contentsId)
SmartContentClientSideElementgetStatus in class SmartContentClientSideElementcontentsId - the ids of contentsprotected boolean _isContentReferenced(Content content)
content - The content to removeprotected I18nizableText _getReferencedDescription(Content content)
content - The contentI18nizableText description