| Modifier and Type | Field and Description |
|---|---|
protected static org.joda.time.format.DateTimeFormatter |
XML_DATE_TIME_FORMAT |
| Constructor and Description |
|---|
SabClient(SabTransport sabTransport) |
| Modifier and Type | Method and Description |
|---|---|
String |
createRequest(String userId,
String messageId)
Create request string from template
|
Collection<SabPerson> |
getPersonsInRoleForOrganization(String organisationAbbreviation,
String role)
Get all persons within the given organisation that have the given role.
|
Optional<SabRoleHolder> |
getRoles(String userId)
Get the Role/organisation info for the given userId
|
List<SabPerson> |
getSabEmailsForOrganization(String entityId,
String role)
Get all persons from the given organization that have the given role
|
protected static final org.joda.time.format.DateTimeFormatter XML_DATE_TIME_FORMAT
public SabClient(SabTransport sabTransport)
public Optional<SabRoleHolder> getRoles(String userId)
Sabpublic Collection<SabPerson> getPersonsInRoleForOrganization(String organisationAbbreviation, String role)
SabgetPersonsInRoleForOrganization in interface Sabpublic List<SabPerson> getSabEmailsForOrganization(String entityId, String role)
SabgetSabEmailsForOrganization in interface SabCopyright © 2012–2021 Pivotal Software, Inc.. All rights reserved.