public final class IdentityDAO extends Object implements IIdentityDAO
| Constructor and Description |
|---|
IdentityDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Identity identity,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Identity |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
int |
newCustomerIdKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new customerId key
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
Identity |
selectByConnectionId(String strConnectionId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find by connection ID
|
Identity |
selectByCustomerId(int nCustomerId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find by customer ID
|
List<Integer> |
selectCustomerIdsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the customer id of all the identity objects and returns them as a list
|
List<Identity> |
selectIdentitysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the identity objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectIdentitysReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the identity objects and returns them as a
referenceList
|
void |
store(Identity identity,
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)
plugin - The Pluginpublic int newCustomerIdKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Pluginpublic void insert(Identity identity, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IIdentityDAOidentity - instance of the Identity object to insertplugin - the Pluginpublic Identity load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IIdentityDAOnKey - The identifier of the identityplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IIdentityDAOnKey - The identifier of the Identity to deleteplugin - the Pluginpublic void store(Identity identity, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IIdentityDAOidentity - the reference of the Identityplugin - the Pluginpublic List<Identity> selectIdentitysList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdentitysList in interface IIdentityDAOplugin - the Pluginpublic List<Integer> selectCustomerIdsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCustomerIdsList in interface IIdentityDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectIdentitysReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdentitysReferenceList in interface IIdentityDAOplugin - the Pluginpublic Identity selectByConnectionId(String strConnectionId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IIdentityDAOselectByConnectionId in interface IIdentityDAOstrConnectionId - The connection IDplugin - The pluginpublic Identity selectByCustomerId(int nCustomerId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IIdentityDAOselectByCustomerId in interface IIdentityDAOnCustomerId - The customerIDplugin - The pluginCopyright © 2016 City of Paris. All rights reserved.