public class CampaignEmsListCursorDataBean
extends com.ibm.commerce.tools.util.CommonSearchHelperBean
implements com.ibm.commerce.security.Protectable, com.ibm.commerce.security.Delegator
CampaignEmsDataBean
data beans for e-Marketing spots associated with a store. This class has
improved performance over CampaignEmsListDataBean
as this class uses a
database cursor to only return the applicable rows from the database (based on the
start and end index), instead of having the client only display the applicable rows
from the entire list of e-Marketing Spots. This class can query both MARKETING
and CONTENT type e-Marketing Spots. As well, you can specify to return the
e-Marketing Spots for all stores on the store path, or only the ones from the
current store.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
CampaignEmsListCursorDataBean()
Constructs an CampaignEmsListCursorDataBean
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
buildQuery()
This method constructs the database query.
|
void |
buildResultDataBean(java.util.Vector resultVector)
This method constructs the list of
CampaignEmsListDataBean data beans
based on the results returned from the database. |
com.ibm.commerce.security.Protectable |
getDelegate()
This method returns the access control delegate of this data bean.
|
CampaignEmsDataBean[] |
getEmsList()
This method gets the list of
CampaignEmsListDataBean data beans based on the database results. |
java.lang.String |
getEmsUsageType()
This method gets the value of the usage type identifier.
|
boolean |
getLocalSearch()
This method gets the value of the local search flag.
|
java.lang.Long |
getOwner()
This method gets the owner of the e-Marketing Spots.
|
void |
setEmsList(java.util.Vector newEmsList)
This method sets the list of
CampaignEmsListDataBean data beans based on the database results. |
void |
setEmsUsageType(java.lang.String newUsageType)
This method sets the value of the usage type identifier.
|
void |
setLocalSearch(boolean newLocalSearch)
This method sets the local search flag.
|
escapeSQLstring, getDefaultLanguageId, getIndexBegin, getIndexEnd, getLanguageId, getListSize, getResultList, getResultSetSize, getStoreId, getStoreIds, getStoreIdsInEntityType, getStoreRelType, getUpperCaseFunction, getUseCursor, populate, setIndexBegin, setIndexEnd, setLanguageId, setResultList, setResultSetSize, setStoreId, setStoreIds, setStoreIdsInEntityType, setStoreRelType, setUseCursor
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
public static final java.lang.String COPYRIGHT
public CampaignEmsListCursorDataBean()
public java.lang.String buildQuery() throws java.lang.Exception
buildQuery
in class com.ibm.commerce.tools.util.CommonSearchHelperBean
CommonSearchHelperBean
class.java.lang.Exception
public void buildResultDataBean(java.util.Vector resultVector)
CampaignEmsListDataBean
data beans
based on the results returned from the database.buildResultDataBean
in class com.ibm.commerce.tools.util.CommonSearchHelperBean
resultVector
- The result vector returned from the database query.public com.ibm.commerce.security.Protectable getDelegate() throws java.lang.Exception
getDelegate
in interface com.ibm.commerce.security.Delegator
java.lang.Exception
public CampaignEmsDataBean[] getEmsList()
CampaignEmsListDataBean
data beans based on the database results.CampaignEmsListDataBean
data beans.public java.lang.String getEmsUsageType()
public boolean getLocalSearch()
public java.lang.Long getOwner() throws java.lang.Exception
getOwner
in interface com.ibm.commerce.security.Protectable
java.lang.Exception
- raised when there is a remote exceptionpublic void setEmsList(java.util.Vector newEmsList)
CampaignEmsListDataBean
data beans based on the database results.newEmsList
- The list of CampaignEmsListDataBean
data beans.public void setEmsUsageType(java.lang.String newUsageType)
newUsageType
- The value of the usage type identifier. Possible values are MARKETING or CONTENT.public void setLocalSearch(boolean newLocalSearch)
newLocalSearch
- Set true to return from the current store only.