Class ApplicationNavigationItem

java.lang.Object
com.appiancorp.suiteapi.applications.ApplicationNavigationItem
All Implemented Interfaces:
Cloneable

public final class ApplicationNavigationItem extends Object implements Cloneable
Represents each item in the navigation definition of the application.
  • Constructor Details

    • ApplicationNavigationItem

      public ApplicationNavigationItem()
    • ApplicationNavigationItem

      public ApplicationNavigationItem(String displayName, String pageUuid, String urlIdentifier)
  • Method Details

    • clone

      public ApplicationNavigationItem clone()
      Overrides:
      clone in class Object
    • validate

      public void validate() throws InvalidNavigationItemException
      Validates that this ApplicationNavigationItem is correct. A valid Item consists of a Non-empty displayName and pageUuid, and a valid urlIdentifier (only letters, numbers, dashes, underscores, less than 256 characters).
      Throws:
      InvalidNavigationItemException - If any of the checks is not met.
    • setDisplayName

      public void setDisplayName(String displayName)
      Sets the display name of the navigation item.
      Parameters:
      displayName -
    • getDisplayName

      public String getDisplayName()
      Retrieves the display name of the navigation item.
      Returns:
      the display name for this navigation element
    • setPageUuid

      public void setPageUuid(String pageUuid)
      Sets the UUID of the page targeted by the navigation item.
      Parameters:
      pageUuid -
    • getPageUuid

      @ConvertWith(com.appiancorp.kougar.mapper.parameters.UuidParameterConverter.class) public String getPageUuid()
      Retrieves the UUID of the page targeted by the navigation item.
      Returns:
      the UUID
    • setUrlIdentifier

      public void setUrlIdentifier(String urlIdentifier)
      Sets the URL identifier which will allow direct access to the navigation item.
      Parameters:
      urlIdentifier - The URL identifier
    • getUrlIdentifier

      public String getUrlIdentifier()
      Retrieves the URL identifier which will allow direct access to the navigation item.
      Returns:
      the URL identifier of this navigation item