public class PurgeObject extends FedoraRequest<PurgeObject>
Constructor and Description |
---|
PurgeObject(String pid) |
Modifier and Type | Method and Description |
---|---|
FedoraResponse |
execute(FedoraClient fedora)
Execute this request using the supplied FedoraClient instance.
|
PurgeObject |
logMessage(String logMessage) |
addHeader, addQueryParam, execute, getFirstQueryParam, getHeaders, getQueryParam, getQueryParams, isDefaultClientSet, removeHeader, resource, resource, resource, resource, setDefaultClient, setHeaders, xParam
public PurgeObject(String pid)
pid
- the identifier of the object to delete.public PurgeObject logMessage(String logMessage)
public FedoraResponse execute(FedoraClient fedora) throws FedoraClientException
FedoraRequest
Execute this request using the supplied FedoraClient instance.
execute
in class FedoraRequest<PurgeObject>
fedora
- an instance of FedoraClientFedoraClientException
- if the HTTP status code of the response is
>= 400.Copyright © 2010-2013 MediaShelf. All Rights Reserved.