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(java.lang.String renditionName)java.util.Set<java.lang.String>getRenditionNames()java.util.Set<java.lang.String>getRenditionNamesFrom(java.lang.String sourceMimetype, long size)Obtains the names of renditions that are possible from a given source mimetype.
-
-
-
Method Detail
-
getRenditionNames
java.util.Set<java.lang.String> getRenditionNames()
-
getRenditionNamesFrom
java.util.Set<java.lang.String> getRenditionNamesFrom(java.lang.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(java.lang.String renditionName)
-
-