public interface OrganizationDirectoryService
| Modifier and Type | Method and Description |
|---|---|
void |
addOrganizationDirectoryListener(OrganizationDirectoryListener listener)
Adds
listener to the list of organization listeners. |
Organization |
getOrganization(String id)
Gets an organization by its identifier.
|
Organization |
getOrganization(URL url)
Gets an organization by request URL.
|
List<Organization> |
getOrganizations()
Gets all registered organizations.
|
void |
removeOrganizationDirectoryListener(OrganizationDirectoryListener listener)
Removes
listener from the list of organization listeners. |
Organization getOrganization(String id) throws NotFoundException
id - the identifierNotFoundExceptionOrganization getOrganization(URL url) throws NotFoundException
url - a request URLNotFoundExceptionList<Organization> getOrganizations()
void addOrganizationDirectoryListener(OrganizationDirectoryListener listener)
listener to the list of organization listeners.listener - the organization listenervoid removeOrganizationDirectoryListener(OrganizationDirectoryListener listener)
listener from the list of organization listeners.listener - the organization listenerCopyright © 2009–2021 Opencast Project. All rights reserved.