|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.crm.business.user.CRMUserDAO
public class CRMUserDAO
CRMUserDAO
Constructor Summary | |
---|---|
CRMUserDAO()
|
Method Summary | |
---|---|
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(java.lang.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 |
void |
store(CRMUser user,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CRMUserDAO()
Method Detail |
---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey
in interface ICRMUserDAO
plugin
- The Plugin
public 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 Plugin
public CRMUser load(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface ICRMUserDAO
nIdCRMUser
- The identifier of the CRMUserplugin
- the Plugin
public CRMUser loadByUserGuid(java.lang.String strUserGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByUserGuid
in interface ICRMUserDAO
strUserGuid
- the user guidplugin
- the Plugin
public 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 Plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |