Package org.alfresco.repo.rendition
Interface RenditionDefinitionPersister
- All Known Subinterfaces:
RenditionService
- All Known Implementing Classes:
RenditionDefinitionPersisterImpl,RenditionServiceImpl
Deprecated.
The RenditionService is being replace by the simpler async RenditionService2.
This class provides the implementation of
RenditionDefinition persistence.
Note that rendition definitions are saved underneath the Data Dictionary and therefore any code which loads or saves rendition definitions must have the appropriate authorisation.- Since:
- 3.3
- Author:
- Nick Smith, Neil McErlean
-
Method Summary
Modifier and TypeMethodDescriptionloadRenditionDefinition(QName renditionName) 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 renderingEngineName) Deprecated.This method retrieves the storedRenditionDefinitions that have been registered for the specified rendering engine name.voidsaveRenditionDefinition(RenditionDefinition renditionDefinition) Deprecated.This method serializes theRenditionDefinitionand stores it in the repository.
-
Method Details
-
saveRenditionDefinition
Deprecated.This method serializes theRenditionDefinitionand stores it in the repository.RenditionDefinitions saved in this way may be retrieved using theload()method.- Parameters:
renditionDefinition- TheRenditionDefinitionto be persisted.
-
loadRenditionDefinition
Deprecated.This 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.- Parameters:
renditionName- The unique identifier used to specify theRenditionDefinitionto retrieve.- Returns:
- The specified
RenditionDefinitionor null.
-
loadRenditionDefinitions
List<RenditionDefinition> loadRenditionDefinitions()Deprecated.This method retrieves theRenditionDefinitions that have been stored in the repository using thesave()method. If there are no suchRenditionDefinitions, an empty list is returned.- Returns:
- The
RenditionDefinitions.
-
loadRenditionDefinitions
Deprecated.This 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.- Parameters:
renderingEngineName- the name of a rendering engine. This is usually the spring bean name.- Returns:
- The
RenditionDefinitions. - Throws:
NullPointerException- if the renderingEngineName is null.- See Also:
-