Uses of Class
org.onehippo.cms7.crisp.api.resource.ResourceException
Package
Description
This package provides Broker APIs of Hippo Addon CRISP module.
This package provides Resource APIs of Hippo Addon CRISP module.
-
Uses of ResourceException in org.onehippo.cms7.crisp.api.broker
Modifier and TypeMethodDescriptionAbstractDelegatingResourceServiceBroker.findResources
(String resourceSpace, String baseAbsPath) AbstractDelegatingResourceServiceBroker.findResources
(String resourceSpace, String baseAbsPath, Map<String, Object> pathVariables) AbstractDelegatingResourceServiceBroker.findResources
(String resourceSpace, String baseAbsPath, Map<String, Object> pathVariables, ExchangeHint exchangeHint) AbstractDelegatingResourceServiceBroker.findResources
(String resourceSpace, String baseAbsPath, ExchangeHint exchangeHint) AbstractResourceServiceBroker.findResources
(String resourceSpace, String baseAbsPath) Resolves a properResourceResolver
by the specifiedresourceSpace
and searchResource
representations frombaseAbsPath
and returns a parentResource
representation which contains a collection of childResource
representations.AbstractResourceServiceBroker.findResources
(String resourceSpace, String baseAbsPath, Map<String, Object> pathVariables) Resolves a properResourceResolver
by the specifiedresourceSpace
and searchResource
representations frombaseAbsPath
and returns a parentResource
representation which contains a collection of childResource
representations.AbstractResourceServiceBroker.findResources
(String resourceSpace, String baseAbsPath, ExchangeHint exchangeHint) Resolves a properResourceResolver
by the specifiedresourceSpace
and searchResource
representations frombaseAbsPath
and returns a parentResource
representation which contains a collection of childResource
representations.ResourceServiceBroker.findResources
(String resourceSpace, String baseAbsPath) Resolves a properResourceResolver
by the specifiedresourceSpace
and searchResource
representations frombaseAbsPath
and returns a parentResource
representation which contains a collection of childResource
representations.ResourceServiceBroker.findResources
(String resourceSpace, String baseAbsPath, Map<String, Object> pathVariables) Resolves a properResourceResolver
by the specifiedresourceSpace
and searchResource
representations frombaseAbsPath
and returns a parentResource
representation which contains a collection of childResource
representations.ResourceServiceBroker.findResources
(String resourceSpace, String baseAbsPath, Map<String, Object> pathVariables, ExchangeHint exchangeHint) Resolves a properResourceResolver
by the specifiedresourceSpace
and searchResource
representations frombaseAbsPath
and returns a parentResource
representation which contains a collection of childResource
representations.ResourceServiceBroker.findResources
(String resourceSpace, String baseAbsPath, ExchangeHint exchangeHint) Resolves a properResourceResolver
by the specifiedresourceSpace
and searchResource
representations frombaseAbsPath
and returns a parentResource
representation which contains a collection of childResource
representations.AbstractDelegatingResourceServiceBroker.getResourceBeanMapper
(String resourceSpace) AbstractResourceServiceBroker.getResourceBeanMapper
(String resourceSpace) Returns a properResourceBeanMapper
for the givenresourceSpace
.ResourceServiceBroker.getResourceBeanMapper
(String resourceSpace) Returns a properResourceBeanMapper
for the givenresourceSpace
.AbstractDelegatingResourceServiceBroker.getResourceDataCache
(String resourceSpace) AbstractResourceServiceBroker.getResourceDataCache
(String resourceSpace) Returns a proper resource cache store representation (ResourceDataCache
) for the specifiedresourceSpace
, or null if caching is disabled.ResourceServiceBroker.getResourceDataCache
(String resourceSpace) Returns a proper resource cache store representation (ResourceDataCache
) for the specifiedresourceSpace
, or null if caching is disabled.protected ResourceResolver
AbstractResourceServiceBroker.getResourceResolver
(String resourceSpace) Finds and returns aResourceResolver
by the specifiedresourceSpace
.AbstractDelegatingResourceServiceBroker.resolve
(String resourceSpace, String absPath, Map<String, Object> pathVariables) AbstractDelegatingResourceServiceBroker.resolve
(String resourceSpace, String absPath, Map<String, Object> pathVariables, ExchangeHint exchangeHint) AbstractDelegatingResourceServiceBroker.resolve
(String resourceSpace, String absPath, ExchangeHint exchangeHint) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleResource
representation byabsPath
.AbstractResourceServiceBroker.resolve
(String resourceSpace, String absResourcePath, Map<String, Object> pathVariables) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleResource
representation byabsPath
.AbstractResourceServiceBroker.resolve
(String resourceSpace, String absResourcePath, ExchangeHint exchangeHint) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleResource
representation byabsPath
.Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleResource
representation byabsPath
.ResourceServiceBroker.resolve
(String resourceSpace, String absPath, Map<String, Object> pathVariables) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleResource
representation byabsPath
.ResourceServiceBroker.resolve
(String resourceSpace, String absPath, Map<String, Object> pathVariables, ExchangeHint exchangeHint) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleResource
representation byabsPath
.ResourceServiceBroker.resolve
(String resourceSpace, String absPath, ExchangeHint exchangeHint) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleResource
representation byabsPath
.AbstractDelegatingResourceServiceBroker.resolveBinary
(String resourceSpace, String absPath) AbstractDelegatingResourceServiceBroker.resolveBinary
(String resourceSpace, String absPath, Map<String, Object> pathVariables) AbstractDelegatingResourceServiceBroker.resolveBinary
(String resourceSpace, String absPath, Map<String, Object> pathVariables, ExchangeHint exchangeHint) AbstractDelegatingResourceServiceBroker.resolveBinary
(String resourceSpace, String absPath, ExchangeHint exchangeHint) AbstractResourceServiceBroker.resolveBinary
(String resourceSpace, String absResourcePath) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleBinary
representation byabsPath
.AbstractResourceServiceBroker.resolveBinary
(String resourceSpace, String absResourcePath, Map<String, Object> pathVariables) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleBinary
representation byabsPath
.AbstractResourceServiceBroker.resolveBinary
(String resourceSpace, String absResourcePath, ExchangeHint exchangeHint) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleBinary
representation byabsPath
.ResourceServiceBroker.resolveBinary
(String resourceSpace, String absPath) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleBinary
representation byabsPath
.ResourceServiceBroker.resolveBinary
(String resourceSpace, String absPath, Map<String, Object> pathVariables) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleBinary
representation byabsPath
.ResourceServiceBroker.resolveBinary
(String resourceSpace, String absPath, Map<String, Object> pathVariables, ExchangeHint exchangeHint) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleBinary
representation byabsPath
.ResourceServiceBroker.resolveBinary
(String resourceSpace, String absPath, ExchangeHint exchangeHint) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleBinary
representation byabsPath
.AbstractDelegatingResourceServiceBroker.resolveBinaryAsResource
(String resourceSpace, String absPath) AbstractDelegatingResourceServiceBroker.resolveBinaryAsResource
(String resourceSpace, String absPath, Map<String, Object> pathVariables) AbstractDelegatingResourceServiceBroker.resolveBinaryAsResource
(String resourceSpace, String absPath, Map<String, Object> pathVariables, ExchangeHint exchangeHint) AbstractDelegatingResourceServiceBroker.resolveBinaryAsResource
(String resourceSpace, String absPath, ExchangeHint exchangeHint) AbstractResourceServiceBroker.resolveBinaryAsResource
(String resourceSpace, String absResourcePath) AbstractResourceServiceBroker.resolveBinaryAsResource
(String resourceSpace, String absResourcePath, Map<String, Object> pathVariables) AbstractResourceServiceBroker.resolveBinaryAsResource
(String resourceSpace, String absResourcePath, ExchangeHint exchangeHint) ResourceServiceBroker.resolveBinaryAsResource
(String resourceSpace, String absPath) Resolves a properResourceResolver
by the specifiedresourceSpace
, resolves singleBinary
representation byabsPath
, and converts theBinary
representation into aResource
.ResourceServiceBroker.resolveBinaryAsResource
(String resourceSpace, String absPath, Map<String, Object> pathVariables) Resolves a properResourceResolver
by the specifiedresourceSpace
, resolves singleBinary
representation byabsPath
, and converts theBinary
representation into aResource
.ResourceServiceBroker.resolveBinaryAsResource
(String resourceSpace, String absPath, Map<String, Object> pathVariables, ExchangeHint exchangeHint) Resolves a properResourceResolver
by the specifiedresourceSpace
, resolves singleBinary
representation byabsPath
, and converts theBinary
representation into aResource
.ResourceServiceBroker.resolveBinaryAsResource
(String resourceSpace, String absPath, ExchangeHint exchangeHint) Resolves a properResourceResolver
by the specifiedresourceSpace
, resolves singleBinary
representation byabsPath
, and converts theBinary
representation into aResource
.AbstractDelegatingResourceServiceBroker.resolveFullURI
(String resourceSpace, String absPath) AbstractDelegatingResourceServiceBroker.resolveFullURI
(String resourceSpace, String absPath, Map<String, Object> pathVariables) AbstractResourceServiceBroker.resolveFullURI
(String resourceSpace, String absPath) AbstractResourceServiceBroker.resolveFullURI
(String resourceSpace, String absPath, Map<String, Object> pathVariables) ResourceServiceBroker.resolveFullURI
(String resourceSpace, String absPath) Resolves a full URI determined and resolved for the specificresourceSpace
and theabsPath
.ResourceServiceBroker.resolveFullURI
(String resourceSpace, String absPath, Map<String, Object> pathVariables) Resolves a full URI determined and resolved for the specificresourceSpace
and theabsPath
.AbstractDelegatingResourceServiceBroker.resolveLink
(String resourceSpace, Resource resource) AbstractDelegatingResourceServiceBroker.resolveLink
(String resourceSpace, Resource resource, Map<String, Object> linkVariables) AbstractResourceServiceBroker.resolveLink
(String resourceSpace, Resource resource) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves aResourceLink
for the givenresource
.AbstractResourceServiceBroker.resolveLink
(String resourceSpace, Resource resource, Map<String, Object> linkVariables) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves aResourceLink
for the givenresource
with passinglinkVariables
that can be used by implementation to expand its internal link generation template.ResourceServiceBroker.resolveLink
(String resourceSpace, Resource resource) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves aResourceLink
for the givenresource
.ResourceServiceBroker.resolveLink
(String resourceSpace, Resource resource, Map<String, Object> linkVariables) Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves aResourceLink
for the givenresource
with passinglinkVariables
that can be used by implementation to expand its internal link generation template. -
Uses of ResourceException in org.onehippo.cms7.crisp.api.resource
Modifier and TypeMethodDescriptionvoid
AbstractResourceResolver.close()
Closes any resources used in thisResourceResolver
instance with the backend.void
ResourceResolver.close()
Closes any resources used in thisResourceResolver
instance with the backend.AbstractResourceResolver.findResources
(String baseAbsPath) AbstractResourceResolver.findResources
(String baseAbsPath, Map<String, Object> pathVariables) AbstractResourceResolver.findResources
(String baseAbsPath, ExchangeHint exchangeHint) ResourceResolver.findResources
(String baseAbsPath) ResourceResolver.findResources
(String baseAbsPath, Map<String, Object> pathVariables) ResourceResolver.findResources
(String baseAbsPath, Map<String, Object> pathVariables, ExchangeHint exchangeHint) ResourceResolver.findResources
(String baseAbsPath, ExchangeHint exchangeHint) AbstractResourceResolver.getResourceBeanMapper()
Returns aResourceBeanMapper
.ResourceResolver.getResourceBeanMapper()
Returns aResourceBeanMapper
.boolean
AbstractResourceResolver.isLive()
Returns true if theResourceResolver
service for a backend is still alive.boolean
ResourceResolver.isLive()
Returns true if theResourceResolver
service for a backend is still alive.<T> T
Map aResource
object to a bean oftype
.<T> Collection<T>
AbstractResourceBeanMapper.mapCollection
(ResourceCollection resourceCollection, Class<T> beanType) <T> Collection<T>
AbstractResourceBeanMapper.mapCollection
(ResourceCollection resourceCollection, Class<T> beanType, int offset, int limit) <T> void
AbstractResourceBeanMapper.mapCollection
(ResourceCollection resourceCollection, Class<T> beanType, Collection<T> targetBeanCollection) <T> void
AbstractResourceBeanMapper.mapCollection
(ResourceCollection resourceCollection, Class<T> beanType, Collection<T> targetBeanCollection, int offset, int length) <T> Collection<T>
ResourceBeanMapper.mapCollection
(ResourceCollection resourceCollection, Class<T> beanType) Map the child resources of theResourceCollection
to a new collection ofbeanType
to return.<T> Collection<T>
ResourceBeanMapper.mapCollection
(ResourceCollection resourceCollection, Class<T> beanType, int offset, int limit) Map the child resources of theResourceCollection
to a new collection ofbeanType
to return.<T> void
ResourceBeanMapper.mapCollection
(ResourceCollection resourceCollection, Class<T> beanType, Collection<T> targetBeanCollection) Map the child resources of theResourceCollection
and push them to the giventargetBeanCollection
ofbeanType
.<T> void
ResourceBeanMapper.mapCollection
(ResourceCollection resourceCollection, Class<T> beanType, Collection<T> targetBeanCollection, int offset, int limit) Map the child resources of theResourceCollection
and push them to the giventargetBeanCollection
ofbeanType
from theoffset
index up tolimit
size at max.void
AbstractResourceResolver.refresh()
Refreshes any local state changes, if any.void
ResourceResolver.refresh()
Refreshes any local state changes, if any.Resolves aResourceLink
for the givenresource
.Resolves singleResource
representation byabsPath
.Resolves singleResource
representation byabsPath
.AbstractResourceResolver.resolve
(String absPath, ExchangeHint exchangeHint) Resolves aResourceLink
for the givenresource
.Resolves aResourceLink
for the givenresource
with passinglinkVariables
that can be used by implementation to expand its internal link generation template.Resolves singleResource
representation byabsPath
.Resolves singleResource
representation byabsPath
.ResourceResolver.resolve
(String absPath, Map<String, Object> pathVariables, ExchangeHint exchangeHint) Resolves singleResource
representation byabsPath
.ResourceResolver.resolve
(String absPath, ExchangeHint exchangeHint) AbstractResourceResolver.resolveBinary
(String absPath) Resolves singleBinary
representation byabsPath
.AbstractResourceResolver.resolveBinary
(String absPath, Map<String, Object> pathVariables) Resolves singleBinary
representation byabsPath
.AbstractResourceResolver.resolveBinary
(String absPath, ExchangeHint exchangeHint) Resolves singleBinary
representation byabsPath
.ResourceResolver.resolveBinary
(String absPath) Resolves singleBinary
representation byabsPath
.ResourceResolver.resolveBinary
(String absPath, Map<String, Object> pathVariables) Resolves singleBinary
representation byabsPath
.ResourceResolver.resolveBinary
(String absPath, Map<String, Object> pathVariables, ExchangeHint exchangeHint) Resolves singleBinary
representation byabsPath
.ResourceResolver.resolveBinary
(String absPath, ExchangeHint exchangeHint) Resolves singleBinary
representation byabsPath
.AbstractResourceResolver.resolveBinaryAsResource
(String absPath) AbstractResourceResolver.resolveBinaryAsResource
(String absPath, Map<String, Object> pathVariables) AbstractResourceResolver.resolveBinaryAsResource
(String absPath, ExchangeHint exchangeHint) ResourceResolver.resolveBinaryAsResource
(String absPath) ResourceResolver.resolveBinaryAsResource
(String absPath, Map<String, Object> pathVariables) ResourceResolver.resolveBinaryAsResource
(String absPath, Map<String, Object> pathVariables, ExchangeHint exchangeHint) ResourceResolver.resolveBinaryAsResource
(String absPath, ExchangeHint exchangeHint) AbstractResourceResolver.resolveFullURI
(String absPath) AbstractResourceResolver.resolveFullURI
(String absPath, Map<String, Object> pathVariables) ResourceResolver.resolveFullURI
(String absPath) Resolves a full URI determined and resolved for theabsPath
.ResourceResolver.resolveFullURI
(String absPath, Map<String, Object> pathVariables) Resolves a full URI determined and resolved for theabsPath
.