Interface NaviItem

  • All Superinterfaces:
    Cloneable, net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
    All Known Implementing Classes:
    NaviItemDocument

    public interface NaviItem
    extends net.anotheria.asg.data.DataObject, net.anotheria.util.sorter.IComparable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String LINK_PROP_ACCESS_OPERATION
      Constant property name for "accessOperation" for internal storage and queries.
      static String LINK_PROP_INTERNAL_LINK
      Constant property name for "internalLink" for internal storage and queries.
      static String LINK_PROP_PAGE_ALIAS
      Constant property name for "pageAlias" for internal storage and queries.
      static String PROP_CLASS_NAME
      Constant property name for "className" for internal storage and queries.
      static String PROP_EXTERNAL_LINK
      Constant property name for "externalLink" for internal storage and queries.
      static String PROP_GUARDS
      Constant property name for "guards" for internal storage and queries.
      static String PROP_ICON
      Constant property name for "icon" for internal storage and queries.
      static String PROP_ID
      Constant property name for "id" for internal storage and queries.
      static String PROP_NAME_DE
      Constant property name for "name" and domain "DE" for internal storage and queries.
      static String PROP_NAME_EN
      Constant property name for "name" and domain "EN" for internal storage and queries.
      static String PROP_POPUP
      Constant property name for "popup" for internal storage and queries.
      static String PROP_SUB_NAVI
      Constant property name for "subNavi" for internal storage and queries.
      static String PROP_TITLE_DE
      Constant property name for "title" and domain "DE" for internal storage and queries.
      static String PROP_TITLE_EN
      Constant property name for "title" and domain "EN" for internal storage and queries.
    • Method Summary

      All Methods Instance Methods Abstract 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.
      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 sourceLanguge, String destLanguage)
      Copies all multilingual properties from source language to destination language
      String getAccessOperation()
      Returns the value of the accessOperation attribute.
      String getClassName()
      Returns the value of the className attribute.
      String getExternalLink()
      Returns the value of the externalLink attribute.
      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.
      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 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.
      • Methods inherited from interface net.anotheria.asg.data.DataObject

        clone, getDefinedName, getDefinedParentName, getFootprint, getId, getLastUpdateTimestamp, getObjectInfo, getPropertyValue, toXMLNode
      • Methods inherited from interface net.anotheria.util.sorter.IComparable

        compareTo
    • Field Detail

      • PROP_ID

        static final String PROP_ID
        Constant property name for "id" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_NAME_EN

        static final String PROP_NAME_EN
        Constant property name for "name" and domain "EN" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_NAME_DE

        static final String PROP_NAME_DE
        Constant property name for "name" and domain "DE" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_TITLE_EN

        static final String PROP_TITLE_EN
        Constant property name for "title" and domain "EN" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_TITLE_DE

        static final String PROP_TITLE_DE
        Constant property name for "title" and domain "DE" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_ICON

        static final String PROP_ICON
        Constant property name for "icon" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_EXTERNAL_LINK

        static final String PROP_EXTERNAL_LINK
        Constant property name for "externalLink" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_POPUP

        static final String PROP_POPUP
        Constant property name for "popup" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_CLASS_NAME

        static final String PROP_CLASS_NAME
        Constant property name for "className" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_SUB_NAVI

        static final String PROP_SUB_NAVI
        Constant property name for "subNavi" for internal storage and queries.
        See Also:
        Constant Field Values
      • PROP_GUARDS

        static final String PROP_GUARDS
        Constant property name for "guards" for internal storage and queries.
        See Also:
        Constant Field Values
      • LINK_PROP_INTERNAL_LINK

        static final String LINK_PROP_INTERNAL_LINK
        Constant property name for "internalLink" for internal storage and queries.
        See Also:
        Constant Field Values
      • LINK_PROP_PAGE_ALIAS

        static final String LINK_PROP_PAGE_ALIAS
        Constant property name for "pageAlias" for internal storage and queries.
        See Also:
        Constant Field Values
      • LINK_PROP_ACCESS_OPERATION

        static final String LINK_PROP_ACCESS_OPERATION
        Constant property name for "accessOperation" for internal storage and queries.
        See Also:
        Constant Field Values
    • Method Detail

      • getNameEN

        String getNameEN()
        Returns the value of the name attribute in the "EN" domain.
      • getNameDE

        String getNameDE()
        Returns the value of the name attribute in the "DE" domain.
      • getName

        String getName()
        Returns the current value of the name attribute. Current means in the currently selected domain.
      • setNameEN

        void setNameEN​(String value)
        Sets the value of the name attribute in the domain "EN"
      • setNameDE

        void setNameDE​(String value)
        Sets the value of the name attribute in the domain "DE"
      • setName

        void setName​(String value)
        Sets the value of the name attribute in the current domain. Current means in the currently selected domain.
      • getTitleEN

        String getTitleEN()
        Returns the value of the title attribute in the "EN" domain.
      • getTitleDE

        String getTitleDE()
        Returns the value of the title attribute in the "DE" domain.
      • getTitle

        String getTitle()
        Returns the current value of the title attribute. Current means in the currently selected domain.
      • setTitleEN

        void setTitleEN​(String value)
        Sets the value of the title attribute in the domain "EN"
      • setTitleDE

        void setTitleDE​(String value)
        Sets the value of the title attribute in the domain "DE"
      • setTitle

        void setTitle​(String value)
        Sets the value of the title attribute in the current domain. Current means in the currently selected domain.
      • getIcon

        String getIcon()
        Returns the value of the icon attribute.
      • setIcon

        void setIcon​(String value)
        Sets the value of the icon attribute.
      • getExternalLink

        String getExternalLink()
        Returns the value of the externalLink attribute.
      • setExternalLink

        void setExternalLink​(String value)
        Sets the value of the externalLink attribute.
      • getPopup

        boolean getPopup()
        Returns the value of the popup attribute.
      • setPopup

        void setPopup​(boolean value)
        Sets the value of the popup attribute.
      • getClassName

        String getClassName()
        Returns the value of the className attribute.
      • setClassName

        void setClassName​(String value)
        Sets the value of the className attribute.
      • getSubNavi

        List<String> getSubNavi()
        Returns the value of the subNavi attribute.
      • setSubNavi

        void setSubNavi​(List<String> value)
        Sets the value of the subNavi attribute.
      • getGuards

        List<String> getGuards()
        Returns the value of the guards attribute.
      • setGuards

        void setGuards​(List<String> value)
        Sets the value of the guards attribute.
      • getInternalLink

        String getInternalLink()
        Returns the value of the internalLink attribute.
      • setInternalLink

        void setInternalLink​(String value)
        Sets the value of the internalLink attribute.
      • getPageAlias

        String getPageAlias()
        Returns the value of the pageAlias attribute.
      • setPageAlias

        void setPageAlias​(String value)
        Sets the value of the pageAlias attribute.
      • getAccessOperation

        String getAccessOperation()
        Returns the value of the accessOperation attribute.
      • setAccessOperation

        void setAccessOperation​(String value)
        Sets the value of the accessOperation attribute.
      • getSubNaviSize

        int getSubNaviSize()
        Returns the number of elements in the "subNavi" container
      • addSubNaviElement

        void addSubNaviElement​(String item)
        Adds a new element to the list.
      • removeSubNaviElement

        void removeSubNaviElement​(int index)
        Removes the element at position index from the list.
      • swapSubNaviElement

        void swapSubNaviElement​(int index1,
                                int index2)
        Swaps elements at positions index1 and index2 in the list.
      • getSubNaviElement

        String getSubNaviElement​(int index)
        Returns the element at the position index in the list.
      • getGuardsSize

        int getGuardsSize()
        Returns the number of elements in the "guards" container
      • addGuardsElement

        void addGuardsElement​(String guard)
        Adds a new element to the list.
      • removeGuardsElement

        void removeGuardsElement​(int index)
        Removes the element at position index from the list.
      • swapGuardsElement

        void swapGuardsElement​(int index1,
                               int index2)
        Swaps elements at positions index1 and index2 in the list.
      • getGuardsElement

        String getGuardsElement​(int index)
        Returns the element at the position index in the list.
      • copyLANG2LANG

        void copyLANG2LANG​(String sourceLanguge,
                           String destLanguage)
        Copies all multilingual properties from source language to destination language
      • copyEN2DE

        void copyEN2DE()
        Copies all multilingual properties from language EN to language DE
      • copyDE2EN

        void copyDE2EN()
        Copies all multilingual properties from language DE to language EN