Uses of Interface
org.onehippo.cms7.crisp.api.resource.Resource
-
Packages that use Resource Package Description org.onehippo.cms7.crisp.api.broker This package provides Broker APIs of Hippo Addon CRISP module.org.onehippo.cms7.crisp.api.resource This package provides Resource APIs of Hippo Addon CRISP module. -
-
Uses of Resource in org.onehippo.cms7.crisp.api.broker
Methods in org.onehippo.cms7.crisp.api.broker that return Resource Modifier and Type Method Description Resource
AbstractDelegatingResourceServiceBroker. findResources(String resourceSpace, String baseAbsPath)
Resource
AbstractDelegatingResourceServiceBroker. findResources(String resourceSpace, String baseAbsPath, Map<String,Object> pathVariables)
Resource
AbstractDelegatingResourceServiceBroker. findResources(String resourceSpace, String baseAbsPath, Map<String,Object> pathVariables, ExchangeHint exchangeHint)
Resource
AbstractDelegatingResourceServiceBroker. findResources(String resourceSpace, String baseAbsPath, ExchangeHint exchangeHint)
Resource
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.Resource
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.Resource
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.Resource
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.Resource
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.Resource
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.Resource
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.Resource
AbstractDelegatingResourceServiceBroker. resolve(String resourceSpace, String absPath)
Resource
AbstractDelegatingResourceServiceBroker. resolve(String resourceSpace, String absPath, Map<String,Object> pathVariables)
Resource
AbstractDelegatingResourceServiceBroker. resolve(String resourceSpace, String absPath, Map<String,Object> pathVariables, ExchangeHint exchangeHint)
Resource
AbstractDelegatingResourceServiceBroker. resolve(String resourceSpace, String absPath, ExchangeHint exchangeHint)
Resource
AbstractResourceServiceBroker. resolve(String resourceSpace, String absResourcePath)
Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleResource
representation byabsPath
.Resource
AbstractResourceServiceBroker. resolve(String resourceSpace, String absResourcePath, Map<String,Object> pathVariables)
Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleResource
representation byabsPath
.Resource
AbstractResourceServiceBroker. resolve(String resourceSpace, String absResourcePath, ExchangeHint exchangeHint)
Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleResource
representation byabsPath
.Resource
ResourceServiceBroker. resolve(String resourceSpace, String absPath)
Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleResource
representation byabsPath
.Resource
ResourceServiceBroker. resolve(String resourceSpace, String absPath, Map<String,Object> pathVariables)
Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleResource
representation byabsPath
.Resource
ResourceServiceBroker. resolve(String resourceSpace, String absPath, Map<String,Object> pathVariables, ExchangeHint exchangeHint)
Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleResource
representation byabsPath
.Resource
ResourceServiceBroker. resolve(String resourceSpace, String absPath, ExchangeHint exchangeHint)
Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves singleResource
representation byabsPath
.Resource
AbstractDelegatingResourceServiceBroker. resolveBinaryAsResource(String resourceSpace, String absPath)
Resource
AbstractDelegatingResourceServiceBroker. resolveBinaryAsResource(String resourceSpace, String absPath, Map<String,Object> pathVariables)
Resource
AbstractDelegatingResourceServiceBroker. resolveBinaryAsResource(String resourceSpace, String absPath, Map<String,Object> pathVariables, ExchangeHint exchangeHint)
Resource
AbstractDelegatingResourceServiceBroker. resolveBinaryAsResource(String resourceSpace, String absPath, ExchangeHint exchangeHint)
Resource
AbstractResourceServiceBroker. resolveBinaryAsResource(String resourceSpace, String absResourcePath)
Resource
AbstractResourceServiceBroker. resolveBinaryAsResource(String resourceSpace, String absResourcePath, Map<String,Object> pathVariables)
Resource
AbstractResourceServiceBroker. resolveBinaryAsResource(String resourceSpace, String absResourcePath, ExchangeHint exchangeHint)
Resource
ResourceServiceBroker. resolveBinaryAsResource(String resourceSpace, String absPath)
Resolves a properResourceResolver
by the specifiedresourceSpace
, resolves singleBinary
representation byabsPath
, and converts theBinary
representation into aResource
.Resource
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
.Resource
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
.Resource
ResourceServiceBroker. resolveBinaryAsResource(String resourceSpace, String absPath, ExchangeHint exchangeHint)
Resolves a properResourceResolver
by the specifiedresourceSpace
, resolves singleBinary
representation byabsPath
, and converts theBinary
representation into aResource
.Methods in org.onehippo.cms7.crisp.api.broker with parameters of type Resource Modifier and Type Method Description ResourceLink
AbstractDelegatingResourceServiceBroker. resolveLink(String resourceSpace, Resource resource)
ResourceLink
AbstractDelegatingResourceServiceBroker. resolveLink(String resourceSpace, Resource resource, Map<String,Object> linkVariables)
ResourceLink
AbstractResourceServiceBroker. resolveLink(String resourceSpace, Resource resource)
Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves aResourceLink
for the givenresource
.ResourceLink
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.ResourceLink
ResourceServiceBroker. resolveLink(String resourceSpace, Resource resource)
Resolves a properResourceResolver
by the specifiedresourceSpace
and resolves aResourceLink
for the givenresource
.ResourceLink
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
Classes in org.onehippo.cms7.crisp.api.resource that implement Resource Modifier and Type Class Description class
AbstractResource
AbstractResource
representation.Methods in org.onehippo.cms7.crisp.api.resource that return Resource Modifier and Type Method Description Resource
AbstractResourceResolver. findResources(String baseAbsPath)
Resource
AbstractResourceResolver. findResources(String baseAbsPath, Map<String,Object> pathVariables)
Resource
AbstractResourceResolver. findResources(String baseAbsPath, ExchangeHint exchangeHint)
Resource
ResourceResolver. findResources(String baseAbsPath)
Resource
ResourceResolver. findResources(String baseAbsPath, Map<String,Object> pathVariables)
Resource
ResourceResolver. findResources(String baseAbsPath, Map<String,Object> pathVariables, ExchangeHint exchangeHint)
Resource
ResourceResolver. findResources(String baseAbsPath, ExchangeHint exchangeHint)
Resource
AbstractResourceCacheResolvable. fromCacheData(Object cacheData)
Resource
ResourceCacheResolvable. fromCacheData(Object cacheData)
Resource
ResourceCollection. get(int index)
Returns the resource element at the specified position in this resource collection.Resource
AbstractResource. getParent()
Returns parent resource representation if there's any.Resource
Resource. getParent()
Returns parent resource representation if there's any.Resource
AbstractResourceResolver. resolve(String absPath)
Resolves singleResource
representation byabsPath
.Resource
AbstractResourceResolver. resolve(String absPath, Map<String,Object> pathVariables)
Resolves singleResource
representation byabsPath
.Resource
AbstractResourceResolver. resolve(String absPath, ExchangeHint exchangeHint)
Resource
ResourceResolver. resolve(String absPath)
Resolves singleResource
representation byabsPath
.Resource
ResourceResolver. resolve(String absPath, Map<String,Object> pathVariables)
Resolves singleResource
representation byabsPath
.Resource
ResourceResolver. resolve(String absPath, Map<String,Object> pathVariables, ExchangeHint exchangeHint)
Resolves singleResource
representation byabsPath
.Resource
ResourceResolver. resolve(String absPath, ExchangeHint exchangeHint)
Resource
AbstractResourceResolver. resolveBinaryAsResource(String absPath)
Resource
AbstractResourceResolver. resolveBinaryAsResource(String absPath, Map<String,Object> pathVariables)
Resource
AbstractResourceResolver. resolveBinaryAsResource(String absPath, ExchangeHint exchangeHint)
Resource
ResourceResolver. resolveBinaryAsResource(String absPath)
Resource
ResourceResolver. resolveBinaryAsResource(String absPath, Map<String,Object> pathVariables)
Resource
ResourceResolver. resolveBinaryAsResource(String absPath, Map<String,Object> pathVariables, ExchangeHint exchangeHint)
Resource
ResourceResolver. resolveBinaryAsResource(String absPath, ExchangeHint exchangeHint)
Methods in org.onehippo.cms7.crisp.api.resource that return types with arguments of type Resource Modifier and Type Method Description Collection<Resource>
ResourceCollection. getCollection()
Returns a read-only collection over elements of typeResource
.Methods in org.onehippo.cms7.crisp.api.resource with parameters of type Resource Modifier and Type Method Description boolean
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
ResourceBeanMapper. map(Resource resource, Class<T> beanType)
Map aResource
object to a bean oftype
.ResourceLink
AbstractResourceLinkResolver. resolve(Resource resource)
Resolves aResourceLink
for the givenresource
.ResourceLink
ResourceLinkResolver. resolve(Resource resource)
Resolves aResourceLink
for the givenresource
.ResourceLink
ResourceLinkResolver. resolve(Resource resource, Map<String,Object> linkVariables)
Resolves aResourceLink
for the givenresource
with passinglinkVariables
that can be used by implementation to expand its internal link generation template.Object
AbstractResourceCacheResolvable. toCacheData(Resource resource)
Convert the givenresource
to a cacheable data object to be stored inResourceDataCache
.Object
ResourceCacheResolvable. toCacheData(Resource resource)
Convert the givenresource
to a cacheable data object to be stored inResourceDataCache
.Constructors in org.onehippo.cms7.crisp.api.resource with parameters of type Resource Constructor Description AbstractResource(Resource parent, String resourceType, String name)
Constructs resource representation by using parent resoruce representation, resource type name and resource name.
-