Class PdfTemplateDocument
- java.lang.Object
-
- net.anotheria.anodoc.data.DataHolder
-
- net.anotheria.anodoc.data.Document
-
- net.anotheria.asg.data.AbstractASGDocument
-
- net.anotheria.anosite.gen.asresourcedata.data.PdfTemplateDocument
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,net.anotheria.anodoc.data.IBasicStoreableObject,net.anotheria.anodoc.data.ICompositeDataObject,PdfTemplate,net.anotheria.asg.data.DataObject,net.anotheria.asg.data.LockableObject,net.anotheria.asg.data.MultilingualObject,net.anotheria.util.sorter.IComparable
public class PdfTemplateDocument extends net.anotheria.asg.data.AbstractASGDocument implements PdfTemplate, net.anotheria.util.sorter.IComparable, net.anotheria.asg.data.MultilingualObject
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.anotheria.asg.data.AbstractASGDocument
INT_PROPERTY_MULTILINGUAL_DISABLED
-
Fields inherited from class net.anotheria.anodoc.data.Document
PROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIER
-
Fields inherited from interface net.anotheria.asg.data.LockableObject
INT_LOCK_PROPERTY_NAME, INT_LOCKER_ID_PROPERTY_NAME, INT_LOCKING_TIME_PROPERTY_NAME
-
Fields inherited from interface net.anotheria.anosite.gen.asresourcedata.data.PdfTemplate
PROP_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 Summary
Constructors Constructor Description PdfTemplateDocument()PdfTemplateDocument(java.lang.String id)PdfTemplateDocument(PdfTemplateDocument toClone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLocalizationsElement(java.lang.String guard)Adds a new element to the list.intcompareTo(PdfTemplate comparable)intcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)voidcopyLANG2LANG(java.lang.String sourceLanguage, java.lang.String destLanguage)Copies all multilingual properties from source language to destination languagebooleanequals(java.lang.Object o)booleangetApplyBackgroundStyles()Returns the value of the applyBackgroundStyles attribute.java.lang.StringgetContentTemplate()Returns the current value of the contentTemplate attribute.java.lang.StringgetContentTemplateEN()Returns the value of the contentTemplate attribute in the "EN" domain.java.lang.StringgetDefinedName()java.lang.StringgetDefinedParentName()intgetFooterMargin()Returns the value of the footerMargin attribute.java.lang.StringgetFooterTemplate()Returns the current value of the footerTemplate attribute.java.lang.StringgetFooterTemplateEN()Returns the value of the footerTemplate attribute in the "EN" domain.java.lang.StringgetFootprint()intgetHeaderMargin()Returns the value of the headerMargin attribute.java.lang.StringgetHeaderTemplate()Returns the current value of the headerTemplate attribute.java.lang.StringgetHeaderTemplateEN()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.StringgetLocalizationsElement(int index)Returns the element at the position index in the list.intgetLocalizationsSize()Returns the number of elements in the "localizations" containerjava.lang.StringgetName()Returns the value of the name attribute.booleangetShowPageNumbers()Returns the value of the showPageNumbers attribute.booleanisMultilingualDisabledInstance()voidremoveLocalizationsElement(int index)Removes the element at position index from the list.voidsetApplyBackgroundStyles(boolean value)Sets the value of the applyBackgroundStyles attribute.voidsetContentTemplate(java.lang.String value)Sets the value of the contentTemplate attribute in the current domain.voidsetContentTemplateEN(java.lang.String value)Sets the value of the contentTemplate attribute in the domain "EN"voidsetFooterMargin(int value)Sets the value of the footerMargin attribute.voidsetFooterTemplate(java.lang.String value)Sets the value of the footerTemplate attribute in the current domain.voidsetFooterTemplateEN(java.lang.String value)Sets the value of the footerTemplate attribute in the domain "EN"voidsetHeaderMargin(int value)Sets the value of the headerMargin attribute.voidsetHeaderTemplate(java.lang.String value)Sets the value of the headerTemplate attribute in the current domain.voidsetHeaderTemplateEN(java.lang.String value)Sets the value of the headerTemplate attribute in the domain "EN"voidsetLocalizations(java.util.List<java.lang.String> value)Sets the value of the localizations attribute.voidsetMultilingualDisabledInstance(boolean value)voidsetName(java.lang.String value)Sets the value of the name attribute.voidsetShowPageNumbers(boolean value)Sets the value of the showPageNumbers attribute.voidswapLocalizationsElement(int index1, int index2)Swaps elements at positions index1 and index2 in the list.java.lang.StringtoString()-
Methods inherited from class net.anotheria.asg.data.AbstractASGDocument
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTime
-
Methods inherited from class net.anotheria.anodoc.data.Document
addDataHolder, 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, toXMLNode
-
-
-
-
Constructor Detail
-
PdfTemplateDocument
public PdfTemplateDocument()
-
PdfTemplateDocument
public PdfTemplateDocument(java.lang.String id)
-
PdfTemplateDocument
public PdfTemplateDocument(PdfTemplateDocument toClone)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:PdfTemplateReturns the value of the name attribute.- Specified by:
getNamein interfacePdfTemplate
-
setName
public void setName(java.lang.String value)
Description copied from interface:PdfTemplateSets the value of the name attribute.- Specified by:
setNamein interfacePdfTemplate
-
getShowPageNumbers
public boolean getShowPageNumbers()
Description copied from interface:PdfTemplateReturns the value of the showPageNumbers attribute.- Specified by:
getShowPageNumbersin interfacePdfTemplate
-
setShowPageNumbers
public void setShowPageNumbers(boolean value)
Description copied from interface:PdfTemplateSets the value of the showPageNumbers attribute.- Specified by:
setShowPageNumbersin interfacePdfTemplate
-
getApplyBackgroundStyles
public boolean getApplyBackgroundStyles()
Description copied from interface:PdfTemplateReturns the value of the applyBackgroundStyles attribute.- Specified by:
getApplyBackgroundStylesin interfacePdfTemplate
-
setApplyBackgroundStyles
public void setApplyBackgroundStyles(boolean value)
Description copied from interface:PdfTemplateSets the value of the applyBackgroundStyles attribute.- Specified by:
setApplyBackgroundStylesin interfacePdfTemplate
-
getHeaderTemplateEN
public java.lang.String getHeaderTemplateEN()
Description copied from interface:PdfTemplateReturns the value of the headerTemplate attribute in the "EN" domain.- Specified by:
getHeaderTemplateENin interfacePdfTemplate
-
getHeaderTemplate
public java.lang.String getHeaderTemplate()
Description copied from interface:PdfTemplateReturns the current value of the headerTemplate attribute. Current means in the currently selected domain.- Specified by:
getHeaderTemplatein interfacePdfTemplate
-
setHeaderTemplateEN
public void setHeaderTemplateEN(java.lang.String value)
Description copied from interface:PdfTemplateSets the value of the headerTemplate attribute in the domain "EN"- Specified by:
setHeaderTemplateENin interfacePdfTemplate
-
setHeaderTemplate
public void setHeaderTemplate(java.lang.String value)
Description copied from interface:PdfTemplateSets the value of the headerTemplate attribute in the current domain. Current means in the currently selected domain.- Specified by:
setHeaderTemplatein interfacePdfTemplate
-
getHeaderMargin
public int getHeaderMargin()
Description copied from interface:PdfTemplateReturns the value of the headerMargin attribute.- Specified by:
getHeaderMarginin interfacePdfTemplate
-
setHeaderMargin
public void setHeaderMargin(int value)
Description copied from interface:PdfTemplateSets the value of the headerMargin attribute.- Specified by:
setHeaderMarginin interfacePdfTemplate
-
getFooterTemplateEN
public java.lang.String getFooterTemplateEN()
Description copied from interface:PdfTemplateReturns the value of the footerTemplate attribute in the "EN" domain.- Specified by:
getFooterTemplateENin interfacePdfTemplate
-
getFooterTemplate
public java.lang.String getFooterTemplate()
Description copied from interface:PdfTemplateReturns the current value of the footerTemplate attribute. Current means in the currently selected domain.- Specified by:
getFooterTemplatein interfacePdfTemplate
-
setFooterTemplateEN
public void setFooterTemplateEN(java.lang.String value)
Description copied from interface:PdfTemplateSets the value of the footerTemplate attribute in the domain "EN"- Specified by:
setFooterTemplateENin interfacePdfTemplate
-
setFooterTemplate
public void setFooterTemplate(java.lang.String value)
Description copied from interface:PdfTemplateSets the value of the footerTemplate attribute in the current domain. Current means in the currently selected domain.- Specified by:
setFooterTemplatein interfacePdfTemplate
-
getFooterMargin
public int getFooterMargin()
Description copied from interface:PdfTemplateReturns the value of the footerMargin attribute.- Specified by:
getFooterMarginin interfacePdfTemplate
-
setFooterMargin
public void setFooterMargin(int value)
Description copied from interface:PdfTemplateSets the value of the footerMargin attribute.- Specified by:
setFooterMarginin interfacePdfTemplate
-
getContentTemplateEN
public java.lang.String getContentTemplateEN()
Description copied from interface:PdfTemplateReturns the value of the contentTemplate attribute in the "EN" domain.- Specified by:
getContentTemplateENin interfacePdfTemplate
-
getContentTemplate
public java.lang.String getContentTemplate()
Description copied from interface:PdfTemplateReturns the current value of the contentTemplate attribute. Current means in the currently selected domain.- Specified by:
getContentTemplatein interfacePdfTemplate
-
setContentTemplateEN
public void setContentTemplateEN(java.lang.String value)
Description copied from interface:PdfTemplateSets the value of the contentTemplate attribute in the domain "EN"- Specified by:
setContentTemplateENin interfacePdfTemplate
-
setContentTemplate
public void setContentTemplate(java.lang.String value)
Description copied from interface:PdfTemplateSets the value of the contentTemplate attribute in the current domain. Current means in the currently selected domain.- Specified by:
setContentTemplatein interfacePdfTemplate
-
getLocalizations
public java.util.List<java.lang.String> getLocalizations()
Description copied from interface:PdfTemplateReturns the value of the localizations attribute.- Specified by:
getLocalizationsin interfacePdfTemplate
-
setLocalizations
public void setLocalizations(java.util.List<java.lang.String> value)
Description copied from interface:PdfTemplateSets the value of the localizations attribute.- Specified by:
setLocalizationsin interfacePdfTemplate
-
toString
public java.lang.String toString()
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getLocalizationsSize
public int getLocalizationsSize()
Description copied from interface:PdfTemplateReturns the number of elements in the "localizations" container- Specified by:
getLocalizationsSizein interfacePdfTemplate
-
addLocalizationsElement
public void addLocalizationsElement(java.lang.String guard)
Description copied from interface:PdfTemplateAdds a new element to the list.- Specified by:
addLocalizationsElementin interfacePdfTemplate
-
removeLocalizationsElement
public void removeLocalizationsElement(int index)
Description copied from interface:PdfTemplateRemoves the element at position index from the list.- Specified by:
removeLocalizationsElementin interfacePdfTemplate
-
swapLocalizationsElement
public void swapLocalizationsElement(int index1, int index2)Description copied from interface:PdfTemplateSwaps elements at positions index1 and index2 in the list.- Specified by:
swapLocalizationsElementin interfacePdfTemplate
-
getLocalizationsElement
public java.lang.String getLocalizationsElement(int index)
Description copied from interface:PdfTemplateReturns the element at the position index in the list.- Specified by:
getLocalizationsElementin interfacePdfTemplate
-
compareTo
public int compareTo(PdfTemplate comparable)
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)- Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
public java.lang.String getDefinedName()
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
public java.lang.String getDefinedParentName()
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
public java.lang.String getFootprint()
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
copyLANG2LANG
public void copyLANG2LANG(java.lang.String sourceLanguage, java.lang.String destLanguage)Description copied from interface:PdfTemplateCopies all multilingual properties from source language to destination language- Specified by:
copyLANG2LANGin interfacePdfTemplate
-
isMultilingualDisabledInstance
public boolean isMultilingualDisabledInstance()
- Specified by:
isMultilingualDisabledInstancein interfacenet.anotheria.asg.data.MultilingualObject
-
setMultilingualDisabledInstance
public void setMultilingualDisabledInstance(boolean value)
- Specified by:
setMultilingualDisabledInstancein interfacenet.anotheria.asg.data.MultilingualObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-