com.plumtree.portaluiinfrastructure.friendlyurl
Interface IFriendlyURLParserManager

All Known Implementing Classes:
FriendlyURLParserManager

public interface IFriendlyURLParserManager

A manager class in charge of retrieving the correct friendly URL parser given a URL path.

Author:
duang

Method Summary
 java.lang.String FindKeywordForType(java.lang.String typeId)
          Looks up the friendly url keyword for the specified type.
 IFriendlyURLParser GetParser(XPStringTokenizer stURLTokens)
          Returns an IFriendlyURLParser based on the URL path given.
 void SetKeyToClassIdLookupTable(XPHashtable htKeyToClassIdLookup)
          Stores the map of keywords to class Ids.
 

Method Detail

SetKeyToClassIdLookupTable

void SetKeyToClassIdLookupTable(XPHashtable htKeyToClassIdLookup)
Stores the map of keywords to class Ids.

Parameters:
htKeyToClassIdLookup - Map of keywords to class ids taken from FriendlyURLS.xml

GetParser

IFriendlyURLParser GetParser(XPStringTokenizer stURLTokens)
Returns an IFriendlyURLParser based on the URL path given.

Parameters:
stURLTokens - URL path
Returns:

FindKeywordForType

java.lang.String FindKeywordForType(java.lang.String typeId)
Looks up the friendly url keyword for the specified type.

Parameters:
typeId - Class id or type id
Returns:
The friendly url keyword or null if typeid was not defined



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