public interface PhenomenonClient
| Modifier and Type | Method and Description |
|---|---|
net.sparkworks.cargo.common.dto.PhenomenonDTO |
create(String name)
Create a Phenomenon
|
void |
delete(UUID uuid)
Delete a Phenomenon by its UUID
|
net.sparkworks.cargo.common.dto.PhenomenonDTO |
getByUUID(UUID uuid)
Get a Phenomenon by its UUID
|
Collection<net.sparkworks.cargo.common.dto.PhenomenonDTO> |
listAll()
Retrieve all the Phenomena
|
net.sparkworks.cargo.common.dto.PhenomenonDTO |
query(String name,
UUID uuid)
Retrieve a Phenomenon by its name or UUID
|
net.sparkworks.cargo.common.dto.PhenomenonDTO |
update(UUID uuid,
String name) |
Collection<net.sparkworks.cargo.common.dto.PhenomenonDTO> listAll()
Collection containing all the PhenomenonDTO.net.sparkworks.cargo.common.dto.PhenomenonDTO getByUUID(UUID uuid)
uuid - the UUID of the Phenomenon to retrievePhenomenonDTO found by the UUIDnet.sparkworks.cargo.common.dto.PhenomenonDTO create(String name)
name - the name of the PhenomenonPhenomenonDTOvoid delete(UUID uuid)
uuid - the UUID of the Phenomenon to deletenet.sparkworks.cargo.common.dto.PhenomenonDTO query(String name, UUID uuid)
name - the name of the Phenomenonuuid - the UUID of the PhenomenonPhenomenonDTO foundCopyright © 2018. All rights reserved.