Class PagexDocument

  • All Implemented Interfaces:
    Serializable, Cloneable, net.anotheria.anodoc.data.IBasicStoreableObject, net.anotheria.anodoc.data.ICompositeDataObject, Pagex, net.anotheria.asg.data.DataObject, net.anotheria.asg.data.LockableObject, net.anotheria.asg.data.MultilingualObject, net.anotheria.util.sorter.IComparable

    public class PagexDocument
    extends net.anotheria.asg.data.AbstractASGDocument
    implements Pagex, net.anotheria.util.sorter.IComparable, net.anotheria.asg.data.MultilingualObject
    See Also:
    Serialized Form
    • Constructor Detail

      • PagexDocument

        public PagexDocument()
      • PagexDocument

        public PagexDocument​(String id)
    • Method Detail

      • getName

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

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

        public String getLocalizedNameEN()
        Description copied from interface: Pagex
        Returns the value of the localizedName attribute in the "EN" domain.
        Specified by:
        getLocalizedNameEN in interface Pagex
      • getLocalizedNameDE

        public String getLocalizedNameDE()
        Description copied from interface: Pagex
        Returns the value of the localizedName attribute in the "DE" domain.
        Specified by:
        getLocalizedNameDE in interface Pagex
      • getLocalizedName

        public String getLocalizedName()
        Description copied from interface: Pagex
        Returns the current value of the localizedName attribute. Current means in the currently selected domain.
        Specified by:
        getLocalizedName in interface Pagex
      • setLocalizedNameEN

        public void setLocalizedNameEN​(String value)
        Description copied from interface: Pagex
        Sets the value of the localizedName attribute in the domain "EN"
        Specified by:
        setLocalizedNameEN in interface Pagex
      • setLocalizedNameDE

        public void setLocalizedNameDE​(String value)
        Description copied from interface: Pagex
        Sets the value of the localizedName attribute in the domain "DE"
        Specified by:
        setLocalizedNameDE in interface Pagex
      • setLocalizedName

        public void setLocalizedName​(String value)
        Description copied from interface: Pagex
        Sets the value of the localizedName attribute in the current domain. Current means in the currently selected domain.
        Specified by:
        setLocalizedName in interface Pagex
      • getTitleEN

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

        public String getTitleDE()
        Description copied from interface: Pagex
        Returns the value of the title attribute in the "DE" domain.
        Specified by:
        getTitleDE in interface Pagex
      • getTitle

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

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

        public void setTitleDE​(String value)
        Description copied from interface: Pagex
        Sets the value of the title attribute in the domain "DE"
        Specified by:
        setTitleDE in interface Pagex
      • setTitle

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

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

        public String getKeywordsDE()
        Description copied from interface: Pagex
        Returns the value of the keywords attribute in the "DE" domain.
        Specified by:
        getKeywordsDE in interface Pagex
      • getKeywords

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

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

        public void setKeywordsDE​(String value)
        Description copied from interface: Pagex
        Sets the value of the keywords attribute in the domain "DE"
        Specified by:
        setKeywordsDE in interface Pagex
      • setKeywords

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

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

        public String getDescriptionDE()
        Description copied from interface: Pagex
        Returns the value of the description attribute in the "DE" domain.
        Specified by:
        getDescriptionDE in interface Pagex
      • getDescription

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

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

        public void setDescriptionDE​(String value)
        Description copied from interface: Pagex
        Sets the value of the description attribute in the domain "DE"
        Specified by:
        setDescriptionDE in interface Pagex
      • setDescription

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

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

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

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

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

        public List<String> getAttributes()
        Description copied from interface: Pagex
        Returns the value of the attributes attribute.
        Specified by:
        getAttributes in interface Pagex
      • setAttributes

        public void setAttributes​(List<String> value)
        Description copied from interface: Pagex
        Sets the value of the attributes attribute.
        Specified by:
        setAttributes in interface Pagex
      • getC1

        public List<String> getC1()
        Description copied from interface: Pagex
        Returns the value of the c1 attribute.
        Specified by:
        getC1 in interface Pagex
      • setC1

        public void setC1​(List<String> value)
        Description copied from interface: Pagex
        Sets the value of the c1 attribute.
        Specified by:
        setC1 in interface Pagex
      • getC2

        public List<String> getC2()
        Description copied from interface: Pagex
        Returns the value of the c2 attribute.
        Specified by:
        getC2 in interface Pagex
      • setC2

        public void setC2​(List<String> value)
        Description copied from interface: Pagex
        Sets the value of the c2 attribute.
        Specified by:
        setC2 in interface Pagex
      • getC3

        public List<String> getC3()
        Description copied from interface: Pagex
        Returns the value of the c3 attribute.
        Specified by:
        getC3 in interface Pagex
      • setC3

        public void setC3​(List<String> value)
        Description copied from interface: Pagex
        Sets the value of the c3 attribute.
        Specified by:
        setC3 in interface Pagex
      • getHeader

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

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

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

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

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

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

        public boolean getHttpsonly()
        Description copied from interface: Pagex
        Returns the value of the httpsonly attribute.
        Specified by:
        getHttpsonly in interface Pagex
      • setHttpsonly

        public void setHttpsonly​(boolean value)
        Description copied from interface: Pagex
        Sets the value of the httpsonly attribute.
        Specified by:
        setHttpsonly in interface Pagex
      • getTemplate

        public String getTemplate()
        Description copied from interface: Pagex
        Returns the value of the template attribute.
        Specified by:
        getTemplate in interface Pagex
      • setTemplate

        public void setTemplate​(String value)
        Description copied from interface: Pagex
        Sets the value of the template attribute.
        Specified by:
        setTemplate in interface Pagex
      • getAccessOperation

        public String getAccessOperation()
        Description copied from interface: Pagex
        Returns the value of the accessOperation attribute.
        Specified by:
        getAccessOperation in interface Pagex
      • setAccessOperation

        public void setAccessOperation​(String value)
        Description copied from interface: Pagex
        Sets the value of the accessOperation attribute.
        Specified by:
        setAccessOperation in interface Pagex
      • getFeature

        public String getFeature()
        Description copied from interface: Pagex
        Returns the value of the feature attribute.
        Specified by:
        getFeature in interface Pagex
      • setFeature

        public void setFeature​(String value)
        Description copied from interface: Pagex
        Sets the value of the feature attribute.
        Specified by:
        setFeature in interface Pagex
      • toString

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

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

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

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

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

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

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

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

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

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

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

        public int getAttributesSize()
        Description copied from interface: Pagex
        Returns the number of elements in the "attributes" container
        Specified by:
        getAttributesSize in interface Pagex
      • addAttributesElement

        public void addAttributesElement​(String attribute)
        Description copied from interface: Pagex
        Adds a new element to the list.
        Specified by:
        addAttributesElement in interface Pagex
      • removeAttributesElement

        public void removeAttributesElement​(int index)
        Description copied from interface: Pagex
        Removes the element at position index from the list.
        Specified by:
        removeAttributesElement in interface Pagex
      • swapAttributesElement

        public void swapAttributesElement​(int index1,
                                          int index2)
        Description copied from interface: Pagex
        Swaps elements at positions index1 and index2 in the list.
        Specified by:
        swapAttributesElement in interface Pagex
      • getAttributesElement

        public String getAttributesElement​(int index)
        Description copied from interface: Pagex
        Returns the element at the position index in the list.
        Specified by:
        getAttributesElement in interface Pagex
      • getC1Size

        public int getC1Size()
        Description copied from interface: Pagex
        Returns the number of elements in the "c1" container
        Specified by:
        getC1Size in interface Pagex
      • addC1Element

        public void addC1Element​(String box)
        Description copied from interface: Pagex
        Adds a new element to the list.
        Specified by:
        addC1Element in interface Pagex
      • removeC1Element

        public void removeC1Element​(int index)
        Description copied from interface: Pagex
        Removes the element at position index from the list.
        Specified by:
        removeC1Element in interface Pagex
      • swapC1Element

        public void swapC1Element​(int index1,
                                  int index2)
        Description copied from interface: Pagex
        Swaps elements at positions index1 and index2 in the list.
        Specified by:
        swapC1Element in interface Pagex
      • getC1Element

        public String getC1Element​(int index)
        Description copied from interface: Pagex
        Returns the element at the position index in the list.
        Specified by:
        getC1Element in interface Pagex
      • getC2Size

        public int getC2Size()
        Description copied from interface: Pagex
        Returns the number of elements in the "c2" container
        Specified by:
        getC2Size in interface Pagex
      • addC2Element

        public void addC2Element​(String box)
        Description copied from interface: Pagex
        Adds a new element to the list.
        Specified by:
        addC2Element in interface Pagex
      • removeC2Element

        public void removeC2Element​(int index)
        Description copied from interface: Pagex
        Removes the element at position index from the list.
        Specified by:
        removeC2Element in interface Pagex
      • swapC2Element

        public void swapC2Element​(int index1,
                                  int index2)
        Description copied from interface: Pagex
        Swaps elements at positions index1 and index2 in the list.
        Specified by:
        swapC2Element in interface Pagex
      • getC2Element

        public String getC2Element​(int index)
        Description copied from interface: Pagex
        Returns the element at the position index in the list.
        Specified by:
        getC2Element in interface Pagex
      • getC3Size

        public int getC3Size()
        Description copied from interface: Pagex
        Returns the number of elements in the "c3" container
        Specified by:
        getC3Size in interface Pagex
      • addC3Element

        public void addC3Element​(String box)
        Description copied from interface: Pagex
        Adds a new element to the list.
        Specified by:
        addC3Element in interface Pagex
      • removeC3Element

        public void removeC3Element​(int index)
        Description copied from interface: Pagex
        Removes the element at position index from the list.
        Specified by:
        removeC3Element in interface Pagex
      • swapC3Element

        public void swapC3Element​(int index1,
                                  int index2)
        Description copied from interface: Pagex
        Swaps elements at positions index1 and index2 in the list.
        Specified by:
        swapC3Element in interface Pagex
      • getC3Element

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public int compareTo​(Pagex 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: Pagex
        Copies all multilingual properties from source language to destination language
        Specified by:
        copyLANG2LANG in interface Pagex
      • copyEN2DE

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

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