|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.rightsmanagement.client.infomodel.impl.Watermark2Impl
public class Watermark2Impl
Constructor Summary | |
---|---|
Watermark2Impl()
|
|
Watermark2Impl(WatermarkBO bo)
|
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 |
setDeleted(boolean b)
|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Watermark2Impl()
public Watermark2Impl(WatermarkBO bo)
Method Detail |
---|
public java.lang.String getName()
Watermark2
getName
in interface Watermark2
java.lang.String
that contains the name of the watermark.public void setName(java.lang.String name) throws PDRLException
Watermark2
setName
in interface Watermark2
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.public boolean isDeleted()
Watermark2
isDeleted
in interface Watermark2
public void setDeleted(boolean b)
public java.util.ArrayList getWatermarkElements()
Watermark2
getWatermarkElements
in interface Watermark2
java.lang.ArrayList
that contains
the list of all the contained watermark elements.public void setWatermarkElements(java.util.ArrayList watermarkElements) throws SDKException
Watermark2
setWatermarkElements
in interface Watermark2
watermarkElements
- A java.lang.ArrayList
that contains
the list of all the contained watermark elements.
SDKException
- if watermarkElements
is null.public void addWatermarkElement(Watermark2Element watermarkElement) throws SDKException
Watermark2
addWatermarkElement
in interface Watermark2
watermarkElement
- A com.adobe.livecycle.rightsmanagement.client.infomodel.WatermarkElement
that contains
the watermark element to be added.
SDKException
- if watermarkElement
is null.public void removeWatermarkElement(int index) throws SDKException
Watermark2
removeWatermarkElement
in interface Watermark2
index
- A int
that contains the index of the watermark element to be removed.
SDKException
- if index
is not valid.public java.lang.String getId()
Watermark2
getId
in interface Watermark2
Watermark
object represents a watermark that is not registered with the Rights Management service.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |