Class AbstractTransactionalResource
java.lang.Object
org.restlet.resource.Resource
org.restlet.resource.ServerResource
net.ontopia.topicmaps.rest.resources.AbstractOntopiaResource
net.ontopia.topicmaps.rest.resources.AbstractPagedResource
net.ontopia.topicmaps.rest.resources.AbstractTransactionalResource
- Direct Known Subclasses:
AbstractTMObjectResource,AssociationsResource,AssociationTypesResource,IndexResource,IndexResource,IndexResource,OccurrencesResource,OccurrenceTypesResource,QueryResource,RolesResource,RoleTypesResource,ScopesResource,SearcherResource,StatisticsResource,TopicMapReloadResource,TopicMapResource,TopicNamesResource,TopicNameTypesResource,TopicsResource,TopicTypesResource,VariantsResource
-
Field Summary
FieldsFields inherited from class net.ontopia.topicmaps.rest.resources.AbstractPagedResource
limit, offset, paging -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoInit()protected voidprotected <I extends IndexIF>
Iprotected booleanprotected <C> CgetRequestParameter(Class<C> klass, boolean allowNull) protected <C> CgetRequestParameter(Class<C> klass, String name, boolean allowNull) protected TopicMapIFprotected <C> CoptionalRequestParameter(Parameters<C> parameter) protected <C> CrequiredRequestParameter(Parameters<C> parameter) protected voidMethods inherited from class net.ontopia.topicmaps.rest.resources.AbstractPagedResource
addPagingHeaders, getLimit, getOffset, isPageable, isPaging, page, setLimit, setOffset, setPaging, toRepresentationMethods inherited from class net.ontopia.topicmaps.rest.resources.AbstractOntopiaResource
addMixInAnnotations, addResponseHeader, blockMimeType, doError, getController, getIntegerFromQuery, getMixInAnnotationsMap, getOntopia, getTopicMapReferenceMethods inherited from class org.restlet.resource.ServerResource
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, updateDimensionsMethods inherited from class org.restlet.resource.Resource
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
-
Field Details
-
store
-
openStore
protected boolean openStore
-
-
Constructor Details
-
AbstractTransactionalResource
public AbstractTransactionalResource()
-
-
Method Details
-
doInit
protected void doInit() throws org.restlet.resource.ResourceException- Overrides:
doInitin classAbstractPagedResource- Throws:
org.restlet.resource.ResourceException
-
setInfoHeaders
protected void setInfoHeaders()- Overrides:
setInfoHeadersin classAbstractOntopiaResource
-
doRelease
protected void doRelease() throws org.restlet.resource.ResourceException- Overrides:
doReleasein classorg.restlet.resource.Resource- Throws:
org.restlet.resource.ResourceException
-
getReadOnly
protected boolean getReadOnly() -
getTopicMap
-
getRequestParameter
-
getRequestParameter
-
requiredRequestParameter
-
optionalRequestParameter
-
getIndex
-