com.ibm.commerce.user.beans

Class OrganizationDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, Delegator, Protectable, com.ibm.commerce.user.beans.OrganizationInputDataBean, com.ibm.commerce.user.beans.OrganizationSmartDataBean, java.io.Serializable


    public class OrganizationDataBean
    extends com.ibm.commerce.user.beansrc.OrganizationDataBeanBase
    implements com.ibm.commerce.user.beans.OrganizationInputDataBean, com.ibm.commerce.user.beans.OrganizationSmartDataBean
    This data bean displays information about an organizational entity (ORGENTITY). An organizational entity is either an organization or an organization unit. Authorization domains can also be displayed with this data bean.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • OrganizationDataBean

        public OrganizationDataBean()
    • Method Detail

      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        Sets the request property within this bean.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aRequestProperty - com.ibm.commerce.datatype.TypedProperty
      • getDataBeanKeyMemberId

        public java.lang.String getDataBeanKeyMemberId()
        Gets the key (member id) of this data bean.
        Specified by:
        getDataBeanKeyMemberId in interface com.ibm.commerce.user.beans.OrganizationSmartDataBean
        Returns:
        The key of this data bean.
      • getCommandContext

        public CommandContext getCommandContext()
        Gets the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        com.ibm.commerce.command.CommandContext
      • 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
      • setDataBeanKeyMemberId

        public void setDataBeanKeyMemberId(java.lang.String aMemberId)
        Sets the key(member id) of this data bean.
        Specified by:
        setDataBeanKeyMemberId in interface com.ibm.commerce.user.beans.OrganizationInputDataBean
        Parameters:
        aMemberId - The key of this data bean.
      • populate

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

        public static java.lang.String getOrganizationRDNAttributeName()
        Get the relative distinguished name attribute for organizations. The default value is 'o', but this can be customized if WMM is used.
        Returns:
        The RDN attribute name for organizations.
      • getOrganizationalUnitRDNAttributeName

        public static java.lang.String getOrganizationalUnitRDNAttributeName()
        Get the relative distinguished name attribute for organizational units. The default value is 'ou', but this can be customized if WMM is used.
        Returns:
        The RDN attribute name for organizational units.
      • getContactInfo

        public AddressDataBean getContactInfo()
        Get the contact information (i.e. self address) of the organization.
        Returns:
        The contact information of the organization
      • getAddressBook

        public AddressDataBean[] getAddressBook()
        Get the address book of the organization.
        Returns:
        The address book of the organization