Package org.alfresco.repo.rendition2
Interface RenditionDefinitionRegistry2
-
- All Known Implementing Classes:
RenditionDefinitionRegistry2Impl
public interface RenditionDefinitionRegistry2A registry of rendition definitions.- Author:
- adavis
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RenditionDefinition2getRenditionDefinition(String renditionName)Set<String>getRenditionNames()Set<String>getRenditionNamesFrom(String sourceMimetype, long size)Obtains the names of renditions that are possible from a given source mimetype.
-
-
-
Method Detail
-
getRenditionNamesFrom
Set<String> getRenditionNamesFrom(String sourceMimetype, long size)
Obtains the names of renditions that are possible from a given source mimetype.- Parameters:
sourceMimetype- the mimetype of the source.size- the size of the source. May be-1if the size should be ignored.
-
getRenditionDefinition
RenditionDefinition2 getRenditionDefinition(String renditionName)
-
-