Interface ICandidateIdentityDAO
- All Known Implementing Classes:
CandidateIdentityDAO
public interface ICandidateIdentityDAO
ICandidateIdentityDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionbooleancheckIfOneExists(fr.paris.lutece.portal.service.plugin.Plugin plugin, String batchReference, List<String> externalIds) Check if at least one of the externalIds exists in the batch identified by batchReferencevoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoiddeleteList(List<Integer> idList, fr.paris.lutece.portal.service.plugin.Plugin plugin) List<fr.paris.lutece.plugins.workflowcore.business.resource.ResourceHistory>getHistory(int identityId, fr.paris.lutece.portal.service.plugin.Plugin plugin) voidinsert(CandidateIdentity candidateIdentity, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectCandidateIdentitiesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the candidateIdentity objects and returns them as a listselectCandidateIdentitiesListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, List<Integer> listIds) Load the data of all the avant objects and returns them as a listselectIdCandidateIdentitiesList(int nBatchId, Integer stateId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the candidateIdentity objects and returns them as a listselectIdentityState(int id, fr.paris.lutece.portal.service.plugin.Plugin plugin) selectIdentityStates(int batchId, fr.paris.lutece.portal.service.plugin.Plugin plugin) voidstore(CandidateIdentity candidateIdentity, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Method Details
-
insert
void insert(CandidateIdentity candidateIdentity, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Parameters:
candidateIdentity- instance of the CandidateIdentity object to insertplugin- the Plugin
-
deleteList
-
store
void store(CandidateIdentity candidateIdentity, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table- Parameters:
candidateIdentity- the reference of the CandidateIdentityplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nKey- The identifier of the CandidateIdentity to deleteplugin- the Plugin
-
load
Load the data from the table- Parameters:
nKey- The identifier of the candidateIdentityplugin- the Plugin- Returns:
- The instance of the candidateIdentity
-
selectCandidateIdentitiesList
List<CandidateIdentity> selectCandidateIdentitiesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the candidateIdentity objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the candidateIdentity objects
-
selectIdCandidateIdentitiesList
List<Integer> selectIdCandidateIdentitiesList(int nBatchId, Integer stateId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the candidateIdentity objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the candidateIdentity objects
-
selectCandidateIdentitiesListByIds
List<CandidateIdentity> selectCandidateIdentitiesListByIds(fr.paris.lutece.portal.service.plugin.Plugin _plugin, List<Integer> listIds) Load the data of all the avant objects and returns them as a list- Parameters:
_plugin- the PluginlistIds- liste of ids- Returns:
- The list which contains the data of all the avant objects
-
checkIfOneExists
boolean checkIfOneExists(fr.paris.lutece.portal.service.plugin.Plugin plugin, String batchReference, List<String> externalIds) Check if at least one of the externalIds exists in the batch identified by batchReference- Parameters:
plugin- the pluginbatchReference- the reference of the batchexternalIds- the list of external ids- Returns:
- true if at least one external id exists in the batch
-
selectIdentityStates
List<ResourceState> selectIdentityStates(int batchId, fr.paris.lutece.portal.service.plugin.Plugin plugin) -
getHistory
List<fr.paris.lutece.plugins.workflowcore.business.resource.ResourceHistory> getHistory(int identityId, fr.paris.lutece.portal.service.plugin.Plugin plugin) -
selectIdentityState
-