public interface TransformerConfigMBean
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getContextNames()
Lists the names of the contexts or uses.
|
java.lang.String[] |
getCustomePropertyNames()
Lists custom (non default) property names.
|
java.lang.String[] |
getExtensionsAndMimetypes()
Lists all configured mimetypes, proceeded by its primary file extension.
|
java.lang.String |
getProperties(boolean listAll)
Returns custom and default transformer propertiest.
|
java.lang.String[] |
getTestFileExtensionsAndMimetypes()
Lists the extensions of available test files.
|
java.lang.String[] |
getTransformationDebugLog(int n)
Returns the last n entries in the transformation debug log.
|
java.lang.String[] |
getTransformationLog(int n)
Returns the last n entries in the transformation log.
|
java.lang.String |
getTransformationsByExtension(java.lang.String sourceExtension,
java.lang.String targetExtension,
java.lang.String use)
Lists all possible transformations sorted by source and then target mimetype extension.
|
java.lang.String |
getTransformationsByTransformer(java.lang.String transformerName,
java.lang.String use)
Lists all possible transformations sorted by Transformer name.
|
java.lang.String |
getTransformationStatistics(java.lang.String transformerName,
java.lang.String sourceExtension,
java.lang.String targetExtension)
Lists the transformation statistics for the current node.
|
java.lang.String[] |
getTransformerNames()
Lists the names of all top level transformers.
|
java.lang.String |
help()
Returns a description of each method and its parameters.
|
java.lang.String |
removeProperties(java.lang.String propertyNames)
Removes transformer properties.
|
java.lang.String |
setProperties(java.lang.String propertyNamesAndValues)
Adds or replaces new transformer properties.
|
java.lang.String |
testTransform(java.lang.String transformerName,
java.lang.String sourceExtension,
java.lang.String targetExtension,
java.lang.String use)
Transforms a small test file from one mimetype to another and then shows the debug of the
transform, which would indicate if it was successful or even if it was possible.
|
java.lang.String[] getTransformerNames()
java.lang.String[] getExtensionsAndMimetypes()
java.lang.String getTransformationsByTransformer(java.lang.String transformerName,
java.lang.String use)
transformerName - to be checked. If null all transformers are included.use - or context in which the transformation will be used ("doclib",
"index", "webpreview", "syncRule", "asyncRule"...) or null for the default.java.lang.String getTransformationsByExtension(java.lang.String sourceExtension,
java.lang.String targetExtension,
java.lang.String use)
sourceExtension - to be checked. If null all source mimetypes are included.targetExtension - to be checked. If null all target mimetypes are included.use - or context in which the transformation will be used ("doclib",
"index", "webpreview", "syncRule", "asyncRule"...) or null for the default.java.lang.String getTransformationStatistics(java.lang.String transformerName,
java.lang.String sourceExtension,
java.lang.String targetExtension)
transformerName - to be checked. If null all transformers are included.sourceExtension - to be checked. If null all source mimetypes are included.targetExtension - to be checked. If null all target mimetypes are included.java.lang.String[] getTransformationLog(int n)
java.lang.String[] getTransformationDebugLog(int n)
java.lang.String getProperties(boolean listAll)
listAll - list both default and custom values, otherwise includes
only custom values.java.lang.String setProperties(java.lang.String propertyNamesAndValues)
propertyNamesAndValues - java.lang.String removeProperties(java.lang.String propertyNames)
propertyNames - to be removed. Any values after the property name are ignored.java.lang.String testTransform(java.lang.String transformerName,
java.lang.String sourceExtension,
java.lang.String targetExtension,
java.lang.String use)
transformerName - to be used. If not specified the ContentService is used to select one.sourceExtension - used to identify the mimetypetargetExtension - used to identify the mimetypeuse - or context in which to test the transformation ("doclib", "index", "webpreview",
"syncRule", "asyncRule"...) or blank for the default.";java.lang.String[] getContextNames()
java.lang.String[] getCustomePropertyNames()
java.lang.String[] getTestFileExtensionsAndMimetypes()
java.lang.String help()
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.