| |
|
| com.jcorporate.expresso.core.dbobj.SecuredDBObject com.jcorporate.expresso.services.dbobj.ValidationQueue
ValidationQueue | public class ValidationQueue extends SecuredDBObject (Code) | | This class stores each validation entry
author: Shash Chatterjee |
FLD_EXPIRES_AT | final public static String FLD_EXPIRES_AT(Code) | | |
FLD_PROCESSED_BY | final public static String FLD_PROCESSED_BY(Code) | | |
FLD_PROCESSED_ON | final public static String FLD_PROCESSED_ON(Code) | | |
FLD_STATUS_CODE | final public static String FLD_STATUS_CODE(Code) | | |
FLD_VAL_HANDLER | final public static String FLD_VAL_HANDLER(Code) | | |
JOB_STATUS_AVAILABLE | final public static String JOB_STATUS_AVAILABLE(Code) | | |
JOB_STATUS_DENIED | final public static String JOB_STATUS_DENIED(Code) | | |
JOB_STATUS_EXPIRED | final public static String JOB_STATUS_EXPIRED(Code) | | |
JOB_STATUS_NEW | final public static String JOB_STATUS_NEW(Code) | | |
JOB_STATUS_VALIDATED | final public static String JOB_STATUS_VALIDATED(Code) | | |
JOB_STATUS_WAIT | final public static String JOB_STATUS_WAIT(Code) | | |
ValidationQueue | public ValidationQueue(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. throws: DBException - upon initialization error |
ValidationQueue | public ValidationQueue(int uid) throws DBException(Code) | | Use over (String) constructor. Initializes the object in the context
of the user who's uid belongs to the parameter.
Parameters: uid - id of the user context throws: DBException - if there's an initialization problem |
add | public void add() throws DBException(Code) | | Extends the usual add method to fetch a next number field
and set the Updated flag to Y
throws: DBException - If the next number cannot be determined orthe add fails |
checkAllRefs | protected void checkAllRefs() throws DBException(Code) | | Extends the checkAllRefs method to check for valid job queue entry
throws: DBException - If a referential integrity violation is found |
find | public boolean find() throws DBException(Code) | | Extend the normal find method to read the parameters once the find
is done.
boolean |
getParamValue | public synchronized String getParamValue(String paramCode) throws DBException(Code) | | Get the parameter value for the named parameter code
Parameters: paramCode - Code for which we want the value String The parameter value throws: DBException - If the paramter value cannot be retrieved |
getParams | public synchronized Vector getParams() throws DBException(Code) | | Get the job queue parameters associated with this queue entry
Vector A vector of JobQueueParam objects for this entry throws: DBException - If the job queue entry has not yet been retrieved |
getValidValues | public Vector getValidValues(String fieldName) throws DBException(Code) | | Override the method getValidValues to provide specific values for our
multi-valued fields
Parameters: fieldName - Field name for which values are requested Vector The ValidValues field throws: DBException - If the values cannot be retrieved |
isExpired | public boolean isExpired() throws DBException(Code) | | Returns true if the validation queue entry has expired by checking the
expires at field. If that field is null, then this function will
return false.
true if the validation queue entry is expired. |
retrieve | public void retrieve() throws DBException(Code) | | Extend the normal retrieve method to read the parameters
after the record is retrieved
throws: DBException - If the parameters or the entry cannot be retrieved |
Methods inherited from com.jcorporate.expresso.core.dbobj.SecuredDBObject | public void add() throws DBException(Code)(Java Doc) public boolean canRequesterAdd() throws DBException(Code)(Java Doc) public boolean canRequesterDelete() throws DBException(Code)(Java Doc) public boolean canRequesterRead() throws DBException(Code)(Java Doc) public boolean canRequesterUpdate() throws DBException(Code)(Java Doc) public boolean checkAllowed(String requestedFunction) throws DBException(Code)(Java Doc) public void copyAttributes(DBObject returnObj) throws DBException(Code)(Java Doc) public synchronized int count() throws com.jcorporate.expresso.core.db.DBException(Code)(Java Doc) protected synchronized void createSecurityCache() throws CacheException(Code)(Java Doc) public void delete() throws DBException(Code)(Java Doc) public synchronized void deleteAll() throws com.jcorporate.expresso.core.db.DBException(Code)(Java Doc) public boolean find() throws DBException(Code)(Java Doc) public int getRequestingUid()(Code)(Java Doc) protected String getString(String stringCode, Object[] args) throws DBException(Code)(Java Doc) protected String getString(String stringCode) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1, String arg2) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1, String arg2, String arg3) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1, String arg2, String arg3, String arg4) throws DBException(Code)(Java Doc) public int getSystemUid()(Code)(Java Doc) public static SecuredDBObject instantiate(String className) throws DBException(Code)(Java Doc) public void isAllowed(String requestedFunction) throws SecurityException, DBException(Code)(Java Doc) public void retrieve() throws DBException(Code)(Java Doc) public synchronized void search() throws DBException(Code)(Java Doc) public synchronized ArrayList searchAndRetrieveList() throws DBException(Code)(Java Doc) public synchronized ArrayList searchAndRetrieveList(String sortKeys) throws DBException(Code)(Java Doc) public void setRequestingUid(int newUid)(Code)(Java Doc) public void update() throws DBException(Code)(Java Doc)
|
|
|
|