Class SiteDocument

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMainNaviElement​(java.lang.String item)
      Adds a new element to the list.
      void addTopNaviElement​(java.lang.String item)
      Adds a new element to the list.
      int compareTo​(Site comparable)  
      int compareTo​(net.anotheria.util.sorter.IComparable anotherComparable, int method)  
      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)  
      java.lang.String getDefinedName()  
      java.lang.String getDefinedParentName()  
      java.lang.String getDescription()
      Returns the current value of the description attribute.
      java.lang.String getDescriptionEN()
      Returns the value of the description attribute in the "EN" domain.
      java.lang.String getFootprint()  
      java.lang.String getHeaderBackground()
      Returns the value of the headerBackground attribute.
      java.lang.String getKeywords()
      Returns the current value of the keywords attribute.
      java.lang.String getKeywordsEN()
      Returns the value of the keywords attribute in the "EN" domain.
      boolean getLanguageselector()
      Returns the value of the languageselector attribute.
      java.util.List<java.lang.String> getMainNavi()
      Returns the value of the mainNavi attribute.
      java.lang.String getMainNaviElement​(int index)
      Returns the element at the position index in the list.
      int getMainNaviSize()
      Returns the number of elements in the "mainNavi" container
      java.lang.String getName()
      Returns the value of the name attribute.
      java.lang.String getSearchpage()
      Returns the value of the searchpage attribute.
      java.lang.String getSiteLogo()
      Returns the value of the siteLogo attribute.
      java.lang.String getStartpage()
      Returns the value of the startpage attribute.
      java.lang.String getSubtitle()
      Returns the current value of the subtitle attribute.
      java.lang.String getSubtitleEN()
      Returns the value of the subtitle attribute in the "EN" domain.
      java.lang.String getTitle()
      Returns the current value of the title attribute.
      java.lang.String getTitleEN()
      Returns the value of the title attribute in the "EN" domain.
      java.util.List<java.lang.String> getTopNavi()
      Returns the value of the topNavi attribute.
      java.lang.String getTopNaviElement​(int index)
      Returns the element at the position index in the list.
      int getTopNaviSize()
      Returns the number of elements in the "topNavi" container
      boolean isMultilingualDisabledInstance()  
      void removeMainNaviElement​(int index)
      Removes the element at position index from the list.
      void removeTopNaviElement​(int index)
      Removes the element at position index from the list.
      void setDescription​(java.lang.String value)
      Sets the value of the description attribute in the current domain.
      void setDescriptionEN​(java.lang.String value)
      Sets the value of the description attribute in the domain "EN"
      void setHeaderBackground​(java.lang.String value)
      Sets the value of the headerBackground attribute.
      void setKeywords​(java.lang.String value)
      Sets the value of the keywords attribute in the current domain.
      void setKeywordsEN​(java.lang.String value)
      Sets the value of the keywords attribute in the domain "EN"
      void setLanguageselector​(boolean value)
      Sets the value of the languageselector attribute.
      void setMainNavi​(java.util.List<java.lang.String> value)
      Sets the value of the mainNavi attribute.
      void setMultilingualDisabledInstance​(boolean value)  
      void setName​(java.lang.String value)
      Sets the value of the name attribute.
      void setSearchpage​(java.lang.String value)
      Sets the value of the searchpage attribute.
      void setSiteLogo​(java.lang.String value)
      Sets the value of the siteLogo attribute.
      void setStartpage​(java.lang.String value)
      Sets the value of the startpage attribute.
      void setSubtitle​(java.lang.String value)
      Sets the value of the subtitle attribute in the current domain.
      void setSubtitleEN​(java.lang.String value)
      Sets the value of the subtitle attribute in the domain "EN"
      void setTitle​(java.lang.String value)
      Sets the value of the title attribute in the current domain.
      void setTitleEN​(java.lang.String value)
      Sets the value of the title attribute in the domain "EN"
      void setTopNavi​(java.util.List<java.lang.String> value)
      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.
      java.lang.String toString()  
      • 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 Detail

      • SiteDocument

        public SiteDocument()
      • SiteDocument

        public SiteDocument​(java.lang.String id)
      • SiteDocument

        public SiteDocument​(SiteDocument toClone)
    • Method Detail

      • getName

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

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

        public java.lang.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 java.lang.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​(java.lang.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​(java.lang.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 java.lang.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 java.lang.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​(java.lang.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​(java.lang.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 java.lang.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 java.lang.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​(java.lang.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​(java.lang.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 java.lang.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 java.lang.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​(java.lang.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​(java.lang.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 java.util.List<java.lang.String> getMainNavi()
        Description copied from interface: Site
        Returns the value of the mainNavi attribute.
        Specified by:
        getMainNavi in interface Site
      • setMainNavi

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

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

        public void setTopNavi​(java.util.List<java.lang.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 java.lang.String getStartpage()
        Description copied from interface: Site
        Returns the value of the startpage attribute.
        Specified by:
        getStartpage in interface Site
      • setStartpage

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

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

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

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

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

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

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

        public java.lang.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​(java.lang.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 java.lang.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​(java.lang.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 java.lang.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 java.lang.String getDefinedName()
        Specified by:
        getDefinedName in interface net.anotheria.asg.data.DataObject
      • getDefinedParentName

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

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

        public void copyLANG2LANG​(java.lang.String sourceLanguage,
                                  java.lang.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​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object