java.lang.Object | +--com.ibm.commerce.beans.InputDataBeanImpl | +--com.ibm.commerce.beans.SmartDataBeanImpl | +--com.ibm.commerce.tools.contract.beans.PolicyDataBean
Retrieve all the data associated with an policy. Set the policy and language identifiers in order to populate the bean.
Field Summary | |
---|---|
protected
java.sql.Timestamp |
_endDate |
protected
java.lang.Long |
_id |
protected
java.lang.Integer |
_languageId |
protected
java.lang.String |
_longDescription |
protected
java.lang.String |
_policyName |
protected
java.lang.String |
_policyType |
protected
java.lang.String |
_properties |
protected
java.lang.String |
_shortDescription |
protected
java.sql.Timestamp |
_startDate |
protected
java.lang.Integer |
_storeEntId |
protected
java.lang.String |
_storeIdentity |
protected
java.lang.Long |
_storeMemberId |
protected
java.sql.Timestamp |
_timeCreated |
protected
java.sql.Timestamp |
_timeUpdated |
static java.lang.String |
FLAG_DEFAULT constants |
static java.lang.String |
FLAG_DONE constants |
static java.lang.String |
FLAG_ENGLISH constants |
static java.lang.String |
FLAG_STORE constants |
static java.lang.Integer |
LANGUAGE_EN_US default language constant |
static java.lang.String |
PARAMETER_LANGUAGE_ID constants |
static java.lang.String |
PARAMETER_POLICY_ID constants |
Fields inherited from class com.ibm.commerce.beans. SmartDataBeanImpl |
commandContext,
COPYRIGHT |
Fields inherited from class com.ibm.commerce.beans. InputDataBeanImpl |
requestProperties |
Fields inherited from interface com.ibm.commerce.beans. DataBean |
emptyString |
Constructor Summary | |
---|---|
PolicyDataBean() |
Method Summary | |
---|---|
java.sql.Timestamp |
getEndDate() Get the end date of the business policy |
java.lang.Long |
getId() Get the identifier of the business policy |
java.lang.Integer |
getLanguageId() Get the language identifier of the business policy |
java.lang.String |
getLongDescription() Get the long description of the business policy |
java.lang.String |
getPolicyName() Get the name of the business policy |
java.lang.String |
getPolicyType() Get the type of the business policy |
java.lang.String |
getProperties() Get the properties of the business policy |
java.lang.String |
getShortDescription() Get the short description of the business policy |
java.sql.Timestamp |
getStartDate() Get the start date of the business policy |
java.lang.Integer |
getStoreEntId() Get the store identifier of the business policy |
java.lang.String |
getStoreIdentity() Get the store identify of the business policy |
java.lang.String |
getStoreMemberId() Get the store member identifier of the business policy |
java.sql.Timestamp |
getTimeCreated() Get the creation time of the business policy |
java.sql.Timestamp |
getTimeUpdated() Get the update time of the business policy |
void |
populate() Populates the databean with elements. |
void |
setEndDate(java.sql.Timestamp endDate) Set the end date of the business policy |
void |
setId(java.lang.Long id) Set the identifier of the business policy |
void |
setLanguageId(java.lang.Integer languageId) Set the language identifier for the data of the business policy |
void |
setLongDescription(java.lang.String longDescription) Set the long description of the business policy |
void |
setPolicyName(java.lang.String policyName) Set the policy name of the business policy |
void |
setPolicyType(java.lang.String policyType) Set the policy type of the business policy |
void |
setProperties(java.lang.String properties) Set the properties of the business policy |
void |
setShortDescription(java.lang.String shortDescription) Set the short description of the business policy |
void |
setStartDate(java.sql.Timestamp startDate) Set the start date of the business policy |
void |
setStoreEntId(java.lang.Integer storeEntId) Set the store entity identifier of the business policy |
void |
setStoreIdentity(java.lang.String storeIdentity) Set the store identity of the business policy |
void |
setStoreMemberId(java.lang.Long id) Set the store member identifer of the owner of the business policy |
void |
setTimeCreated(java.sql.Timestamp timeCreated) Set the creation time of the business policy |
void |
setTimeUpdated(java.sql.Timestamp timeUpdated) Set the update time of the business policy |
Methods inherited from class com.ibm.commerce.beans. SmartDataBeanImpl |
fulfills,
getCommandContext,
getResources,
setCommandContext |
Methods inherited from class com.ibm.commerce.beans. InputDataBeanImpl |
getRequestProperties,
setRequestProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.beans. InputDataBean |
getRequestProperties,
setRequestProperties |
Field Detail |
---|
public static final java.lang.String PARAMETER_POLICY_ID
public static final java.lang.String PARAMETER_LANGUAGE_ID
public static final java.lang.String FLAG_DEFAULT
public static final java.lang.String FLAG_STORE
public static final java.lang.String FLAG_ENGLISH
public static final java.lang.String FLAG_DONE
public static final java.lang.Integer LANGUAGE_EN_US
protected java.lang.Long _id
protected java.lang.String _policyName
protected java.lang.String _policyType
protected java.sql.Timestamp _startDate
protected java.sql.Timestamp _endDate
protected java.lang.Integer _storeEntId
protected java.lang.String _storeIdentity
protected java.lang.Long _storeMemberId
protected java.lang.String _properties
protected java.lang.Integer _languageId
protected java.lang.String _shortDescription
protected java.lang.String _longDescription
protected java.sql.Timestamp _timeCreated
protected java.sql.Timestamp _timeUpdated
Constructor Detail |
---|
public PolicyDataBean()
Method Detail |
---|
public java.sql.Timestamp getEndDate()
public java.lang.Long getId()
public java.lang.Integer getLanguageId()
public java.lang.String getLongDescription()
public java.lang.String getPolicyName()
public java.lang.String getPolicyType()
public java.lang.String getProperties()
public java.lang.String getShortDescription()
public java.sql.Timestamp getStartDate()
public java.lang.Integer getStoreEntId()
public java.lang.String getStoreIdentity()
public java.lang.String getStoreMemberId()
public java.sql.Timestamp getTimeCreated()
public java.sql.Timestamp getTimeUpdated()
public void populate() throws java.lang.Exception
SmartDataBeanImpl
populate
in interface
SmartDataBean
populate
in class
SmartDataBeanImpl
java.lang.Exception
- should not happen since there is no data
retrieved to populate the databean.public void setEndDate(java.sql.Timestamp endDate)
endDate
- Timestamppublic void setId(java.lang.Long id)
id
- Longpublic void setLanguageId(java.lang.Integer languageId)
public void setLongDescription(java.lang.String longDescription)
public void setPolicyName(java.lang.String policyName)
public void setPolicyType(java.lang.String policyType)
public void setProperties(java.lang.String properties)
properties
- Stringpublic void setShortDescription(java.lang.String shortDescription)
shortDescription
- Stringpublic void setStartDate(java.sql.Timestamp startDate)
startDate
- Timestamppublic void setStoreEntId(java.lang.Integer storeEntId)
storeEntId
- Integerpublic void setStoreIdentity(java.lang.String storeIdentity)
storeIdentity
- Stringpublic void setStoreMemberId(java.lang.Long id)
id
- Longpublic void setTimeCreated(java.sql.Timestamp timeCreated)
timeCreated
- Timestamppublic void setTimeUpdated(java.sql.Timestamp timeUpdated)
timeUpdated
- Timestamp