public class CRMUserDAO extends Object implements ICRMUserDAO
Constructor and Description |
---|
CRMUserDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdCRMUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
int |
insert(CRMUser user,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
CRMUser |
load(int nIdCRMUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
CRMUser |
loadByUserGuid(String strUserGuid,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from a given user guid
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
List<CRMUser> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find all.
|
List<CRMUser> |
selectByListIds(List<Integer> listIdsCRMUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select by list ids.
|
List<Integer> |
selectListIdsCRMUserByFilter(CRMUserFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find list ids crm user by filter.
|
void |
store(CRMUser user,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey
in interface ICRMUserDAO
plugin
- The Pluginpublic int insert(CRMUser user, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface ICRMUserDAO
user
- instance of the CRMUser object to insertplugin
- the Pluginpublic CRMUser load(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface ICRMUserDAO
nIdCRMUser
- The identifier of the CRMUserplugin
- the Pluginpublic CRMUser loadByUserGuid(String strUserGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByUserGuid
in interface ICRMUserDAO
strUserGuid
- the user guidplugin
- the Pluginpublic void store(CRMUser user, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface ICRMUserDAO
user
- the reference of the CRMUserplugin
- the Pluginpublic void delete(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface ICRMUserDAO
nIdCRMUser
- int identifier of the CRMUser to deleteplugin
- the Pluginpublic List<CRMUser> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll
in interface ICRMUserDAO
plugin
- the pluginpublic List<Integer> selectListIdsCRMUserByFilter(CRMUserFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListIdsCRMUserByFilter
in interface ICRMUserDAO
filter
- the filterplugin
- the pluginpublic List<CRMUser> selectByListIds(List<Integer> listIdsCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByListIds
in interface ICRMUserDAO
listIdsCRMUser
- the list ids crm userplugin
- the pluginCopyright © 2019 City of Paris. All rights reserved.