public interface UpdateableRestResource
| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
CLASS_VERSION
Class version string 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.net.URI | 
update(atg.service.jaxrs.ResourceUpdateInfo pRestResourceUpdateInfo)
The update method allows a resource to obtain its own items on which to preform its given action. 
 | 
default java.net.URI | 
updateEmbeddedResources(atg.service.jaxrs.ResourceUpdateInfo pUpdateInfo,
                       java.util.Properties pEmbeddedResources)
This method attempts to call  
update() for each of the embedded resources contained
 within pEmbeddedResources. | 
static final java.lang.String CLASS_VERSION
java.net.URI update(atg.service.jaxrs.ResourceUpdateInfo pRestResourceUpdateInfo)
             throws RestException
pRestResourceUpdateInfo - - update object containing request input and any existing repository data to be updatedRestException - - if an issue occurs performing the updatedefault java.net.URI updateEmbeddedResources(atg.service.jaxrs.ResourceUpdateInfo pUpdateInfo,
                                             java.util.Properties pEmbeddedResources)
                                      throws RestException
update() for each of the embedded resources contained
 within pEmbeddedResources.
 This default method should be called from within implementing classes, if updateable embedded resources are to be invoked.pUpdateInfo - - updateInfo object containing the update data for the top level resourcepEmbeddedResources - - key/value mappings of embedded resource name/resource idRestException - if a problem occurs updating the embeddedResources