public interface Updateable extends Resolvable
EntityProvider interface| Modifier and Type | Method and Description |
|---|---|
void |
updateEntity(EntityReference ref,
Object entity,
Map<String,Object> params)
Update an existing entity,
the object should contain the data needed to update the entity or this will fail
Typically the entity will be retrieved first using Resolvable.getEntity(EntityReference)
and the the fields will be updated and it will be passed into this method |
getEntitygetEntityPrefixvoid updateEntity(EntityReference ref, Object entity, Map<String,Object> params)
Resolvable.getEntity(EntityReference)
and the the fields will be updated and it will be passed into this methodref - the parsed reference object which uniquely represents this entityentity - an entity objectparams - (optional) incoming set of parameters which may be used to send data specific to this request, may be nullIllegalArgumentException - if the entity could not be updated because of missing or invalid data or could not find entity to updateSecurityException - if permissions prevented this entity from being updatedIllegalStateException - for all other failuresCopyright © 2003–2021 Sakai Project. All rights reserved.