Package org.alfresco.repo.rendition
Class RenditionDefinitionPersisterImpl
java.lang.Object
org.alfresco.repo.rendition.RenditionDefinitionPersisterImpl
- All Implemented Interfaces:
RenditionDefinitionPersister
@Deprecated
public class RenditionDefinitionPersisterImpl
extends Object
implements RenditionDefinitionPersister
Deprecated.
The RenditionService is being replace by the simpler async RenditionService2.
This class provides the implementation of RenditionDefinition persistence.
N.B.
Rendition definitions are stored within the Data Dictionary in the Alfresco Repository & therefore calls to load or save definitions will be subject to the normal authorisation checks for those nodes. In particular this means that if the Data Dictionary has been given restricted access control (it is Consumer for Group ALL by default), it may not be possible for normal users to load rendition definitions.- Since:
- 3.3
- Author:
- Nick Smith, Neil McErlean
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteRenditionDefinition(RenditionDefinition renderingAction) Deprecated.loadRenditionDefinition(QName renditionDefinitionName) Deprecated.This method retrieves aRenditionDefinitionthat has been stored in the repository using thesave()method.Deprecated.This method retrieves theRenditionDefinitions that have been stored in the repository using thesave()method.loadRenditionDefinitions(String renditionEngineName) Deprecated.This method retrieves the storedRenditionDefinitions that have been registered for the specified rendering engine name.voidsaveRenditionDefinition(RenditionDefinition renderingAction) Deprecated.This method serializes theRenditionDefinitionand stores it in the repository.voidsetBehaviourFilter(BehaviourFilter behaviourFilter) Deprecated.voidsetNodeService(NodeService nodeService) Deprecated.Injects the NodeService bean.voidsetRuntimeActionService(RuntimeActionService runtimeActionService) Deprecated.Injects the RuntimeActionService bean.
-
Field Details
-
RENDERING_ACTION_ROOT_NODE_REF
Deprecated.
-
-
Constructor Details
-
RenditionDefinitionPersisterImpl
public RenditionDefinitionPersisterImpl()Deprecated.
-
-
Method Details
-
setNodeService
Deprecated.Injects the NodeService bean.- Parameters:
nodeService- the NodeService.
-
setRuntimeActionService
Deprecated.Injects the RuntimeActionService bean.- Parameters:
runtimeActionService- the RuntimeActionService.
-
setBehaviourFilter
Deprecated. -
loadRenditionDefinitions
Deprecated.Description copied from interface:RenditionDefinitionPersisterThis method retrieves theRenditionDefinitions that have been stored in the repository using thesave()method. If there are no suchRenditionDefinitions, an empty list is returned.- Specified by:
loadRenditionDefinitionsin interfaceRenditionDefinitionPersister- Returns:
- The
RenditionDefinitions.
-
loadRenditionDefinitions
Deprecated.Description copied from interface:RenditionDefinitionPersisterThis method retrieves the storedRenditionDefinitions that have been registered for the specified rendering engine name. If there are no such renderingRenditionDefinitions, an empty list is returned.- Specified by:
loadRenditionDefinitionsin interfaceRenditionDefinitionPersister- Parameters:
renditionEngineName- the name of a rendering engine. This is usually the spring bean name.- Returns:
- The
RenditionDefinitions. - See Also:
-
loadRenditionDefinition
Deprecated.Description copied from interface:RenditionDefinitionPersisterThis method retrieves aRenditionDefinitionthat has been stored in the repository using thesave()method. If noRenditionDefinitionexists in the repository with the specified rendition name then this method returns null.- Specified by:
loadRenditionDefinitionin interfaceRenditionDefinitionPersister- Parameters:
renditionDefinitionName- The unique identifier used to specify theRenditionDefinitionto retrieve.- Returns:
- The specified
RenditionDefinitionor null.
-
saveRenditionDefinition
Deprecated.Description copied from interface:RenditionDefinitionPersisterThis method serializes theRenditionDefinitionand stores it in the repository.RenditionDefinitions saved in this way may be retrieved using theload()method.- Specified by:
saveRenditionDefinitionin interfaceRenditionDefinitionPersister- Parameters:
renderingAction- TheRenditionDefinitionto be persisted.
-
deleteRenditionDefinition
Deprecated.
-