com.ibm.commerce.member.dataobjects

Class UserDemographicsDO



  • public class UserDemographicsDO
    extends DOBase
    Sync helper data object class, called by UserSyncBean to read/write data from/to the "USERDEMO" database table.
    • Field Detail

      • CLASSNAME

        public static final java.lang.String CLASSNAME
        The name of the class
      • COPYRIGHT

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

      • UserDemographicsDO

        public UserDemographicsDO()
    • Method Detail

      • getDOName

        public java.lang.String getDOName()
        Gets the name of the class.
        Specified by:
        getDOName in class DOBase
        Returns:
        the name of the class.
      • read

        public TypedProperty read()
                           throws javax.persistence.NoResultException,
                                  ECException
        Reads the data attributes from the database.
        Specified by:
        read in class DOBase
        Returns:
        the data as output properties.
        Throws:
        javax.persistence.NoResultException
        ECException
      • write

        public void write(TypedProperty tpProperties)
                   throws javax.persistence.NoResultException,
                          ECException
        Persists the changed properties to the database.
        Specified by:
        write in class DOBase
        Parameters:
        tpProperties - the input properties.
        Throws:
        javax.persistence.NoResultException
        ECException