public interface IServiceContractDAO
| Modifier and Type | Method and Description |
|---|---|
void |
close(ServiceContract serviceContract,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteFromClientApp(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
insert(ServiceContract serviceContract,
int clientApplicationId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Optional<ServiceContract> |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<ServiceContract> |
loadFromClientApplication(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
List<ServiceContract> |
selectActiveServiceContract(String clientCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
List<ServiceContract> |
selectAllServiceContractsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the service contracts and returns them as a list
|
List<Integer> |
selectFilterdIdServiceContractsList(Map<String,String> params,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
List<Integer> |
selectIdServiceContractsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the serviceContract objects and returns them as a list
|
List<ServiceContract> |
selectServiceContractBetweenDate(fr.paris.lutece.portal.service.plugin.Plugin plugin,
Date startingDate,
Date endingDate)
Load the data of all the service contracts between two date and returns them as a list
|
List<org.apache.commons.lang3.tuple.ImmutablePair<ServiceContract,String>> |
selectServiceContractsListByIds(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
|
void |
store(ServiceContract serviceContract,
int clientApplicationId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
static final String BEAN_NAME
void insert(ServiceContract serviceContract, int clientApplicationId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
serviceContract - instance of the ServiceContract object to insertplugin - the Pluginvoid deleteFromClientApp(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
void store(ServiceContract serviceContract, int clientApplicationId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
serviceContract - the reference of the ServiceContractplugin - the PluginList<ServiceContract> loadFromClientApplication(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the ServiceContract to deleteplugin - the PluginOptional<ServiceContract> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the serviceContractplugin - the PluginList<Integer> selectIdServiceContractsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<org.apache.commons.lang3.tuple.ImmutablePair<ServiceContract,String>> selectServiceContractsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds)
plugin - the PluginlistIds - liste of idsList<ServiceContract> selectServiceContractBetweenDate(fr.paris.lutece.portal.service.plugin.Plugin plugin, Date startingDate, Date endingDate)
plugin - the PluginstartingDate - starting date of the contractendingDate - ending date of the contractList<ServiceContract> selectAllServiceContractsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginList<ServiceContract> selectActiveServiceContract(String clientCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
void close(ServiceContract serviceContract, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copyright © 2024 City of Paris. All rights reserved.