Class ServiceContractService
java.lang.Object
fr.paris.lutece.plugins.identitystore.v3.web.service.ServiceContractService
Service regarding service contracts.
-
Constructor Summary
ConstructorsConstructorDescriptionSimple constructor.ServiceContractService(IServiceContractTransportProvider transportProvider) Constructor with transport provider in parameters -
Method Summary
Modifier and TypeMethodDescriptionfr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractSearchResponsegetActiveServiceContract(String strTargetClientCode, String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author) Get the active service contract associated to the given client code.voidsetTransportProvider(IServiceContractTransportProvider transportProvider) setter of transportProvider parameter
-
Constructor Details
-
ServiceContractService
public ServiceContractService()Simple constructor. -
ServiceContractService
Constructor with transport provider in parameters- Parameters:
transportProvider- IServiceContractTransportProvider
-
-
Method Details
-
setTransportProvider
setter of transportProvider parameter- Parameters:
transportProvider- IServiceContractTransportProvider
-
getActiveServiceContract
public fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.contract.ServiceContractSearchResponse getActiveServiceContract(String strTargetClientCode, String strClientCode, fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.common.RequestAuthor author) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException Get the active service contract associated to the given client code.- Parameters:
strTargetClientCode- the client code.strClientCode- client code of calling applicationauthor- the author of the request- Returns:
- ServiceContractSearchResponse
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-