Package org.alfresco.repo.rendition
Class RenditionDefinitionPersisterImpl
- java.lang.Object
-
- org.alfresco.repo.rendition.RenditionDefinitionPersisterImpl
-
- All Implemented Interfaces:
RenditionDefinitionPersister
@Deprecated public class RenditionDefinitionPersisterImpl extends java.lang.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 definitionsare 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 Modifier and Type Field Description protected static org.alfresco.service.cmr.repository.NodeRefRENDERING_ACTION_ROOT_NODE_REFDeprecated.
-
Constructor Summary
Constructors Constructor Description RenditionDefinitionPersisterImpl()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddeleteRenditionDefinition(RenditionDefinition renderingAction)Deprecated.RenditionDefinitionloadRenditionDefinition(org.alfresco.service.namespace.QName renditionDefinitionName)Deprecated.This method retrieves aRenditionDefinitionthat has been stored in the repository using thesave()method.java.util.List<RenditionDefinition>loadRenditionDefinitions()Deprecated.This method retrieves theRenditionDefinitions that have been stored in the repository using thesave()method.java.util.List<RenditionDefinition>loadRenditionDefinitions(java.lang.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(org.alfresco.service.cmr.repository.NodeService nodeService)Deprecated.Injects the NodeService bean.voidsetRuntimeActionService(RuntimeActionService runtimeActionService)Deprecated.Injects the RuntimeActionService bean.
-
-
-
Method Detail
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Deprecated.Injects the NodeService bean.- Parameters:
nodeService- the NodeService.
-
setRuntimeActionService
public void setRuntimeActionService(RuntimeActionService runtimeActionService)
Deprecated.Injects the RuntimeActionService bean.- Parameters:
runtimeActionService- the RuntimeActionService.
-
setBehaviourFilter
public void setBehaviourFilter(BehaviourFilter behaviourFilter)
Deprecated.
-
loadRenditionDefinitions
public java.util.List<RenditionDefinition> 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
public java.util.List<RenditionDefinition> loadRenditionDefinitions(java.lang.String renditionEngineName)
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:
RenditionDefinitionPersister.saveRenditionDefinition(RenditionDefinition)
-
loadRenditionDefinition
public RenditionDefinition loadRenditionDefinition(org.alfresco.service.namespace.QName renditionDefinitionName)
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
public void saveRenditionDefinition(RenditionDefinition renderingAction)
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
public void deleteRenditionDefinition(RenditionDefinition renderingAction)
Deprecated.
-
-