Class PageTemplateDocument
java.lang.Object
net.anotheria.anodoc.data.DataHolder
net.anotheria.anodoc.data.Document
net.anotheria.asg.data.AbstractASGDocument
net.anotheria.anosite.gen.assitedata.data.PageTemplateDocument
- All Implemented Interfaces:
Serializable,Cloneable,net.anotheria.anodoc.data.IBasicStoreableObject,net.anotheria.anodoc.data.ICompositeDataObject,PageTemplate,net.anotheria.asg.data.DataObject,net.anotheria.asg.data.LockableObject,net.anotheria.util.sorter.IComparable
public class PageTemplateDocument
extends net.anotheria.asg.data.AbstractASGDocument
implements PageTemplate, net.anotheria.util.sorter.IComparable
- See Also:
-
Field Summary
Fields inherited from class net.anotheria.asg.data.AbstractASGDocument
INT_PROPERTY_MULTILINGUAL_DISABLEDFields inherited from class net.anotheria.anodoc.data.Document
PROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIERFields inherited from interface net.anotheria.asg.data.LockableObject
INT_LOCK_PROPERTY_NAME, INT_LOCKER_ID_PROPERTY_NAME, INT_LOCKING_TIME_PROPERTY_NAMEFields inherited from interface net.anotheria.anosite.gen.assitedata.data.PageTemplate
LINK_PROP_LAYOUT, LINK_PROP_SITE, PROP_C1FIRST, PROP_C1LAST, PROP_C2FIRST, PROP_C2LAST, PROP_C3FIRST, PROP_C3LAST, PROP_DESCRIPTION, PROP_FOOTER, PROP_HEADER, PROP_ID, PROP_LOCALIZATIONS, PROP_MEDIA_LINKS, PROP_META, PROP_NAME, PROP_SCRIPTS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddC1firstElement(String box) Adds a new element to the list.voidaddC1lastElement(String box) Adds a new element to the list.voidaddC2firstElement(String box) Adds a new element to the list.voidaddC2lastElement(String box) Adds a new element to the list.voidaddC3firstElement(String box) Adds a new element to the list.voidaddC3lastElement(String box) Adds a new element to the list.voidaddFooterElement(String box) Adds a new element to the list.voidaddHeaderElement(String box) Adds a new element to the list.voidaddLocalizationsElement(String localization) Adds a new element to the list.voidaddMediaLinksElement(String mediaLinks) Adds a new element to the list.voidaddMetaElement(String box) Adds a new element to the list.voidaddScriptsElement(String scripts) Adds a new element to the list.intcompareTo(PageTemplate comparable) intcompareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method) booleanReturns the value of the c1first attribute.getC1firstElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "c1first" containerReturns the value of the c1last attribute.getC1lastElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "c1last" containerReturns the value of the c2first attribute.getC2firstElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "c2first" containerReturns the value of the c2last attribute.getC2lastElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "c2last" containerReturns the value of the c3first attribute.getC3firstElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "c3first" containerReturns the value of the c3last attribute.getC3lastElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "c3last" containerReturns the value of the description attribute.Returns the value of the footer attribute.getFooterElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "footer" containerReturns the value of the header attribute.getHeaderElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "header" containerReturns the value of the layout attribute.Returns the value of the localizations attribute.getLocalizationsElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "localizations" containerReturns the value of the mediaLinks attribute.getMediaLinksElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "mediaLinks" containergetMeta()Returns the value of the meta attribute.getMetaElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "meta" containergetName()Returns the value of the name attribute.Returns the value of the scripts attribute.getScriptsElement(int index) Returns the element at the position index in the list.intReturns the number of elements in the "scripts" containergetSite()Returns the value of the site attribute.voidremoveC1firstElement(int index) Removes the element at position index from the list.voidremoveC1lastElement(int index) Removes the element at position index from the list.voidremoveC2firstElement(int index) Removes the element at position index from the list.voidremoveC2lastElement(int index) Removes the element at position index from the list.voidremoveC3firstElement(int index) Removes the element at position index from the list.voidremoveC3lastElement(int index) Removes the element at position index from the list.voidremoveFooterElement(int index) Removes the element at position index from the list.voidremoveHeaderElement(int index) Removes the element at position index from the list.voidremoveLocalizationsElement(int index) Removes the element at position index from the list.voidremoveMediaLinksElement(int index) Removes the element at position index from the list.voidremoveMetaElement(int index) Removes the element at position index from the list.voidremoveScriptsElement(int index) Removes the element at position index from the list.voidsetC1first(List<String> value) Sets the value of the c1first attribute.voidSets the value of the c1last attribute.voidsetC2first(List<String> value) Sets the value of the c2first attribute.voidSets the value of the c2last attribute.voidsetC3first(List<String> value) Sets the value of the c3first attribute.voidSets the value of the c3last attribute.voidsetDescription(String value) Sets the value of the description attribute.voidSets the value of the footer attribute.voidSets the value of the header attribute.voidSets the value of the layout attribute.voidsetLocalizations(List<String> value) Sets the value of the localizations attribute.voidsetMediaLinks(List<String> value) Sets the value of the mediaLinks attribute.voidSets the value of the meta attribute.voidSets the value of the name attribute.voidsetScripts(List<String> value) Sets the value of the scripts attribute.voidSets the value of the site attribute.voidswapC1firstElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.voidswapC1lastElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.voidswapC2firstElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.voidswapC2lastElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.voidswapC3firstElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.voidswapC3lastElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.voidswapFooterElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.voidswapHeaderElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.voidswapLocalizationsElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.voidswapMediaLinksElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.voidswapMetaElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.voidswapScriptsElement(int index1, int index2) Swaps elements at positions index1 and index2 in the list.toString()Methods inherited from class net.anotheria.asg.data.AbstractASGDocument
getInternalProperty, getLockerId, getLockingTime, getObjectInfo, isLocked, setInternalProperty, setLocked, setLockerId, setLockingTimeMethods 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, toXMLNodeMethods inherited from class net.anotheria.anodoc.data.DataHolder
getId, hashCode, setIdMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.anotheria.asg.data.DataObject
clone, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode
-
Constructor Details
-
PageTemplateDocument
public PageTemplateDocument() -
PageTemplateDocument
-
PageTemplateDocument
-
-
Method Details
-
getName
Description copied from interface:PageTemplateReturns the value of the name attribute.- Specified by:
getNamein interfacePageTemplate
-
setName
Description copied from interface:PageTemplateSets the value of the name attribute.- Specified by:
setNamein interfacePageTemplate
-
getMediaLinks
Description copied from interface:PageTemplateReturns the value of the mediaLinks attribute.- Specified by:
getMediaLinksin interfacePageTemplate
-
setMediaLinks
Description copied from interface:PageTemplateSets the value of the mediaLinks attribute.- Specified by:
setMediaLinksin interfacePageTemplate
-
getScripts
Description copied from interface:PageTemplateReturns the value of the scripts attribute.- Specified by:
getScriptsin interfacePageTemplate
-
setScripts
Description copied from interface:PageTemplateSets the value of the scripts attribute.- Specified by:
setScriptsin interfacePageTemplate
-
getC1first
Description copied from interface:PageTemplateReturns the value of the c1first attribute.- Specified by:
getC1firstin interfacePageTemplate
-
setC1first
Description copied from interface:PageTemplateSets the value of the c1first attribute.- Specified by:
setC1firstin interfacePageTemplate
-
getC2first
Description copied from interface:PageTemplateReturns the value of the c2first attribute.- Specified by:
getC2firstin interfacePageTemplate
-
setC2first
Description copied from interface:PageTemplateSets the value of the c2first attribute.- Specified by:
setC2firstin interfacePageTemplate
-
getC3first
Description copied from interface:PageTemplateReturns the value of the c3first attribute.- Specified by:
getC3firstin interfacePageTemplate
-
setC3first
Description copied from interface:PageTemplateSets the value of the c3first attribute.- Specified by:
setC3firstin interfacePageTemplate
-
getC1last
Description copied from interface:PageTemplateReturns the value of the c1last attribute.- Specified by:
getC1lastin interfacePageTemplate
-
setC1last
Description copied from interface:PageTemplateSets the value of the c1last attribute.- Specified by:
setC1lastin interfacePageTemplate
-
getC2last
Description copied from interface:PageTemplateReturns the value of the c2last attribute.- Specified by:
getC2lastin interfacePageTemplate
-
setC2last
Description copied from interface:PageTemplateSets the value of the c2last attribute.- Specified by:
setC2lastin interfacePageTemplate
-
getC3last
Description copied from interface:PageTemplateReturns the value of the c3last attribute.- Specified by:
getC3lastin interfacePageTemplate
-
setC3last
Description copied from interface:PageTemplateSets the value of the c3last attribute.- Specified by:
setC3lastin interfacePageTemplate
-
getMeta
Description copied from interface:PageTemplateReturns the value of the meta attribute.- Specified by:
getMetain interfacePageTemplate
-
setMeta
Description copied from interface:PageTemplateSets the value of the meta attribute.- Specified by:
setMetain interfacePageTemplate
-
getHeader
Description copied from interface:PageTemplateReturns the value of the header attribute.- Specified by:
getHeaderin interfacePageTemplate
-
setHeader
Description copied from interface:PageTemplateSets the value of the header attribute.- Specified by:
setHeaderin interfacePageTemplate
-
getLocalizations
Description copied from interface:PageTemplateReturns the value of the localizations attribute.- Specified by:
getLocalizationsin interfacePageTemplate
-
setLocalizations
Description copied from interface:PageTemplateSets the value of the localizations attribute.- Specified by:
setLocalizationsin interfacePageTemplate
-
getDescription
Description copied from interface:PageTemplateReturns the value of the description attribute.- Specified by:
getDescriptionin interfacePageTemplate
-
setDescription
Description copied from interface:PageTemplateSets the value of the description attribute.- Specified by:
setDescriptionin interfacePageTemplate
-
getLayout
Description copied from interface:PageTemplateReturns the value of the layout attribute.- Specified by:
getLayoutin interfacePageTemplate
-
setLayout
Description copied from interface:PageTemplateSets the value of the layout attribute.- Specified by:
setLayoutin interfacePageTemplate
-
getSite
Description copied from interface:PageTemplateReturns the value of the site attribute.- Specified by:
getSitein interfacePageTemplate
-
setSite
Description copied from interface:PageTemplateSets the value of the site attribute.- Specified by:
setSitein interfacePageTemplate
-
toString
- Overrides:
toStringin classnet.anotheria.anodoc.data.Document
-
getMediaLinksSize
public int getMediaLinksSize()Description copied from interface:PageTemplateReturns the number of elements in the "mediaLinks" container- Specified by:
getMediaLinksSizein interfacePageTemplate
-
addMediaLinksElement
Description copied from interface:PageTemplateAdds a new element to the list.- Specified by:
addMediaLinksElementin interfacePageTemplate
-
removeMediaLinksElement
public void removeMediaLinksElement(int index) Description copied from interface:PageTemplateRemoves the element at position index from the list.- Specified by:
removeMediaLinksElementin interfacePageTemplate
-
swapMediaLinksElement
public void swapMediaLinksElement(int index1, int index2) Description copied from interface:PageTemplateSwaps elements at positions index1 and index2 in the list.- Specified by:
swapMediaLinksElementin interfacePageTemplate
-
getMediaLinksElement
Description copied from interface:PageTemplateReturns the element at the position index in the list.- Specified by:
getMediaLinksElementin interfacePageTemplate
-
getScriptsSize
public int getScriptsSize()Description copied from interface:PageTemplateReturns the number of elements in the "scripts" container- Specified by:
getScriptsSizein interfacePageTemplate
-
addScriptsElement
Description copied from interface:PageTemplateAdds a new element to the list.- Specified by:
addScriptsElementin interfacePageTemplate
-
removeScriptsElement
public void removeScriptsElement(int index) Description copied from interface:PageTemplateRemoves the element at position index from the list.- Specified by:
removeScriptsElementin interfacePageTemplate
-
swapScriptsElement
public void swapScriptsElement(int index1, int index2) Description copied from interface:PageTemplateSwaps elements at positions index1 and index2 in the list.- Specified by:
swapScriptsElementin interfacePageTemplate
-
getScriptsElement
Description copied from interface:PageTemplateReturns the element at the position index in the list.- Specified by:
getScriptsElementin interfacePageTemplate
-
getC1firstSize
public int getC1firstSize()Description copied from interface:PageTemplateReturns the number of elements in the "c1first" container- Specified by:
getC1firstSizein interfacePageTemplate
-
addC1firstElement
Description copied from interface:PageTemplateAdds a new element to the list.- Specified by:
addC1firstElementin interfacePageTemplate
-
removeC1firstElement
public void removeC1firstElement(int index) Description copied from interface:PageTemplateRemoves the element at position index from the list.- Specified by:
removeC1firstElementin interfacePageTemplate
-
swapC1firstElement
public void swapC1firstElement(int index1, int index2) Description copied from interface:PageTemplateSwaps elements at positions index1 and index2 in the list.- Specified by:
swapC1firstElementin interfacePageTemplate
-
getC1firstElement
Description copied from interface:PageTemplateReturns the element at the position index in the list.- Specified by:
getC1firstElementin interfacePageTemplate
-
getC2firstSize
public int getC2firstSize()Description copied from interface:PageTemplateReturns the number of elements in the "c2first" container- Specified by:
getC2firstSizein interfacePageTemplate
-
addC2firstElement
Description copied from interface:PageTemplateAdds a new element to the list.- Specified by:
addC2firstElementin interfacePageTemplate
-
removeC2firstElement
public void removeC2firstElement(int index) Description copied from interface:PageTemplateRemoves the element at position index from the list.- Specified by:
removeC2firstElementin interfacePageTemplate
-
swapC2firstElement
public void swapC2firstElement(int index1, int index2) Description copied from interface:PageTemplateSwaps elements at positions index1 and index2 in the list.- Specified by:
swapC2firstElementin interfacePageTemplate
-
getC2firstElement
Description copied from interface:PageTemplateReturns the element at the position index in the list.- Specified by:
getC2firstElementin interfacePageTemplate
-
getC3firstSize
public int getC3firstSize()Description copied from interface:PageTemplateReturns the number of elements in the "c3first" container- Specified by:
getC3firstSizein interfacePageTemplate
-
addC3firstElement
Description copied from interface:PageTemplateAdds a new element to the list.- Specified by:
addC3firstElementin interfacePageTemplate
-
removeC3firstElement
public void removeC3firstElement(int index) Description copied from interface:PageTemplateRemoves the element at position index from the list.- Specified by:
removeC3firstElementin interfacePageTemplate
-
swapC3firstElement
public void swapC3firstElement(int index1, int index2) Description copied from interface:PageTemplateSwaps elements at positions index1 and index2 in the list.- Specified by:
swapC3firstElementin interfacePageTemplate
-
getC3firstElement
Description copied from interface:PageTemplateReturns the element at the position index in the list.- Specified by:
getC3firstElementin interfacePageTemplate
-
getC1lastSize
public int getC1lastSize()Description copied from interface:PageTemplateReturns the number of elements in the "c1last" container- Specified by:
getC1lastSizein interfacePageTemplate
-
addC1lastElement
Description copied from interface:PageTemplateAdds a new element to the list.- Specified by:
addC1lastElementin interfacePageTemplate
-
removeC1lastElement
public void removeC1lastElement(int index) Description copied from interface:PageTemplateRemoves the element at position index from the list.- Specified by:
removeC1lastElementin interfacePageTemplate
-
swapC1lastElement
public void swapC1lastElement(int index1, int index2) Description copied from interface:PageTemplateSwaps elements at positions index1 and index2 in the list.- Specified by:
swapC1lastElementin interfacePageTemplate
-
getC1lastElement
Description copied from interface:PageTemplateReturns the element at the position index in the list.- Specified by:
getC1lastElementin interfacePageTemplate
-
getC2lastSize
public int getC2lastSize()Description copied from interface:PageTemplateReturns the number of elements in the "c2last" container- Specified by:
getC2lastSizein interfacePageTemplate
-
addC2lastElement
Description copied from interface:PageTemplateAdds a new element to the list.- Specified by:
addC2lastElementin interfacePageTemplate
-
removeC2lastElement
public void removeC2lastElement(int index) Description copied from interface:PageTemplateRemoves the element at position index from the list.- Specified by:
removeC2lastElementin interfacePageTemplate
-
swapC2lastElement
public void swapC2lastElement(int index1, int index2) Description copied from interface:PageTemplateSwaps elements at positions index1 and index2 in the list.- Specified by:
swapC2lastElementin interfacePageTemplate
-
getC2lastElement
Description copied from interface:PageTemplateReturns the element at the position index in the list.- Specified by:
getC2lastElementin interfacePageTemplate
-
getC3lastSize
public int getC3lastSize()Description copied from interface:PageTemplateReturns the number of elements in the "c3last" container- Specified by:
getC3lastSizein interfacePageTemplate
-
addC3lastElement
Description copied from interface:PageTemplateAdds a new element to the list.- Specified by:
addC3lastElementin interfacePageTemplate
-
removeC3lastElement
public void removeC3lastElement(int index) Description copied from interface:PageTemplateRemoves the element at position index from the list.- Specified by:
removeC3lastElementin interfacePageTemplate
-
swapC3lastElement
public void swapC3lastElement(int index1, int index2) Description copied from interface:PageTemplateSwaps elements at positions index1 and index2 in the list.- Specified by:
swapC3lastElementin interfacePageTemplate
-
getC3lastElement
Description copied from interface:PageTemplateReturns the element at the position index in the list.- Specified by:
getC3lastElementin interfacePageTemplate
-
getMetaSize
public int getMetaSize()Description copied from interface:PageTemplateReturns the number of elements in the "meta" container- Specified by:
getMetaSizein interfacePageTemplate
-
addMetaElement
Description copied from interface:PageTemplateAdds a new element to the list.- Specified by:
addMetaElementin interfacePageTemplate
-
removeMetaElement
public void removeMetaElement(int index) Description copied from interface:PageTemplateRemoves the element at position index from the list.- Specified by:
removeMetaElementin interfacePageTemplate
-
swapMetaElement
public void swapMetaElement(int index1, int index2) Description copied from interface:PageTemplateSwaps elements at positions index1 and index2 in the list.- Specified by:
swapMetaElementin interfacePageTemplate
-
getMetaElement
Description copied from interface:PageTemplateReturns the element at the position index in the list.- Specified by:
getMetaElementin interfacePageTemplate
-
getHeaderSize
public int getHeaderSize()Description copied from interface:PageTemplateReturns the number of elements in the "header" container- Specified by:
getHeaderSizein interfacePageTemplate
-
addHeaderElement
Description copied from interface:PageTemplateAdds a new element to the list.- Specified by:
addHeaderElementin interfacePageTemplate
-
removeHeaderElement
public void removeHeaderElement(int index) Description copied from interface:PageTemplateRemoves the element at position index from the list.- Specified by:
removeHeaderElementin interfacePageTemplate
-
swapHeaderElement
public void swapHeaderElement(int index1, int index2) Description copied from interface:PageTemplateSwaps elements at positions index1 and index2 in the list.- Specified by:
swapHeaderElementin interfacePageTemplate
-
getHeaderElement
Description copied from interface:PageTemplateReturns the element at the position index in the list.- Specified by:
getHeaderElementin interfacePageTemplate
-
getLocalizationsSize
public int getLocalizationsSize()Description copied from interface:PageTemplateReturns the number of elements in the "localizations" container- Specified by:
getLocalizationsSizein interfacePageTemplate
-
addLocalizationsElement
Description copied from interface:PageTemplateAdds a new element to the list.- Specified by:
addLocalizationsElementin interfacePageTemplate
-
removeLocalizationsElement
public void removeLocalizationsElement(int index) Description copied from interface:PageTemplateRemoves the element at position index from the list.- Specified by:
removeLocalizationsElementin interfacePageTemplate
-
swapLocalizationsElement
public void swapLocalizationsElement(int index1, int index2) Description copied from interface:PageTemplateSwaps elements at positions index1 and index2 in the list.- Specified by:
swapLocalizationsElementin interfacePageTemplate
-
getLocalizationsElement
Description copied from interface:PageTemplateReturns the element at the position index in the list.- Specified by:
getLocalizationsElementin interfacePageTemplate
-
compareTo
-
compareTo
public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method) - Specified by:
compareToin interfacenet.anotheria.util.sorter.IComparable
-
getDefinedName
- Specified by:
getDefinedNamein interfacenet.anotheria.asg.data.DataObject
-
getDefinedParentName
- Specified by:
getDefinedParentNamein interfacenet.anotheria.asg.data.DataObject
-
getFootprint
- Specified by:
getFootprintin interfacenet.anotheria.asg.data.DataObject
-
equals
-