public class AbstractTransactionalResource extends AbstractPagedResource
Modifier and Type | Field and Description |
---|---|
protected boolean |
openStore |
protected TopicMapStoreIF |
store |
limit, offset, paging
Constructor and Description |
---|
AbstractTransactionalResource() |
Modifier and Type | Method and Description |
---|---|
protected void |
doInit() |
protected void |
doRelease() |
protected <I extends IndexIF> |
getIndex(Class<I> indexClass) |
protected boolean |
getReadOnly() |
protected <C> C |
getRequestParameter(Class<C> klass,
boolean allowNull) |
protected <C> C |
getRequestParameter(Class<C> klass,
String name,
boolean allowNull) |
protected TopicMapIF |
getTopicMap() |
protected <C> C |
optionalRequestParameter(Parameters<C> parameter) |
protected <C> C |
requiredRequestParameter(Parameters<C> parameter) |
protected void |
setInfoHeaders() |
addPagingHeaders, getLimit, getOffset, isPageable, isPaging, page, setLimit, setOffset, setPaging, toRepresentation
addMixInAnnotations, addResponseHeader, blockMimeType, doError, getController, getIntegerFromQuery, getMixInAnnotationsMap, getOntopia, getTopicMapReference
abort, commit, delete, delete, describeVariants, doCatch, doConditionalHandle, doHandle, doHandle, doNegotiatedHandle, get, get, getAttribute, getDescription, getInfo, getInfo, getName, getOnSent, getPreferredVariant, getRole, getVariants, getVariants, handle, hasAnnotations, head, head, isAnnotated, isAutoCommitting, isCommitted, isConditional, isExisting, isInRole, isNegotiated, options, options, patch, patch, post, post, put, put, redirectPermanent, redirectPermanent, redirectSeeOther, redirectSeeOther, redirectTemporary, redirectTemporary, setAllowedMethods, setAnnotated, setAttribute, setAutoCommitting, setChallengeRequests, setCommitted, setConditional, setCookieSettings, setDescription, setDimensions, setExisting, setLocationRef, setLocationRef, setName, setNegotiated, setOnSent, setProxyChallengeRequests, setServerInfo, setStatus, setStatus, setStatus, setStatus, updateAllowedMethods, updateDimensions
doError, getAllowedMethods, getApplication, getChallengeRequests, getChallengeResponse, getClientInfo, getConditions, getConnegService, getContext, getConverterService, getCookies, getCookieSettings, getDimensions, getHostRef, getLocationRef, getLogger, getMatrix, getMatrixValue, getMaxForwards, getMetadataService, getMethod, getOriginalRef, getProtocol, getProxyChallengeRequests, getProxyChallengeResponse, getQuery, getQueryValue, getRanges, getReference, getReferrerRef, getRequest, getRequestAttributes, getRequestCacheDirectives, getRequestEntity, getResponse, getResponseAttributes, getResponseCacheDirectives, getResponseEntity, getRootRef, getServerInfo, getStatus, getStatusService, init, isConfidential, isLoggable, release, setApplication, setQueryValue, setRequest, setResponse, toBoolean, toByte, toDouble, toFloat, toInteger, toLong, toObject, toRepresentation, toRepresentation, toShort, toString
protected TopicMapStoreIF store
protected boolean openStore
protected void doInit() throws org.restlet.resource.ResourceException
doInit
in class AbstractPagedResource
org.restlet.resource.ResourceException
protected void setInfoHeaders()
setInfoHeaders
in class AbstractOntopiaResource
protected void doRelease() throws org.restlet.resource.ResourceException
doRelease
in class org.restlet.resource.Resource
org.restlet.resource.ResourceException
protected boolean getReadOnly()
protected TopicMapIF getTopicMap()
protected <C> C getRequestParameter(Class<C> klass, boolean allowNull)
protected <C> C getRequestParameter(Class<C> klass, String name, boolean allowNull)
protected <C> C requiredRequestParameter(Parameters<C> parameter)
protected <C> C optionalRequestParameter(Parameters<C> parameter)