|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This is the EJB-tier controller of the MVC. It is implemented as a session EJB. It controls all the activities that happen in a client session (managing update events through handleEvent() method) It also provides mechanisms to access other session EJBs and variables: get services for obtaining session variables and for contacting EJBs (entity or session) which are instanced for the user.
| Method Summary | |
LetterTemplate |
getLetterTemplate(java.lang.String companyId,
java.lang.Long userId)
Get reference to LetterTemplate EJB |
Job |
getNewJob(java.lang.String companyId,
java.lang.Long userId,
java.lang.String name,
long ftpPrimaryId,
long ftpAlternateId)
Get reference to a new Job EJB |
Job |
getOldJob(java.lang.Long jobId)
Get reference to an existent Job EJB |
java.lang.String |
getW()
|
java.util.Collection |
handleEvent(LetterTemplateEvent ese)
Principal service: Feeds the specified event to the state machine of the business logic. |
void |
setJobNull()
Sets null to job attribute: |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
| Method Detail |
public java.util.Collection handleEvent(LetterTemplateEvent ese)
throws java.rmi.RemoteException,
LetterTemplateEventException
ese - event associated to a user requestLetterTemplateEventException - java.rmi.RemoteException - Description of the Exception
public void setJobNull()
throws java.rmi.RemoteException
java.rmi.RemoteException - Description of the Exception
public LetterTemplate getLetterTemplate(java.lang.String companyId,
java.lang.Long userId)
throws java.rmi.RemoteException
companyId - current companyuserId - current userjava.rmi.RemoteException -
public Job getOldJob(java.lang.Long jobId)
throws java.rmi.RemoteException
jobId - primary key of the Jobjava.rmi.RemoteException -
public Job getNewJob(java.lang.String companyId,
java.lang.Long userId,
java.lang.String name,
long ftpPrimaryId,
long ftpAlternateId)
throws java.rmi.RemoteException
companyId - current companyuserId - current username - name of JobftpPrimaryId - primary ftp associated to the JobftpAlternateId - alternate ftp associated to the Jobjava.rmi.RemoteException - Description of the Exception
public java.lang.String getW()
throws java.rmi.RemoteException
java.rmi.RemoteException -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||