public interface OrganizationService
Modifier and Type | Method and Description |
---|---|
Organization |
getOrganizationByIdentifier(String identifier)
Get the representation of an organization, given its identifier.
|
Organization |
getOrganizationByName(String name)
Get the full client representation of an organization, given its name.
|
OrganizationDescriptor |
getOrganizationDescriptorByIdentifier(String identifier)
Get the light-weight client representation of an organization, given its identifier.
|
OrganizationDescriptor |
getOrganizationDescriptorByName(String name)
Get the light-weight client representation of an organization, given its name.
|
List<OrganizationDescriptor> |
getOrganizationDescriptors()
Get a list of light-weight representations of all organizations currently defined.
|
List<Organization> |
getOrganizations()
Get the list of all organizations currently defined in the system.
|
Organization |
updateOrganization(Organization organization)
Update an Organization.
|
Organization getOrganizationByName(String name) throws OrganizationNotFoundException
name
- The name of the organization desired.OrganizationNotFoundException
- The specified organization was not found.OrganizationDescriptor getOrganizationDescriptorByIdentifier(String identifier) throws OrganizationNotFoundException
identifier
- The identifier of the organization descriptor desired.OrganizationNotFoundException
- The specified organization was not found.Organization getOrganizationByIdentifier(String identifier) throws OrganizationNotFoundException
identifier
- The identifier of the organization descriptor desired.OrganizationNotFoundException
- The specified organization was not found.OrganizationDescriptor getOrganizationDescriptorByName(String name) throws OrganizationNotFoundException
name
- The name of the organization descriptor desired.OrganizationNotFoundException
- The specified organization was not found.List<Organization> getOrganizations()
List<OrganizationDescriptor> getOrganizationDescriptors()
Organization updateOrganization(Organization organization) throws OrganizationNotFoundException
organization
- The organization to be updated.OrganizationNotFoundException
- The specified organization was not found.OrganizationDescriptor.setAttributes(List)
,
Organization.setLead(String)
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA