Package com.logicaldoc.stamp
Class Stamp
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.metadata.ExtensibleObject
com.logicaldoc.core.security.SecurableExtensibleObject
com.logicaldoc.stamp.Stamp
- All Implemented Interfaces:
com.logicaldoc.core.security.Securable
,Serializable
public class Stamp
extends com.logicaldoc.core.security.SecurableExtensibleObject
A Stamp to be applied on the document.
- Since:
- 7.3
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
double
int
getColor()
int
getExprH()
getExprW()
getExprX()
getExprY()
getFont()
getImage()
int
int
getName()
int
int
int
int
getSize()
getText()
int
getType()
int
hashCode()
void
setBarcodeFormat
(String barcodeFormat) void
setBarcodeLabel
(int barcodeLabel) void
void
setDescription
(String description) void
setEnabled
(int enabled) void
void
void
void
void
void
void
setImageHeight
(int imageHeight) void
setImageWidth
(int imageWidth) void
void
setOpacity
(int opacity) void
setPageOption
(int pageOption) void
setPageSelection
(String pageSelection) void
setParameters
(Map<String, Object> parameters) void
setRotation
(int rotation) void
setSize
(int size) void
void
setType
(int type) Methods inherited from class com.logicaldoc.core.security.SecurableExtensibleObject
addAccessControlEntry, getAccessControlEntry, getAccessControlList, setAccessControlList
Methods inherited from class com.logicaldoc.core.metadata.ExtensibleObject
getAttribute, getAttributeAtPosition, getAttributeNames, getAttributeNames, getAttributes, getTemplate, getTemplateId, getTemplateName, getValue, getValueAttributes, getValues, removeAttribute, setAttribute, setAttributes, setTemplate, setTemplateId, setTemplateName, setValue, setValues
Methods inherited from class com.logicaldoc.core.PersistentObject
getCreation, getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setCreation, setDeleted, setId, setLastModified, setRecordVersion, setTenantId, toString
-
Field Details
-
TYPE_TEXT
public static final int TYPE_TEXT- See Also:
-
TYPE_IMAGE
public static final int TYPE_IMAGE- See Also:
-
TYPE_BARCODE
public static final int TYPE_BARCODE- See Also:
-
TYPE_HTML
public static final int TYPE_HTML- See Also:
-
PAGE_OPT_ALL
public static final int PAGE_OPT_ALL- See Also:
-
PAGE_OPT_FIRST
public static final int PAGE_OPT_FIRST- See Also:
-
PAGE_OPT_LAST
public static final int PAGE_OPT_LAST- See Also:
-
PAGE_OPT_SEL
public static final int PAGE_OPT_SEL- See Also:
-
-
Constructor Details
-
Stamp
public Stamp() -
Stamp
-
-
Method Details
-
getFont
-
setFont
-
getType
public int getType() -
setType
public void setType(int type) -
getName
-
setName
-
getDescription
-
setDescription
-
getOpacity
public int getOpacity() -
setOpacity
public void setOpacity(int opacity) -
getRotation
public int getRotation() -
setRotation
public void setRotation(int rotation) -
getExprX
-
setExprX
-
getExprY
-
setExprY
-
getText
-
setText
-
getEnabled
public int getEnabled() -
setEnabled
public void setEnabled(int enabled) -
getColor
-
setColor
-
getSize
public int getSize() -
setSize
public void setSize(int size) -
getPageOption
public int getPageOption() -
setPageOption
public void setPageOption(int pageOption) -
getPageSelection
-
setPageSelection
-
getImageWidth
public int getImageWidth() -
setImageWidth
public void setImageWidth(int imageWidth) -
getImageHeight
public int getImageHeight() -
setImageHeight
public void setImageHeight(int imageHeight) -
getBarcodeLabel
public int getBarcodeLabel() -
setBarcodeLabel
public void setBarcodeLabel(int barcodeLabel) -
getBarcodeFormat
-
setBarcodeFormat
-
getExprW
-
getExprH
-
setExprW
-
setExprH
-
getAspectRatio
public double getAspectRatio() -
getImage
-
setImage
-
getParameters
-
setParameters
-
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.logicaldoc.core.PersistentObject
-
equals
- Overrides:
equals
in classcom.logicaldoc.core.PersistentObject
-