Class BatchRestService
java.lang.Object
fr.paris.lutece.plugins.identityimport.web.rs.BatchRestService
BatchRest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsegetBacthStatus(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.importing.BatchStatusRequest statusRequest, String strHeaderClientCode, String authorName, String authorType, String strHeaderAppCode) Get the status of the batchjavax.ws.rs.core.ResponseimportBatch(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.importing.BatchImportRequest importRequest, String strHeaderClientCode, String authorName, String authorType, String strHeaderAppCode) Create Batch
-
Constructor Details
-
BatchRestService
public BatchRestService()
-
-
Method Details
-
importBatch
@POST @Path("") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response importBatch(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.importing.BatchImportRequest importRequest, @HeaderParam("client_code") String strHeaderClientCode, @HeaderParam("author_name") String authorName, @HeaderParam("author_type") String authorType, @HeaderParam("application_code") String strHeaderAppCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException Create Batch- Parameters:
importRequest-- Returns:
- Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-
getBacthStatus
@POST @Path("/status") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response getBacthStatus(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.importing.BatchStatusRequest statusRequest, @HeaderParam("client_code") String strHeaderClientCode, @HeaderParam("author_name") String authorName, @HeaderParam("author_type") String authorType, @HeaderParam("application_code") String strHeaderAppCode) throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException Get the status of the batch- Parameters:
statusRequest- the request containing the reference of the batch and the desired mode- Returns:
- a
BatchStatusResponse - Throws:
fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
-