org.apache.cocoon.components.persistence
Interface RequestDataStore

All Known Implementing Classes:
RequestDataStoreImpl

Deprecated. Use the scoped attributes on the Request object instead. This component will be removed with Cocoon 2.3.

public interface RequestDataStore

A request data store is a component that manages data that is linked to the current request. With the setRequestData() method you can link any object to the current request. This object can be fetched via getRequestData() as long as the request is running. This data is not available in any sub-request (cocoon: protocol calls). If you want to share data between the main request and any sub-request than you have to use the setGlobalRequestData etc. methods. This component is a replacement for the request lifecycle and global request lifecycle components.

Since:
2.1.1
Version:
$Id: RequestDataStore.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
static String ROLE
          Deprecated.  
 
Method Summary
 Object getGlobalRequestData(String key)
          Deprecated.  
 Object getRequestData(String key)
          Deprecated.  
 void removeGlobalRequestData(String key)
          Deprecated.  
 void removeRequestData(String key)
          Deprecated.  
 void setGlobalRequestData(String key, Object value)
          Deprecated.  
 void setRequestData(String key, Object value)
          Deprecated.  
 

Field Detail

ROLE

public static final String ROLE
Deprecated. 
Method Detail

getRequestData

public Object getRequestData(String key)
Deprecated. 

removeRequestData

public void removeRequestData(String key)
Deprecated. 

setRequestData

public void setRequestData(String key,
                           Object value)
Deprecated. 

getGlobalRequestData

public Object getGlobalRequestData(String key)
Deprecated. 

removeGlobalRequestData

public void removeGlobalRequestData(String key)
Deprecated. 

setGlobalRequestData

public void setGlobalRequestData(String key,
                                 Object value)
Deprecated. 


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.