public interface OrganizationService
| Modifier and Type | Method and Description |
|---|---|
com.dnastack.bob.service.dto.OrganizationDto |
create(com.dnastack.bob.service.dto.OrganizationDto organization)
Creates a new organization.
|
void |
delete(String id)
Removes organization.
|
Collection<com.dnastack.bob.service.dto.OrganizationDto> |
find(Collection<String> ids)
Retrieves organizations with specified IDs.
|
com.dnastack.bob.service.dto.OrganizationDto |
find(String id)
Retrieves organization details.
|
Collection<com.dnastack.bob.service.dto.OrganizationDto> |
findAll()
Retrieves all the organizations.
|
Collection<com.dnastack.bob.service.dto.OrganizationDto> |
findWithVisibleBeacons()
Retrieves organizations with visible beacons.
|
Collection<com.dnastack.bob.service.dto.OrganizationDto> |
findWithVisibleBeacons(Collection<String> ids)
Retrieves organizations with specified IDs and visible beacons.
|
com.dnastack.bob.service.dto.OrganizationDto |
findWithVisibleBeacons(String id)
Retrieves organization details, provided it has visible beacons.
|
com.dnastack.bob.service.dto.OrganizationDto |
update(String id,
com.dnastack.bob.service.dto.OrganizationDto organization)
Updates an organization.
|
com.dnastack.bob.service.dto.OrganizationDto find(String id)
id - id of the organizationcom.dnastack.bob.service.dto.OrganizationDto findWithVisibleBeacons(String id)
id - id of the organizationcom.dnastack.bob.service.dto.OrganizationDto create(com.dnastack.bob.service.dto.OrganizationDto organization)
organization - com.dnastack.bob.service.dto.OrganizationDto update(String id, com.dnastack.bob.service.dto.OrganizationDto organization)
id - ID of the organization to updateorganization - templatevoid delete(String id)
id - ID of the organization to deleteCollection<com.dnastack.bob.service.dto.OrganizationDto> find(Collection<String> ids)
ids - collection of organization idsCollection<com.dnastack.bob.service.dto.OrganizationDto> findWithVisibleBeacons(Collection<String> ids)
ids - collection of organization idsCollection<com.dnastack.bob.service.dto.OrganizationDto> findAll()
Collection<com.dnastack.bob.service.dto.OrganizationDto> findWithVisibleBeacons()
Copyright © 2016 DNAstack. All rights reserved.