com.ibm.commerce.user.beans

Class PolicyAccountDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, Delegator, com.ibm.commerce.user.beans.PolicyAccountInputDataBean, com.ibm.commerce.user.beans.PolicyAccountSmartDataBean, java.io.Serializable


    public class PolicyAccountDataBean
    extends com.ibm.commerce.user.beansrc.PolicyAccountDataBeanBase
    implements com.ibm.commerce.user.beans.PolicyAccountInputDataBean, com.ibm.commerce.user.beans.PolicyAccountSmartDataBean
    This data bean displays information about user account policies that consist of an acount lockout policy and a password policy.
    See Also:
    Serialized Form
    • Field Detail

      • CLASSNAME

        public static final java.lang.String CLASSNAME
        The name of the class.
        See Also:
        Constant Field Values
      • COPYRIGHT

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

      • PolicyAccountDataBean

        public PolicyAccountDataBean()
    • Method Detail

      • getCommandContext

        public CommandContext getCommandContext()
        Gets the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        com.ibm.commerce.command.CommandContext
      • getDataBeanKeyIPolicyAccountId

        public java.lang.String getDataBeanKeyIPolicyAccountId()
        Gets the key (policy account ID) of this data bean.
        Specified by:
        getDataBeanKeyIPolicyAccountId in interface com.ibm.commerce.user.beans.PolicyAccountSmartDataBean
        Returns:
        The key of this data bean.
      • getDescription

        public java.lang.String getDescription(PolicyAccountAccessBean paab)
        The description of the policy account for the language ID set in the command context.
        Parameters:
        paab - The policy account access bean object.
        Returns:
        The description of the policy account for the language ID set in the command context.
      • getPolicyAcct

        public java.util.Vector getPolicyAcct()
        Gets policy accounts
        Returns:
        A vector contains the information related to this policy account. i.e. policy account ID, description, lockout description, etc.
      • populate

        public void populate()
        Retrieves data from the database.
        Specified by:
        populate in interface SmartDataBean
        Throws:
        java.lang.Exception
      • setCommandContext

        public void setCommandContext(CommandContext aCommandContext)
        Sets the command context within this bean.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        aCommandContext - com.ibm.commerce.command.CommandContext
      • setDataBeanKeyIPolicyAccountId

        public void setDataBeanKeyIPolicyAccountId(java.lang.String aIPolicyAccountId)
        Sets the key of the bean (the account policy ID).
        Specified by:
        setDataBeanKeyIPolicyAccountId in interface com.ibm.commerce.user.beans.PolicyAccountInputDataBean
        Parameters:
        aIPolicyAccountId - The account policy ID.
      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        Sets the request property within this bean.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aRequestProperty - The request properties.