Class OrganizationEndpoint
java.lang.Object
org.opencastproject.kernel.security.OrganizationEndpoint
Provides access to the organizations served by this Opencast instance.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.opencastproject.security.api.OrganizationDirectoryServiceThe organization directory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opencastproject.security.api.JaxbOrganizationorg.opencastproject.security.api.JaxbOrganizationorg.opencastproject.security.api.JaxbOrganizationListorg.opencastproject.security.api.JaxbOrganizationListvoidsetOrgDirectoryService(org.opencastproject.security.api.OrganizationDirectoryService orgDirectoryService)
-
Field Details
-
orgDirectoryService
protected org.opencastproject.security.api.OrganizationDirectoryService orgDirectoryServiceThe 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
-