public final class CRMUserHome extends Object
Modifier and Type | Method and Description |
---|---|
static int |
create(CRMUser user)
Insert a new record in the table.
|
static List<CRMUser> |
findAll()
Load the data from the table.
|
static List<CRMUser> |
findByListIds(List<Integer> listIdsCRMUser)
Find by list ids.
|
static CRMUser |
findByPrimaryKey(int nIdCRMUser)
Load the data from the table
|
static CRMUser |
findByUserGuid(String strUserGuid)
Load the data from a given user guid
|
static List<Integer> |
findListIdsCRMUserByFilter(CRMUserFilter filter)
Find list ids crm user by filter.
|
static int |
newPrimaryKey()
Generates a new primary key
|
static void |
remove(int nIdCRMUser)
Delete a record from the table
|
static void |
update(CRMUser user)
Update the record in the table
|
public static int newPrimaryKey()
public static int create(CRMUser user)
user
- instance of the CRMUser object to insertpublic static void update(CRMUser user)
user
- the reference of the CRMUserpublic static void remove(int nIdCRMUser)
nIdCRMUser
- int identifier of the CRMUser to deletepublic static CRMUser findByPrimaryKey(int nIdCRMUser)
nIdCRMUser
- The identifier of the CRMUserpublic static CRMUser findByUserGuid(String strUserGuid)
strUserGuid
- The user guidpublic static List<CRMUser> findAll()
public static List<Integer> findListIdsCRMUserByFilter(CRMUserFilter filter)
filter
- the filterCopyright © 2019 City of Paris. All rights reserved.