| com.jcorporate.expresso.core.dbobj.SecuredDBObject com.jcorporate.expresso.services.dbobj.Event
Constructor Summary | |
public | Event() | public | Event(int uid) | public | Event(RequestContext request) For using DBObjects within Controllers. | public | Event(String dbName, String theEvent, String theMessage, boolean success) The one-liner version of event via this special constructor
This method is used to create the event and send the notifications all
in one step. |
Event | public Event(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 request context handed to you by the framework. throws: DBException - upon initialization error |
Event | public Event(String dbName, String theEvent, String theMessage, boolean success) throws DBException, LogException(Code) | | The one-liner version of event via this special constructor
This method is used to create the event and send the notifications all
in one step.
Parameters: dbName - the database context name Parameters: theEvent - Code of the event to trigger Parameters: theMessage - Detail message associated for the event Parameters: success - True if the event is the success of a task,false if it indicates failure throws: DBException - If there is problem sending the notification |
sendMail | public void sendMail(Vector theMessage, boolean success) throws DBException, LogException(Code) | | Once an Event has been retrieved, this method allows the e-mail
notifications to be sent to each of the appropriate users
Parameters: theMessage - A Vector of strings containing the text ofthe message to be sent Parameters: success - Is this message a notification of success? throws: DBException - on any error, including a mail system error |
setupFields | protected synchronized void setupFields() throws DBException(Code) | | Set up the database fields for this object
|
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)
|
|
|