public class Activity
extends java.lang.Object
implements java.io.Serializable, com.ibm.websphere.cache.Sizeable
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
Activity()
This method is the default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getActivityFormat()
This method gets the format of the activity.
|
com.ibm.commerce.marketing.internal.runtime.objects.ActivityRootElement | getActivityRootElement()
This method gets the cached object associated with the runtime XML.
|
java.lang.Short | getActivityType()
This method gets the type of the activity.
|
java.lang.Integer | getCampaignId()
This method gets the campaign ID associated with the activity.
|
java.lang.String | getCampaignName()
This method gets the name of the campaign associated with the activity.
|
java.sql.Timestamp | getCreatedDate()
This method gets the creation time of the activity.
|
java.lang.Integer | getCurrentVersion()
This method gets the current version of the activity.
|
java.lang.String | getDescription()
This method gets the description of the activity.
|
java.sql.Timestamp | getEndDate()
This method gets the end date of the activity.
|
java.lang.Short | getExperimentType()
This method gets the type of the experimental activity.
|
java.lang.Integer | getField1()
This method gets custom field 1 of the activity.
|
java.lang.Long | getField2()
This method gets custom field 2 of the activity.
|
java.math.BigDecimal | getField3()
This method gets custom field 3 of the activity.
|
java.lang.String | getField4()
This method gets custom field 4 of the activity.
|
FlowElement | getFlowElement(java.lang.String elementId)
This method gets the FlowElement business object associated with the activity.
|
java.lang.String | getFlowXml()
This method gets the runtime XML associated with the activity.
|
boolean | getHasOnlyTriggersForAllUsers()
This method gets the setting of whether the activity has only triggers that are for all users.
|
java.lang.Integer | getId()
This method gets the unique activity ID.
|
boolean | getIsActivityRepeatable()
This method gets the setting of whether the activity is repeatable.
|
java.sql.Timestamp | getLastUpdate()
This method gets the last update time of the activity.
|
java.lang.String | getLastUpdatedBy()
This method gets the name of the user who last updated the activity.
|
java.lang.Integer | getMarketingSpotBehavior()
This method gets the caching behavior for the marketing activity and how it should affect the e-Marketing Spot caching behavior.
|
java.lang.String | getName()
This method gets the name of the activity.
|
int | getNumberOfFlowElements()
This method returns the number of flow elements associated with this activity.
|
long | getObjectSize()
Returns the estimated footprint size in bytes of this object and the objects it contains.
|
java.lang.Short | getPriority()
This method gets the priority of the activity.
|
java.lang.Integer | getPublishedVersion()
This method gets the published version of the activity.
|
java.lang.Short | getRepeatable()
This method gets the setting if the activity is repeatable.
|
java.sql.Timestamp | getStartDate()
This method gets the start date of the activity.
|
java.lang.Short | getState()
This method gets the state of the activity.
|
java.lang.Integer | getStoreId()
This method gets the store ID associated with the activity.
|
java.lang.Short | getTemplateType()
This method gets the type of the activity template.
|
void | putFlowElement(FlowElement element)
This method caches the FlowElement that is associated with the activity.
|
void | setActivityFormat(java.lang.String newActivityFormat)
This method sets the format of the activity.
|
void | setActivityRootElement(com.ibm.commerce.marketing.internal.runtime.objects.ActivityRootElement newActivityRootElement)
This method sets the cached object associated with the runtime XML.
|
void | setActivityType(java.lang.Short newActivityType)
This method sets the type of the activity.
|
void | setCampaignId(java.lang.Integer newCampaignId)
This method sets the campaign ID associated with the activity.
|
void | setCampaignName(java.lang.String newCampaignName)
This method sets the name campaign associated with the activity.
|
void | setCreatedDate(java.sql.Timestamp newCreatedDate)
This method sets the creation date of the activity.
|
void | setCurrentVersion(java.lang.Integer newCurrentVersion)
This method sets the current version of the activity.
|
void | setDescription(java.lang.String newDescription)
This method sets the description of the activity.
|
void | setEndDate(java.sql.Timestamp newEndDate)
This method sets the end date of the activity.
|
void | setExperimentType(java.lang.Short newExperimentType)
This method sets the type of the experimental activity.
|
void | setField1(java.lang.Integer newField1)
This method sets custom field 1 of the activity.
|
void | setField2(java.lang.Long newField2)
This method sets custom field 2 of the activity.
|
void | setField3(java.math.BigDecimal newField3)
This method sets custom field 3 of the activity.
|
void | setField4(java.lang.String newField4)
This method sets custom field 4 of the activity.
|
void | setFlowXml(java.lang.String newFlowXml)
This method sets the runtime XML associated with the activity.
|
void | setHasOnlyTriggersForAllUsers(boolean newHasOnlyTriggersForAllUsers)
This method sets the setting of whether the activity has only triggers that are for all users.
|
void | setId(java.lang.Integer newId)
This method sets the unique activity ID.
|
void | setLastUpdate(java.sql.Timestamp newLastUpdate)
This method sets the last update time of the activity.
|
void | setLastUpdatedBy(java.lang.String newLastUpdatedBy)
This method sets the name of the user who last updated the activity.
|
void | setMarketingSpotBehavior(java.lang.Integer newMarketingSpotBehavior)
This method sets the caching behavior for the marketing activity and how it should affect the e-Marketing Spot caching behavior.
|
void | setName(java.lang.String newName)
This method sets the name of the activity.
|
void | setPriority(java.lang.Short newPriority)
This method sets the priority of the activity.
|
void | setPublishedVersion(java.lang.Integer newPublishedVersion)
This method sets the published version of the activity.
|
void | setRepeatable(java.lang.Short newRepeatable)
This method sets the setting if the activity is repeatable.
|
void | setStartDate(java.sql.Timestamp newStartDate)
This method sets the start date of the activity.
|
void | setState(java.lang.Short newState)
This method sets the state of the activity.
|
void | setStoreId(java.lang.Integer newStoreId)
This method sets the store ID associated with the activity.
|
void | setTemplateType(java.lang.Short newTemplateType)
This method sets the type of the activity template.
|
java.lang.String | toString()
This method returns a string with the content of the marketing activity.
|
public static final java.lang.String COPYRIGHT
public Activity()
public long getObjectSize()
public java.lang.Integer getId()
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.Integer getStoreId()
public java.lang.Integer getCampaignId()
public java.lang.String getCampaignName()
public java.lang.Short getState()
public java.sql.Timestamp getLastUpdate()
public java.sql.Timestamp getCreatedDate()
public java.lang.String getLastUpdatedBy()
public java.sql.Timestamp getStartDate()
public java.sql.Timestamp getEndDate()
public java.lang.Short getPriority()
public java.lang.Short getRepeatable()
public boolean getIsActivityRepeatable()
public java.lang.Integer getCurrentVersion()
public java.lang.Integer getPublishedVersion()
public java.lang.Short getActivityType()
public java.lang.String getActivityFormat()
public java.lang.Short getTemplateType()
public java.lang.Short getExperimentType()
public java.lang.String getFlowXml()
public java.lang.Integer getField1()
public java.lang.Long getField2()
public java.math.BigDecimal getField3()
public java.lang.String getField4()
public java.lang.Integer getMarketingSpotBehavior()
public void setId(java.lang.Integer newId)
public void setName(java.lang.String newName)
public void setDescription(java.lang.String newDescription)
public void setStoreId(java.lang.Integer newStoreId)
public void setCampaignId(java.lang.Integer newCampaignId)
public void setCampaignName(java.lang.String newCampaignName)
public void setState(java.lang.Short newState)
public void setLastUpdate(java.sql.Timestamp newLastUpdate)
public void setCreatedDate(java.sql.Timestamp newCreatedDate)
public void setLastUpdatedBy(java.lang.String newLastUpdatedBy)
public void setStartDate(java.sql.Timestamp newStartDate)
public void setEndDate(java.sql.Timestamp newEndDate)
public void setPriority(java.lang.Short newPriority)
public void setRepeatable(java.lang.Short newRepeatable)
public void setCurrentVersion(java.lang.Integer newCurrentVersion)
public void setPublishedVersion(java.lang.Integer newPublishedVersion)
public void setActivityType(java.lang.Short newActivityType)
public void setActivityFormat(java.lang.String newActivityFormat)
public void setTemplateType(java.lang.Short newTemplateType)
public void setExperimentType(java.lang.Short newExperimentType)
public void setFlowXml(java.lang.String newFlowXml)
public void setField1(java.lang.Integer newField1)
public void setField2(java.lang.Long newField2)
public void setField3(java.math.BigDecimal newField3)
public void setField4(java.lang.String newField4)
public void setMarketingSpotBehavior(java.lang.Integer newMarketingSpotBehavior)
public void setActivityRootElement(com.ibm.commerce.marketing.internal.runtime.objects.ActivityRootElement newActivityRootElement)
public com.ibm.commerce.marketing.internal.runtime.objects.ActivityRootElement getActivityRootElement()
public void setHasOnlyTriggersForAllUsers(boolean newHasOnlyTriggersForAllUsers)
public boolean getHasOnlyTriggersForAllUsers()
public int getNumberOfFlowElements()
public FlowElement getFlowElement(java.lang.String elementId)
public void putFlowElement(FlowElement element)
public java.lang.String toString()