| com.salmonllc.sql.Remotable
All known Subclasses: com.salmonllc.examples.example8.ContactModel, com.salmonllc.sql.ProxyBeanDataStoreAdaptor, com.salmonllc.examples.example17.ContactModel,
Remotable | public interface Remotable (Code) | | Implement this method for any DataStore that you want to expose remotely via the a ProxyDataStore.
|
Method Summary | |
public boolean | request(String reqType, HttpServletRequest req, boolean sessionValid, String userID, String password, String criteria) This method gets fired before each remote request to the DataStore is made (including the create method).
true if the request should be granted and false if the request should be denied. Parameters: reqType - The type of request being made. |
OPERATION_CANCEL | final public static String OPERATION_CANCEL(Code) | | |
OPERATION_COUNT | final public static String OPERATION_COUNT(Code) | | |
OPERATION_CREATE | final public static String OPERATION_CREATE(Code) | | |
OPERATION_DESTROY | final public static String OPERATION_DESTROY(Code) | | |
OPERATION_PING | final public static String OPERATION_PING(Code) | | |
OPERATION_RETRIEVE | final public static String OPERATION_RETRIEVE(Code) | | |
OPERATION_UPDATE | final public static String OPERATION_UPDATE(Code) | | |
request | public boolean request(String reqType, HttpServletRequest req, boolean sessionValid, String userID, String password, String criteria) throws DataStoreException(Code) | | This method gets fired before each remote request to the DataStore is made (including the create method).
true if the request should be granted and false if the request should be denied. Parameters: reqType - The type of request being made. See operation constants for valid values. Parameters: req - javax.servlet.http.HttpServletRequest The servlet request used. Parameters: sessionValid - true if this request came from a valid session or false if a new one had to be created. Parameters: userID - The user id making the request Parameters: password - The password of the user id making the request Parameters: criteria - The selection criteria passed from the request |
|
|