Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.service.cmr.repository
Interface TransformationSourceOptions

public interface TransformationSourceOptions
Defines options and demarcations needed to describe the details of how the source should be transformed, independent of the target requirements.

See PagedSourceOptions for an example implementation that describes the page number that should be used from the source content.

Author:
Ray Gauss II

Nested Class Summary
static interface
TransformationSourceOptions.TransformationSourceOptionsSerializer
          Defines methods for serializing the source options into a parameter map and deserializing from a serialized options accessor.
Method Summary
getApplicabledMimetypes()
          Deprecated. Use getApplicableMimetypes() instead.
getApplicableMimetypes()
          Gets the list of applicable mimetypes
getSerializer()
          Gets the serializer for the source options.
boolean
isApplicableForMimetype(String mimetype)
          Gets whether or not these transformation source options apply for the given mimetype
mergedOptions(TransformationSourceOptions overridingOptions)
          Creates a new TransformationSourceOptions object from this one, merging any non-null overriding fields in the given overridingOptions
Method Detail
getApplicabledMimetypes
List<StringgetApplicabledMimetypes()
Deprecated. Use getApplicableMimetypes() instead.
Gets the list of applicable mimetypes
Returns:
the applicable mimetypes

getApplicableMimetypes
List<StringgetApplicableMimetypes()
Gets the list of applicable mimetypes
Returns:
the applicable mimetypes

isApplicableForMimetype
boolean isApplicableForMimetype(String mimetype)
Gets whether or not these transformation source options apply for the given mimetype
Parameters:
mimetype - the mimetype of the source
Returns:
if these transformation source options apply

mergedOptions
TransformationSourceOptions mergedOptions(TransformationSourceOptions overridingOptions)
Creates a new TransformationSourceOptions object from this one, merging any non-null overriding fields in the given overridingOptions
Parameters:
overridingOptions - TransformationSourceOptions
Returns:
a merged TransformationSourceOptions object

getSerializer
TransformationSourceOptions.TransformationSourceOptionsSerializer getSerializer()
Gets the serializer for the source options.
Returns:
the serializer

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2016 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.