Class BatchRestService

java.lang.Object
fr.paris.lutece.plugins.identityimport.web.rs.BatchRestService

@Path("/rest/identitystore/v3/batch") public class BatchRestService extends Object
BatchRest
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.ws.rs.core.Response
    getBacthStatus(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 batch
    javax.ws.rs.core.Response
    importBatch(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.importing.BatchImportRequest importRequest, String strHeaderClientCode, String authorName, String authorType, String strHeaderAppCode)
    Create Batch

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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