Modifier and Type | Field and Description |
---|---|
protected TransformationOptions |
TransformActionExecuter.options
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected TransformationOptions |
ImageTransformActionExecuter.newTransformationOptions(Action ruleAction,
org.alfresco.service.cmr.repository.NodeRef sourceNodeRef) |
protected TransformationOptions |
TransformActionExecuter.newTransformationOptions(Action ruleAction,
org.alfresco.service.cmr.repository.NodeRef sourceNodeRef) |
Modifier and Type | Method and Description |
---|---|
List<ContentTransformer> |
ContentServiceImpl.getActiveTransformers(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options) |
List<ContentTransformer> |
ContentServiceImpl.getActiveTransformers(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
long |
ContentServiceImpl.getMaxSourceSizeBytes(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Returns the maximum source size of any content that may transformed between the supplied
mimetypes using the supplied options.
|
ContentTransformer |
ContentServiceImpl.getTransformer(String sourceUrl,
String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options) |
ContentTransformer |
ContentServiceImpl.getTransformer(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
List<ContentTransformer> |
ContentServiceImpl.getTransformers(String sourceUrl,
String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options) |
boolean |
ContentServiceImpl.isTransformable(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
void |
ContentServiceImpl.transform(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
Modifier and Type | Class and Description |
---|---|
class |
RuntimeExecutableContentTransformerOptions
Transformation options for the runtime executable transformer.
|
Modifier and Type | Method and Description |
---|---|
void |
TransformerDebug.availableTransformers(List<ContentTransformer> transformers,
long sourceSize,
TransformationOptions options,
String calledFrom)
Called once all available transformers have been identified.
|
void |
TransformerDebug.blacklistTransform(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Called when a transformer has been ignored because of a blacklist entry.
|
protected org.apache.tika.parser.ParseContext |
ArchiveContentTransformer.buildParseContext(org.apache.tika.metadata.Metadata metadata,
String targetMimeType,
TransformationOptions options) |
protected org.apache.tika.parser.ParseContext |
PdfBoxContentTransformer.buildParseContext(org.apache.tika.metadata.Metadata metadata,
String targetMimeType,
TransformationOptions options) |
protected org.apache.tika.parser.ParseContext |
TikaPoweredContentTransformer.buildParseContext(org.apache.tika.metadata.Metadata metadata,
String targetMimeType,
TransformationOptions options)
By default returns a ParseContent that does not recurse
|
protected void |
AbstractContentTransformer2.checkTransformable(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options)
Convenience method to check the transformability of a transformation
|
List<ContentTransformer> |
ContentTransformerRegistry.getActiveTransformers(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options) |
protected org.apache.tika.extractor.DocumentSelector |
TikaPoweredContentTransformer.getDocumentSelector(org.apache.tika.metadata.Metadata metadata,
String targetMimeType,
TransformationOptions options)
Gets the document selector, used for determining whether to parse embedded resources,
null by default so parse all.
|
String |
TransformerDebug.getFileName(TransformationOptions options,
boolean firstLevel,
long sourceSize) |
protected TransformationOptionLimits |
AbstractContentTransformerLimits.getLimits(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options)
Returns max and limit values for time, size and pages for a specified source and
target mimetypes, combined with this Transformer's general limits and optionally
the supplied transformation option's limits.
|
protected TransformationOptionLimits |
AbstractContentTransformerLimits.getLimits(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Returns max and limit values for time, size and pages for a specified source and
target mimetypes, combined with this Transformer's general limits and optionally
the supplied transformation option's limits.
|
protected TransformationOptionLimits |
ComplexContentTransformer.getLimits(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Returns the limits from this transformer combined with those of the first transformer in the chain.
|
long |
AbstractContentTransformerLimits.getMaxSourceSizeKBytes(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Returns the maximum source size (in KBytes) allowed given the supplied values.
|
long |
ContentTransformer.getMaxSourceSizeKBytes(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Returns the maximum source size (in KBytes) allowed given the supplied values.
|
long |
AbstractContentTransformer.getMaxSourceSizeKBytes(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Deprecated.
Always returns
-1 to indicate an unlimited size. |
ContentTransformer |
ContentTransformerRegistry.getTransformer(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
Gets the best transformer possible.
|
ContentTransformer |
ContentTransformerRegistry.getTransformer(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Deprecated.
use overloaded version with sourceSize parameter.
|
boolean |
PoiHssfContentTransformer.isExplicitTransformation(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Make sure we win over openoffice when it comes to producing
HTML
|
boolean |
ContentTransformerHelper.isExplicitTransformation(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Deprecated.
Should now use priority and unsupported transformer properties.
|
boolean |
ContentTransformer.isExplicitTransformation(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Deprecated.
Use transformer priority and unsupported transformer properties.
Indicates whether given the provided transformation parameters this transformer can provide an explicit
transformation.
An explicit transformation indicates that the transformation happens directly and not as a result of
another transformation process. Explicit transformation always take presidency over normal transformations.
|
boolean |
AbstractContentTransformer.isExplicitTransformation(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Deprecated.
|
boolean |
FailoverContentTransformer.isExplicitTransformation(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
protected boolean |
AbstractContentTransformerLimits.isPageLimitSupported(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Indicates if 'page' limits are supported.
|
protected boolean |
ComplexContentTransformer.isPageLimitSupported(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Indicates if 'page' limits are supported by the first transformer in the chain.
|
boolean |
TransformerConfigImpl.isSupportedTransformation(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Returns true if the supplied mimetype transformation pair is allowed by the list of supported
and unsupported transformations.
|
boolean |
TransformerConfigSupported.isSupportedTransformation(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
TransformationOptions options)
|
boolean |
TransformerConfig.isSupportedTransformation(ContentTransformer transformer,
String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Returns true if the supplied mimetype transformation pair is allowed by the list of supported
and unsupported transformations.
|
boolean |
ContentTransformerHelper.isSupportedTransformation(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
boolean |
AbstractContentTransformerLimits.isTransformable(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
Indicates whether the provided source mimetype can be transformed into the target mimetype with
the options specified by this content transformer.
|
boolean |
ComplexContentTransformer.isTransformable(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options) |
boolean |
ContentTransformer.isTransformable(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
Indicates whether the provided source mimetype can be transformed into the target mimetype with
the options specified by this content transformer.
|
boolean |
AbstractContentTransformer.isTransformable(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
Deprecated.
Indicates whether the provided source mimetype can be transformed into the target mimetype with
the options specified by this content transformer.
|
boolean |
FailoverContentTransformer.isTransformable(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
Overrides super class method to avoid calling
FailoverContentTransformer.isTransformableMimetype(String, String, TransformationOptions)
twice on each transformer in the list, as
FailoverContentTransformer.isTransformableSize(String, long, String, TransformationOptions)
in this class must check the mimetype too. |
boolean |
AbstractContentTransformerLimits.isTransformable(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
boolean |
ContentTransformerWorker.isTransformable(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Unlike
ContentTransformer.isTransformable(String, String, TransformationOptions)
should not include the transformer name, as that is added by the ContentTransformer in
the parent context. |
boolean |
AppleIWorksContentTransformer.isTransformable(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
boolean |
OOoContentTransformerHelper.isTransformable(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
boolean |
ContentTransformer.isTransformable(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Deprecated.
use version with extra sourceSize parameter.
|
boolean |
RuntimeExecutableContentTransformerWorker.isTransformable(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
If the initialization failed, then it returns 0.0.
|
boolean |
AbstractContentTransformer.isTransformable(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Deprecated.
use version with extra sourceSize parameter.
|
boolean |
OOXMLThumbnailContentTransformer.isTransformable(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
boolean |
BinaryPassThroughContentTransformer.isTransformableMimetype(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
boolean |
AbstractContentTransformerLimits.isTransformableMimetype(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Indicates if this transformer is able to transform the given source mimetype
to the target mimetype.
|
boolean |
HtmlParserContentTransformer.isTransformableMimetype(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Only support HTML to TEXT.
|
boolean |
ProxyContentTransformer.isTransformableMimetype(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
boolean |
PoiHssfContentTransformer.isTransformableMimetype(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Can we do the requested transformation via Tika?
We support transforming to HTML, XML, Text or CSV
|
boolean |
StringExtractingContentTransformer.isTransformableMimetype(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Gives a high reliability for all translations from text/sometype to
text/plain.
|
boolean |
ComplexContentTransformer.isTransformableMimetype(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
boolean |
EMLTransformer.isTransformableMimetype(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
boolean |
MediaWikiContentTransformer.isTransformableMimetype(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Only transform from mediawiki to html
|
boolean |
TikaPoweredContentTransformer.isTransformableMimetype(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Can we do the requested transformation via Tika?
We support transforming to HTML, XML or Text
|
boolean |
ContentTransformer.isTransformableMimetype(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Sub component of
ContentTransformer.isTransformable(String, long, String, TransformationOptions)
that checks just the mimetypes. |
boolean |
AbstractContentTransformer.isTransformableMimetype(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Deprecated.
Checks the supplied mimetypes are supported by calling the deprecated
AbstractContentTransformer.isTransformable(String, String, TransformationOptions) method. |
boolean |
FailoverContentTransformer.isTransformableMimetype(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
boolean |
TextToPdfContentTransformer.isTransformableMimetype(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Only supports Text to PDF
|
boolean |
AbstractContentTransformerLimits.isTransformableSize(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
Indicates if this transformer is able to transform the given
sourceSize . |
boolean |
ContentTransformer.isTransformableSize(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
Sub component of
ContentTransformer.isTransformable(String, long, String, TransformationOptions)
that checks just the size limits. |
boolean |
AbstractContentTransformer.isTransformableSize(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
Deprecated.
Always returns
true to indicate size is not an issue. |
boolean |
FailoverContentTransformer.isTransformableSize(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options) |
void |
TransformerDebug.pushAvailable(String fromUrl,
String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Called prior to working out what transformers are available.
|
void |
TransformerDebug.pushTransform(ContentTransformer transformer,
String fromUrl,
String sourceMimetype,
String targetMimetype,
long sourceSize,
TransformationOptions options)
Called prior to performing a transform.
|
List<ContentTransformer> |
TransformerSelector.selectTransformers(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
Returns a sorted list of transformers that identifies the order in which transformers
should be tried.
|
List<ContentTransformer> |
TransformerSelectorImplOriginal.selectTransformers(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options) |
List<ContentTransformer> |
TransformerSelectorImpl.selectTransformers(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options) |
protected void |
AbstractContentTransformerLimits.setReaderLimits(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options)
Pass on any limits to the reader.
|
void |
AbstractContentTransformer2.transform(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
void |
ContentTransformerWorker.transform(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
void |
OOoContentTransformerHelper.transform(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
void |
ContentTransformer.transform(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter contentWriter,
TransformationOptions options)
Transforms the content provided by the reader and source mimetype
to the writer and target mimetype with the provided transformation options.
|
void |
RuntimeExecutableContentTransformerWorker.transform(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options)
Converts the source and target content to temporary files with the
correct extensions for the mimetype that they map to.
|
void |
AbstractContentTransformer.transform(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options)
Deprecated.
|
protected void |
BinaryPassThroughContentTransformer.transformInternal(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
void |
HtmlParserContentTransformer.transformInternal(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
protected abstract void |
AbstractContentTransformer2.transformInternal(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options)
Method to be implemented by subclasses wishing to make use of the common infrastructural code
provided by this class.
|
protected void |
ProxyContentTransformer.transformInternal(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
protected void |
AppleIWorksContentTransformer.transformInternal(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
void |
StringExtractingContentTransformer.transformInternal(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options)
Text to text conversions are done directly using the content reader and writer string
manipulation methods.
|
void |
ComplexContentTransformer.transformInternal(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
protected void |
EMLTransformer.transformInternal(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
void |
MediaWikiContentTransformer.transformInternal(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
void |
TikaPoweredContentTransformer.transformInternal(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
void |
FailoverContentTransformer.transformInternal(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
protected void |
OOXMLThumbnailContentTransformer.transformInternal(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
protected void |
TextToPdfContentTransformer.transformInternal(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
Modifier and Type | Class and Description |
---|---|
class |
ImageTransformationOptions
Image transformation options
|
Modifier and Type | Method and Description |
---|---|
void |
ImageTransformationOptions.copyFrom(TransformationOptions origOptions) |
boolean |
AbstractImageMagickContentTransformerWorker.isTransformable(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Supports image to image conversion, but only if the JMagick library and required
libraries are available.
|
void |
AbstractImageMagickContentTransformerWorker.transform(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
protected void |
ImageMagickContentTransformerWorker.transformInternal(File sourceFile,
String sourceMimetype,
File targetFile,
String targetMimetype,
TransformationOptions options)
Transform the image content from the source file to the target file
|
protected abstract void |
AbstractImageMagickContentTransformerWorker.transformInternal(File sourceFile,
String sourceMimetype,
File targetFile,
String targetMimetype,
TransformationOptions options)
Transform the image content from the source file to the target file
|
Modifier and Type | Method and Description |
---|---|
boolean |
AlfrescoPdfRendererContentTransformerWorker.isTransformable(String sourceMimetype,
String targetMimetype,
TransformationOptions options) |
void |
AlfrescoPdfRendererContentTransformerWorker.transform(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
Modifier and Type | Class and Description |
---|---|
class |
SWFTransformationOptions
SFW transformation options
|
Modifier and Type | Method and Description |
---|---|
protected TransformationOptions |
AbstractTransformationRenderingEngine.getTransformOptionsImpl(TransformationOptions options,
AbstractRenderingEngine.RenderingContext context) |
protected TransformationOptions |
ReformatRenderingEngine.getTransformOptionsImpl(TransformationOptions options,
AbstractRenderingEngine.RenderingContext context) |
protected TransformationOptions |
ImageRenderingEngine.getTransformOptionsImpl(TransformationOptions options,
AbstractRenderingEngine.RenderingContext context) |
Constructor and Description |
---|
TransformationCallable(org.alfresco.service.cmr.repository.ContentReader contentReader,
String targetMimeType,
TransformationOptions options,
AbstractRenderingEngine.RenderingContext context,
String initiatingUsername) |
Modifier and Type | Method and Description |
---|---|
TransformationOptions |
ThumbnailDefinition.getTransformationOptions()
Get the transformation options
|
Modifier and Type | Method and Description |
---|---|
Map<String,Serializable> |
ThumbnailRenditionConvertor.convert(TransformationOptions transformationOptions,
ThumbnailParentAssociationDetails assocDetails)
Given the specified
transformationOptions and
assocDetails ,
create and return a parameter Map which contains the equivalent RenditionDefinition
configuration. |
org.alfresco.service.cmr.repository.NodeRef |
ThumbnailServiceImpl.createThumbnail(org.alfresco.service.cmr.repository.NodeRef node,
org.alfresco.service.namespace.QName contentProperty,
String mimetype,
TransformationOptions transformationOptions,
String thumbnailName) |
org.alfresco.service.cmr.repository.NodeRef |
ThumbnailServiceImpl.createThumbnail(org.alfresco.service.cmr.repository.NodeRef node,
org.alfresco.service.namespace.QName contentProperty,
String mimetype,
TransformationOptions transformationOptions,
String thumbnailName,
ThumbnailParentAssociationDetails assocDetails) |
List<org.alfresco.service.cmr.repository.NodeRef> |
ThumbnailServiceImpl.getThumbnails(org.alfresco.service.cmr.repository.NodeRef node,
org.alfresco.service.namespace.QName contentProperty,
String mimetype,
TransformationOptions options) |
void |
ThumbnailDefinition.setTransformationOptions(TransformationOptions options)
Set the transformation options
|
void |
ThumbnailServiceImpl.updateThumbnail(org.alfresco.service.cmr.repository.NodeRef thumbnail,
TransformationOptions transformationOptions) |
Constructor and Description |
---|
ThumbnailDefinition(String destinationMimetype,
TransformationOptions options)
Constructor
|
ThumbnailDefinition(String mimetype,
TransformationOptions options,
String thumbnailName)
Constructor.
|
ThumbnailDefinition(String mimetype,
TransformationOptions options,
String thumbnailName,
String placeHolderResourcePath)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected TransformationOptions |
TransformationOptions.clone() |
TransformationOptions |
TransformationOptions.deepCopy()
Creates a clone of the TransformationOptions
|
Modifier and Type | Method and Description |
---|---|
void |
TransformationOptions.copyFrom(TransformationOptions otherOptions)
Does the work of copying the given other TransformationOptions
values to this one
|
List<ContentTransformer> |
ContentService.getActiveTransformers(String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
|
List<ContentTransformer> |
ContentService.getActiveTransformers(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
|
long |
ContentService.getMaxSourceSizeBytes(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Returns the maximum source size of any content that may transformed between the supplied
mimetypes using the supplied options.
|
ContentTransformer |
ContentService.getTransformer(String sourceUrl,
String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
Fetch the transformer that is capable of transforming the content in the
given source mimetype to the given target mimetype with the provided transformation
options.
|
ContentTransformer |
ContentService.getTransformer(String sourceMimetype,
String targetMimetype,
TransformationOptions options)
Deprecated.
use overloaded method with sourceSize parameter.
|
List<ContentTransformer> |
ContentService.getTransformers(String sourceUrl,
String sourceMimetype,
long sourceSize,
String targetMimetype,
TransformationOptions options)
Fetch the transformers that are capable of transforming the content in the
given source mimetype to the given target mimetype with the provided transformation
options.
|
boolean |
ContentService.isTransformable(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options)
Returns whether a transformer exists that can read the content from
the reader and write the content back out to the writer with the
provided tranformation options.
|
void |
ContentService.transform(org.alfresco.service.cmr.repository.ContentReader reader,
org.alfresco.service.cmr.repository.ContentWriter writer,
TransformationOptions options) |
Constructor and Description |
---|
TransformationOptions(TransformationOptions options)
Deep clone constructor
|
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.repository.NodeRef |
ThumbnailService.createThumbnail(org.alfresco.service.cmr.repository.NodeRef node,
org.alfresco.service.namespace.QName contentProperty,
String mimetype,
TransformationOptions transformationOptions,
String name)
Creates a new thumbnail for the given node and content property.
|
org.alfresco.service.cmr.repository.NodeRef |
ThumbnailService.createThumbnail(org.alfresco.service.cmr.repository.NodeRef node,
org.alfresco.service.namespace.QName contentProperty,
String mimetype,
TransformationOptions transformationOptions,
String name,
ThumbnailParentAssociationDetails assocDetails) |
List<org.alfresco.service.cmr.repository.NodeRef> |
ThumbnailService.getThumbnails(org.alfresco.service.cmr.repository.NodeRef node,
org.alfresco.service.namespace.QName contentProperty,
String mimetype,
TransformationOptions options)
Gets a list of thumbnail nodes for a given content property that match the provided mimetype and
transformation options.
|
void |
ThumbnailService.updateThumbnail(org.alfresco.service.cmr.repository.NodeRef thumbnail,
TransformationOptions transformationOptions)
Updates the content of a thumbnail.
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.