Interface NavigationBarItem

    • Method Detail

      • getName

        String getName()
        Get the value for Name. (Defines the name of the navigation bar item)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getType

        NavigationBarItemType getType()
        Get the value for Type. (Defines the type of the navigation bar item) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getIconURL

        String getIconURL()
        Get the value for IconURL. (Defines the icon URL of the navigation bar item)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getLinkData

        String getLinkData()
        Get the value for LinkData. (Defines the data for creating the action which will be performed when clicked)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getDisplayOrder

        Long getDisplayOrder()
        Get the value for DisplayOrder. (Defines the order of the item in the group or the order of the group in the group list) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getSearchName

        String getSearchName()
        Get the value for SearchName. (The internal name, normalized to allow for convenient database searching.)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getNumItems

        Long getNumItems()
        Get the value for NumItems. (Number of child items.) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setName

        void setName​(String newName)
        Set the value for Name. (Defines the name of the navigation bar item) This value is optional.
        Parameters:
        newName - the new value for Name.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setType

        void setType​(NavigationBarItemType newType)
        Set the value for Type. (Defines the type of the navigation bar item) This value is mandatory.
        Parameters:
        newType - the new value for Type. If this is null, then the object cannot be persisted.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setIconURL

        void setIconURL​(String newIconURL)
        Set the value for IconURL. (Defines the icon URL of the navigation bar item) This value is optional.
        Parameters:
        newIconURL - the new value for IconURL.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setLinkData

        void setLinkData​(String newLinkData)
        Set the value for LinkData. (Defines the data for creating the action which will be performed when clicked) This value is optional.
        Parameters:
        newLinkData - the new value for LinkData.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setDisplayOrder

        void setDisplayOrder​(Long newDisplayOrder)
        Set the value for DisplayOrder. (Defines the order of the item in the group or the order of the group in the group list) This value is mandatory.
        Parameters:
        newDisplayOrder - the new value for DisplayOrder. If this is null, then the object cannot be persisted.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setParentNavigationBarItem

        void setParentNavigationBarItem​(NavigationBarItem newParentNavigationBarItem)
        Set the value for ParentNavigationBarItem. This value is optional.
        Parameters:
        newParentNavigationBarItem - is the object to set ParentNavigationBarItem to. Parent-child relationship for navigation bar items.
      • getChildNavigationBarItemByNavigationBarDisplayOrder

        NavigationBarItem getChildNavigationBarItemByNavigationBarDisplayOrder​(NavigationBar navigationBar,
                                                                               Long displayOrder)
        Get the NavigationBarItem by NameParent.
        Parameters:
        navigationBar -
        displayOrder -
        Returns:
        the NavigationBarItem, or null if it could not be found