public class PdfTemplateDocument extends net.anotheria.asg.data.AbstractASGDocument implements PdfTemplate, net.anotheria.util.sorter.IComparable, net.anotheria.asg.data.MultilingualObject
INT_PROPERTY_MULTILINGUAL_DISABLEDPROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIERPROP_APPLY_BACKGROUND_STYLES, PROP_CONTENT_TEMPLATE_EN, PROP_FOOTER_MARGIN, PROP_FOOTER_TEMPLATE_EN, PROP_HEADER_MARGIN, PROP_HEADER_TEMPLATE_EN, PROP_ID, PROP_LOCALIZATIONS, PROP_NAME, PROP_SHOW_PAGE_NUMBERS| Constructor and Description |
|---|
PdfTemplateDocument() |
PdfTemplateDocument(PdfTemplateDocument toClone) |
PdfTemplateDocument(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLocalizationsElement(java.lang.String guard)
Adds a new element to the list.
|
int |
compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
int method) |
int |
compareTo(PdfTemplate comparable) |
void |
copyLANG2LANG(java.lang.String sourceLanguage,
java.lang.String destLanguage)
Copies all multilingual properties from source language to destination language
|
boolean |
equals(java.lang.Object o) |
boolean |
getApplyBackgroundStyles()
Returns the value of the applyBackgroundStyles attribute.
|
java.lang.String |
getContentTemplate()
Returns the current value of the contentTemplate attribute.
|
java.lang.String |
getContentTemplateEN()
Returns the value of the contentTemplate attribute in the "EN" domain.
|
java.lang.String |
getDefinedName() |
java.lang.String |
getDefinedParentName() |
int |
getFooterMargin()
Returns the value of the footerMargin attribute.
|
java.lang.String |
getFooterTemplate()
Returns the current value of the footerTemplate attribute.
|
java.lang.String |
getFooterTemplateEN()
Returns the value of the footerTemplate attribute in the "EN" domain.
|
java.lang.String |
getFootprint() |
int |
getHeaderMargin()
Returns the value of the headerMargin attribute.
|
java.lang.String |
getHeaderTemplate()
Returns the current value of the headerTemplate attribute.
|
java.lang.String |
getHeaderTemplateEN()
Returns the value of the headerTemplate attribute in the "EN" domain.
|
java.util.List<java.lang.String> |
getLocalizations()
Returns the value of the localizations attribute.
|
java.lang.String |
getLocalizationsElement(int index)
Returns the element at the position index in the list.
|
int |
getLocalizationsSize()
Returns the number of elements in the "localizations" container
|
java.lang.String |
getName()
Returns the value of the name attribute.
|
boolean |
getShowPageNumbers()
Returns the value of the showPageNumbers attribute.
|
boolean |
isMultilingualDisabledInstance() |
void |
removeLocalizationsElement(int index)
Removes the element at position index from the list.
|
void |
setApplyBackgroundStyles(boolean value)
Sets the value of the applyBackgroundStyles attribute.
|
void |
setContentTemplate(java.lang.String value)
Sets the value of the contentTemplate attribute in the current domain.
|
void |
setContentTemplateEN(java.lang.String value)
Sets the value of the contentTemplate attribute in the domain "EN"
|
void |
setFooterMargin(int value)
Sets the value of the footerMargin attribute.
|
void |
setFooterTemplate(java.lang.String value)
Sets the value of the footerTemplate attribute in the current domain.
|
void |
setFooterTemplateEN(java.lang.String value)
Sets the value of the footerTemplate attribute in the domain "EN"
|
void |
setHeaderMargin(int value)
Sets the value of the headerMargin attribute.
|
void |
setHeaderTemplate(java.lang.String value)
Sets the value of the headerTemplate attribute in the current domain.
|
void |
setHeaderTemplateEN(java.lang.String value)
Sets the value of the headerTemplate attribute in the domain "EN"
|
void |
setLocalizations(java.util.List<java.lang.String> value)
Sets the value of the localizations attribute.
|
void |
setMultilingualDisabledInstance(boolean value) |
void |
setName(java.lang.String value)
Sets the value of the name attribute.
|
void |
setShowPageNumbers(boolean value)
Sets the value of the showPageNumbers attribute.
|
void |
swapLocalizationsElement(int index1,
int index2)
Swaps elements at positions index1 and index2 in the list.
|
java.lang.String |
toString() |
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTimeaddDataHolder, clone, copyFromBooleanList, copyFromDoubleList, copyFromFloatList, copyFromIntegerList, copyFromLongList, copyFromStringList, copyToBooleanList, copyToDoubleList, copyToFloatList, copyToIntegerList, copyToLongList, copyToStringList, createDocument, createDocumentList, createListProperty, getAuthor, getBoolean, getBooleanProperty, getDataHolder, getDocument, getDocumentAnyCase, getDocumentList, getDocumentListAnyCase, getDouble, getDoubleProperty, getEmptyBoolean, getEmptyDouble, getEmptyFloat, getEmptyInt, getEmptyList, getEmptyLong, getEmptyString, getFloat, getFloatProperty, getInt, getIntProperty, getKeys, getLastUpdateTimestamp, getList, getListProperty, getListPropertyAnyCase, getLong, getLongProperty, getObject, getProperties, getProperty, getPropertyValue, getSizeInBytes, getStorageId, getString, getStringProperty, getTypeIdentifier, putBooleanProperty, putDocument, putDoubleProperty, putFloatProperty, putIntProperty, putList, putListProperty, putLongProperty, putProperty, putStringProperty, removeDataHolder, removeDataHolder, removeProperty, removeProperty, renameTo, setBoolean, setCallContextAuthor, setDouble, setFloat, setInt, setLastUpdateNow, setList, setLong, setString, setTypeIdentifier, toXMLNodepublic PdfTemplateDocument()
public PdfTemplateDocument(java.lang.String id)
public PdfTemplateDocument(PdfTemplateDocument toClone)
public java.lang.String getName()
PdfTemplategetName in interface PdfTemplatepublic void setName(java.lang.String value)
PdfTemplatesetName in interface PdfTemplatepublic boolean getShowPageNumbers()
PdfTemplategetShowPageNumbers in interface PdfTemplatepublic void setShowPageNumbers(boolean value)
PdfTemplatesetShowPageNumbers in interface PdfTemplatepublic boolean getApplyBackgroundStyles()
PdfTemplategetApplyBackgroundStyles in interface PdfTemplatepublic void setApplyBackgroundStyles(boolean value)
PdfTemplatesetApplyBackgroundStyles in interface PdfTemplatepublic java.lang.String getHeaderTemplateEN()
PdfTemplategetHeaderTemplateEN in interface PdfTemplatepublic java.lang.String getHeaderTemplate()
PdfTemplategetHeaderTemplate in interface PdfTemplatepublic void setHeaderTemplateEN(java.lang.String value)
PdfTemplatesetHeaderTemplateEN in interface PdfTemplatepublic void setHeaderTemplate(java.lang.String value)
PdfTemplatesetHeaderTemplate in interface PdfTemplatepublic int getHeaderMargin()
PdfTemplategetHeaderMargin in interface PdfTemplatepublic void setHeaderMargin(int value)
PdfTemplatesetHeaderMargin in interface PdfTemplatepublic java.lang.String getFooterTemplateEN()
PdfTemplategetFooterTemplateEN in interface PdfTemplatepublic java.lang.String getFooterTemplate()
PdfTemplategetFooterTemplate in interface PdfTemplatepublic void setFooterTemplateEN(java.lang.String value)
PdfTemplatesetFooterTemplateEN in interface PdfTemplatepublic void setFooterTemplate(java.lang.String value)
PdfTemplatesetFooterTemplate in interface PdfTemplatepublic int getFooterMargin()
PdfTemplategetFooterMargin in interface PdfTemplatepublic void setFooterMargin(int value)
PdfTemplatesetFooterMargin in interface PdfTemplatepublic java.lang.String getContentTemplateEN()
PdfTemplategetContentTemplateEN in interface PdfTemplatepublic java.lang.String getContentTemplate()
PdfTemplategetContentTemplate in interface PdfTemplatepublic void setContentTemplateEN(java.lang.String value)
PdfTemplatesetContentTemplateEN in interface PdfTemplatepublic void setContentTemplate(java.lang.String value)
PdfTemplatesetContentTemplate in interface PdfTemplatepublic java.util.List<java.lang.String> getLocalizations()
PdfTemplategetLocalizations in interface PdfTemplatepublic void setLocalizations(java.util.List<java.lang.String> value)
PdfTemplatesetLocalizations in interface PdfTemplatepublic java.lang.String toString()
toString in class net.anotheria.anodoc.data.Documentpublic int getLocalizationsSize()
PdfTemplategetLocalizationsSize in interface PdfTemplatepublic void addLocalizationsElement(java.lang.String guard)
PdfTemplateaddLocalizationsElement in interface PdfTemplatepublic void removeLocalizationsElement(int index)
PdfTemplateremoveLocalizationsElement in interface PdfTemplatepublic void swapLocalizationsElement(int index1,
int index2)
PdfTemplateswapLocalizationsElement in interface PdfTemplatepublic java.lang.String getLocalizationsElement(int index)
PdfTemplategetLocalizationsElement in interface PdfTemplatepublic int compareTo(PdfTemplate comparable)
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable,
int method)
compareTo in interface net.anotheria.util.sorter.IComparablepublic java.lang.String getDefinedName()
getDefinedName in interface net.anotheria.asg.data.DataObjectpublic java.lang.String getDefinedParentName()
getDefinedParentName in interface net.anotheria.asg.data.DataObjectpublic java.lang.String getFootprint()
getFootprint in interface net.anotheria.asg.data.DataObjectpublic void copyLANG2LANG(java.lang.String sourceLanguage,
java.lang.String destLanguage)
PdfTemplatecopyLANG2LANG in interface PdfTemplatepublic boolean isMultilingualDisabledInstance()
isMultilingualDisabledInstance in interface net.anotheria.asg.data.MultilingualObjectpublic void setMultilingualDisabledInstance(boolean value)
setMultilingualDisabledInstance in interface net.anotheria.asg.data.MultilingualObjectpublic boolean equals(java.lang.Object o)
equals in class java.lang.ObjectCopyright © 2012-2023 anotheria.net. All Rights Reserved.