|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface WatermarkManager
The WatermarkManager interface provides methods for creating, manipulating,
retrieving, and removing watermarks.
To see this interface used within a code example,
see the Creating a new watermark using the Java API quick start in Programming with Adobe Experience Manager Forms.
| Method Summary | |
|---|---|
void |
deleteWatermark(java.lang.String watermarkId)
Deletes the specified watermark. |
Watermark |
getWatermark(java.lang.String watermarkId)
Retrieves the specified watermark from the database. |
Watermark2 |
getWatermark2(java.lang.String watermarkId)
Retrieves the specified watermark from the database. |
Watermark |
getWatermarkByName(java.lang.String watermarkName)
Retrieves the specified watermark from the Rights Management service. |
Watermark2 |
getWatermarkByName2(java.lang.String watermarkName)
Retrieves the specified watermark from the Rights Management service. |
java.lang.String |
registerWatermark(Watermark watermark)
Registers the specified watermark with the Rights Management service. |
java.lang.String |
registerWatermark2(Watermark2 watermark)
Registers the specified watermark with the Rights Management service. |
void |
updateWatermark(Watermark watermark)
Updates an existing watermark with the properties defined in a new watermark definition. |
void |
updateWatermark2(Watermark2 watermark)
Updates an existing watermark with the properties defined in a new watermark definition. |
| Method Detail |
|---|
java.lang.String registerWatermark(Watermark watermark)
throws SDKException
watermark - A new watermark to register with the Rights Management service.
watermarkId of the registered watermark.
SDKException - if any of the following conditions occur:
java.lang.String registerWatermark2(Watermark2 watermark)
throws SDKException
watermark - A new watermark to register with the Rights Management service.
watermarkId of the registered watermark.
SDKException - if any of the following conditions occur:
void updateWatermark(Watermark watermark)
throws SDKException
watermark - A Watermark object that holds the watermark to update. The watermark was
previously retrieved and modified as required.
SDKException - if any of the following conditions occur:
WatermarkManager.getWatermark(java.lang.String),
WatermarkManager.getWatermarkByName(java.lang.String)
void updateWatermark2(Watermark2 watermark)
throws SDKException
watermark - A Watermark2 object that holds the watermark to update. The watermark was
previously retrieved and modified as required.
SDKException - if any of the following conditions occur:
WatermarkManager.getWatermark(java.lang.String),
WatermarkManager.getWatermarkByName(java.lang.String)
void deleteWatermark(java.lang.String watermarkId)
throws SDKException
watermarkId - The identifier of the watermark to delete.
SDKException - if any of the following conditions occur:
Watermark
Watermark getWatermark(java.lang.String watermarkId)
throws SDKException
watermarkId - The identifier value of the watermark to retrieve.
Watermark object that has the specified watermarkId.
SDKException - if any of the following conditions occur:
Watermark2 getWatermark2(java.lang.String watermarkId)
throws SDKException
watermarkId - The identifier value of the watermark to retrieve.
Watermark2 object that has the specified watermarkId.
SDKException - if any of the following conditions occur:
Watermark getWatermarkByName(java.lang.String watermarkName)
throws SDKException
watermarkName - The name of the watermark to retrieve.
Watermark object that has the specified watermarkName.
SDKException - if any of the following conditions occur:
Watermark2 getWatermarkByName2(java.lang.String watermarkName)
throws SDKException
watermarkName - The name of the watermark to retrieve.
Watermark2 object that has the specified watermarkName.
SDKException - if any of the following conditions occur:
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||