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:
  • Constructor Details

    • PageTemplateDocument

      public PageTemplateDocument()
    • PageTemplateDocument

      public PageTemplateDocument(String id)
    • PageTemplateDocument

      public PageTemplateDocument(PageTemplateDocument toClone)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: PageTemplate
      Returns the value of the name attribute.
      Specified by:
      getName in interface PageTemplate
    • setName

      public void setName(String value)
      Description copied from interface: PageTemplate
      Sets the value of the name attribute.
      Specified by:
      setName in interface PageTemplate
    • getMediaLinks

      public List<String> getMediaLinks()
      Description copied from interface: PageTemplate
      Returns the value of the mediaLinks attribute.
      Specified by:
      getMediaLinks in interface PageTemplate
    • setMediaLinks

      public void setMediaLinks(List<String> value)
      Description copied from interface: PageTemplate
      Sets the value of the mediaLinks attribute.
      Specified by:
      setMediaLinks in interface PageTemplate
    • getScripts

      public List<String> getScripts()
      Description copied from interface: PageTemplate
      Returns the value of the scripts attribute.
      Specified by:
      getScripts in interface PageTemplate
    • setScripts

      public void setScripts(List<String> value)
      Description copied from interface: PageTemplate
      Sets the value of the scripts attribute.
      Specified by:
      setScripts in interface PageTemplate
    • getC1first

      public List<String> getC1first()
      Description copied from interface: PageTemplate
      Returns the value of the c1first attribute.
      Specified by:
      getC1first in interface PageTemplate
    • setC1first

      public void setC1first(List<String> value)
      Description copied from interface: PageTemplate
      Sets the value of the c1first attribute.
      Specified by:
      setC1first in interface PageTemplate
    • getC2first

      public List<String> getC2first()
      Description copied from interface: PageTemplate
      Returns the value of the c2first attribute.
      Specified by:
      getC2first in interface PageTemplate
    • setC2first

      public void setC2first(List<String> value)
      Description copied from interface: PageTemplate
      Sets the value of the c2first attribute.
      Specified by:
      setC2first in interface PageTemplate
    • getC3first

      public List<String> getC3first()
      Description copied from interface: PageTemplate
      Returns the value of the c3first attribute.
      Specified by:
      getC3first in interface PageTemplate
    • setC3first

      public void setC3first(List<String> value)
      Description copied from interface: PageTemplate
      Sets the value of the c3first attribute.
      Specified by:
      setC3first in interface PageTemplate
    • getC1last

      public List<String> getC1last()
      Description copied from interface: PageTemplate
      Returns the value of the c1last attribute.
      Specified by:
      getC1last in interface PageTemplate
    • setC1last

      public void setC1last(List<String> value)
      Description copied from interface: PageTemplate
      Sets the value of the c1last attribute.
      Specified by:
      setC1last in interface PageTemplate
    • getC2last

      public List<String> getC2last()
      Description copied from interface: PageTemplate
      Returns the value of the c2last attribute.
      Specified by:
      getC2last in interface PageTemplate
    • setC2last

      public void setC2last(List<String> value)
      Description copied from interface: PageTemplate
      Sets the value of the c2last attribute.
      Specified by:
      setC2last in interface PageTemplate
    • getC3last

      public List<String> getC3last()
      Description copied from interface: PageTemplate
      Returns the value of the c3last attribute.
      Specified by:
      getC3last in interface PageTemplate
    • setC3last

      public void setC3last(List<String> value)
      Description copied from interface: PageTemplate
      Sets the value of the c3last attribute.
      Specified by:
      setC3last in interface PageTemplate
    • getMeta

      public List<String> getMeta()
      Description copied from interface: PageTemplate
      Returns the value of the meta attribute.
      Specified by:
      getMeta in interface PageTemplate
    • setMeta

      public void setMeta(List<String> value)
      Description copied from interface: PageTemplate
      Sets the value of the meta attribute.
      Specified by:
      setMeta in interface PageTemplate
    • getHeader

      public List<String> getHeader()
      Description copied from interface: PageTemplate
      Returns the value of the header attribute.
      Specified by:
      getHeader in interface PageTemplate
    • setHeader

      public void setHeader(List<String> value)
      Description copied from interface: PageTemplate
      Sets the value of the header attribute.
      Specified by:
      setHeader in interface PageTemplate
    • getFooter

      public List<String> getFooter()
      Description copied from interface: PageTemplate
      Returns the value of the footer attribute.
      Specified by:
      getFooter in interface PageTemplate
    • setFooter

      public void setFooter(List<String> value)
      Description copied from interface: PageTemplate
      Sets the value of the footer attribute.
      Specified by:
      setFooter in interface PageTemplate
    • getLocalizations

      public List<String> getLocalizations()
      Description copied from interface: PageTemplate
      Returns the value of the localizations attribute.
      Specified by:
      getLocalizations in interface PageTemplate
    • setLocalizations

      public void setLocalizations(List<String> value)
      Description copied from interface: PageTemplate
      Sets the value of the localizations attribute.
      Specified by:
      setLocalizations in interface PageTemplate
    • getDescription

      public String getDescription()
      Description copied from interface: PageTemplate
      Returns the value of the description attribute.
      Specified by:
      getDescription in interface PageTemplate
    • setDescription

      public void setDescription(String value)
      Description copied from interface: PageTemplate
      Sets the value of the description attribute.
      Specified by:
      setDescription in interface PageTemplate
    • getLayout

      public String getLayout()
      Description copied from interface: PageTemplate
      Returns the value of the layout attribute.
      Specified by:
      getLayout in interface PageTemplate
    • setLayout

      public void setLayout(String value)
      Description copied from interface: PageTemplate
      Sets the value of the layout attribute.
      Specified by:
      setLayout in interface PageTemplate
    • getSite

      public String getSite()
      Description copied from interface: PageTemplate
      Returns the value of the site attribute.
      Specified by:
      getSite in interface PageTemplate
    • setSite

      public void setSite(String value)
      Description copied from interface: PageTemplate
      Sets the value of the site attribute.
      Specified by:
      setSite in interface PageTemplate
    • toString

      public String toString()
      Overrides:
      toString in class net.anotheria.anodoc.data.Document
    • getMediaLinksSize

      public int getMediaLinksSize()
      Description copied from interface: PageTemplate
      Returns the number of elements in the "mediaLinks" container
      Specified by:
      getMediaLinksSize in interface PageTemplate
    • addMediaLinksElement

      public void addMediaLinksElement(String mediaLinks)
      Description copied from interface: PageTemplate
      Adds a new element to the list.
      Specified by:
      addMediaLinksElement in interface PageTemplate
    • removeMediaLinksElement

      public void removeMediaLinksElement(int index)
      Description copied from interface: PageTemplate
      Removes the element at position index from the list.
      Specified by:
      removeMediaLinksElement in interface PageTemplate
    • swapMediaLinksElement

      public void swapMediaLinksElement(int index1, int index2)
      Description copied from interface: PageTemplate
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapMediaLinksElement in interface PageTemplate
    • getMediaLinksElement

      public String getMediaLinksElement(int index)
      Description copied from interface: PageTemplate
      Returns the element at the position index in the list.
      Specified by:
      getMediaLinksElement in interface PageTemplate
    • getScriptsSize

      public int getScriptsSize()
      Description copied from interface: PageTemplate
      Returns the number of elements in the "scripts" container
      Specified by:
      getScriptsSize in interface PageTemplate
    • addScriptsElement

      public void addScriptsElement(String scripts)
      Description copied from interface: PageTemplate
      Adds a new element to the list.
      Specified by:
      addScriptsElement in interface PageTemplate
    • removeScriptsElement

      public void removeScriptsElement(int index)
      Description copied from interface: PageTemplate
      Removes the element at position index from the list.
      Specified by:
      removeScriptsElement in interface PageTemplate
    • swapScriptsElement

      public void swapScriptsElement(int index1, int index2)
      Description copied from interface: PageTemplate
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapScriptsElement in interface PageTemplate
    • getScriptsElement

      public String getScriptsElement(int index)
      Description copied from interface: PageTemplate
      Returns the element at the position index in the list.
      Specified by:
      getScriptsElement in interface PageTemplate
    • getC1firstSize

      public int getC1firstSize()
      Description copied from interface: PageTemplate
      Returns the number of elements in the "c1first" container
      Specified by:
      getC1firstSize in interface PageTemplate
    • addC1firstElement

      public void addC1firstElement(String box)
      Description copied from interface: PageTemplate
      Adds a new element to the list.
      Specified by:
      addC1firstElement in interface PageTemplate
    • removeC1firstElement

      public void removeC1firstElement(int index)
      Description copied from interface: PageTemplate
      Removes the element at position index from the list.
      Specified by:
      removeC1firstElement in interface PageTemplate
    • swapC1firstElement

      public void swapC1firstElement(int index1, int index2)
      Description copied from interface: PageTemplate
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapC1firstElement in interface PageTemplate
    • getC1firstElement

      public String getC1firstElement(int index)
      Description copied from interface: PageTemplate
      Returns the element at the position index in the list.
      Specified by:
      getC1firstElement in interface PageTemplate
    • getC2firstSize

      public int getC2firstSize()
      Description copied from interface: PageTemplate
      Returns the number of elements in the "c2first" container
      Specified by:
      getC2firstSize in interface PageTemplate
    • addC2firstElement

      public void addC2firstElement(String box)
      Description copied from interface: PageTemplate
      Adds a new element to the list.
      Specified by:
      addC2firstElement in interface PageTemplate
    • removeC2firstElement

      public void removeC2firstElement(int index)
      Description copied from interface: PageTemplate
      Removes the element at position index from the list.
      Specified by:
      removeC2firstElement in interface PageTemplate
    • swapC2firstElement

      public void swapC2firstElement(int index1, int index2)
      Description copied from interface: PageTemplate
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapC2firstElement in interface PageTemplate
    • getC2firstElement

      public String getC2firstElement(int index)
      Description copied from interface: PageTemplate
      Returns the element at the position index in the list.
      Specified by:
      getC2firstElement in interface PageTemplate
    • getC3firstSize

      public int getC3firstSize()
      Description copied from interface: PageTemplate
      Returns the number of elements in the "c3first" container
      Specified by:
      getC3firstSize in interface PageTemplate
    • addC3firstElement

      public void addC3firstElement(String box)
      Description copied from interface: PageTemplate
      Adds a new element to the list.
      Specified by:
      addC3firstElement in interface PageTemplate
    • removeC3firstElement

      public void removeC3firstElement(int index)
      Description copied from interface: PageTemplate
      Removes the element at position index from the list.
      Specified by:
      removeC3firstElement in interface PageTemplate
    • swapC3firstElement

      public void swapC3firstElement(int index1, int index2)
      Description copied from interface: PageTemplate
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapC3firstElement in interface PageTemplate
    • getC3firstElement

      public String getC3firstElement(int index)
      Description copied from interface: PageTemplate
      Returns the element at the position index in the list.
      Specified by:
      getC3firstElement in interface PageTemplate
    • getC1lastSize

      public int getC1lastSize()
      Description copied from interface: PageTemplate
      Returns the number of elements in the "c1last" container
      Specified by:
      getC1lastSize in interface PageTemplate
    • addC1lastElement

      public void addC1lastElement(String box)
      Description copied from interface: PageTemplate
      Adds a new element to the list.
      Specified by:
      addC1lastElement in interface PageTemplate
    • removeC1lastElement

      public void removeC1lastElement(int index)
      Description copied from interface: PageTemplate
      Removes the element at position index from the list.
      Specified by:
      removeC1lastElement in interface PageTemplate
    • swapC1lastElement

      public void swapC1lastElement(int index1, int index2)
      Description copied from interface: PageTemplate
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapC1lastElement in interface PageTemplate
    • getC1lastElement

      public String getC1lastElement(int index)
      Description copied from interface: PageTemplate
      Returns the element at the position index in the list.
      Specified by:
      getC1lastElement in interface PageTemplate
    • getC2lastSize

      public int getC2lastSize()
      Description copied from interface: PageTemplate
      Returns the number of elements in the "c2last" container
      Specified by:
      getC2lastSize in interface PageTemplate
    • addC2lastElement

      public void addC2lastElement(String box)
      Description copied from interface: PageTemplate
      Adds a new element to the list.
      Specified by:
      addC2lastElement in interface PageTemplate
    • removeC2lastElement

      public void removeC2lastElement(int index)
      Description copied from interface: PageTemplate
      Removes the element at position index from the list.
      Specified by:
      removeC2lastElement in interface PageTemplate
    • swapC2lastElement

      public void swapC2lastElement(int index1, int index2)
      Description copied from interface: PageTemplate
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapC2lastElement in interface PageTemplate
    • getC2lastElement

      public String getC2lastElement(int index)
      Description copied from interface: PageTemplate
      Returns the element at the position index in the list.
      Specified by:
      getC2lastElement in interface PageTemplate
    • getC3lastSize

      public int getC3lastSize()
      Description copied from interface: PageTemplate
      Returns the number of elements in the "c3last" container
      Specified by:
      getC3lastSize in interface PageTemplate
    • addC3lastElement

      public void addC3lastElement(String box)
      Description copied from interface: PageTemplate
      Adds a new element to the list.
      Specified by:
      addC3lastElement in interface PageTemplate
    • removeC3lastElement

      public void removeC3lastElement(int index)
      Description copied from interface: PageTemplate
      Removes the element at position index from the list.
      Specified by:
      removeC3lastElement in interface PageTemplate
    • swapC3lastElement

      public void swapC3lastElement(int index1, int index2)
      Description copied from interface: PageTemplate
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapC3lastElement in interface PageTemplate
    • getC3lastElement

      public String getC3lastElement(int index)
      Description copied from interface: PageTemplate
      Returns the element at the position index in the list.
      Specified by:
      getC3lastElement in interface PageTemplate
    • getMetaSize

      public int getMetaSize()
      Description copied from interface: PageTemplate
      Returns the number of elements in the "meta" container
      Specified by:
      getMetaSize in interface PageTemplate
    • addMetaElement

      public void addMetaElement(String box)
      Description copied from interface: PageTemplate
      Adds a new element to the list.
      Specified by:
      addMetaElement in interface PageTemplate
    • removeMetaElement

      public void removeMetaElement(int index)
      Description copied from interface: PageTemplate
      Removes the element at position index from the list.
      Specified by:
      removeMetaElement in interface PageTemplate
    • swapMetaElement

      public void swapMetaElement(int index1, int index2)
      Description copied from interface: PageTemplate
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapMetaElement in interface PageTemplate
    • getMetaElement

      public String getMetaElement(int index)
      Description copied from interface: PageTemplate
      Returns the element at the position index in the list.
      Specified by:
      getMetaElement in interface PageTemplate
    • getHeaderSize

      public int getHeaderSize()
      Description copied from interface: PageTemplate
      Returns the number of elements in the "header" container
      Specified by:
      getHeaderSize in interface PageTemplate
    • addHeaderElement

      public void addHeaderElement(String box)
      Description copied from interface: PageTemplate
      Adds a new element to the list.
      Specified by:
      addHeaderElement in interface PageTemplate
    • removeHeaderElement

      public void removeHeaderElement(int index)
      Description copied from interface: PageTemplate
      Removes the element at position index from the list.
      Specified by:
      removeHeaderElement in interface PageTemplate
    • swapHeaderElement

      public void swapHeaderElement(int index1, int index2)
      Description copied from interface: PageTemplate
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapHeaderElement in interface PageTemplate
    • getHeaderElement

      public String getHeaderElement(int index)
      Description copied from interface: PageTemplate
      Returns the element at the position index in the list.
      Specified by:
      getHeaderElement in interface PageTemplate
    • getFooterSize

      public int getFooterSize()
      Description copied from interface: PageTemplate
      Returns the number of elements in the "footer" container
      Specified by:
      getFooterSize in interface PageTemplate
    • addFooterElement

      public void addFooterElement(String box)
      Description copied from interface: PageTemplate
      Adds a new element to the list.
      Specified by:
      addFooterElement in interface PageTemplate
    • removeFooterElement

      public void removeFooterElement(int index)
      Description copied from interface: PageTemplate
      Removes the element at position index from the list.
      Specified by:
      removeFooterElement in interface PageTemplate
    • swapFooterElement

      public void swapFooterElement(int index1, int index2)
      Description copied from interface: PageTemplate
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapFooterElement in interface PageTemplate
    • getFooterElement

      public String getFooterElement(int index)
      Description copied from interface: PageTemplate
      Returns the element at the position index in the list.
      Specified by:
      getFooterElement in interface PageTemplate
    • getLocalizationsSize

      public int getLocalizationsSize()
      Description copied from interface: PageTemplate
      Returns the number of elements in the "localizations" container
      Specified by:
      getLocalizationsSize in interface PageTemplate
    • addLocalizationsElement

      public void addLocalizationsElement(String localization)
      Description copied from interface: PageTemplate
      Adds a new element to the list.
      Specified by:
      addLocalizationsElement in interface PageTemplate
    • removeLocalizationsElement

      public void removeLocalizationsElement(int index)
      Description copied from interface: PageTemplate
      Removes the element at position index from the list.
      Specified by:
      removeLocalizationsElement in interface PageTemplate
    • swapLocalizationsElement

      public void swapLocalizationsElement(int index1, int index2)
      Description copied from interface: PageTemplate
      Swaps elements at positions index1 and index2 in the list.
      Specified by:
      swapLocalizationsElement in interface PageTemplate
    • getLocalizationsElement

      public String getLocalizationsElement(int index)
      Description copied from interface: PageTemplate
      Returns the element at the position index in the list.
      Specified by:
      getLocalizationsElement in interface PageTemplate
    • compareTo

      public int compareTo(PageTemplate comparable)
    • compareTo

      public int compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
      Specified by:
      compareTo in interface net.anotheria.util.sorter.IComparable
    • getDefinedName

      public String getDefinedName()
      Specified by:
      getDefinedName in interface net.anotheria.asg.data.DataObject
    • getDefinedParentName

      public String getDefinedParentName()
      Specified by:
      getDefinedParentName in interface net.anotheria.asg.data.DataObject
    • getFootprint

      public String getFootprint()
      Specified by:
      getFootprint in interface net.anotheria.asg.data.DataObject
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object