|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.netweaver.bc.uwl.config.NavigationNode
The NavigationNode represents one node in the navigation tree. In brief it contains the view to bedisplayed when the navigation node is clicked. The Navigation nodes are defined in the standard or custom XLM files (See XML example) The navigation node will control location of view selection, placement of personalized views, and placement of where dynamic view should be placed.
<NavigationNode name="Main">
<NavigationNode name="CombinedTask" view="DefaultView"
referenceBundle="tasks">
<NavigationNode name="task2" view="DefaultView"
referenceBundle="new_and_inprogress_tasks" referenceGroup="UWL_ADD_DYNAMIC_VIEWS">
<NavigationNode name="PersonalViewPlaceHolderTask2"
referenceGroup="UWL_PERSONAL"/>
</NavigationNode>
<NavigationNode name="forwarded2" view="WorkItemsForwardedView"
referenceBundle="tasks_forwarded" referenceGroup="UWL_ADD_DYNAMIC_VIEWS">
<NavigationNode name="PersonalViewPlaceHolderforwarded2"
referenceGroup="UWL_PERSONAL"/>
</NavigationNode>
<NavigationNode name="futureTask" view="FutureTaskView"
referenceBundle="tasks_for_resubmission" referenceGroup="UWL_ADD_DYNAMIC_VIEWS">
<NavigationNode name="PersonalViewPlaceHolderfuture"
referenceGroup="UWL_PERSONAL"/>
</NavigationNode>
<NavigationNode name="completed2" view="WorkItemsCompletedView"
referenceBundle="completed_tasks" referenceGroup="UWL_ADD_DYNAMIC_VIEWS">
<NavigationNode name="PersonalViewPlaceHolderCompleted2"
referenceGroup="UWL_PERSONAL"/>
</NavigationNode>
</NavigationNode>
</NavigationNode>
UWLView,
IUWLViewManager.UWL_PERSONAL_GROUP_NAME,
Serialized Form| Field Summary | |
static String |
UWL_ADD_DYNAMIC_VIEWS
This is used to define the location in the Navigation Node where Dynamic view will be added as children. |
| Constructor Summary | |
NavigationNode(String id)
Constructor for NavigationNode. |
|
| Method Summary | |
void |
addChild(NavigationNode ret)
Method addChild. |
protected Object |
clone()
|
NavigationNode |
clone(IPrincipal user)
Clone the navigation node. |
String |
getAssociatedViewName()
Returns the associatedView. |
String |
getAssociatedViewNameSpace()
Deprecated. Name space is no longer needed |
ArrayList |
getChildren()
Returns the children. |
Descriptions |
getDisplayName()
Returns the displayName. |
String |
getGroupId()
Returns the groupId. |
String |
getId()
Returns the id. |
String |
getLongText(Locale locale)
Get the long text for the specified locale. |
String |
getNameSpace()
Deprecated. Is no longer used |
NavigationNode |
getParent()
Returns the parent. |
String |
getReference()
Deprecated. Is not used |
String |
getReferenceBundle()
Used internally for xml parser to read display name from a reference area. |
String |
getReferenceGroup()
Returns the referenceGroup. |
Set |
getRoles()
Deprecated. Is not used |
String |
getShortText(Locale locale)
Return the display name text for the specified Locale. |
boolean |
hasAccess(IPrincipal userIn)
Deprecated. Not used always returns true. |
boolean |
isDisplayItemCount()
|
boolean |
isGlobal()
Deprecated. No longer used |
boolean |
isVisible()
Determine if the Navigation is to be displayed to the user or not. |
void |
setAssociatedViewName(String associatedView)
Sets the associatedView. |
void |
setAssociatedViewNameSpace(String viewNamespace)
Deprecated. Name space is no longer needed |
void |
setChildren(ArrayList children)
Sets the children. |
void |
setDisplayItemCount(boolean b)
|
void |
setDisplayName(Descriptions descriptions)
Sets the displayName. |
void |
setGlobal(boolean global)
Deprecated. No longer used |
void |
setGroupId(String groupId)
Sets the groupId. |
void |
setNameSpace(String string)
Deprecated. Is no longer used |
void |
setParent(NavigationNode parent)
Sets the parent. |
void |
setReference(String string)
Deprecated. Is not used |
void |
setReferenceBundle(String ref)
Used internaly only by uwl |
void |
setReferenceGroup(String referenceGroup)
Sets the referenceGroup. |
void |
setRoles(HashSet roles)
Deprecated. Is not used |
void |
setVisible(boolean b)
Indicate if the Navigation should be visibile or not. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String UWL_ADD_DYNAMIC_VIEWS
| Constructor Detail |
public NavigationNode(String id)
id - The unique id for this Navigation Node.| Method Detail |
public String getAssociatedViewName()
public ArrayList getChildren()
public String getShortText(Locale locale)
locale -
public String getLongText(Locale locale)
locale -
public Descriptions getDisplayName()
getShortText(Locale),
getLongText(Locale)public boolean isGlobal()
public String getGroupId()
IUWLViewManager.UWL_PERSONAL_GROUP_IDpublic String getId()
public NavigationNode getParent()
public void setAssociatedViewName(String associatedView)
associatedView - The associatedView to setpublic void setChildren(ArrayList children)
children - The children to setpublic void setDisplayName(Descriptions descriptions)
public void setGlobal(boolean global)
global - The global to setpublic void setGroupId(String groupId)
groupId - The groupId to setpublic void setParent(NavigationNode parent)
parent - The parent to setpublic String getReferenceGroup()
getGroupId()public String getAssociatedViewNameSpace()
public void setReferenceGroup(String referenceGroup)
referenceGroup - The referenceGroup to setpublic void setAssociatedViewNameSpace(String viewNamespace)
viewNamespace - The viewNamespace to setpublic Set getRoles()
public void setRoles(HashSet roles)
roles - The roles to setpublic void addChild(NavigationNode ret)
Top most parent like (Main)
children like (Task, Alert, Notification,...)
grand children like (All Task, forward task,...)
and Great grand children like(personalized views, dynamic views,...)
ret - public void setReference(String string)
string - public boolean hasAccess(IPrincipal userIn)
public String getReference()
public NavigationNode clone(IPrincipal user)
throws CloneNotSupportedException
user - This no longer needed there can be null
CloneNotSupportedException
protected Object clone()
throws CloneNotSupportedException
CloneNotSupportedExceptionpublic String getReferenceBundle()
public void setReferenceBundle(String ref)
ref - public boolean isVisible()
public void setVisible(boolean b)
b - public String getNameSpace()
public void setNameSpace(String string)
string - public boolean isDisplayItemCount()
public void setDisplayItemCount(boolean b)
b -
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||