Package com.day.cq.dam.api.handler.xmp
Interface XMPWriteBackOptions
public interface XMPWriteBackOptions
The
XMPWriteBackOptions interface defines the options for writing XMP metadata information to a
binary.-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateVersion(boolean createVersion) Sets the value whether version is to be created for an asset on each writebackReturns the set of renditions of an Asset for which XMP meta writeback has to be doneXMP Writeback updatesof the asset as returned by this API.invalid reference
DamConstants.PN_VERSION_CREATORbooleanReturns whether a version needs to be created or not for an asset on each writebackvoidsetRenditions(Set<Rendition> renditions) Sets the renditions for which XMP meta writeback has to be donevoidsetVersionCreator(String userId) Allows XMP Writeback to updateof the asset Applicable only wheninvalid reference
DamConstants.PN_VERSION_CREATORisCreateVersion()returns true
-
Method Details
-
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
Returns the set of renditions of an Asset for which XMP meta writeback has to be done- Returns:
- renditions
-
setRenditions
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
Allows XMP Writeback to updateof the asset Applicable only wheninvalid reference
DamConstants.PN_VERSION_CREATORisCreateVersion()returns true- Parameters:
userId- principal of the user that should be updated as creator of the version
-
getVersionCreator
String getVersionCreator()XMP Writeback updatesof the asset as returned by this API. Applicable only wheninvalid reference
DamConstants.PN_VERSION_CREATORisCreateVersion()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)
-