Class OrganizationEndpoint

java.lang.Object
org.opencastproject.kernel.security.OrganizationEndpoint

@Path("/org") public class OrganizationEndpoint extends Object
Provides access to the organizations served by this Opencast instance.
  • Field Details

    • orgDirectoryService

      protected org.opencastproject.security.api.OrganizationDirectoryService orgDirectoryService
      The organization directory
  • Constructor Details

    • OrganizationEndpoint

      public OrganizationEndpoint()
  • Method Details

    • getOrganizationsAsXml

      @GET @Path("all.xml") @Produces("text/xml") public org.opencastproject.security.api.JaxbOrganizationList getOrganizationsAsXml()
    • getOrganizationsAsJson

      @GET @Path("all.json") @Produces("application/json") public org.opencastproject.security.api.JaxbOrganizationList getOrganizationsAsJson()
    • getOrganizationAsXml

      @GET @Path("{id}.xml") @Produces("text/xml") public org.opencastproject.security.api.JaxbOrganization getOrganizationAsXml(@PathParam("id") String id)
    • getOrganizationAsJson

      @GET @Path("{id}.json") @Produces("application/json") public org.opencastproject.security.api.JaxbOrganization getOrganizationAsJson(@PathParam("id") String id)
    • setOrgDirectoryService

      public void setOrgDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService orgDirectoryService)
      Parameters:
      orgDirectoryService - the orgDirectoryService to set