public class DataResource extends DataCollectionRestResource
data, relateds
channel, context, formQueryString, j2eeRequest, jcmsContext, pagerData, queryString, xmlEncoding
CSRF_HEADER_NAME, HTTP_HEADERS, METHOD_OVERRIDE_HTTP_HEADER, SERVER_REQUEST_HTTP_HEADER_PREFIX, UTS_ADMIN, UTS_DATA_CHILDREN, UTS_DATA_PARAM, UTS_DATATYPE_ITEM, UTS_DATATYPE_LIST, UTS_DOC, UTS_LOCK, UTS_MEMBER_ITEM, UTS_SEARCH, UTS_UNLOCK, UTS_WORKFLOWS, UTS_WORKFLOWS_ITEM
DATA_TAG, DATASET_TAG, FIELD_CLASS, FIELD_ENTRY, FIELD_ITEM, FIELD_KEY, FIELD_NAME, FIELD_TAG, FIELD_VALUE, FILE_FIELD, FILE_ID, FILE_MTIME, FILE_SIZE, FILE_TAG, FILE_TICKET, FILESET_TAG, RELATED_TAG, REVISION
Constructor and Description |
---|
DataResource(org.restlet.Context context,
org.restlet.data.Request request,
org.restlet.data.Response response) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowDelete() |
boolean |
allowPost() |
boolean |
allowPut() |
void |
doDelete()
Handle DELETE requests: delete current pub item.
|
void |
doPost(org.restlet.resource.Representation entity)
Handle POST requests: create pub item with given dataType.
|
void |
doPut(org.restlet.resource.Representation entity)
Handle PUT requests: modify current pub item.
|
getItemXmlRepresentation
checkReadRight, delete, doPost, doStat, forward, generateErrorRepresentation, getAtomRepresentation, getJSONRepresentation, getLoggedMember, getPlainTextRepresentation, getRepresentation, getXmlProlog, getXmlRepresentation, insertAfterXml, insertBeforeXml, post, put, setXmlUTF8Encoding
allowGet, generateRef, getContext, getLogger, getPreferredRepresentation, getPreferredVariant, getRequest, getResponse, getVariants, handleDelete, handleGet, handleHead, handleOptions, handlePost, handlePut, init, isNegotiateContent, setContext, setNegotiateContent, setRequest, setResponse
public DataResource(org.restlet.Context context, org.restlet.data.Request request, org.restlet.data.Response response)
public boolean allowPost()
allowPost
in class org.restlet.resource.Resource
public boolean allowPut()
allowPut
in class org.restlet.resource.Resource
public boolean allowDelete()
allowDelete
in class org.restlet.resource.Resource
public void doPost(org.restlet.resource.Representation entity)
doPost
in class JcmsRestResource
public void doPut(org.restlet.resource.Representation entity)
doPut
in class JcmsRestResource
public void doDelete()
doDelete
in class JcmsRestResource
Copyright © 2001-2010 Jalios SA. All Rights Reserved.