org.apache.jetspeed.cache
Interface ContentCacheKey

All Superinterfaces:
Serializable

public interface ContentCacheKey
extends Serializable

Provides interface to all Content Caches (Portlet API cache)

Version:
$Id: $
Author:
David Sean Taylor

Method Summary
 void createFromSession(String sessionid, String pipeline, String windowId)
           
 void createFromUser(String username, String pipeline, String windowId)
           
 String getKey()
          Return the full key as a string
 String getPipeline()
          Get the pipeline name or null if not used
 String getRequestParameter()
           
 String getSessionAttribute()
           
 String getSessionId()
          Get the session id or null if not used
 String getUsername()
          Get the username or null if not used
 String getWindowId()
          Get the window (portlet fragment) id
 

Method Detail

getUsername

String getUsername()
Get the username or null if not used

Returns:

getPipeline

String getPipeline()
Get the pipeline name or null if not used

Returns:

getWindowId

String getWindowId()
Get the window (portlet fragment) id

Returns:

getSessionId

String getSessionId()
Get the session id or null if not used

Returns:

getRequestParameter

String getRequestParameter()
Returns:

getSessionAttribute

String getSessionAttribute()
Returns:

getKey

String getKey()
Return the full key as a string

Returns:

createFromUser

void createFromUser(String username,
                    String pipeline,
                    String windowId)

createFromSession

void createFromSession(String sessionid,
                       String pipeline,
                       String windowId)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.