org.outerj.xreporter.userentrystore
Interface UserEntryStore

All Known Implementing Classes:
UserEntryStoreImpl

public interface UserEntryStore

This component is reponsible for storing and retrieving the values of parameters and conditions. These are stored on a per-user basis, but are shared across reports.


Field Summary
static java.lang.String ROLE
           
 
Method Summary
 StoredCondition getCondition(User user, java.lang.String id, DataType dataType)
           
 java.lang.Object getParameter(User user, java.lang.String id, java.lang.String expectedType)
           
 void removeCondition(User user, java.lang.String id)
           
 void removeParameter(User user, java.lang.String id)
           
 void storeCondition(User user, java.lang.String id, java.lang.String operator, java.lang.Object[] value, DataType dataType)
           
 void storeParameter(User user, java.lang.String id, java.lang.Object value, DataType dataType)
           
 

Field Detail

ROLE

public static final java.lang.String ROLE
See Also:
Constant Field Values
Method Detail

storeParameter

public void storeParameter(User user,
                           java.lang.String id,
                           java.lang.Object value,
                           DataType dataType)
                    throws UserEntryStoreException
Throws:
UserEntryStoreException

getParameter

public java.lang.Object getParameter(User user,
                                     java.lang.String id,
                                     java.lang.String expectedType)
                              throws UserEntryStoreException
Throws:
UserEntryStoreException

storeCondition

public void storeCondition(User user,
                           java.lang.String id,
                           java.lang.String operator,
                           java.lang.Object[] value,
                           DataType dataType)
                    throws UserEntryStoreException
Throws:
UserEntryStoreException

getCondition

public StoredCondition getCondition(User user,
                                    java.lang.String id,
                                    DataType dataType)
                             throws UserEntryStoreException
Throws:
UserEntryStoreException

removeParameter

public void removeParameter(User user,
                            java.lang.String id)
                     throws UserEntryStoreException
Throws:
UserEntryStoreException

removeCondition

public void removeCondition(User user,
                            java.lang.String id)
                     throws UserEntryStoreException
Throws:
UserEntryStoreException