com.instantbank.component.job.ejb
Interface Job

All Superinterfaces:
javax.ejb.EJBObject, java.rmi.Remote

public interface Job
extends javax.ejb.EJBObject

Business interface of job EJB: models a job (Entity BMP EJB, master-details)

Author:
Instant-bank (Consuelo Franky)

Method Summary
 java.lang.String generateSQLtext(java.util.Hashtable systemFields, java.util.Hashtable systemAlias, java.lang.String rootType)
          Generate sqlText associated to the job (updates state of ejb instance: jobModel.sqlText)
 JobModel getState()
          Gets state value of ejb instance
 void setDescription(java.lang.String description)
          Sets value to the description of ejb instance (updates state of ejb instance: jobModel.description)
 void setJobORDER(java.util.Collection jobORDER)
          Sets value to the jobORDER of ejb instance (updates state of ejb instance: jobModel.jobORDER)
 void setJobSELECT(java.util.Collection jobSELECT)
          Sets value to the jobSELECT of ejb instance (updates state of ejb instance: jobModel.jobSELECT)
 void setJobWHERE(java.util.Collection jobWHERE)
          Sets value to the jobWHERE of ejb instance (updates state of ejb instance: jobModel.jobWHERE)
 void setState(JobModel jobModel)
          Sets value to the state of ejb instance
 void setTemplate(long templateCode)
          Sets value to the templateCode of ejb instance (updates state of ejb instance: jobModel.templateCode)
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getState

public JobModel getState()
                  throws java.rmi.RemoteException
Gets state value of ejb instance
Returns:
value of jobModel attribute
Throws:
java.rmi.RemoteException -  

setState

public void setState(JobModel jobModel)
              throws java.rmi.RemoteException
Sets value to the state of ejb instance
Parameters:
jobModel - new value to assign to jobModel attribute
Throws:
java.rmi.RemoteException -  

setTemplate

public void setTemplate(long templateCode)
                 throws java.rmi.RemoteException
Sets value to the templateCode of ejb instance (updates state of ejb instance: jobModel.templateCode)
Parameters:
templateCode - new value to assign to templateCode
Throws:
java.rmi.RemoteException - Description of the Exception

setDescription

public void setDescription(java.lang.String description)
                    throws java.rmi.RemoteException
Sets value to the description of ejb instance (updates state of ejb instance: jobModel.description)
Parameters:
description - new value to assign to description
Throws:
java.rmi.RemoteException - Description of the Exception

setJobSELECT

public void setJobSELECT(java.util.Collection jobSELECT)
                  throws java.rmi.RemoteException
Sets value to the jobSELECT of ejb instance (updates state of ejb instance: jobModel.jobSELECT)
Parameters:
jobSELECT - new value to assign to jobSELECT
Throws:
java.rmi.RemoteException - Description of the Exception

setJobWHERE

public void setJobWHERE(java.util.Collection jobWHERE)
                 throws java.rmi.RemoteException
Sets value to the jobWHERE of ejb instance (updates state of ejb instance: jobModel.jobWHERE)
Parameters:
jobWHERE - new value to assign to jobWHERE
Throws:
java.rmi.RemoteException - Description of the Exception

setJobORDER

public void setJobORDER(java.util.Collection jobORDER)
                 throws java.rmi.RemoteException
Sets value to the jobORDER of ejb instance (updates state of ejb instance: jobModel.jobORDER)
Parameters:
jobORDER - new value to assign to jobORDER
Throws:
java.rmi.RemoteException - Description of the Exception

generateSQLtext

public java.lang.String generateSQLtext(java.util.Hashtable systemFields,
                                        java.util.Hashtable systemAlias,
                                        java.lang.String rootType)
                                 throws java.rmi.RemoteException
Generate sqlText associated to the job (updates state of ejb instance: jobModel.sqlText)
Parameters:
systemFields - Hashtable of system Fields for current company key: fieldId (long), value: Field object
systemAlias - Hashtable of system Alias key: String[2] = [tableAlias, rootType], value: Alias object
rootType - root type for joins
Returns:
sql text generated
Throws:
java.rmi.RemoteException -