All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sistcoop.admin.client.resource.OrganizationsResource Maven / Gradle / Ivy

There is a newer version: 1.1.3.Final
Show newest version
package org.sistcoop.admin.client.resource;

import org.openfact.representations.idm.OrganizationRepresentation;

import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;
import java.util.List;

@Path("/admin/organizations")
@Consumes(MediaType.APPLICATION_JSON)
public interface OrganizationsResource {

    @Path("/{organization}")
    OrganizationResource organization(@PathParam("organization") String organization);

    @POST
    @Consumes(MediaType.APPLICATION_JSON)
    void create(OrganizationRepresentation organizationRepresentation);

    @GET
    @Produces(MediaType.APPLICATION_JSON)
    List findAll();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy