Package com.day.cq.dam.api.handler.xmp
Interface XMPWriteBackOptions
-
public interface XMPWriteBackOptionsTheXMPWriteBackOptionsinterface defines the options for writing XMP metadata information to a binary.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateVersion(boolean createVersion)Sets the value whether version is to be created for an asset on each writebackjava.util.Set<Rendition>getRenditions()Returns the set of renditions of an Asset for which XMP meta writeback has to be donejava.lang.StringgetVersionCreator()XMP Writeback updatesDamConstants.PN_VERSION_CREATORof the asset as returned by this API.booleanisCreateVersion()Returns whether a version needs to be created or not for an asset on each writebackvoidsetRenditions(java.util.Set<Rendition> renditions)Sets the renditions for which XMP meta writeback has to be donevoidsetVersionCreator(java.lang.String userId)Allows XMP Writeback to updateDamConstants.PN_VERSION_CREATORof the asset Applicable only whenisCreateVersion()returns true
-
-
-
Method Detail
-
isCreateVersion
boolean isCreateVersion()
Returns whether a version needs to be created or not for an asset on each writeback- Returns:
- createVersion
-
createVersion
void createVersion(boolean createVersion)
Sets the value whether version is to be created for an asset on each writeback- Parameters:
createVersion- if true then create versions of the asset on each writeback
-
getRenditions
java.util.Set<Rendition> getRenditions()
Returns the set of renditions of an Asset for which XMP meta writeback has to be done- Returns:
- renditions
-
setRenditions
void setRenditions(java.util.Set<Rendition> renditions)
Sets the renditions for which XMP meta writeback has to be done- Parameters:
renditions- asset's renditions for which XMP meta writeback has to be done
-
setVersionCreator
void setVersionCreator(java.lang.String userId)
Allows XMP Writeback to updateDamConstants.PN_VERSION_CREATORof the asset Applicable only whenisCreateVersion()returns true- Parameters:
userId- principal of the user that should be updated as creator of the version
-
getVersionCreator
java.lang.String getVersionCreator()
XMP Writeback updatesDamConstants.PN_VERSION_CREATORof the asset as returned by this API. Applicable only whenisCreateVersion()returns true- Returns:
- userId principal of the user that should be updated as creator of the version
or empty string if none was set using
setVersionCreator(java.lang.String)
-
-