public class InitiativeScheduleAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements com.ibm.commerce.marketingcenter.objects.InitiativeScheduleAccessBeanData
Constructor and Description |
---|
InitiativeScheduleAccessBean()
Zero argument constructor used to initialize the access bean.
|
InitiativeScheduleAccessBean(javax.ejb.EJBObject o) |
InitiativeScheduleAccessBean(EntityBeanCreationData ecd)
Maps to a corresponding ejbCreate method in the home interface of the EJB.
|
InitiativeScheduleAccessBean(java.lang.Integer initiativeScheduleId, java.lang.Integer initiativeId, java.lang.Integer eMarketingSpotId, java.sql.Timestamp startDate, java.sql.Timestamp endDate)
Maps to a corresponding ejbCreate method in the home interface of the EJB.
|
InitiativeScheduleAccessBean(java.lang.Integer initiativeId, java.lang.Integer eMarketingSpotId, java.sql.Timestamp startDate, java.sql.Timestamp endDate)
Maps to a corresponding ejbCreate method in the home interface of the EJB.
|
Modifier and Type | Method and Description |
---|---|
void | commitCopyHelper() |
protected java.lang.String | defaultJNDIName() |
java.util.Enumeration | findAllCurAndFutSchdForContSpotOrderedByEndDate(java.sql.Timestamp currentDate)
This finder returns all current and future initiative schedules for content spots in an enumeration with the given eSpot Id and date.
|
java.util.Enumeration | findAllCurrentAndFutureSchedulesOrderedByEndDate(java.sql.Timestamp currentDate)
This finder returns all current and future initiative schedules in an enumeration with the given eSpot Id and date.
|
java.util.Enumeration | findAllFutureSchedules(java.sql.Timestamp currentDate)
This finder returns all the future initiaitve schedules in an enumeration with the given eSpot Id and date
|
java.util.Enumeration | findAllFutureSchedulesForContentSpot(java.sql.Timestamp currentDate)
This finder returns all the future initiaitve schedules for Content spots in an enumeration with the given eSpot Id and date
|
java.util.Enumeration | findByDateRange(java.sql.Timestamp startDate, java.sql.Timestamp endDate)
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 | findByDateRangeForContentSpot(java.sql.Timestamp startDate, java.sql.Timestamp endDate)
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 | findByEMarketingSpotId(java.lang.Integer eMarketingSpotId)
This finder returns all the initiative schedules in an enumeration with the given e-marketing spot ID.
|
java.util.Enumeration | findByEMarketingSpotIdAndDateRange(java.lang.Integer eMarketingSpotId, java.sql.Timestamp startDate, java.sql.Timestamp endDate)
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 eMarketingSpotId)
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 eMarketingSpotId)
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 initiativeId)
This finder returns all the initiative schedules in an enumeration with the given initiative reference number.
|
java.util.Enumeration | findByInitiativeIdSortedByEndDate(java.lang.Integer initiativeId)
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 initiativeId)
This finder returns all the initiative schedules in an enumeration with the given initiative reference number, sorted by the start date.
|
java.util.Enumeration | findCurrentAndFutureSchedulesByEMarketingSpotIdOrderedByEndDate(java.lang.Integer eMarketingSpotId, java.sql.Timestamp currentDate)
This finder returns all current and future initiative schedules in an enumeration with the given eSpot Id and date.
|
java.util.Enumeration | findFutureSchedulesByEMarketingSpotId(java.lang.Integer eMarketingSpotId, java.sql.Timestamp currentDate)
This finder returns all the future initiaitve schedules in an enumeration with the given eSpot Id and date
|
java.lang.String | getEMarketingSpotId() |
java.lang.Integer | getEMarketingSpotIdInEJBType() |
java.lang.String | getEndDate() |
java.sql.Timestamp | getEndDateInEJBType() |
java.lang.String | getInitiativeId() |
java.lang.Integer | getInitiativeIdInEJBType() |
java.lang.String | getInitiativeScheduleId() |
java.lang.Integer | getInitiativeScheduleIdInEJBType() |
java.lang.Integer | getOwnerStoreId()
getOwnerStoreId
|
java.lang.String | getPriority() |
java.lang.Integer | getPriorityInEJBType() |
java.lang.String | getStartDate() |
java.sql.Timestamp | getStartDateInEJBType() |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() |
void | setEMarketingSpotId(java.lang.Integer newValue) |
void | setEMarketingSpotId(java.lang.String newValue) |
void | setEndDate(java.lang.String newValue) |
void | setEndDate(java.sql.Timestamp newValue) |
void | setInitiativeId(java.lang.Integer newValue) |
void | setInitiativeId(java.lang.String newValue) |
void | setInitiativeScheduleId(java.lang.Integer newValue) |
void | setInitiativeScheduleId(java.lang.String newValue) |
void | setInitKey__initiativeScheduleId(java.lang.String newValue) |
void | setOwnerStoreId(java.lang.Integer newValue)
setOwnerStoreId
|
void | setPriority(java.lang.Integer newValue) |
void | setPriority(java.lang.String newValue) |
void | setStartDate(java.lang.String newValue) |
void | setStartDate(java.sql.Timestamp newValue) |
public InitiativeScheduleAccessBean()
public InitiativeScheduleAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public InitiativeScheduleAccessBean(java.lang.Integer initiativeScheduleId, java.lang.Integer initiativeId, java.lang.Integer eMarketingSpotId, java.sql.Timestamp startDate, java.sql.Timestamp endDate) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
public InitiativeScheduleAccessBean(java.lang.Integer initiativeId, java.lang.Integer eMarketingSpotId, java.sql.Timestamp startDate, java.sql.Timestamp endDate) throws javax.ejb.FinderException, javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException
public InitiativeScheduleAccessBean(EntityBeanCreationData ecd) throws javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, java.rmi.RemoteException
public java.util.Enumeration findByEMarketingSpotId(java.lang.Integer eMarketingSpotId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM INTVSCHED T1 WHERE (T1.EMSPOT_ID = emSpotId)
public java.util.Enumeration findByEMarketingSpotIdAndDateRange(java.lang.Integer eMarketingSpotId, java.sql.Timestamp startDate, java.sql.Timestamp endDate) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM INTVSCHED T1 WHERE (T1.EMSPOT_ID = emSpotId AND T1.STARTDATE <= startDate AND T1.ENDDATE >= endDate) ORDER BY PRIORITY
public java.util.Enumeration findByEMarketingSpotIdSortedByEndDate(java.lang.Integer eMarketingSpotId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM INTVSCHED T1 WHERE (T1.EMSPOT_ID = emSpotId) ORDER BY T1.ENDDATE
public java.util.Enumeration findByEMarketingSpotIdSortedByStartDate(java.lang.Integer eMarketingSpotId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM INTVSCHED T1 WHERE (T1.EMSPOT_ID = emSpotId) ORDER BY T1.STARTDATE
public java.util.Enumeration findByInitiativeId(java.lang.Integer initiativeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM INTVSCHED T1 WHERE (T1.INITIATIVE_ID = initiativeId)
public java.util.Enumeration findByInitiativeIdSortedByEndDate(java.lang.Integer initiativeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM INTVSCHED T1 WHERE (T1.INITIATIVE_ID = initiativeId) ORDER BY T1.ENDDATE
public java.util.Enumeration findByInitiativeIdSortedByStartDate(java.lang.Integer initiativeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
SQL:
SELECT * FROM INTVSCHED T1 WHERE (T1.INITIATIVE_ID = initiativeId) ORDER BY T1.STARTDATE
public void setInitKey__initiativeScheduleId(java.lang.String newValue)
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.String getPriority() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getPriorityInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setPriority(java.lang.String newValue)
public void setPriority(java.lang.Integer newValue)
public java.lang.String getStartDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getStartDateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setStartDate(java.lang.String newValue)
public void setStartDate(java.sql.Timestamp newValue)
public java.lang.String getInitiativeId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getInitiativeIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setInitiativeId(java.lang.String newValue)
public void setInitiativeId(java.lang.Integer newValue)
public java.lang.String getInitiativeScheduleId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getInitiativeScheduleIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setInitiativeScheduleId(java.lang.String newValue)
public void setInitiativeScheduleId(java.lang.Integer newValue)
public java.lang.String getEndDate() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.sql.Timestamp getEndDateInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setEndDate(java.lang.String newValue)
public void setEndDate(java.sql.Timestamp newValue)
public java.lang.String getEMarketingSpotId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public java.lang.Integer getEMarketingSpotIdInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setEMarketingSpotId(java.lang.String newValue)
public void setEMarketingSpotId(java.lang.Integer newValue)
public java.lang.Integer getOwnerStoreId() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
public void setOwnerStoreId(java.lang.Integer newValue)
public java.util.Enumeration findFutureSchedulesByEMarketingSpotId(java.lang.Integer eMarketingSpotId, java.sql.Timestamp currentDate) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
SQL:
SELECT * FROM INTVSCHED T1 WHERE (T1.EMSPOT_ID = eMarketingSpotId AND T1.STARTDATE > currentDate) ORDER BY T1.STARTDATE
public java.util.Enumeration findCurrentAndFutureSchedulesByEMarketingSpotIdOrderedByEndDate(java.lang.Integer eMarketingSpotId, java.sql.Timestamp currentDate) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
SQL:
SELECT * FROM INTVSCHED T1 WHERE (T1.EMSPOT_ID = eMarketingSpotId AND T1.ENDDATE >= currentDate) ORDER BY T1.ENDDATE
public java.util.Enumeration findAllCurrentAndFutureSchedulesOrderedByEndDate(java.sql.Timestamp currentDate) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
SQL:
SELECT * FROM INTVSCHED T1 WHERE (T1.ENDDATE >= currentDate) ORDER BY T1.ENDDATE
public java.util.Enumeration findAllFutureSchedules(java.sql.Timestamp currentDate) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
SQL:
SELECT * FROM INTVSCHED T1 WHERE (T1.STARTDATE > currentDate) ORDER BY T1.STARTDATE
public java.util.Enumeration findByDateRange(java.sql.Timestamp startDate, java.sql.Timestamp endDate) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
SQL:
SELECT * FROM INTVSCHED T1 WHERE (T1.STARTDATE <= startDate AND T1.ENDDATE >= endDate) ORDER BY PRIORITY
public java.util.Enumeration findAllCurAndFutSchdForContSpotOrderedByEndDate(java.sql.Timestamp currentDate) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
SQL:
SELECT * FROM INTVSCHED T1, EMSPOT T2 WHERE (T1.ENDDATE >= currentDate) AND (T2.USAGETYPE = 'CONTENT') AND T2.EMSPOT_ID = T1.EMSPOT_ID ORDER BY T1.ENDDATE
public java.util.Enumeration findAllFutureSchedulesForContentSpot(java.sql.Timestamp currentDate) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
SQL:
SELECT * FROM INTVSCHED T1, EMSPOT T2 WHERE (T1.STARTDATE > currentDate) AND T2.USAGETYPE = 'CONTENT' AND T2.EMSPOT_ID = T1.EMSPOT_ID ORDER BY T1.STARTDATE
public java.util.Enumeration findByDateRangeForContentSpot(java.sql.Timestamp startDate, java.sql.Timestamp endDate) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException
SQL:
SELECT * FROM INTVSCHED T1, EMSPOT T2 WHERE (T1.STARTDATE <= startDate AND T1.ENDDATE >= endDate) AND (T2.USAGETYPE = 'CONTENT') AND (T2.EMSPOT_ID = T1.EMSPOT_ID) ORDER BY PRIORITY