Uses of Interface
org.onehippo.cms7.crisp.api.resource.Resource
Package
Description
This package provides Broker APIs of Hippo Addon CRISP module.
This package provides Resource APIs of Hippo Addon CRISP module.
-
Uses of Resource 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.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.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
.Modifier and TypeMethodDescriptionAbstractDelegatingResourceServiceBroker.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 Resource in org.onehippo.cms7.crisp.api.resource
Modifier and TypeMethodDescriptionAbstractResourceResolver.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) AbstractResourceCacheResolvable.fromCacheData
(Object cacheData) ResourceCacheResolvable.fromCacheData
(Object cacheData) ResourceCollection.get
(int index) Returns the resource element at the specified position in this resource collection.AbstractResource.getParent()
Returns parent resource representation if there's any.Resource.getParent()
Returns parent resource representation if there's any.Resolves singleResource
representation byabsPath
.Resolves singleResource
representation byabsPath
.AbstractResourceResolver.resolve
(String absPath, ExchangeHint exchangeHint) 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.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) Modifier and TypeMethodDescriptionResourceCollection.getCollection()
Returns a read-only collection over elements of typeResource
.Modifier and TypeMethodDescriptionboolean
AbstractResourceCacheResolvable.isCacheable
(Resource resource) Returns true if the givenresource
is cacheable.boolean
ResourceCacheResolvable.isCacheable
(Resource resource) Returns true if the givenresource
is cacheable.<T> T
Map aResource
object to a bean oftype
.Resolves aResourceLink
for the givenresource
.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.AbstractResourceCacheResolvable.toCacheData
(Resource resource) Convert the givenresource
to a cacheable data object to be stored inResourceDataCache
.ResourceCacheResolvable.toCacheData
(Resource resource) Convert the givenresource
to a cacheable data object to be stored inResourceDataCache
.ModifierConstructorDescriptionAbstractResource
(Resource parent, String resourceType, String name) Constructs resource representation by using parent resoruce representation, resource type name and resource name.