Class NaviItemDocument

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

    public class NaviItemDocument
    extends net.anotheria.asg.data.AbstractASGDocument
    implements NaviItem, 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 addGuardsElement​(String guard)
      Adds a new element to the list.
      void addSubNaviElement​(String item)
      Adds a new element to the list.
      int compareTo​(NaviItem comparable)  
      int compareTo​(net.anotheria.util.sorter.IComparable anotherComparable, int method)  
      void copyDE2EN()
      Copies all multilingual properties from language DE to language EN
      void copyEN2DE()
      Copies all multilingual properties from language EN to language DE
      void copyLANG2LANG​(String sourceLanguage, String destLanguage)
      Copies all multilingual properties from source language to destination language
      boolean equals​(Object o)  
      String getAccessOperation()
      Returns the value of the accessOperation attribute.
      String getClassName()
      Returns the value of the className attribute.
      String getDefinedName()  
      String getDefinedParentName()  
      String getExternalLink()
      Returns the value of the externalLink attribute.
      String getFootprint()  
      List<String> getGuards()
      Returns the value of the guards attribute.
      String getGuardsElement​(int index)
      Returns the element at the position index in the list.
      int getGuardsSize()
      Returns the number of elements in the "guards" container
      String getIcon()
      Returns the value of the icon attribute.
      String getInternalLink()
      Returns the value of the internalLink attribute.
      String getName()
      Returns the current value of the name attribute.
      String getNameDE()
      Returns the value of the name attribute in the "DE" domain.
      String getNameEN()
      Returns the value of the name attribute in the "EN" domain.
      String getPageAlias()
      Returns the value of the pageAlias attribute.
      boolean getPopup()
      Returns the value of the popup attribute.
      List<String> getSubNavi()
      Returns the value of the subNavi attribute.
      String getSubNaviElement​(int index)
      Returns the element at the position index in the list.
      int getSubNaviSize()
      Returns the number of elements in the "subNavi" container
      String getTitle()
      Returns the current value of the title attribute.
      String getTitleDE()
      Returns the value of the title attribute in the "DE" domain.
      String getTitleEN()
      Returns the value of the title attribute in the "EN" domain.
      boolean isMultilingualDisabledInstance()  
      void removeGuardsElement​(int index)
      Removes the element at position index from the list.
      void removeSubNaviElement​(int index)
      Removes the element at position index from the list.
      void setAccessOperation​(String value)
      Sets the value of the accessOperation attribute.
      void setClassName​(String value)
      Sets the value of the className attribute.
      void setExternalLink​(String value)
      Sets the value of the externalLink attribute.
      void setGuards​(List<String> value)
      Sets the value of the guards attribute.
      void setIcon​(String value)
      Sets the value of the icon attribute.
      void setInternalLink​(String value)
      Sets the value of the internalLink attribute.
      void setMultilingualDisabledInstance​(boolean value)  
      void setName​(String value)
      Sets the value of the name attribute in the current domain.
      void setNameDE​(String value)
      Sets the value of the name attribute in the domain "DE"
      void setNameEN​(String value)
      Sets the value of the name attribute in the domain "EN"
      void setPageAlias​(String value)
      Sets the value of the pageAlias attribute.
      void setPopup​(boolean value)
      Sets the value of the popup attribute.
      void setSubNavi​(List<String> value)
      Sets the value of the subNavi attribute.
      void setTitle​(String value)
      Sets the value of the title attribute in the current domain.
      void setTitleDE​(String value)
      Sets the value of the title attribute in the domain "DE"
      void setTitleEN​(String value)
      Sets the value of the title attribute in the domain "EN"
      void swapGuardsElement​(int index1, int index2)
      Swaps elements at positions index1 and index2 in the list.
      void swapSubNaviElement​(int index1, int index2)
      Swaps elements at positions index1 and index2 in the list.
      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 interface net.anotheria.asg.data.DataObject

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

      • NaviItemDocument

        public NaviItemDocument()
      • NaviItemDocument

        public NaviItemDocument​(String id)
    • Method Detail

      • getNameEN

        public String getNameEN()
        Description copied from interface: NaviItem
        Returns the value of the name attribute in the "EN" domain.
        Specified by:
        getNameEN in interface NaviItem
      • getNameDE

        public String getNameDE()
        Description copied from interface: NaviItem
        Returns the value of the name attribute in the "DE" domain.
        Specified by:
        getNameDE in interface NaviItem
      • getName

        public String getName()
        Description copied from interface: NaviItem
        Returns the current value of the name attribute. Current means in the currently selected domain.
        Specified by:
        getName in interface NaviItem
      • setNameEN

        public void setNameEN​(String value)
        Description copied from interface: NaviItem
        Sets the value of the name attribute in the domain "EN"
        Specified by:
        setNameEN in interface NaviItem
      • setNameDE

        public void setNameDE​(String value)
        Description copied from interface: NaviItem
        Sets the value of the name attribute in the domain "DE"
        Specified by:
        setNameDE in interface NaviItem
      • setName

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

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

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

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

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

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

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

        public String getIcon()
        Description copied from interface: NaviItem
        Returns the value of the icon attribute.
        Specified by:
        getIcon in interface NaviItem
      • setIcon

        public void setIcon​(String value)
        Description copied from interface: NaviItem
        Sets the value of the icon attribute.
        Specified by:
        setIcon in interface NaviItem
      • getExternalLink

        public String getExternalLink()
        Description copied from interface: NaviItem
        Returns the value of the externalLink attribute.
        Specified by:
        getExternalLink in interface NaviItem
      • setExternalLink

        public void setExternalLink​(String value)
        Description copied from interface: NaviItem
        Sets the value of the externalLink attribute.
        Specified by:
        setExternalLink in interface NaviItem
      • getPopup

        public boolean getPopup()
        Description copied from interface: NaviItem
        Returns the value of the popup attribute.
        Specified by:
        getPopup in interface NaviItem
      • setPopup

        public void setPopup​(boolean value)
        Description copied from interface: NaviItem
        Sets the value of the popup attribute.
        Specified by:
        setPopup in interface NaviItem
      • getClassName

        public String getClassName()
        Description copied from interface: NaviItem
        Returns the value of the className attribute.
        Specified by:
        getClassName in interface NaviItem
      • setClassName

        public void setClassName​(String value)
        Description copied from interface: NaviItem
        Sets the value of the className attribute.
        Specified by:
        setClassName in interface NaviItem
      • getSubNavi

        public List<String> getSubNavi()
        Description copied from interface: NaviItem
        Returns the value of the subNavi attribute.
        Specified by:
        getSubNavi in interface NaviItem
      • setSubNavi

        public void setSubNavi​(List<String> value)
        Description copied from interface: NaviItem
        Sets the value of the subNavi attribute.
        Specified by:
        setSubNavi in interface NaviItem
      • getGuards

        public List<String> getGuards()
        Description copied from interface: NaviItem
        Returns the value of the guards attribute.
        Specified by:
        getGuards in interface NaviItem
      • setGuards

        public void setGuards​(List<String> value)
        Description copied from interface: NaviItem
        Sets the value of the guards attribute.
        Specified by:
        setGuards in interface NaviItem
      • getInternalLink

        public String getInternalLink()
        Description copied from interface: NaviItem
        Returns the value of the internalLink attribute.
        Specified by:
        getInternalLink in interface NaviItem
      • setInternalLink

        public void setInternalLink​(String value)
        Description copied from interface: NaviItem
        Sets the value of the internalLink attribute.
        Specified by:
        setInternalLink in interface NaviItem
      • getPageAlias

        public String getPageAlias()
        Description copied from interface: NaviItem
        Returns the value of the pageAlias attribute.
        Specified by:
        getPageAlias in interface NaviItem
      • setPageAlias

        public void setPageAlias​(String value)
        Description copied from interface: NaviItem
        Sets the value of the pageAlias attribute.
        Specified by:
        setPageAlias in interface NaviItem
      • getAccessOperation

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

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

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

        public int getSubNaviSize()
        Description copied from interface: NaviItem
        Returns the number of elements in the "subNavi" container
        Specified by:
        getSubNaviSize in interface NaviItem
      • addSubNaviElement

        public void addSubNaviElement​(String item)
        Description copied from interface: NaviItem
        Adds a new element to the list.
        Specified by:
        addSubNaviElement in interface NaviItem
      • removeSubNaviElement

        public void removeSubNaviElement​(int index)
        Description copied from interface: NaviItem
        Removes the element at position index from the list.
        Specified by:
        removeSubNaviElement in interface NaviItem
      • swapSubNaviElement

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

        public String getSubNaviElement​(int index)
        Description copied from interface: NaviItem
        Returns the element at the position index in the list.
        Specified by:
        getSubNaviElement in interface NaviItem
      • getGuardsSize

        public int getGuardsSize()
        Description copied from interface: NaviItem
        Returns the number of elements in the "guards" container
        Specified by:
        getGuardsSize in interface NaviItem
      • addGuardsElement

        public void addGuardsElement​(String guard)
        Description copied from interface: NaviItem
        Adds a new element to the list.
        Specified by:
        addGuardsElement in interface NaviItem
      • removeGuardsElement

        public void removeGuardsElement​(int index)
        Description copied from interface: NaviItem
        Removes the element at position index from the list.
        Specified by:
        removeGuardsElement in interface NaviItem
      • swapGuardsElement

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

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

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

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

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