Class 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:
    Serialized Form
    • Constructor Detail

      • SiteDocument

        public SiteDocument()
      • SiteDocument

        public SiteDocument​(String id)
      • SiteDocument

        public SiteDocument​(SiteDocument toClone)
    • Method Detail

      • 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
      • getTitleDE

        public String getTitleDE()
        Description copied from interface: Site
        Returns the value of the title attribute in the "DE" domain.
        Specified by:
        getTitleDE 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
      • setTitleDE

        public void setTitleDE​(String value)
        Description copied from interface: Site
        Sets the value of the title attribute in the domain "DE"
        Specified by:
        setTitleDE 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
      • getKeywordsDE

        public String getKeywordsDE()
        Description copied from interface: Site
        Returns the value of the keywords attribute in the "DE" domain.
        Specified by:
        getKeywordsDE 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
      • setKeywordsDE

        public void setKeywordsDE​(String value)
        Description copied from interface: Site
        Sets the value of the keywords attribute in the domain "DE"
        Specified by:
        setKeywordsDE 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
      • getDescriptionDE

        public String getDescriptionDE()
        Description copied from interface: Site
        Returns the value of the description attribute in the "DE" domain.
        Specified by:
        getDescriptionDE 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
      • setDescriptionDE

        public void setDescriptionDE​(String value)
        Description copied from interface: Site
        Sets the value of the description attribute in the domain "DE"
        Specified by:
        setDescriptionDE 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
      • getSubtitleDE

        public String getSubtitleDE()
        Description copied from interface: Site
        Returns the value of the subtitle attribute in the "DE" domain.
        Specified by:
        getSubtitleDE 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
      • setSubtitleDE

        public void setSubtitleDE​(String value)
        Description copied from interface: Site
        Sets the value of the subtitle attribute in the domain "DE"
        Specified by:
        setSubtitleDE 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
      • copyEN2DE

        public void copyEN2DE()
        Copies all multilingual properties from language EN to language DE
        Specified by:
        copyEN2DE in interface Site
      • copyDE2EN

        public void copyDE2EN()
        Copies all multilingual properties from language DE to language EN
        Specified by:
        copyDE2EN 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