Interface ICRMUserDAO
- All Known Implementing Classes:
CRMUserDAO
public interface ICRMUserDAO
ICRMUserDAO
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tableintInsert a new record in the table.load(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableloadByUserGuid(String strUserGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from a given user guidintnewPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin) Generates a new primary keyselectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin) Find all.selectByListIds(List<Integer> listIdsCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select by list ids.selectListIdsCRMUserByFilter(CRMUserFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find list ids crm user by filter.voidUpdate the record in the table
-
Method Details
-
newPrimaryKey
int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin) Generates a new primary key- Parameters:
plugin- The Plugin- Returns:
- The new primary key
-
insert
Insert a new record in the table.- Parameters:
user- instance of the CRMUser object to insertplugin- the Plugin- Returns:
- the key of the newly created notification
-
store
Update the record in the table- Parameters:
user- the reference of the CRMUserplugin- the Plugin
-
delete
void delete(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nIdCRMUser- int identifier of the CRMUser to deleteplugin- the Plugin
-
load
Load the data from the table- Parameters:
nIdCRMUser- The identifier of the CRMUserplugin- the Plugin- Returns:
- The instance of the CRMUser
-
loadByUserGuid
Load the data from a given user guid- Parameters:
strUserGuid- the user guidplugin- the Plugin- Returns:
- The instance of the CRMUser
-
selectAll
Find all.- Parameters:
plugin- the plugin- Returns:
- the list
-
selectListIdsCRMUserByFilter
List<Integer> selectListIdsCRMUserByFilter(CRMUserFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find list ids crm user by filter.- Parameters:
filter- the filterplugin- the plugin- Returns:
- the list
-
selectByListIds
List<CRMUser> selectByListIds(List<Integer> listIdsCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin) Select by list ids.- Parameters:
listIdsCRMUser- the list ids crm userplugin- the plugin- Returns:
- the list
-