public class DataResource extends DataCollectionRestResource
JcmsRestResource.DataCollectionWrapperdata, relatedschannel, checkCSRF, context, formQueryString, j2eeRequest, jcmsContext, pagerData, queryString, xmlEncodingCSRF_HEADER_NAME, HTTP_HEADERS, METHOD_OVERRIDE_HTTP_HEADER, SERVER_REQUEST_HTTP_HEADER_PREFIX, UTS_ADMIN, UTS_ADMIN_CHECK_0, UTS_ADMIN_CHECK_1, UTS_ADMIN_CHECK_2, UTS_ADMIN_INDEX_SNAPSHOT, UTS_ADMIN_PLUGINS, UTS_ADMIN_PROPS_1, UTS_ADMIN_PROPS_2, UTS_ADMIN_PROPS_3, UTS_ALERT, UTS_ALERT_LIST, UTS_ALERT_LIST_LEGACY, UTS_ALERT_WS, UTS_CHANNEL_NAME, UTS_DATA_CHILDREN, UTS_DATA_PARAM, UTS_DATATYPE_ITEM, UTS_DATATYPE_LIST, UTS_DOC, UTS_JSYNC_REQUEST, UTS_LOCK, UTS_MEMBER_ITEM, UTS_MEMBER_PHOTO_UPDATE, UTS_MSG_ENC_OPTIONS_ITEM, UTS_PUSH, UTS_SEARCH, UTS_SEARCH_CAT, UTS_SEARCH_GROUP, UTS_SEARCH_MBR, UTS_SEARCH_WS, UTS_UNLOCK, UTS_WHOAMI_ITEM, UTS_WORKFLOWS, UTS_WORKFLOWS_ITEM, UTS_WORKSPACE_ADMIN, UTS_WORKSPACE_ADMIN2DATA_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.
|
PageResult<Member> |
requestMemberPageResult(PagerData pager,
org.restlet.data.Request request) |
QueryResultSet |
requestPublicationQueryResultSet(java.lang.String type,
PagerData pager,
Workspace workspace) |
getItemXmlRepresentation, getJSONRepresentationgetData, updateObjectMapperBuildercheckReadRight, delete, doPost, forward, generateErrorRepresentation, getAtomRepresentation, getLoggedMember, getPagerData, getPlainTextRepresentation, getPreferredMediaType, getRepresentation, getXmlProlog, getXmlRepresentation, insertAfterXml, insertBeforeXml, post, put, setCheckCSRF, setXmlUTF8EncodingallowGet, generateRef, getContext, getLogger, getPreferredRepresentation, getPreferredVariant, getRequest, getResponse, getVariants, handleDelete, handleGet, handleHead, handleOptions, handlePost, handlePut, init, isNegotiateContent, setContext, setNegotiateContent, setRequest, setResponsepublic DataResource(org.restlet.Context context,
org.restlet.data.Request request,
org.restlet.data.Response response)
public PageResult<Member> requestMemberPageResult(PagerData pager, org.restlet.data.Request request)
pager - the current PagerDatarequest - the current RequestPageResult with member datapublic QueryResultSet requestPublicationQueryResultSet(java.lang.String type, PagerData pager, Workspace workspace)
type - the type of publicationpager - the PagerDataworkspace - the WorkspaceQueryResultSet with publication datapublic boolean allowPost()
allowPost in class org.restlet.resource.Resourcepublic boolean allowPut()
allowPut in class org.restlet.resource.Resourcepublic boolean allowDelete()
allowDelete in class org.restlet.resource.Resourcepublic void doPost(org.restlet.resource.Representation entity)
doPost in class JcmsRestResourcepublic void doPut(org.restlet.resource.Representation entity)
doPut in class JcmsRestResourcepublic void doDelete()
doDelete in class JcmsRestResourceCopyright © 2001-2021 Jalios SA. All Rights Reserved.