com.plumtree.portaluiinfrastructure.friendlyurl
Interface IFriendlyURLParser

All Known Implementing Classes:
APIFriendlyURLParser, CommunityFriendlyURLParser, DocumentFriendlyURLParser, FriendlyURLParser, KDFriendlyURLParser, MyPageFriendlyURLParser, SearchFriendlyURLParser, UserFriendlyURLParser

public interface IFriendlyURLParser

This class is responsible for parsing friendly URLs and populating the different variables (ie name of object, id of object, ...)

Author:
duang

Method Summary
 int GetChildId()
          Returns the child Id if one was parsed from the URL, 0 otherwise.
 java.lang.String GetChildName(boolean bDeNormalize)
          Returns the child name if one was parsed from the URL, null otherwise.
 java.lang.String GetClassId()
          Returns the class Id mapped to the keyword parsed from the URL.
 java.lang.String GetKeyword()
          Returns the keyword if one was parsed from the URL, null otherwise.
 int GetObjectId()
          Returns the object Id if one was parsed from the URL, 0 otherwise.
 java.lang.String GetObjectName(boolean bDeNormalize)
          Returns the object name if one was parsed from the URL, null otherwise.
 void SetClassId(java.lang.String strClassId)
          Sets the class Id mapped to the keyword parsed from the URL.
 

Method Detail

GetChildId

int GetChildId()
Returns the child Id if one was parsed from the URL, 0 otherwise.

Returns:

GetClassId

java.lang.String GetClassId()
Returns the class Id mapped to the keyword parsed from the URL.

Returns:

SetClassId

void SetClassId(java.lang.String strClassId)
Sets the class Id mapped to the keyword parsed from the URL.


GetObjectId

int GetObjectId()
Returns the object Id if one was parsed from the URL, 0 otherwise.

Returns:

GetChildName

java.lang.String GetChildName(boolean bDeNormalize)
Returns the child name if one was parsed from the URL, null otherwise.

Parameters:
bDeNormalize - Indicates whether the name should be denormalized before being returned
Returns:

GetKeyword

java.lang.String GetKeyword()
Returns the keyword if one was parsed from the URL, null otherwise.

Returns:

GetObjectName

java.lang.String GetObjectName(boolean bDeNormalize)
Returns the object name if one was parsed from the URL, null otherwise.

Parameters:
bDeNormalize - Indicates whether the name should be denormalized before being returned
Returns:



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.