com.ibm.commerce.marketingcenter.objects
Class InitiativeScheduleAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.marketingcenter.objects.InitiativeScheduleAccessBean

public class InitiativeScheduleAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean

This table describes the scheduling of initiatives onto e-Marketing Spots.

See Also:
Serialized Form

Constructor Summary
InitiativeScheduleAccessBean()
          constructor
InitiativeScheduleAccessBean(java.lang.Integer arg0, java.lang.Integer arg1, java.lang.Integer arg2, java.sql.Timestamp arg3, java.sql.Timestamp arg4)
          constructor
InitiativeScheduleAccessBean(java.lang.Integer arg0, java.lang.Integer arg1, java.sql.Timestamp arg2, java.sql.Timestamp arg3)
          constructor
InitiativeScheduleAccessBean(javax.ejb.EJBObject o)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findByEMarketingSpotId(java.lang.Integer arg0)
          This finder returns all the initiative schedules in an enumeration with the given e-marketing spot ID.
 java.util.Enumeration findByEMarketingSpotIdAndDateRange(java.lang.Integer arg0, java.sql.Timestamp arg1, java.sql.Timestamp arg2)
          This finder returns all the initiative schedules in an enumeration with the given e-marketing spot ID, start date and end date of the initiative schedule.
 java.util.Enumeration findByEMarketingSpotIdSortedByEndDate(java.lang.Integer arg0)
          This finder returns all the initiative schedules in an enumeration with the given e-marketing spot ID, sorted by the end date.
 java.util.Enumeration findByEMarketingSpotIdSortedByStartDate(java.lang.Integer arg0)
          This finder returns all the initiative schedules in an enumeration with the given e-marketing spot ID, sorted by the start date.
 java.util.Enumeration findByInitiativeId(java.lang.Integer arg0)
          This finder returns all the initiative schedules in an enumeration with the given initiative reference number.
 java.util.Enumeration findByInitiativeIdSortedByEndDate(java.lang.Integer arg0)
          This finder returns all the initiative schedules in an enumeration with the given initiative reference number, sorted by the end date.
 java.util.Enumeration findByInitiativeIdSortedByStartDate(java.lang.Integer arg0)
          This finder returns all the initiative schedules in an enumeration with the given initiative reference number, sorted by the start date.
 java.lang.String getEMarketingSpotId()
          This method accesses a non-CMP field
 java.lang.Integer getEMarketingSpotIdInEJBType()
          This method accesses a non-CMP field
 java.lang.String getEndDate()
          This method accesses a non-CMP field
 java.sql.Timestamp getEndDateInEJBType()
          This method accesses a non-CMP field
 java.lang.String getInitiativeId()
          This method accesses a non-CMP field
 java.lang.Integer getInitiativeIdInEJBType()
          This method accesses a non-CMP field
 java.lang.String getInitiativeScheduleId()
          This method accesses a non-CMP field
 java.lang.Integer getInitiativeScheduleIdInEJBType()
          This method accesses a non-CMP field
 java.lang.Integer getOwnerStoreId()
          This method accesses a non-CMP field
 java.lang.String getPriority()
          This method accesses a non-CMP field
 java.lang.Integer getPriorityInEJBType()
          This method accesses a non-CMP field
 java.lang.String getStartDate()
          This method accesses a non-CMP field
 java.sql.Timestamp getStartDateInEJBType()
          This method accesses a non-CMP field
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setEMarketingSpotId(java.lang.Integer newValue)
          This method accesses a non-CMP field
 void setEMarketingSpotId(java.lang.String newValue)
          This method accesses a non-CMP field
 void setEndDate(java.lang.String newValue)
          This method accesses a non-CMP field
 void setEndDate(java.sql.Timestamp newValue)
          This method accesses a non-CMP field
 void setInitiativeId(java.lang.Integer newValue)
          Set the primary key for this object
 void setInitiativeId(java.lang.String newValue)
          Set the primary key for this object
 void setInitiativeScheduleId(java.lang.Integer newValue)
          Set the primary key for this object
 void setInitiativeScheduleId(java.lang.String newValue)
          Set the primary key for this object
 void setInitKey__initiativeScheduleId(java.lang.String newValue)
          Set the primary key for this object
 void setOwnerStoreId(java.lang.Integer newValue)
          This method accesses a non-CMP field
 void setPriority(java.lang.Integer newValue)
          This method accesses a non-CMP field
 void setPriority(java.lang.String newValue)
          This method accesses a non-CMP field
 void setStartDate(java.lang.String newValue)
          This method accesses a non-CMP field
 void setStartDate(java.sql.Timestamp 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

InitiativeScheduleAccessBean

public InitiativeScheduleAccessBean()
constructor

InitiativeScheduleAccessBean

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

InitiativeScheduleAccessBean

public InitiativeScheduleAccessBean(java.lang.Integer arg0,
                                    java.lang.Integer arg1,
                                    java.lang.Integer arg2,
                                    java.sql.Timestamp arg3,
                                    java.sql.Timestamp arg4)
                             throws javax.ejb.CreateException,
                                    java.rmi.RemoteException,
                                    javax.naming.NamingException
constructor
Parameters:
arg0 - java.lang.Integer
arg1 - java.lang.Integer
arg2 - java.lang.Integer
arg3 - java.sql.Timestamp
arg4 - java.sql.Timestamp
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.naming.NamingException

InitiativeScheduleAccessBean

public InitiativeScheduleAccessBean(java.lang.Integer arg0,
                                    java.lang.Integer arg1,
                                    java.sql.Timestamp arg2,
                                    java.sql.Timestamp arg3)
                             throws javax.ejb.FinderException,
                                    javax.naming.NamingException,
                                    javax.ejb.CreateException,
                                    java.rmi.RemoteException
constructor
Parameters:
arg0 - java.lang.Integer
arg1 - java.lang.Integer
arg2 - java.sql.Timestamp
arg3 - java.sql.Timestamp
Throws:
javax.ejb.FinderException
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
Method Detail

findByEMarketingSpotId

public java.util.Enumeration findByEMarketingSpotId(java.lang.Integer arg0)
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException
This finder returns all the initiative schedules in an enumeration with the given e-marketing spot ID.

SQL:

SELECT * FROM INTVSCHED T1 WHERE (T1.EMSPOT_ID = emSpotId)

Returns:
java.util.Enumeration - all the returned initiative schedules
Throws:
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException

findByEMarketingSpotIdAndDateRange

public java.util.Enumeration findByEMarketingSpotIdAndDateRange(java.lang.Integer arg0,
                                                                java.sql.Timestamp arg1,
                                                                java.sql.Timestamp arg2)
                                                         throws java.rmi.RemoteException,
                                                                javax.ejb.FinderException,
                                                                javax.naming.NamingException
This finder returns all the initiative schedules in an enumeration with the given e-marketing spot ID, start date and end date of the initiative schedule.

SQL:

SELECT * FROM INTVSCHED T1 WHERE (T1.EMSPOT_ID = emSpotId AND T1.STARTDATE <= startDate AND T1.ENDDATE >= endDate) ORDER BY PRIORITY

Returns:
java.util.Enumeration - all the returned initiative schedules
Throws:
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException

findByEMarketingSpotIdSortedByEndDate

public java.util.Enumeration findByEMarketingSpotIdSortedByEndDate(java.lang.Integer arg0)
                                                            throws java.rmi.RemoteException,
                                                                   javax.ejb.FinderException,
                                                                   javax.naming.NamingException
This finder returns all the initiative schedules in an enumeration with the given e-marketing spot ID, sorted by the end date.

SQL:

SELECT * FROM INTVSCHED T1 WHERE (T1.EMSPOT_ID = emSpotId) ORDER BY T1.ENDDATE

Returns:
java.util.Enumeration - all the returned initiative schedules
Throws:
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException

findByEMarketingSpotIdSortedByStartDate

public java.util.Enumeration findByEMarketingSpotIdSortedByStartDate(java.lang.Integer arg0)
                                                              throws java.rmi.RemoteException,
                                                                     javax.ejb.FinderException,
                                                                     javax.naming.NamingException
This finder returns all the initiative schedules in an enumeration with the given e-marketing spot ID, sorted by the start date.

SQL:

SELECT * FROM INTVSCHED T1 WHERE (T1.EMSPOT_ID = emSpotId) ORDER BY T1.STARTDATE

Returns:
java.util.Enumeration - all the returned initiative schedules
Throws:
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException

findByInitiativeId

public java.util.Enumeration findByInitiativeId(java.lang.Integer arg0)
                                         throws java.rmi.RemoteException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException
This finder returns all the initiative schedules in an enumeration with the given initiative reference number.

SQL:

SELECT * FROM INTVSCHED T1 WHERE (T1.INITIATIVE_ID = initiativeId)

Returns:
java.util.Enumeration - all the returned initiative schedules
Throws:
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException

findByInitiativeIdSortedByEndDate

public java.util.Enumeration findByInitiativeIdSortedByEndDate(java.lang.Integer arg0)
                                                        throws java.rmi.RemoteException,
                                                               javax.ejb.FinderException,
                                                               javax.naming.NamingException
This finder returns all the initiative schedules in an enumeration with the given initiative reference number, sorted by the end date.

SQL:

SELECT * FROM INTVSCHED T1 WHERE (T1.INITIATIVE_ID = initiativeId) ORDER BY T1.ENDDATE

Returns:
java.util.Enumeration - all the returned initiative schedules
Throws:
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException

findByInitiativeIdSortedByStartDate

public java.util.Enumeration findByInitiativeIdSortedByStartDate(java.lang.Integer arg0)
                                                          throws java.rmi.RemoteException,
                                                                 javax.ejb.FinderException,
                                                                 javax.naming.NamingException
This finder returns all the initiative schedules in an enumeration with the given initiative reference number, sorted by the start date.

SQL:

SELECT * FROM INTVSCHED T1 WHERE (T1.INITIATIVE_ID = initiativeId) ORDER BY T1.STARTDATE

Returns:
java.util.Enumeration - all the returned initiative schedules
Throws:
java.rmi.RemoteException - - Thrown when the ejbCreate method is failed to invoke.
javax.ejb.FinderException - - Thrown when the finding of the requested EJB object failed.
javax.naming.NamingException

setInitKey__initiativeScheduleId

public void setInitKey__initiativeScheduleId(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

getPriority

public java.lang.String getPriority()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPriorityInEJBType

public java.lang.Integer getPriorityInEJBType()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPriority

public void setPriority(java.lang.String newValue)
This method accesses a non-CMP field

setPriority

public void setPriority(java.lang.Integer newValue)
This method accesses a non-CMP field

getStartDate

public java.lang.String getStartDate()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStartDateInEJBType

public java.sql.Timestamp getStartDateInEJBType()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStartDate

public void setStartDate(java.lang.String newValue)
This method accesses a non-CMP field

setStartDate

public void setStartDate(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getInitiativeId

public java.lang.String getInitiativeId()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getInitiativeIdInEJBType

public java.lang.Integer getInitiativeIdInEJBType()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setInitiativeId

public void setInitiativeId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - String
Returns:
void

setInitiativeId

public void setInitiativeId(java.lang.Integer newValue)

Set the primary key for this object

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

getInitiativeScheduleId

public java.lang.String getInitiativeScheduleId()
                                         throws java.rmi.RemoteException,
                                                javax.ejb.CreateException,
                                                javax.ejb.FinderException,
                                                javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getInitiativeScheduleIdInEJBType

public java.lang.Integer getInitiativeScheduleIdInEJBType()
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.CreateException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setInitiativeScheduleId

public void setInitiativeScheduleId(java.lang.String newValue)

Set the primary key for this object

Parameters:
newValue - String
Returns:
void

setInitiativeScheduleId

public void setInitiativeScheduleId(java.lang.Integer newValue)

Set the primary key for this object

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

getEndDate

public java.lang.String getEndDate()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getEndDateInEJBType

public java.sql.Timestamp getEndDateInEJBType()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setEndDate

public void setEndDate(java.lang.String newValue)
This method accesses a non-CMP field

setEndDate

public void setEndDate(java.sql.Timestamp newValue)
This method accesses a non-CMP field

getEMarketingSpotId

public java.lang.String getEMarketingSpotId()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getEMarketingSpotIdInEJBType

public java.lang.Integer getEMarketingSpotIdInEJBType()
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.CreateException,
                                                      javax.ejb.FinderException,
                                                      javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setEMarketingSpotId

public void setEMarketingSpotId(java.lang.String newValue)
This method accesses a non-CMP field

setEMarketingSpotId

public void setEMarketingSpotId(java.lang.Integer newValue)
This method accesses a non-CMP field

getOwnerStoreId

public java.lang.Integer getOwnerStoreId()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException
This method accesses a non-CMP field
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOwnerStoreId

public void setOwnerStoreId(java.lang.Integer newValue)
This method accesses a non-CMP field