com.atlassian.confluence.servlet.simpledisplay
Class UserStatusListPathConverter

java.lang.Object
  extended by com.atlassian.confluence.servlet.simpledisplay.UserStatusListPathConverter
All Implemented Interfaces:
PathConverter

public class UserStatusListPathConverter
extends Object
implements PathConverter

Converts a path to a list of user status updates for a user. e.g. "/display/status/fred/list"


Field Summary
protected  VelocityEngineResolver resolver
           
 
Constructor Summary
UserStatusListPathConverter()
           
 
Method Summary
 ConvertedPath getPath(String simplePath)
          Returns a ConvertedPath based on the passed in path.
 boolean handles(String simplePath)
          Return true from this method if your path converter can convert the specified path.
 void setResolver(VelocityEngineResolver resolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resolver

protected VelocityEngineResolver resolver
Constructor Detail

UserStatusListPathConverter

public UserStatusListPathConverter()
Method Detail

setResolver

public void setResolver(VelocityEngineResolver resolver)

handles

public boolean handles(String simplePath)
Description copied from interface: PathConverter
Return true from this method if your path converter can convert the specified path. By default, the SimpleDisplayServlet will be mapped to '/display' which will be stripped off the path before being passed to this method. The first converter that returns true for a path will be used to perform the conversion.

Specified by:
handles in interface PathConverter
Parameters:
simplePath - the path relative to the servlet mapping
Returns:
true if your path converter can handle this path

getPath

public ConvertedPath getPath(String simplePath)
Description copied from interface: PathConverter
Returns a ConvertedPath based on the passed in path.

Specified by:
getPath in interface PathConverter
Parameters:
simplePath -
Returns:
returns path to a status


Copyright © 2003-2011 Atlassian. All Rights Reserved.