com.ibm.commerce.member.dataobjects

Class UserDO



  • public class UserDO
    extends DOBase
    Sync helper data object class, called by UserSyncBean to read/write data from/to the "USERS" 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

      • UserDO

        public UserDO()
    • Method Detail

      • getDOName

        public java.lang.String getDOName()
        Get the sync helper name
        Specified by:
        getDOName in class DOBase
        Returns:
        String 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 a TypedProperty.
        Throws:
        javax.persistence.NoResultException
        ECException
      • write

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