public interface RenditionDefinitionPersister
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.| Modifier and Type | Method and Description |
|---|---|
RenditionDefinition |
loadRenditionDefinition(org.alfresco.service.namespace.QName renditionName)
This method retrieves a
RenditionDefinition that has been stored
in the repository using the save() method. |
java.util.List |
loadRenditionDefinitions()
This method retrieves the
RenditionDefinitions that have been
stored in the repository using the save() method. |
java.util.List |
loadRenditionDefinitions(java.lang.String renderingEngineName)
This method retrieves the stored
RenditionDefinitions that have
been registered for the specified rendering engine name. |
void |
saveRenditionDefinition(RenditionDefinition renditionDefinition)
This method serializes the
RenditionDefinition and stores it in
the repository. |
void saveRenditionDefinition(RenditionDefinition renditionDefinition)
RenditionDefinition and stores it in
the repository. RenditionDefinitions saved in this way may be
retrieved using the load() method.renditionDefinition - The RenditionDefinition to be
persisted.RenditionDefinition loadRenditionDefinition(org.alfresco.service.namespace.QName renditionName)
RenditionDefinition that has been stored
in the repository using the save() method. If no
RenditionDefinition exists in the repository with the specified
rendition name then this method returns null.renditionName - The unique identifier used to specify the
RenditionDefinition to retrieve.RenditionDefinition or null.java.util.List loadRenditionDefinitions()
RenditionDefinitions that have been
stored in the repository using the save() method.
If there are no such RenditionDefinitions, an empty list is
returned.RenditionDefinitions.java.util.List loadRenditionDefinitions(java.lang.String renderingEngineName)
RenditionDefinitions that have
been registered for the specified rendering engine name.
If there are no such rendering RenditionDefinitions, an empty
list is returned.renderingEngineName - the name of a rendering engine. This is
usually the spring bean name.RenditionDefinitions.java.lang.NullPointerException - if the renderingEngineName is null.RenditionDefinitionPersister.saveRenditionDefinition(RenditionDefinition)Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.