| |
|
| com.jcorporate.expresso.core.dbobj.SecuredDBObject com.jcorporate.expresso.services.dbobj.JobHandlerControl
JobHandlerControl | public class JobHandlerControl extends SecuredDBObject (Code) | | applies operations (commands) to all jobs running on a server.
For example, cause all jobs to stop or restart.
author: Mike Dubman |
FLD_COMMAND | final public static String FLD_COMMAND(Code) | | command to apply to all jobs on server. currently, only restart and stop are available
|
FLD_COMMAND_ID | final public static String FLD_COMMAND_ID(Code) | | |
FLD_REQUEST_TIME | final public static String FLD_REQUEST_TIME(Code) | | |
FLD_STATUS_CODE | final public static String FLD_STATUS_CODE(Code) | | |
JOB_STATUS_AVAILABLE | final public static String JOB_STATUS_AVAILABLE(Code) | | |
JOB_STATUS_COMPLETED | final public static String JOB_STATUS_COMPLETED(Code) | | |
JOB_STATUS_NEW | final public static String JOB_STATUS_NEW(Code) | | |
JOB_STATUS_RUNNING | final public static String JOB_STATUS_RUNNING(Code) | | |
RESTART_COMMAND | final public static String RESTART_COMMAND(Code) | | |
JobHandlerControl | public JobHandlerControl(int uid) throws DBException(Code) | | Parameters: uid - the Expresso user id throws: DBException - upon initialization error |
JobHandlerControl | public JobHandlerControl(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 |
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 |
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)
|
|
|
|