public final class ApplicationNavigationItem
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
ApplicationNavigationItem() |
ApplicationNavigationItem(java.lang.String displayName,
java.lang.String pageUuid,
java.lang.String urlIdentifier) |
Modifier and Type | Method and Description |
---|---|
ApplicationNavigationItem |
clone() |
java.lang.String |
getDisplayName()
Retrieves the display name of the navigation item.
|
java.lang.String |
getPageUuid()
Retrieves the UUID of the page targeted by the navigation item.
|
java.lang.String |
getUrlIdentifier()
Retrieves the URL identifier which will allow direct access to the navigation item.
|
void |
setDisplayName(java.lang.String displayName)
Sets the display name of the navigation item.
|
void |
setPageUuid(java.lang.String pageUuid)
Sets the UUID of the page targeted by the navigation item.
|
void |
setUrlIdentifier(java.lang.String urlIdentifier)
Sets the URL identifier which will allow direct access to the navigation item.
|
void |
validate()
Validates that this
ApplicationNavigationItem is correct. |
public ApplicationNavigationItem()
public ApplicationNavigationItem(java.lang.String displayName, java.lang.String pageUuid, java.lang.String urlIdentifier)
public ApplicationNavigationItem clone()
clone
in class java.lang.Object
public void validate() throws InvalidNavigationItemException
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).InvalidNavigationItemException
- If any of the checks is not met.public void setDisplayName(java.lang.String displayName)
displayName
- public java.lang.String getDisplayName()
public void setPageUuid(java.lang.String pageUuid)
pageUuid
- @ConvertWith(value=com.appiancorp.kougar.mapper.parameters.UuidParameterConverter.class) public java.lang.String getPageUuid()
public void setUrlIdentifier(java.lang.String urlIdentifier)
urlIdentifier
- The URL identifierpublic java.lang.String getUrlIdentifier()
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.