Class PolicyByNameTypeAndStoreDataBean

  • All Implemented Interfaces:,,,

    public class PolicyByNameTypeAndStoreDataBean
    extends PolicyDataBean
    This data bean represents a business policy object. This data bean is used to retrieve policyId based on store id, name and type.

    Mandatory Parameters (for single row retrieval):

    • storeId policyName policyType dataBeanLanguageId

    Some hints and tips for using this data bean are:

    • It is important to set the name value, the type value, store id and the language id before activating the data bean
    • You can set parameters using setters

    See Also:
    Serialized Form
    • Field Detail


        public static final java.lang.String COPYRIGHT
        The IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PolicyByNameTypeAndStoreDataBean

        public PolicyByNameTypeAndStoreDataBean()
    • Method Detail

      • getDataBeanLanguageId

        public java.lang.String getDataBeanLanguageId()
        This method returns the language id used to populate the data bean.
      • getPolicyId

        public java.lang.String getPolicyId()
        This method returns the policy id.
      • getStoreId

        public java.lang.String getStoreId()
        This method returns the store id.
      • populate

        public void populate()
                      throws java.lang.Exception
        This method uses BusinessPolicyAccessBean and populates the policy id and policy description. The policy id and policy description can then be retrieved using the getter methods.
        Specified by:
        populate in interface
        populate in class PolicyDataBean
        java.lang.Exception - This is thrown if there is a problem populating the data bean with data.
      • setDataBeanLanguageId

        public void setDataBeanLanguageId(java.lang.String languageId)
        This method sets the language id.
        languageId - the language id used to populate the data bean.
      • setPolicyId

        public void setPolicyId(java.lang.String aPolicyId)
        This method sets the policy id.
        aPolicyId - the policy id.
      • setStoreId

        public void setStoreId(java.lang.String aStoreId)
        This method sets the store id.
        aStoreId - the store id.