Class CRMUserService


  • public class CRMUserService
    extends Object
    CRMUserService
    • Method Detail

      • getService

        public static CRMUserService getService()
        Get the instance of CRMUserService
        Returns:
        the instance of CRMUserService
      • setCRMUserAttributesService

        public void setCRMUserAttributesService​(CRMUserAttributesService crmUserAttributesService)
        Set the crm user attributes service
        Parameters:
        crmUserAttributesService - the crm user attributes service
      • findByPrimaryKey

        public CRMUser findByPrimaryKey​(int nIdCRMUser)
        Find by primary key
        Parameters:
        nIdCRMUser - the id crm user
        Returns:
        a CRMUser
      • findByUserGuid

        public CRMUser findByUserGuid​(String strUserGuid)
        Find from a given user guid
        Parameters:
        strUserGuid - the user guid
        Returns:
        a CRMUser
      • findListIdsByFilter

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

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

        public int create​(CRMUser user)
        Create a new CRMUser
        Parameters:
        user - the CRMUser
        Returns:
        the new primary key
      • remove

        public void remove​(int nIdCRMUser)
        Remove a CRMUser
        Parameters:
        nIdCRMUser - the id crm user