public interface ContentLinkBuilder
The builder is acquired from ContentQueryRow
Modifier and Type | Method and Description |
---|---|
ContentLinkBuilder |
attributeGuid(java.lang.String attributeGuid)
Specify an attribute guid to be used in the content link.
|
java.util.Optional<ContentQueryAction> |
build()
Returns an optional content link action built from parameters set on this builder.
|
ContentLinkBuilder |
extension(java.lang.String extension)
Specify the extension to use on the link filename
|
ContentLinkBuilder |
fingerprint(boolean fingerprint)
Specify whether a fingerprint (cache key) should be used in the content link or not.
|
ContentLinkBuilder |
transformationLookup(java.lang.String externalKey)
Specify a registered transformation to be used in the content link.
|
ContentLinkBuilder |
transformationOperation(java.lang.String operation)
Specify a transformation operation to be used in the content link.
|
java.util.Optional<ContentQueryAction> build()
ContentLinkBuilder attributeGuid(java.lang.String attributeGuid)
attributeGuid
- the guid of the document_attributeContentLinkBuilder fingerprint(boolean fingerprint)
fingerprint
- if true, a fingerprint will be included in the content linkContentLinkBuilder transformationLookup(java.lang.String externalKey)
Optional
.
The resulting link will use the registered extension (if not overridden), but will otherwise not change the transformation key to the actual mapped transformation operation.
Registered transformations are stored in iKnowBase and map transformation operations to extensions and media types.
externalKey
- of the transformationContentLinkBuilder transformationOperation(java.lang.String operation)
operation
- the transformationContentLinkBuilder extension(java.lang.String extension)
extension
- Copyright © Acando AS. All Rights Reserved.