Class HistoryRestService

  • All Implemented Interfaces:
    IRestService

    @Path("/rest/identitystore/v3/history")
    public class HistoryRestService
    extends java.lang.Object
    implements IRestService
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response getHistory​(java.lang.String strCustomerId, java.lang.String strHeaderClientCode, java.lang.String authorName, java.lang.String authorType, java.lang.String strHeaderAppCode)
      Gives the identity history (identity+attributes) from a customerID
      javax.ws.rs.core.Response searchHistory​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityHistorySearchRequest historySearchRequest, java.lang.String strHeaderClientCode, java.lang.String authorName, java.lang.String authorType, java.lang.String strHeaderAppCode)
      Gives the identity history (identity+attributes) from a search request
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HistoryRestService

        public HistoryRestService()
    • Method Detail

      • getHistory

        @GET
        @Path("{customer_id}")
        @Produces("application/json")
        public javax.ws.rs.core.Response getHistory​(@PathParam("customer_id")
                                                    java.lang.String strCustomerId,
                                                    @HeaderParam("client_code")
                                                    java.lang.String strHeaderClientCode,
                                                    @HeaderParam("author_name")
                                                    java.lang.String authorName,
                                                    @HeaderParam("author_type")
                                                    java.lang.String authorType,
                                                    @HeaderParam("application_code") @DefaultValue("")
                                                    java.lang.String strHeaderAppCode)
                                             throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        Gives the identity history (identity+attributes) from a customerID
        Parameters:
        strCustomerId - customerID
        strHeaderClientCode - client code
        Returns:
        the history
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
      • searchHistory

        @POST
        @Path("/search")
        @Consumes("application/json")
        public javax.ws.rs.core.Response searchHistory​(fr.paris.lutece.plugins.identitystore.v3.web.rs.dto.history.IdentityHistorySearchRequest historySearchRequest,
                                                       @HeaderParam("client_code")
                                                       java.lang.String strHeaderClientCode,
                                                       @HeaderParam("author_name")
                                                       java.lang.String authorName,
                                                       @HeaderParam("author_type")
                                                       java.lang.String authorType,
                                                       @HeaderParam("application_code") @DefaultValue("")
                                                       java.lang.String strHeaderAppCode)
                                                throws fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException
        Gives the identity history (identity+attributes) from a search request
        Parameters:
        historySearchRequest - request
        strHeaderClientCode - client code
        Returns:
        the history
        Throws:
        fr.paris.lutece.plugins.identitystore.web.exception.IdentityStoreException