| |
|
| com.jcorporate.expresso.services.dbobj.SecurityDBObject com.jcorporate.expresso.services.dbobj.ControllerSecurity
ControllerSecurity | public class ControllerSecurity extends SecurityDBObject (Code) | | Controller Security indicates which of the controllers contained in a schema
can be accessed by which groups of users. This table is populated
by the initialize process (DBCreate servlet) with all of the
appropriate data for a given schema
author: Michael Nash |
ANY_STATE_WILDCARD | final public static String ANY_STATE_WILDCARD(Code) | | wildcard used to indicate any state
|
CONTROLLER_CLASS | final public static String CONTROLLER_CLASS(Code) | | field names
|
ControllerSecurity | public ControllerSecurity(int uid) throws DBException(Code) | | Constructor initializes the user context for this object too
Parameters: uid - the user id of the owner object |
ControllerSecurity | public ControllerSecurity(RequestContext request) throws DBException(Code) | | For using DBObjects within Controllers. Initializes based upon the current
user and the requested db. [Of course this can be modified later]
Parameters: request - - The controller request handed to you by the framework. |
add | public void add() throws DBException(Code) | | Extend add to provide default values for the States field if it
is left empty
|
getField | public String getField(String fieldName) throws DBException(Code) | | Extend the getField object to return the virtual fields
Parameters: fieldName - the field name to retrieve java.lang.String the name of the value |
setField | public void setField(String fieldName, String fieldValue) throws DBException(Code) | | Extend setField to trim all field values
Parameters: fieldName - The name of the field to set Parameters: fieldValue - The new value for the field |
|
|
|