Package com.redwood.scheduler.api.model
Interface NavigationBarItem
- 
- All Superinterfaces:
- BusinessKeyObject,- Detail,- NavigationBarItemComp,- Readable,- SchedulerEntity,- SchedulerEntityComp
 
 public interface NavigationBarItem extends NavigationBarItemComp, Detail, BusinessKeyObject, Readable An item that is part of the navigation bar A NavigationBarItem is shown in the navigation bar.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringOBJECT_TYPEString that will be returned fromSchedulerEntity.getObjectType()for "NavigationBarItem" objects.static StringSEC_RANK_ALLThis rank is made of the following privileges:static StringSEC_RANK_NONEThis rank has no privileges assigned to it.static QueryObjectType<NavigationBarItem>TYPEType that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).- 
Fields inherited from interface com.redwood.scheduler.api.model.SchedulerEntityACTION_AUDIT, ACTION_EXPORT, ACTION_READ, BEHAVIOR_DEPRECATED, BEHAVIOR_NONE, BEHAVIOR_SYSTEM
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description NavigationBarItemgetChildNavigationBarItemByNavigationBarDisplayOrder(NavigationBar navigationBar, Long displayOrder)Get the NavigationBarItem by NameParent.RWIterable<NavigationBarItem>getChildNavigationBarItems()Get anRWIterableover a collection ofChildNavigationBarItems, the collection will be ordered by DisplayOrder.LonggetDisplayOrder()Get the value for DisplayOrder.StringgetIconURL()Get the value for IconURL.StringgetLinkData()Get the value for LinkData.StringgetName()Get the value for Name.NavigationBargetNavigationBar()Get the NavigationBar.LonggetNumItems()Get the value for NumItems.NavigationBarItemgetParentNavigationBarItem()Get the ParentNavigationBarItem.StringgetSearchName()Get the value for SearchName.NavigationBarItemTypegetType()Get the value for Type.voidsetDisplayOrder(Long newDisplayOrder)Set the value for DisplayOrder.voidsetIconURL(String newIconURL)Set the value for IconURL.voidsetLinkData(String newLinkData)Set the value for LinkData.voidsetName(String newName)Set the value for Name.voidsetParentNavigationBarItem(NavigationBarItem newParentNavigationBarItem)Set the value for ParentNavigationBarItem.voidsetType(NavigationBarItemType newType)Set the value for Type.- 
Methods inherited from interface com.redwood.scheduler.api.model.BusinessKeyObjectgetBusinessKey
 - 
Methods inherited from interface com.redwood.scheduler.api.model.SchedulerEntitycanPerform, createSubjectObjectPrivilegeGrant, deleteObject, getAuditTrail, getAuditTrailSize, getBehavior, getEffectiveBehavior, getErrorNameEN, getErrorNameKey, getLLPVersion, getLOV, getLOVSupport, getObjectType, getParentSchedulerEntities, getRuntime, getSubjectObjectPrivilegeGrantBySubject, getSubjectObjectPrivilegeGrants, getUniqueId, getUrl, getUrl, isCreated, isDeletable, isDeleted, isModifiable, isModified, isSelectVersioned, processRelatedObjects, processRelatedObjects, processRelatedObjects, refreshObject, resetObject, resetObject, resetValuesToDefault, selectForRead
 
- 
 
- 
- 
- 
Field Detail- 
OBJECT_TYPEstatic final String OBJECT_TYPE String that will be returned fromSchedulerEntity.getObjectType()for "NavigationBarItem" objects.- See Also:
- Constant Field Values
 
 - 
TYPEstatic final QueryObjectType<NavigationBarItem> TYPE Type that can be used inSchedulerSession.executeObjectQuery(QueryObjectType, String, Object...).
 - 
SEC_RANK_NONEstatic final String SEC_RANK_NONE This rank has no privileges assigned to it.- See Also:
- Constant Field Values
 
 - 
SEC_RANK_ALLstatic final String SEC_RANK_ALL This rank is made of the following privileges:- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getNameString getName() Get the value for Name. (Defines the name of the navigation bar item)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getTypeNavigationBarItemType getType() Get the value for Type. (Defines the type of the navigation bar item) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getIconURLString getIconURL() Get the value for IconURL. (Defines the icon URL of the navigation bar item)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getLinkDataString getLinkData() Get the value for LinkData. (Defines the data for creating the action which will be performed when clicked)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getDisplayOrderLong 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 benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getSearchNameString getSearchName() Get the value for SearchName. (The internal name, normalized to allow for convenient database searching.)- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getNumItemsLong getNumItems() Get the value for NumItems. (Number of child items.) This value is mandatory, and therefore will not benullif this object has been retrieved from the database.- Returns:
- the field
- Throws:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setNamevoid 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:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setTypevoid 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:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setIconURLvoid 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:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setLinkDatavoid 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:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
setDisplayOrdervoid 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:
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- This will be thrown if this method is called while the object is not attached to a session.
 
 - 
getNavigationBarNavigationBar getNavigationBar() Get the NavigationBar.- Returns:
- NavigationBar
- Throws:
- com.redwood.scheduler.api.exception.ObjectDeletedException- If this method is called when the object has been marked for deletion.
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- If this method is called when the object has been removed from it's session.
 
 - 
getParentNavigationBarItemNavigationBarItem getParentNavigationBarItem() Get the ParentNavigationBarItem.- Returns:
- ParentNavigationBarItem
- Throws:
- com.redwood.scheduler.api.exception.ObjectDeletedException- If this method is called when the object has been marked for deletion.
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException- If this method is called when the object has been removed from it's session.
 
 - 
setParentNavigationBarItemvoid 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.
 
 - 
getChildNavigationBarItemsRWIterable<NavigationBarItem> getChildNavigationBarItems() Get anRWIterableover a collection ofChildNavigationBarItems, the collection will be ordered by DisplayOrder. If the collection is empty, an empty iterator will be returned, that is, this method will never returnnull. Parent-child relationship for navigation bar items.- Specified by:
- getChildNavigationBarItemsin interface- NavigationBarItemComp
- Returns:
- An RWIterableover a collection ofNavigationBarItemobjects , the collection will be ordered by DisplayOrder.
 
 - 
getChildNavigationBarItemByNavigationBarDisplayOrderNavigationBarItem getChildNavigationBarItemByNavigationBarDisplayOrder(NavigationBar navigationBar, Long displayOrder) Get the NavigationBarItem by NameParent.- Parameters:
- navigationBar-
- displayOrder-
- Returns:
- the NavigationBarItem, or nullif it could not be found
 
 
- 
 
-