Class CRMUserHome
java.lang.Object
fr.paris.lutece.plugins.crm.business.user.CRMUserHome
CRMUserHome
-
Method Summary
Modifier and TypeMethodDescriptionstatic intInsert a new record in the table.findAll()Load the data from the table.findByListIds(List<Integer> listIdsCRMUser) Find by list ids.static CRMUserfindByPrimaryKey(int nIdCRMUser) Load the data from the tablestatic CRMUserfindByUserGuid(String strUserGuid) Load the data from a given user guidFind list ids crm user by filter.static intGenerates a new primary keystatic voidremove(int nIdCRMUser) Delete a record from the tablestatic voidUpdate the record in the table
-
Method Details
-
newPrimaryKey
public static int newPrimaryKey()Generates a new primary key- Returns:
- The new primary key
-
create
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
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
Load the data from the table- Parameters:
nIdCRMUser- The identifier of the CRMUser- Returns:
- The instance of the CRMUser
-
findByUserGuid
Load the data from a given user guid- Parameters:
strUserGuid- The user guid- Returns:
- The instance of the CRMUser
-
findAll
Load the data from the table.- Returns:
- The instance of the CRMUser
-
findListIdsCRMUserByFilter
Find list ids crm user by filter.- Parameters:
filter- the filter- Returns:
- the list
-
findByListIds
Find by list ids.- Parameters:
listIdsCRMUser- the list ids crm user- Returns:
- the list
-