Class CRMUserHome


  • public final class CRMUserHome
    extends Object
    CRMUserHome
    • Method Detail

      • newPrimaryKey

        public static int newPrimaryKey()
        Generates a new primary key
        Returns:
        The new primary key
      • create

        public static int create​(CRMUser user)
        Insert a new record in the table.
        Parameters:
        user - instance of the CRMUser object to insert
        Returns:
        the key of the newly created notification
      • update

        public static void update​(CRMUser user)
        Update the record in the table
        Parameters:
        user - the reference of the CRMUser
      • remove

        public static void remove​(int nIdCRMUser)
        Delete a record from the table
        Parameters:
        nIdCRMUser - int identifier of the CRMUser to delete
      • findByPrimaryKey

        public static CRMUser findByPrimaryKey​(int nIdCRMUser)
        Load the data from the table
        Parameters:
        nIdCRMUser - The identifier of the CRMUser
        Returns:
        The instance of the CRMUser
      • findByUserGuid

        public static CRMUser findByUserGuid​(String strUserGuid)
        Load the data from a given user guid
        Parameters:
        strUserGuid - The user guid
        Returns:
        The instance of the CRMUser
      • findAll

        public static List<CRMUser> findAll()
        Load the data from the table.
        Returns:
        The instance of the CRMUser
      • findListIdsCRMUserByFilter

        public static List<Integer> findListIdsCRMUserByFilter​(CRMUserFilter filter)
        Find list ids crm user by filter.
        Parameters:
        filter - the filter
        Returns:
        the list
      • findByListIds

        public static List<CRMUser> findByListIds​(List<Integer> listIdsCRMUser)
        Find by list ids.
        Parameters:
        listIdsCRMUser - the list ids crm user
        Returns:
        the list