|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Watermark2
The Watermark2
interface defines methods for the creation and manipulation of watermarks.
Every watermark has a name and contain one or more WatermarkElements
.
For information about using this interface as part of creating watermarks using the Document Security Java API, see the Creating a new watermark using the Java API quick start in Programming with Adobe Experience Manager Forms.
Method Summary | |
---|---|
void |
addWatermarkElement(Watermark2Element watermarkElement)
Adds a new watermark element in the list of watermark elements for the watermark. |
java.lang.String |
getId()
Retrieves the identification of the watermark. |
java.lang.String |
getName()
Retrieves the name of the watermark. |
java.util.ArrayList |
getWatermarkElements()
Retrieves the watermark elements contained in the watermark. |
boolean |
isDeleted()
Retrieves the state of the watermark. |
void |
removeWatermarkElement(int index)
Removes a watermark element in the list at the specified index. |
void |
setName(java.lang.String name)
Sets the name for the watermark. |
void |
setWatermarkElements(java.util.ArrayList watermarkElements)
Sets the list of watermark elements for the watermark. |
Method Detail |
---|
java.lang.String getId()
Watermark
object represents a watermark that is not registered with the Rights Management service.java.lang.String getName()
java.lang.String
that contains the name of the watermark.void setName(java.lang.String name) throws PDRLException
name
- A java.lang.String
that contains the name for the watermark.
name
can have a maximum length of 50 characters.
PDRLException
- if name
is longer than the allowed length.boolean isDeleted()
java.util.ArrayList getWatermarkElements()
java.lang.ArrayList
that contains
the list of all the contained watermark elements.void setWatermarkElements(java.util.ArrayList watermarkElements) throws SDKException
watermarkElements
- A java.lang.ArrayList
that contains
the list of all the contained watermark elements.
SDKException
- if watermarkElements
is null.void addWatermarkElement(Watermark2Element watermarkElement) throws SDKException
watermarkElement
- A com.adobe.livecycle.rightsmanagement.client.infomodel.WatermarkElement
that contains
the watermark element to be added.
SDKException
- if watermarkElement
is null.void removeWatermarkElement(int index) throws SDKException
index
- A int
that contains the index of the watermark element to be removed.
SDKException
- if index
is not valid.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |