| Package | Description |
|---|---|
| org.phenotips.data.permissions.rest | |
| org.phenotips.data.permissions.rest.model |
| Modifier and Type | Method and Description |
|---|---|
CollaboratorsRepresentation |
DomainObjectFactory.createCollaboratorsRepresentation(PrimaryEntity entity,
javax.ws.rs.core.UriInfo uriInfo)
Create the REST representation for a list of
Collaborators, starting from a PrimaryEntity
instance. |
CollaboratorsRepresentation |
CollaboratorsResource.getCollaborators(String entityId,
String entityType)
Retrieve information about the collaborators.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
CollaboratorsResource.addCollaborators(CollaboratorsRepresentation collaborators,
String entityId,
String entityType)
Add new collaborators, or update the permission levels of existing collaborators.
|
javax.ws.rs.core.Response |
CollaboratorsResource.setCollaborators(CollaboratorsRepresentation collaborators,
String entityId,
String entityType)
Update all collaborators, replacing all previous collaborators.
|
| Modifier and Type | Field and Description |
|---|---|
protected CollaboratorsRepresentation |
PermissionsRepresentation.collaborators |
| Modifier and Type | Method and Description |
|---|---|
CollaboratorsRepresentation |
ObjectFactory.createCollaboratorsRepresentation()
Create an instance of
CollaboratorsRepresentation |
CollaboratorsRepresentation |
PermissionsRepresentation.getCollaborators()
Gets the value of the collaborators property.
|
CollaboratorsRepresentation |
CollaboratorsRepresentation.withCollaborators(CollaboratorRepresentation... values) |
CollaboratorsRepresentation |
CollaboratorsRepresentation.withCollaborators(Collection<CollaboratorRepresentation> values) |
| Modifier and Type | Method and Description |
|---|---|
void |
PermissionsRepresentation.setCollaborators(CollaboratorsRepresentation value)
Sets the value of the collaborators property.
|
PermissionsRepresentation |
PermissionsRepresentation.withCollaborators(CollaboratorsRepresentation value) |
Copyright © 2011–2018 University of Toronto, Computational Biology Lab. All rights reserved.