| Package | Description |
|---|---|
| org.phenotips.data.permissions.rest | |
| org.phenotips.data.permissions.rest.model |
| Modifier and Type | Method and Description |
|---|---|
OwnerRepresentation |
DomainObjectFactory.createOwnerRepresentation(PrimaryEntity entity)
Create the REST representation for a
Owner's summary, starting from a
PrimaryEntity instance. |
OwnerRepresentation |
OwnerResource.getOwner(String entityId,
String entityType)
Retrieves the owner of an entity record - which is found by the passed in entity identifier - if the indicated
entity record doesn't exist, or if the user sending the request doesn't have the right to view the target
entity record, an error is returned.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
OwnerResource.setOwner(OwnerRepresentation owner,
String entityId,
String entityType)
Updates the owner of an entity record - identified by `entityId` - with the owner specified in JSON.
|
| Modifier and Type | Field and Description |
|---|---|
protected OwnerRepresentation |
PermissionsRepresentation.owner |
| Modifier and Type | Method and Description |
|---|---|
OwnerRepresentation |
ObjectFactory.createOwnerRepresentation()
Create an instance of
OwnerRepresentation |
OwnerRepresentation |
PermissionsRepresentation.getOwner()
Gets the value of the owner property.
|
OwnerRepresentation |
OwnerRepresentation.withEmail(String value) |
OwnerRepresentation |
OwnerRepresentation.withId(String value) |
OwnerRepresentation |
OwnerRepresentation.withName(String value) |
OwnerRepresentation |
OwnerRepresentation.withType(String value) |
| Modifier and Type | Method and Description |
|---|---|
void |
PermissionsRepresentation.setOwner(OwnerRepresentation value)
Sets the value of the owner property.
|
PermissionsRepresentation |
PermissionsRepresentation.withOwner(OwnerRepresentation value) |
Copyright © 2011–2018 University of Toronto, Computational Biology Lab. All rights reserved.