Package org.alfresco.repo.rendition
Interface RenditionDefinitionPersister
-
- All Known Subinterfaces:
RenditionService
- All Known Implementing Classes:
RenditionDefinitionPersisterImpl,RenditionServiceImpl
@Deprecated public interface RenditionDefinitionPersisterDeprecated.The RenditionService is being replace by the simpler async RenditionService2.This class provides the implementation ofRenditionDefinitionpersistence. 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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description RenditionDefinitionloadRenditionDefinition(org.alfresco.service.namespace.QName renditionName)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 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 Detail
-
saveRenditionDefinition
void saveRenditionDefinition(RenditionDefinition renditionDefinition)
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
RenditionDefinition loadRenditionDefinition(org.alfresco.service.namespace.QName renditionName)
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
java.util.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
java.util.List<RenditionDefinition> loadRenditionDefinitions(java.lang.String renderingEngineName)
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:
java.lang.NullPointerException- if the renderingEngineName is null.- See Also:
saveRenditionDefinition(RenditionDefinition)
-
-