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

java.lang.Object
  AbstractEntityAccessBean
      com.ibm.commerce.collaboration.cc.objects.QueueDescAccessBean
All Implemented Interfaces:
QueueDescAccessBeanData

public class QueueDescAccessBean
extends AbstractEntityAccessBean
implements QueueDescAccessBeanData

Customer Care Queue description This access bean corresponds to the database table 'QUEUEDESC'. QueueDescAccessBean

See Also:
Serialized Form

Constructor Summary
QueueDescAccessBean()
constructor
QueueDescAccessBean(java.lang.Integer Queue_id, java.lang.Integer Language_id)
Creates an instance from a key for Entity Bean: QueueDesc
QueueDescAccessBean(javax.ejb.EJBObject o)
QueueDescAccessBean constructor
Method Summary
void commitCopyHelper()
commitCopyHelper
java.lang.String defaultJNDIName()
defaultJNDIName
java.util.Enumeration findByQueueId(java.lang.Integer Queue_id)
Finds instances using Queue_id for Entity Beans: QueueDesc
java.lang.String getDescription()
Get accessor for persistent attribute: Description
java.lang.String getDisplayName()
Get accessor for persistent attribute: DisplayName
java.lang.Integer getLanguage_id()
Get accessor for persistent attribute: LanguageId
java.lang.Integer getQueue_id()
Get accessor for persistent attribute: QueueId
protected void instantiateEJB()
instantiateEJB
protected boolean instantiateEJBByPrimaryKey()
instantiateEJBByPrimaryKey
void refreshCopyHelper()
refreshCopyHelper
void setDescription(java.lang.String newDescription)
Set accessor for persistent attribute: Description
void setDisplayName(java.lang.String newName)
Set accessor for persistent attribute: DisplayName
void setInit_LanguageId(java.lang.Integer newValue)
setInit_LanguageId
void setInit_Queue_id(java.lang.Integer newValue)
setInit_Queue_id
void setLanguage_id(java.lang.Integer newValue)
This method accesses a non-CMP field
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

QueueDescAccessBean

public QueueDescAccessBean()
constructor

QueueDescAccessBean

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

QueueDescAccessBean

public QueueDescAccessBean(java.lang.Integer Queue_id,
                           java.lang.Integer Language_id)
                    throws javax.naming.NamingException,
                           javax.ejb.CreateException,
                           java.rmi.RemoteException
Creates an instance from a key for Entity Bean: QueueDesc
Parameters:
Queue_id - Queue Id
Language_id - Language Id
Throws:
javax.ejb.CreateException - Raised when has problem to create QueueDesc
java.rmi.RemoteException - Raised when network error occurs
javax.naming.NamingException
Method Detail

getDescription

public java.lang.String getDescription()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException
Get accessor for persistent attribute: Description
Specified by:
getDescription in interface QueueDescAccessBeanData
Returns:
Queue Description
Throws:
java.rmi.RemoteException - Raised when network error occurs
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDescription

public void setDescription(java.lang.String newDescription)
Set accessor for persistent attribute: Description
Specified by:
setDescription in interface QueueDescAccessBeanData
Parameters:
newDescription - Queue description
Throws:
java.rmi.RemoteException - Raised when network error occurs

getDisplayName

public java.lang.String getDisplayName()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException
Get accessor for persistent attribute: DisplayName
Specified by:
getDisplayName in interface QueueDescAccessBeanData
Returns:
DisplayName
Throws:
java.rmi.RemoteException - Raised when network error occurs
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDisplayName

public void setDisplayName(java.lang.String newName)
Set accessor for persistent attribute: DisplayName
Specified by:
setDisplayName in interface QueueDescAccessBeanData
Parameters:
newName - Queue DisplayName
Throws:
java.rmi.RemoteException - Raised when network error occurs

getLanguage_id

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

setLanguage_id

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

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 QueueDescAccessBeanData
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 QueueDescAccessBeanData

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_LanguageId

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

Set the primary key for this object

Parameters:
newValue - java.lang.Integer
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

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 Beans: QueueDesc
Parameters:
Queue_id - Queue Id
Returns:
Enumeration of Queue Description objects
Throws:
javax.ejb.FinderException - Raised when QueueDesc can not be found
java.rmi.RemoteException - Raised when network error occurs
javax.naming.NamingException

Feedback