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. |
List<RenditionDefinition> |
loadRenditionDefinitions()
This method retrieves the
RenditionDefinition s that have been
stored in the repository using the save() method. |
List<RenditionDefinition> |
loadRenditionDefinitions(String renderingEngineName)
This method retrieves the stored
RenditionDefinition s 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. RenditionDefinition
s 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.List<RenditionDefinition> loadRenditionDefinitions()
RenditionDefinition
s that have been
stored in the repository using the save()
method.
If there are no such RenditionDefinition
s, an empty list is
returned.RenditionDefinition
s.List<RenditionDefinition> loadRenditionDefinitions(String renderingEngineName)
RenditionDefinition
s that have
been registered for the specified rendering engine name.
If there are no such rendering RenditionDefinition
s, an empty
list is returned.renderingEngineName
- the name of a rendering engine. This is
usually the spring bean name.RenditionDefinition
s.NullPointerException
- if the renderingEngineName is null.saveRenditionDefinition(RenditionDefinition)
Copyright © 2005–2017 Alfresco Software. All rights reserved.