Class ClientApplicationDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.business.application.ClientApplicationDAO
-
- All Implemented Interfaces:
IClientApplicationDAO
public final class ClientApplicationDAO extends java.lang.Object implements IClientApplicationDAO
This class provides Data Access methods for ClientApplication objects
-
-
Field Summary
-
Fields inherited from interface fr.paris.lutece.plugins.identitystore.business.application.IClientApplicationDAO
BEAN_NAME
-
-
Constructor Summary
Constructors Constructor Description ClientApplicationDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablejava.util.List<ClientApplication>getClientApplications(java.lang.String strCertifier, fr.paris.lutece.portal.service.plugin.Plugin plugin)Retrieve ClientApplication allowed for a given certifiervoidinsert(ClientApplication clientApplication, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.ClientApplicationload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<ClientApplication>selectByApplicationCode(java.lang.String strApplicationCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)ClientApplicationselectByClientCode(java.lang.String strClientCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)Select a ClientApplication by its codeClientApplicationselectByContractId(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)java.util.List<ClientApplication>selectClientApplicationList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the ClientApplication objects and returns them as a listfr.paris.lutece.util.ReferenceListselectClientApplicationReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the ClientApplication objects and returns them as a referenceListjava.util.List<java.lang.Integer>selectIdClientApplicationList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the ClientApplication objects and returns them as a listvoidstore(ClientApplication clientApplication, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(ClientApplication clientApplication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Specified by:
insertin interfaceIClientApplicationDAO- Parameters:
clientApplication- instance of the ClientApplication object to insertplugin- the Plugin
-
load
public ClientApplication load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Specified by:
loadin interfaceIClientApplicationDAO- Parameters:
nKey- The identifier of the ClientApplicationplugin- the Plugin- Returns:
- The instance of the ClientApplication
-
selectByContractId
public ClientApplication selectByContractId(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
- Specified by:
selectByContractIdin interfaceIClientApplicationDAO
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Specified by:
deletein interfaceIClientApplicationDAO- Parameters:
nKey- The identifier of the ClientApplication to deleteplugin- the Plugin
-
store
public void store(ClientApplication clientApplication, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Specified by:
storein interfaceIClientApplicationDAO- Parameters:
clientApplication- the reference of the ClientApplicationplugin- the Plugin
-
selectClientApplicationList
public java.util.List<ClientApplication> selectClientApplicationList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the ClientApplication objects and returns them as a list- Specified by:
selectClientApplicationListin interfaceIClientApplicationDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the ClientApplication objects
-
selectIdClientApplicationList
public java.util.List<java.lang.Integer> selectIdClientApplicationList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the ClientApplication objects and returns them as a list- Specified by:
selectIdClientApplicationListin interfaceIClientApplicationDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the ClientApplication objects
-
selectClientApplicationReferenceList
public fr.paris.lutece.util.ReferenceList selectClientApplicationReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the ClientApplication objects and returns them as a referenceList- Specified by:
selectClientApplicationReferenceListin interfaceIClientApplicationDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the ClientApplication objects
-
selectByClientCode
public ClientApplication selectByClientCode(java.lang.String strClientCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select a ClientApplication by its code- Specified by:
selectByClientCodein interfaceIClientApplicationDAO- Parameters:
strClientCode- The codeplugin- The plugin- Returns:
- The ClientApplication
-
getClientApplications
public java.util.List<ClientApplication> getClientApplications(java.lang.String strCertifier, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Retrieve ClientApplication allowed for a given certifier- Specified by:
getClientApplicationsin interfaceIClientApplicationDAO- Parameters:
strCertifier- The identifier of the certifierplugin- The plugin- Returns:
- list of allowed ClientApplication
-
selectByApplicationCode
public java.util.List<ClientApplication> selectByApplicationCode(java.lang.String strApplicationCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
- Specified by:
selectByApplicationCodein interfaceIClientApplicationDAO
-
-