Class NaviItemDocument

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.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​(java.lang.String guard)
      Adds a new element to the list.
      void addSubNaviElement​(java.lang.String item)
      Adds a new element to the list.
      int compareTo​(NaviItem 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 getAccessOperation()
      Returns the value of the accessOperation attribute.
      java.lang.String getClassName()
      Returns the value of the className attribute.
      java.lang.String getDefinedName()  
      java.lang.String getDefinedParentName()  
      java.lang.String getExternalLink()
      Returns the value of the externalLink attribute.
      java.lang.String getFootprint()  
      java.util.List<java.lang.String> getGuards()
      Returns the value of the guards attribute.
      java.lang.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
      java.lang.String getIcon()
      Returns the value of the icon attribute.
      java.lang.String getInternalLink()
      Returns the value of the internalLink attribute.
      java.lang.String getName()
      Returns the current value of the name attribute.
      java.lang.String getNameEN()
      Returns the value of the name attribute in the "EN" domain.
      java.lang.String getPageAlias()
      Returns the value of the pageAlias attribute.
      boolean getPopup()
      Returns the value of the popup attribute.
      java.util.List<java.lang.String> getSubNavi()
      Returns the value of the subNavi attribute.
      java.lang.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
      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.
      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​(java.lang.String value)
      Sets the value of the accessOperation attribute.
      void setClassName​(java.lang.String value)
      Sets the value of the className attribute.
      void setExternalLink​(java.lang.String value)
      Sets the value of the externalLink attribute.
      void setGuards​(java.util.List<java.lang.String> value)
      Sets the value of the guards attribute.
      void setIcon​(java.lang.String value)
      Sets the value of the icon attribute.
      void setInternalLink​(java.lang.String value)
      Sets the value of the internalLink attribute.
      void setMultilingualDisabledInstance​(boolean value)  
      void setName​(java.lang.String value)
      Sets the value of the name attribute in the current domain.
      void setNameEN​(java.lang.String value)
      Sets the value of the name attribute in the domain "EN"
      void setPageAlias​(java.lang.String value)
      Sets the value of the pageAlias attribute.
      void setPopup​(boolean value)
      Sets the value of the popup attribute.
      void setSubNavi​(java.util.List<java.lang.String> value)
      Sets the value of the subNavi attribute.
      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 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.
      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

      • NaviItemDocument

        public NaviItemDocument()
      • NaviItemDocument

        public NaviItemDocument​(java.lang.String id)
    • Method Detail

      • getNameEN

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

        public java.lang.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​(java.lang.String value)
        Description copied from interface: NaviItem
        Sets the value of the name attribute in the domain "EN"
        Specified by:
        setNameEN in interface NaviItem
      • setName

        public void setName​(java.lang.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 java.lang.String getTitleEN()
        Description copied from interface: NaviItem
        Returns the value of the title attribute in the "EN" domain.
        Specified by:
        getTitleEN in interface NaviItem
      • getTitle

        public java.lang.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​(java.lang.String value)
        Description copied from interface: NaviItem
        Sets the value of the title attribute in the domain "EN"
        Specified by:
        setTitleEN in interface NaviItem
      • setTitle

        public void setTitle​(java.lang.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 java.lang.String getIcon()
        Description copied from interface: NaviItem
        Returns the value of the icon attribute.
        Specified by:
        getIcon in interface NaviItem
      • setIcon

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

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

        public void setExternalLink​(java.lang.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 java.lang.String getClassName()
        Description copied from interface: NaviItem
        Returns the value of the className attribute.
        Specified by:
        getClassName in interface NaviItem
      • setClassName

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

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

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

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

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

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

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

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

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

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

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

        public java.lang.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​(java.lang.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 java.lang.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​(java.lang.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 java.lang.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 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: NaviItem
        Copies all multilingual properties from source language to destination language
        Specified by:
        copyLANG2LANG 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
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object