edu.wisc.my.portlets.bookmarks.web.support
Class PortletPreferencesBookmarkSetNameResolver

java.lang.Object
  extended by edu.wisc.my.portlets.bookmarks.web.support.PortletPreferencesBookmarkSetNameResolver
All Implemented Interfaces:
NameResolver

public class PortletPreferencesBookmarkSetNameResolver
extends java.lang.Object
implements NameResolver

Uses the configured bookmarkSetName as a key into the PortletPreferences to resolve the name of the BookmarkSet for the request.

Version:
$Revision: 12161 $
Author:
Eric Dalquist eric.dalquist@doit.wisc.edu

Field Summary
static java.lang.String DEFAULT_BOOKMARK_SET_NAME
           
 
Constructor Summary
PortletPreferencesBookmarkSetNameResolver()
           
 
Method Summary
 java.lang.String getBookmarkSetName()
           
 java.lang.String getBookmarkSetName(javax.portlet.PortletRequest request)
          Resolves the BookmarkSet name for the PortletRequest, may return null if no name is specified for the request.
 void setBookmarkSetName(java.lang.String bookmarkSetName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_BOOKMARK_SET_NAME

public static final java.lang.String DEFAULT_BOOKMARK_SET_NAME
See Also:
Constant Field Values
Constructor Detail

PortletPreferencesBookmarkSetNameResolver

public PortletPreferencesBookmarkSetNameResolver()
Method Detail

getBookmarkSetName

public java.lang.String getBookmarkSetName()
Returns:
Returns the bookmarkSetName.

setBookmarkSetName

public void setBookmarkSetName(java.lang.String bookmarkSetName)
Parameters:
bookmarkSetName - The bookmarkSetName to set.

getBookmarkSetName

public java.lang.String getBookmarkSetName(javax.portlet.PortletRequest request)
Description copied from interface: NameResolver
Resolves the BookmarkSet name for the PortletRequest, may return null if no name is specified for the request.

Specified by:
getBookmarkSetName in interface NameResolver
Parameters:
request - The request to resolve the name for, must not be null.
Returns:
The BookmarkSet name for the request, may be null if there is no name for the request.
See Also:
NameResolver.getBookmarkSetName(javax.portlet.PortletRequest)


Copyright © 1998-2007 Java Architectures Special Interest Group. All Rights Reserved.