com.ibm.commerce.collaboration.cc.objects
Class QueueCSRAccessBean

java.lang.Object
  |
  +--AbstractEntityAccessBean
        |
        +--com.ibm.commerce.collaboration.cc.objects.QueueCSRAccessBean
All Implemented Interfaces:
QueueCSRAccessBeanData

public class QueueCSRAccessBean
extends AbstractEntityAccessBean
implements QueueCSRAccessBeanData

This table contains customer care queue assignment records for Customer Service Representatives. QueueCSRAccessBean

See Also:
Serialized Form

Constructor Summary
QueueCSRAccessBean()
          constructor
QueueCSRAccessBean(java.lang.Integer Queue_id, java.lang.Long CSR_id)
          QueueCSRAccessBean constructor
QueueCSRAccessBean(javax.ejb.EJBObject o)
          QueueCSRAccessBean constructor
 
Method Summary
 void commitCopyHelper()
          commitCopyHelper
 java.lang.String defaultJNDIName()
          defaultJNDIName
 java.util.Enumeration findByCSRId(java.lang.Long CSR_id)
          Finds instances using CSR_id for Entity Bean: QueueCSR
 java.util.Enumeration findByQueueId(java.lang.Integer Queue_id)
          Finds instances using Queue_id for Entity Bean: QueueCSR
 java.lang.Long getCSR_id()
          Get accessor for persistent attribute: CSRId
 java.lang.Integer getQueue_id()
          Get accessor for persistent attribute: QueueId
protected  void instantiateEJB()
          instantiateEJB
protected  boolean instantiateEJBByPrimaryKey()
          instantiateEJBByPrimaryKey
 void refreshCopyHelper()
          refreshCopyHelper
 void setCSR_id(java.lang.Long newValue)
          This method accesses a non-CMP field
 void setInit_CSR_id(java.lang.Long newValue)
          setInit_CSR_id
 void setInit_Queue_id(java.lang.Integer newValue)
          setInit_Queue_id
 void setQueue_id(java.lang.Integer newValue)
          This method accesses a non-CMP field
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueCSRAccessBean

public QueueCSRAccessBean()
constructor

QueueCSRAccessBean

public QueueCSRAccessBean(javax.ejb.EJBObject o)
                   throws java.rmi.RemoteException
QueueCSRAccessBean constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

QueueCSRAccessBean

public QueueCSRAccessBean(java.lang.Integer Queue_id,
                          java.lang.Long CSR_id)
                   throws javax.naming.NamingException,
                          javax.ejb.CreateException,
                          java.rmi.RemoteException
QueueCSRAccessBean constructor
Parameters:
Queue_id - java.lang.Integer
CSR_id - java.lang.Long
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
Method Detail

getCSR_id

public java.lang.Long getCSR_id()
                         throws java.rmi.RemoteException,
                                javax.ejb.CreateException,
                                javax.ejb.FinderException,
                                javax.naming.NamingException
Get accessor for persistent attribute: CSRId
Specified by:
getCSR_id in interface QueueCSRAccessBeanData
Returns:
CSR Id
Throws:
java.rmi.RemoteException - Raised when network error occurs
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCSR_id

public void setCSR_id(java.lang.Long newValue)
This method accesses a non-CMP field
Specified by:
setCSR_id in interface QueueCSRAccessBeanData

getQueue_id

public java.lang.Integer getQueue_id()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException
Get accessor for persistent attribute: QueueId
Specified by:
getQueue_id in interface QueueCSRAccessBeanData
Returns:
Queue Id
Throws:
java.rmi.RemoteException - Raised when network error occurs
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setQueue_id

public void setQueue_id(java.lang.Integer newValue)
This method accesses a non-CMP field
Specified by:
setQueue_id in interface QueueCSRAccessBeanData

setInit_Queue_id

public void setInit_Queue_id(java.lang.Integer newValue)
setInit_Queue_id

Set the primary key for this object

Parameters:
newValue - java.lang.Integer
Returns:
void

setInit_CSR_id

public void setInit_CSR_id(java.lang.Long newValue)
setInit_CSR_id

Set the primary key for this object

Parameters:
newValue - java.lang.Long
Returns:
void

defaultJNDIName

public java.lang.String defaultJNDIName()
defaultJNDIName
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws javax.naming.NamingException,
                              javax.ejb.FinderException,
                              java.rmi.RemoteException
instantiateEJB
Returns:
void
Throws:
javax.naming.NamingException
javax.ejb.FinderException
java.rmi.RemoteException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws javax.ejb.CreateException,
                                             java.rmi.RemoteException,
                                             javax.naming.NamingException
instantiateEJBByPrimaryKey
Returns:
boolean
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
refreshCopyHelper

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException
commitCopyHelper

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

findByCSRId

public java.util.Enumeration findByCSRId(java.lang.Long CSR_id)
                                  throws javax.naming.NamingException,
                                         javax.ejb.FinderException,
                                         java.rmi.RemoteException
Finds instances using CSR_id for Entity Bean: QueueCSR
Parameters:
CSR_id - CSR Id
Returns:
Enumeration of QueueCSR Objects that has the same CSR id
Throws:
javax.ejb.FinderException - Raised when QueueCSR can not be found
java.rmi.RemoteException - Raised when network error occurs
javax.naming.NamingException

findByQueueId

public java.util.Enumeration findByQueueId(java.lang.Integer Queue_id)
                                    throws javax.naming.NamingException,
                                           javax.ejb.FinderException,
                                           java.rmi.RemoteException
Finds instances using Queue_id for Entity Bean: QueueCSR
Parameters:
Queue_id - Queue Id
Returns:
Enumeration of QueueCSR Objects that has the same queue Id
Throws:
javax.ejb.FinderException - Raised when QueueCSR can not be found
java.rmi.RemoteException - Raised when network error occurs
javax.naming.NamingException