public class DeleteContentClientSideElement extends DeleteContentClientSideElement
ClientSideElement.Script, ClientSideElement.ScriptFile| Modifier and Type | Field and Description |
|---|---|
protected DeleteODFContentHelper |
_deleteODFContentHelper
The delete ODF content helper
|
protected RootOrgUnitProvider |
_rootOrgUnitProvider
The root orgunit provider
|
_observationManager_contentHelper, _resolver, _smartHelper_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script| Constructor and Description |
|---|
DeleteContentClientSideElement() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
_hasRight(Content content)
Determines if the user has sufficient right for the given content
|
protected boolean |
_isContentReferenced(Content content)
Test if content is still referenced before removing it
|
protected boolean |
_isModifiable(Content content)
Determines if the content is modifiable
|
Map<String,Object> |
deleteContents(List<String> contentsId,
Map<String,Object> parameters)
Delete ODF contents
|
void |
service(ServiceManager manager) |
_getReferencedDescription, getStatus_getAllRightDescription, _getIncorrectWorkflowStepDescription, _getLockedDescription, _getNoModifiableDescription, _getNoRightDescription, _getWorkflowActionUnvailableDescription, _isAllRight, _isLocked, _isWorkflowStepCorrect, _workflowAction, getContentDefaultParameters_configureClass, _configureParameters, _configureScript, configureInitialParameters_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, getScripts, hasRight, setPluginInfo, toStringgetLogger, setLoggerprotected RootOrgUnitProvider _rootOrgUnitProvider
protected DeleteODFContentHelper _deleteODFContentHelper
public DeleteContentClientSideElement()
public void service(ServiceManager manager) throws ServiceException
service in interface Serviceableservice in class DeleteContentClientSideElementServiceExceptionprotected boolean _hasRight(Content content)
SmartContentClientSideElement_hasRight in class SmartContentClientSideElementcontent - the contentprotected boolean _isModifiable(Content content)
SmartContentClientSideElement_isModifiable in class SmartContentClientSideElementcontent - the contentprotected boolean _isContentReferenced(Content content)
DeleteContentClientSideElement_isContentReferenced in class DeleteContentClientSideElementcontent - The content to remove