Interface LanguageResource


  • @Produces("application/json")
    @Consumes("application/json")
    @Path("language")
    public interface LanguageResource
    Resource to manage cms languages
    • Method Detail

      • list

        @GET
        LanguageList list​(@BeanParam
                          FilterParameterBean filter,
                          @BeanParam
                          SortParameterBean sorting,
                          @BeanParam
                          PagingParameterBean paging)
                   throws Exception
        Load a list of languages.
        The result can be filtered by
        • id
        • globalId
        • name
        • code
        and sorted by
        • id
        • globalId
        • name
        • code
        Parameters:
        filter - filter parameters
        sorting - sorting parameters
        paging - paging parameters
        Returns:
        response containing a list of languages
        Throws:
        Exception
      • delete

        @DELETE
        @Path("/{id}")
        javax.ws.rs.core.Response delete​(@PathParam("id")
                                         String id)
                                  throws Exception
        Delete the language with given ID
        Parameters:
        id - language ID
        Returns:
        empty response
        Throws:
        Exception