Class SiteDocument

java.lang.Object
net.anotheria.anodoc.data.DataHolder
net.anotheria.anodoc.data.Document
net.anotheria.asg.data.AbstractASGDocument
net.anotheria.anosite.gen.assitedata.data.SiteDocument
All Implemented Interfaces:
Serializable, Cloneable, net.anotheria.anodoc.data.IBasicStoreableObject, net.anotheria.anodoc.data.ICompositeDataObject, Site, net.anotheria.asg.data.DataObject, net.anotheria.asg.data.LockableObject, net.anotheria.asg.data.MultilingualObject, net.anotheria.util.sorter.IComparable

public class SiteDocument extends net.anotheria.asg.data.AbstractASGDocument implements Site, net.anotheria.util.sorter.IComparable, net.anotheria.asg.data.MultilingualObject
See Also:
  • 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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a new element to the list.
    void
    Adds a new element to the list.
    int
    compareTo(Site comparable)
     
    int
    compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
     
    void
    copyLANG2LANG(String sourceLanguage, String destLanguage)
    Copies all multilingual properties from source language to destination language
    boolean
     
     
     
    Returns the current value of the description attribute.
    Returns the value of the description attribute in the "EN" domain.
     
    Returns the value of the headerBackground attribute.
    Returns the current value of the keywords attribute.
    Returns the value of the keywords attribute in the "EN" domain.
    boolean
    Returns the value of the languageselector attribute.
    Returns the value of the mainNavi attribute.
    getMainNaviElement(int index)
    Returns the element at the position index in the list.
    int
    Returns the number of elements in the "mainNavi" container
    Returns the value of the name attribute.
    Returns the value of the searchpage attribute.
    Returns the value of the siteLogo attribute.
    Returns the value of the startpage attribute.
    Returns the current value of the subtitle attribute.
    Returns the value of the subtitle attribute in the "EN" domain.
    Returns the current value of the title attribute.
    Returns the value of the title attribute in the "EN" domain.
    Returns the value of the topNavi attribute.
    getTopNaviElement(int index)
    Returns the element at the position index in the list.
    int
    Returns the number of elements in the "topNavi" container
    boolean
     
    void
    Removes the element at position index from the list.
    void
    Removes the element at position index from the list.
    void
    Sets the value of the description attribute in the current domain.
    void
    Sets the value of the description attribute in the domain "EN"
    void
    Sets the value of the headerBackground attribute.
    void
    Sets the value of the keywords attribute in the current domain.
    void
    Sets the value of the keywords attribute in the domain "EN"
    void
    setLanguageselector(boolean value)
    Sets the value of the languageselector attribute.
    void
    Sets the value of the mainNavi attribute.
    void
     
    void
    setName(String value)
    Sets the value of the name attribute.
    void
    Sets the value of the searchpage attribute.
    void
    Sets the value of the siteLogo attribute.
    void
    Sets the value of the startpage attribute.
    void
    Sets the value of the subtitle attribute in the current domain.
    void
    Sets the value of the subtitle attribute in the domain "EN"
    void
    Sets the value of the title attribute in the current domain.
    void
    Sets the value of the title attribute in the domain "EN"
    void
    Sets the value of the topNavi attribute.
    void
    swapMainNaviElement(int index1, int index2)
    Swaps elements at positions index1 and index2 in the list.
    void
    swapTopNaviElement(int index1, int index2)
    Swaps elements at positions index1 and index2 in the list.
     

    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

    Methods inherited from class net.anotheria.anodoc.data.DataHolder

    getId, hashCode, setId

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.anotheria.asg.data.DataObject

    clone, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode
  • Constructor Details

    • SiteDocument

      public SiteDocument()
    • SiteDocument

      public SiteDocument(String id)
    • SiteDocument

      public SiteDocument(SiteDocument toClone)
  • Method Details

    • getName

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

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

      public String getTitleEN()
      Description copied from interface: Site
      Returns the value of the title attribute in the "EN" domain.
      Specified by:
      getTitleEN in interface Site
    • getTitle

      public String getTitle()
      Description copied from interface: Site
      Returns the current value of the title attribute. Current means in the currently selected domain.
      Specified by:
      getTitle in interface Site
    • setTitleEN

      public void setTitleEN(String value)
      Description copied from interface: Site
      Sets the value of the title attribute in the domain "EN"
      Specified by:
      setTitleEN in interface Site
    • setTitle

      public void setTitle(String value)
      Description copied from interface: Site
      Sets the value of the title attribute in the current domain. Current means in the currently selected domain.
      Specified by:
      setTitle in interface Site
    • getKeywordsEN

      public String getKeywordsEN()
      Description copied from interface: Site
      Returns the value of the keywords attribute in the "EN" domain.
      Specified by:
      getKeywordsEN in interface Site
    • getKeywords

      public String getKeywords()
      Description copied from interface: Site
      Returns the current value of the keywords attribute. Current means in the currently selected domain.
      Specified by:
      getKeywords in interface Site
    • setKeywordsEN

      public void setKeywordsEN(String value)
      Description copied from interface: Site
      Sets the value of the keywords attribute in the domain "EN"
      Specified by:
      setKeywordsEN in interface Site
    • setKeywords

      public void setKeywords(String value)
      Description copied from interface: Site
      Sets the value of the keywords attribute in the current domain. Current means in the currently selected domain.
      Specified by:
      setKeywords in interface Site
    • getDescriptionEN

      public String getDescriptionEN()
      Description copied from interface: Site
      Returns the value of the description attribute in the "EN" domain.
      Specified by:
      getDescriptionEN in interface Site
    • getDescription

      public String getDescription()
      Description copied from interface: Site
      Returns the current value of the description attribute. Current means in the currently selected domain.
      Specified by:
      getDescription in interface Site
    • setDescriptionEN

      public void setDescriptionEN(String value)
      Description copied from interface: Site
      Sets the value of the description attribute in the domain "EN"
      Specified by:
      setDescriptionEN in interface Site
    • setDescription

      public void setDescription(String value)
      Description copied from interface: Site
      Sets the value of the description attribute in the current domain. Current means in the currently selected domain.
      Specified by:
      setDescription in interface Site
    • getSubtitleEN

      public String getSubtitleEN()
      Description copied from interface: Site
      Returns the value of the subtitle attribute in the "EN" domain.
      Specified by:
      getSubtitleEN in interface Site
    • getSubtitle

      public String getSubtitle()
      Description copied from interface: Site
      Returns the current value of the subtitle attribute. Current means in the currently selected domain.
      Specified by:
      getSubtitle in interface Site
    • setSubtitleEN

      public void setSubtitleEN(String value)
      Description copied from interface: Site
      Sets the value of the subtitle attribute in the domain "EN"
      Specified by:
      setSubtitleEN in interface Site
    • setSubtitle

      public void setSubtitle(String value)
      Description copied from interface: Site
      Sets the value of the subtitle attribute in the current domain. Current means in the currently selected domain.
      Specified by:
      setSubtitle in interface Site
    • getMainNavi

      public List<String> getMainNavi()
      Description copied from interface: Site
      Returns the value of the mainNavi attribute.
      Specified by:
      getMainNavi in interface Site
    • setMainNavi

      public void setMainNavi(List<String> value)
      Description copied from interface: Site
      Sets the value of the mainNavi attribute.
      Specified by:
      setMainNavi in interface Site
    • getTopNavi

      public List<String> getTopNavi()
      Description copied from interface: Site
      Returns the value of the topNavi attribute.
      Specified by:
      getTopNavi in interface Site
    • setTopNavi

      public void setTopNavi(List<String> value)
      Description copied from interface: Site
      Sets the value of the topNavi attribute.
      Specified by:
      setTopNavi in interface Site
    • getLanguageselector

      public boolean getLanguageselector()
      Description copied from interface: Site
      Returns the value of the languageselector attribute.
      Specified by:
      getLanguageselector in interface Site
    • setLanguageselector

      public void setLanguageselector(boolean value)
      Description copied from interface: Site
      Sets the value of the languageselector attribute.
      Specified by:
      setLanguageselector in interface Site
    • getStartpage

      public String getStartpage()
      Description copied from interface: Site
      Returns the value of the startpage attribute.
      Specified by:
      getStartpage in interface Site
    • setStartpage

      public void setStartpage(String value)
      Description copied from interface: Site
      Sets the value of the startpage attribute.
      Specified by:
      setStartpage in interface Site
    • getSearchpage

      public String getSearchpage()
      Description copied from interface: Site
      Returns the value of the searchpage attribute.
      Specified by:
      getSearchpage in interface Site
    • setSearchpage

      public void setSearchpage(String value)
      Description copied from interface: Site
      Sets the value of the searchpage attribute.
      Specified by:
      setSearchpage in interface Site
    • getHeaderBackground

      public String getHeaderBackground()
      Description copied from interface: Site
      Returns the value of the headerBackground attribute.
      Specified by:
      getHeaderBackground in interface Site
    • setHeaderBackground

      public void setHeaderBackground(String value)
      Description copied from interface: Site
      Sets the value of the headerBackground attribute.
      Specified by:
      setHeaderBackground in interface Site
    • getSiteLogo

      public String getSiteLogo()
      Description copied from interface: Site
      Returns the value of the siteLogo attribute.
      Specified by:
      getSiteLogo in interface Site
    • setSiteLogo

      public void setSiteLogo(String value)
      Description copied from interface: Site
      Sets the value of the siteLogo attribute.
      Specified by:
      setSiteLogo in interface Site
    • toString

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

      public int getMainNaviSize()
      Description copied from interface: Site
      Returns the number of elements in the "mainNavi" container
      Specified by:
      getMainNaviSize in interface Site
    • addMainNaviElement

      public void addMainNaviElement(String item)
      Description copied from interface: Site
      Adds a new element to the list.
      Specified by:
      addMainNaviElement in interface Site
    • removeMainNaviElement

      public void removeMainNaviElement(int index)
      Description copied from interface: Site
      Removes the element at position index from the list.
      Specified by:
      removeMainNaviElement in interface Site
    • swapMainNaviElement

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

      public String getMainNaviElement(int index)
      Description copied from interface: Site
      Returns the element at the position index in the list.
      Specified by:
      getMainNaviElement in interface Site
    • getTopNaviSize

      public int getTopNaviSize()
      Description copied from interface: Site
      Returns the number of elements in the "topNavi" container
      Specified by:
      getTopNaviSize in interface Site
    • addTopNaviElement

      public void addTopNaviElement(String item)
      Description copied from interface: Site
      Adds a new element to the list.
      Specified by:
      addTopNaviElement in interface Site
    • removeTopNaviElement

      public void removeTopNaviElement(int index)
      Description copied from interface: Site
      Removes the element at position index from the list.
      Specified by:
      removeTopNaviElement in interface Site
    • swapTopNaviElement

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

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

      public int compareTo(Site 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
    • copyLANG2LANG

      public void copyLANG2LANG(String sourceLanguage, String destLanguage)
      Description copied from interface: Site
      Copies all multilingual properties from source language to destination language
      Specified by:
      copyLANG2LANG in interface Site
    • isMultilingualDisabledInstance

      public boolean isMultilingualDisabledInstance()
      Specified by:
      isMultilingualDisabledInstance in interface net.anotheria.asg.data.MultilingualObject
    • setMultilingualDisabledInstance

      public void setMultilingualDisabledInstance(boolean value)
      Specified by:
      setMultilingualDisabledInstance in interface net.anotheria.asg.data.MultilingualObject
    • equals

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