com.ibm.commerce.order.objects
Class SchedulerOrderAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.order.objects.SchedulerOrderAccessBean
All Implemented Interfaces:
SchedulerOrderAccessBeanData

public class SchedulerOrderAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements SchedulerOrderAccessBeanData

This table contains the entries for scheduled orders.

See Also:
Serialized Form

Constructor Summary
SchedulerOrderAccessBean()
          constructor
SchedulerOrderAccessBean(javax.ejb.EJBObject o)
          constructor
SchedulerOrderAccessBean(java.lang.Long arg0, java.lang.Long arg1)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByMemberId(java.lang.Long arg0)           Retrieves the SchedulerOrderAccessBean representing the scheduler job and order id relationship created on behalf of the specified member. The SQL query used to fetch the requested row from the SCHORDERS table is:
SELECT * FROM SCHORDERS T1 WHERE (T1.JOB_RN = ANY (SELECT SCCJOBREFNUM FROM SCHCONFIG WHERE MEMBER_ID = ?))
 java.util.Enumeration findByOrder(java.lang.Long arg0)           Retrieves the SchedulerOrderAccessBean representing the scheduler job and order id relationship corresponding to the specified order. The SQL query used to fetch the requested row from the SCHORDERS table is:
SELECT * FROM SCHORDERS T1 WHERE (T1.ORDERS_ID = ?)
 java.lang.String getJobReferenceNumber()
          This method provides access to the SCHORDERS.JOB_RN column of DB2 type BIGINT NOT NULL.
 java.lang.Long getJobReferenceNumberInEJBType()
          This method provides access to the SCHORDERS.JOB_RN column of DB2 type BIGINT NOT NULL.
 java.lang.String getOrderId()
          This method provides access to the SCHORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderIdInEJBType()
          This method provides access to the SCHORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setInitKey_jobReferenceNumber(java.lang.String newValue)
          Set the primary key for this object
 void setOrderId(java.lang.Long newValue)
          This method provides access to the SCHORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 void setOrderId(java.lang.String newValue)
          This method provides access to the SCHORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchedulerOrderAccessBean

public SchedulerOrderAccessBean()
constructor

SchedulerOrderAccessBean

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

SchedulerOrderAccessBean

public SchedulerOrderAccessBean(java.lang.Long arg0,
                                java.lang.Long arg1)
                         throws javax.ejb.CreateException,
                                java.rmi.RemoteException,
                                javax.naming.NamingException
constructor
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.Long
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException
Method Detail

findByMemberId

public java.util.Enumeration findByMemberId(java.lang.Long arg0)
                                     throws java.rmi.RemoteException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

Retrieves the SchedulerOrderAccessBean representing the scheduler job and order id relationship created on behalf of the specified member.
The SQL query used to fetch the requested row from the SCHORDERS table is: SELECT * FROM SCHORDERS T1 WHERE (T1.JOB_RN = ANY (SELECT SCCJOBREFNUM FROM SCHCONFIG WHERE MEMBER_ID = ?))

Returns:
java.util.Enumeration An Enumeration containing one SchedulerOrderAccessBean object representing the row matching the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByOrder

public java.util.Enumeration findByOrder(java.lang.Long arg0)
                                  throws java.rmi.RemoteException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

Retrieves the SchedulerOrderAccessBean representing the scheduler job and order id relationship corresponding to the specified order.
The SQL query used to fetch the requested row from the SCHORDERS table is: SELECT * FROM SCHORDERS T1 WHERE (T1.ORDERS_ID = ?)

Returns:
java.util.Enumeration An Enumeration containing one SchedulerOrderAccessBean object representing the row matching the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_jobReferenceNumber

public void setInitKey_jobReferenceNumber(java.lang.String newValue)

Set the primary key for this object

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

defaultJNDIName

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

instantiateEJB

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

instantiateEJBByPrimaryKey

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

commitCopyHelper

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

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

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

refreshCopyHelper

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

Load data from the EJBObject.

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

getJobReferenceNumber

public java.lang.String getJobReferenceNumber()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the SCHORDERS.JOB_RN column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Scheduled job reference number.

Specified by:
getJobReferenceNumber in interface SchedulerOrderAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getJobReferenceNumberInEJBType

public java.lang.Long getJobReferenceNumberInEJBType()
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.CreateException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException

This method provides access to the SCHORDERS.JOB_RN column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Scheduled job reference number.

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

getOrderId

public java.lang.String getOrderId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the SCHORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Scheduled order ID.

Specified by:
getOrderId in interface SchedulerOrderAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOrderIdInEJBType

public java.lang.Long getOrderIdInEJBType()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the SCHORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Scheduled order ID.

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

setOrderId

public void setOrderId(java.lang.String newValue)

This method provides access to the SCHORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Scheduled order ID.

Specified by:
setOrderId in interface SchedulerOrderAccessBeanData
Parameters:
newValue - String
Returns:
void

setOrderId

public void setOrderId(java.lang.Long newValue)

This method provides access to the SCHORDERS.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Scheduled order ID.

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