com.ibm.commerce.tools.contract.beans
Class PolicyDataBean

java.lang.Object
  |
  +--com.ibm.commerce.beans.InputDataBeanImpl
        |
        +--com.ibm.commerce.beans.SmartDataBeanImpl
              |
              +--com.ibm.commerce.tools.contract.beans.PolicyDataBean
All Implemented Interfaces:
DataBean, InputDataBean, java.io.Serializable, SmartDataBean

public class PolicyDataBean
extends SmartDataBeanImpl

Retrieve all the data associated with an policy. Set the policy and language identifiers in order to populate the bean.

See Also:
Serialized Form

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

PARAMETER_POLICY_ID

public static final java.lang.String PARAMETER_POLICY_ID
constants
See Also:
Constant Field Values

PARAMETER_LANGUAGE_ID

public static final java.lang.String PARAMETER_LANGUAGE_ID
constants
See Also:
Constant Field Values

FLAG_DEFAULT

public static final java.lang.String FLAG_DEFAULT
constants
See Also:
Constant Field Values

FLAG_STORE

public static final java.lang.String FLAG_STORE
constants
See Also:
Constant Field Values

FLAG_ENGLISH

public static final java.lang.String FLAG_ENGLISH
constants
See Also:
Constant Field Values

FLAG_DONE

public static final java.lang.String FLAG_DONE
constants
See Also:
Constant Field Values

LANGUAGE_EN_US

public static final java.lang.Integer LANGUAGE_EN_US
default language constant

_id

protected java.lang.Long _id

_policyName

protected java.lang.String _policyName

_policyType

protected java.lang.String _policyType

_startDate

protected java.sql.Timestamp _startDate

_endDate

protected java.sql.Timestamp _endDate

_storeEntId

protected java.lang.Integer _storeEntId

_storeIdentity

protected java.lang.String _storeIdentity

_storeMemberId

protected java.lang.Long _storeMemberId

_properties

protected java.lang.String _properties

_languageId

protected java.lang.Integer _languageId

_shortDescription

protected java.lang.String _shortDescription

_longDescription

protected java.lang.String _longDescription

_timeCreated

protected java.sql.Timestamp _timeCreated

_timeUpdated

protected java.sql.Timestamp _timeUpdated
Constructor Detail

PolicyDataBean

public PolicyDataBean()
Method Detail

getEndDate

public java.sql.Timestamp getEndDate()
Get the end date of the business policy
Returns:
java.sql.Timestamp

getId

public java.lang.Long getId()
Get the identifier of the business policy
Returns:
Long

getLanguageId

public java.lang.Integer getLanguageId()
Get the language identifier of the business policy
Returns:
Integer

getLongDescription

public java.lang.String getLongDescription()
Get the long description of the business policy
Returns:
String

getPolicyName

public java.lang.String getPolicyName()
Get the name of the business policy
Returns:
String

getPolicyType

public java.lang.String getPolicyType()
Get the type of the business policy
Returns:
String

getProperties

public java.lang.String getProperties()
Get the properties of the business policy
Returns:
String

getShortDescription

public java.lang.String getShortDescription()
Get the short description of the business policy
Returns:
String

getStartDate

public java.sql.Timestamp getStartDate()
Get the start date of the business policy
Returns:
java.sql.Timestamp

getStoreEntId

public java.lang.Integer getStoreEntId()
Get the store identifier of the business policy
Returns:
Integer

getStoreIdentity

public java.lang.String getStoreIdentity()
Get the store identify of the business policy
Returns:
String

getStoreMemberId

public java.lang.String getStoreMemberId()
Get the store member identifier of the business policy
Returns:
String

getTimeCreated

public java.sql.Timestamp getTimeCreated()
Get the creation time of the business policy
Returns:
java.sql.Timestamp

getTimeUpdated

public java.sql.Timestamp getTimeUpdated()
Get the update time of the business policy
Returns:
java.sql.Timestamp

populate

public void populate()
              throws java.lang.Exception
Description copied from class: SmartDataBeanImpl
Populates the databean with elements.
Specified by:
populate in interface SmartDataBean
Overrides:
populate in class SmartDataBeanImpl
Throws:
java.lang.Exception - should not happen since there is no data retrieved to populate the databean.

setEndDate

public void setEndDate(java.sql.Timestamp endDate)
Set the end date of the business policy
Parameters:
endDate - Timestamp

setId

public void setId(java.lang.Long id)
Set the identifier of the business policy
Parameters:
id - Long

setLanguageId

public void setLanguageId(java.lang.Integer languageId)
Set the language identifier for the data of the business policy

setLongDescription

public void setLongDescription(java.lang.String longDescription)
Set the long description of the business policy

setPolicyName

public void setPolicyName(java.lang.String policyName)
Set the policy name of the business policy

setPolicyType

public void setPolicyType(java.lang.String policyType)
Set the policy type of the business policy

setProperties

public void setProperties(java.lang.String properties)
Set the properties of the business policy
Parameters:
properties - String

setShortDescription

public void setShortDescription(java.lang.String shortDescription)
Set the short description of the business policy
Parameters:
shortDescription - String

setStartDate

public void setStartDate(java.sql.Timestamp startDate)
Set the start date of the business policy
Parameters:
startDate - Timestamp

setStoreEntId

public void setStoreEntId(java.lang.Integer storeEntId)
Set the store entity identifier of the business policy
Parameters:
storeEntId - Integer

setStoreIdentity

public void setStoreIdentity(java.lang.String storeIdentity)
Set the store identity of the business policy
Parameters:
storeIdentity - String

setStoreMemberId

public void setStoreMemberId(java.lang.Long id)
Set the store member identifer of the owner of the business policy
Parameters:
id - Long

setTimeCreated

public void setTimeCreated(java.sql.Timestamp timeCreated)
Set the creation time of the business policy
Parameters:
timeCreated - Timestamp

setTimeUpdated

public void setTimeUpdated(java.sql.Timestamp timeUpdated)
Set the update time of the business policy
Parameters:
timeUpdated - Timestamp