Class NaviItemDocument

java.lang.Object
net.anotheria.anodoc.data.DataHolder
net.anotheria.anodoc.data.Document
net.anotheria.asg.data.AbstractASGDocument
net.anotheria.anosite.gen.assitedata.data.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:
  • Field Summary

    Fields inherited from class net.anotheria.asg.data.AbstractASGDocument

    INT_PROPERTY_MULTILINGUAL_DISABLED

    Fields inherited from class net.anotheria.anodoc.data.Document

    PROP_AUTHOR, PROP_LAST_UPDATE, PROP_TYPE_IDENTIFIER

    Fields inherited from interface net.anotheria.asg.data.LockableObject

    INT_LOCK_PROPERTY_NAME, INT_LOCKER_ID_PROPERTY_NAME, INT_LOCKING_TIME_PROPERTY_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a new element to the list.
    void
    Adds a new element to the list.
    int
    compareTo(NaviItem comparable)
     
    int
    compareTo(net.anotheria.util.sorter.IComparable anotherComparable, int method)
     
    void
    copyLANG2LANG(String sourceLanguage, String destLanguage)
    Copies all multilingual properties from source language to destination language
    boolean
     
    Returns the value of the accessOperation attribute.
    Returns the value of the className attribute.
     
     
    Returns the value of the externalLink attribute.
     
    Returns the value of the guards attribute.
    getGuardsElement(int index)
    Returns the element at the position index in the list.
    int
    Returns the number of elements in the "guards" container
    Returns the value of the icon attribute.
    Returns the value of the internalLink attribute.
    Returns the current value of the name attribute.
    Returns the value of the name attribute in the "EN" domain.
    Returns the value of the pageAlias attribute.
    boolean
    Returns the value of the popup attribute.
    Returns the value of the subNavi attribute.
    getSubNaviElement(int index)
    Returns the element at the position index in the list.
    int
    Returns the number of elements in the "subNavi" container
    Returns the current value of the title attribute.
    Returns the value of the title attribute in the "EN" domain.
    boolean
     
    void
    Removes the element at position index from the list.
    void
    Removes the element at position index from the list.
    void
    Sets the value of the accessOperation attribute.
    void
    Sets the value of the className attribute.
    void
    Sets the value of the externalLink attribute.
    void
    Sets the value of the guards attribute.
    void
    setIcon(String value)
    Sets the value of the icon attribute.
    void
    Sets the value of the internalLink attribute.
    void
     
    void
    setName(String value)
    Sets the value of the name attribute in the current domain.
    void
    Sets the value of the name attribute in the domain "EN"
    void
    Sets the value of the pageAlias attribute.
    void
    setPopup(boolean value)
    Sets the value of the popup attribute.
    void
    Sets the value of the subNavi attribute.
    void
    Sets the value of the title attribute in the current domain.
    void
    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.
     

    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 Details

    • NaviItemDocument

      public NaviItemDocument()
    • NaviItemDocument

      public NaviItemDocument(String id)
    • NaviItemDocument

      public NaviItemDocument(NaviItemDocument toClone)
  • Method Details

    • 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
    • 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
    • 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
    • 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
    • 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
    • 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(Object o)
      Overrides:
      equals in class Object