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.
|
Modifier and Type | Method and Description |
---|---|
Resource |
AbstractResourceServiceBroker.findResources(String resourceSpace,
String baseAbsPath)
Resolves a proper
ResourceResolver by the specified resourceSpace and search Resource
representations from baseAbsPath and returns a parent Resource representation which contains
a collection of child Resource representations. |
Resource |
AbstractDelegatingResourceServiceBroker.findResources(String resourceSpace,
String baseAbsPath) |
Resource |
ResourceServiceBroker.findResources(String resourceSpace,
String baseAbsPath)
Resolves a proper
ResourceResolver by the specified resourceSpace and search Resource
representations from baseAbsPath and returns a parent Resource representation which contains
a collection of child Resource representations. |
Resource |
AbstractResourceServiceBroker.findResources(String resourceSpace,
String baseAbsPath,
ExchangeHint exchangeHint)
Resolves a proper
ResourceResolver by the specified resourceSpace and search Resource
representations from baseAbsPath and returns a parent Resource representation which contains
a collection of child Resource representations. |
Resource |
AbstractDelegatingResourceServiceBroker.findResources(String resourceSpace,
String baseAbsPath,
ExchangeHint exchangeHint) |
Resource |
ResourceServiceBroker.findResources(String resourceSpace,
String baseAbsPath,
ExchangeHint exchangeHint)
Resolves a proper
ResourceResolver by the specified resourceSpace and search Resource
representations from baseAbsPath and returns a parent Resource representation which contains
a collection of child Resource representations. |
Resource |
AbstractResourceServiceBroker.findResources(String resourceSpace,
String baseAbsPath,
Map<String,Object> pathVariables)
Resolves a proper
ResourceResolver by the specified resourceSpace and search Resource
representations from baseAbsPath and returns a parent Resource representation which contains
a collection of child Resource representations. |
Resource |
AbstractDelegatingResourceServiceBroker.findResources(String resourceSpace,
String baseAbsPath,
Map<String,Object> pathVariables) |
Resource |
ResourceServiceBroker.findResources(String resourceSpace,
String baseAbsPath,
Map<String,Object> pathVariables)
Resolves a proper
ResourceResolver by the specified resourceSpace and search Resource
representations from baseAbsPath and returns a parent Resource representation which contains
a collection of child Resource representations. |
Resource |
AbstractDelegatingResourceServiceBroker.findResources(String resourceSpace,
String baseAbsPath,
Map<String,Object> pathVariables,
ExchangeHint exchangeHint) |
Resource |
ResourceServiceBroker.findResources(String resourceSpace,
String baseAbsPath,
Map<String,Object> pathVariables,
ExchangeHint exchangeHint)
Resolves a proper
ResourceResolver by the specified resourceSpace and search Resource
representations from baseAbsPath and returns a parent Resource representation which contains
a collection of child Resource representations. |
Resource |
AbstractResourceServiceBroker.resolve(String resourceSpace,
String absResourcePath)
Resolves a proper
ResourceResolver by the specified resourceSpace and resolves single Resource
representation by absPath . |
Resource |
AbstractDelegatingResourceServiceBroker.resolve(String resourceSpace,
String absPath) |
Resource |
ResourceServiceBroker.resolve(String resourceSpace,
String absPath)
Resolves a proper
ResourceResolver by the specified resourceSpace and resolves single Resource
representation by absPath . |
Resource |
AbstractResourceServiceBroker.resolve(String resourceSpace,
String absResourcePath,
ExchangeHint exchangeHint)
Resolves a proper
ResourceResolver by the specified resourceSpace and resolves single Resource
representation by absPath . |
Resource |
AbstractDelegatingResourceServiceBroker.resolve(String resourceSpace,
String absPath,
ExchangeHint exchangeHint) |
Resource |
ResourceServiceBroker.resolve(String resourceSpace,
String absPath,
ExchangeHint exchangeHint)
Resolves a proper
ResourceResolver by the specified resourceSpace and resolves single Resource
representation by absPath . |
Resource |
AbstractResourceServiceBroker.resolve(String resourceSpace,
String absResourcePath,
Map<String,Object> pathVariables)
Resolves a proper
ResourceResolver by the specified resourceSpace and resolves single Resource
representation by absPath . |
Resource |
AbstractDelegatingResourceServiceBroker.resolve(String resourceSpace,
String absPath,
Map<String,Object> pathVariables) |
Resource |
ResourceServiceBroker.resolve(String resourceSpace,
String absPath,
Map<String,Object> pathVariables)
Resolves a proper
ResourceResolver by the specified resourceSpace and resolves single Resource
representation by absPath . |
Resource |
AbstractDelegatingResourceServiceBroker.resolve(String resourceSpace,
String absPath,
Map<String,Object> pathVariables,
ExchangeHint exchangeHint) |
Resource |
ResourceServiceBroker.resolve(String resourceSpace,
String absPath,
Map<String,Object> pathVariables,
ExchangeHint exchangeHint)
Resolves a proper
ResourceResolver by the specified resourceSpace and resolves single Resource
representation by absPath . |
Resource |
AbstractResourceServiceBroker.resolveBinaryAsResource(String resourceSpace,
String absResourcePath) |
Resource |
AbstractDelegatingResourceServiceBroker.resolveBinaryAsResource(String resourceSpace,
String absPath) |
Resource |
ResourceServiceBroker.resolveBinaryAsResource(String resourceSpace,
String absPath)
Resolves a proper
ResourceResolver by the specified resourceSpace , resolves single Binary
representation by absPath , and converts the Binary representation into a Resource . |
Resource |
AbstractResourceServiceBroker.resolveBinaryAsResource(String resourceSpace,
String absResourcePath,
ExchangeHint exchangeHint) |
Resource |
AbstractDelegatingResourceServiceBroker.resolveBinaryAsResource(String resourceSpace,
String absPath,
ExchangeHint exchangeHint) |
Resource |
ResourceServiceBroker.resolveBinaryAsResource(String resourceSpace,
String absPath,
ExchangeHint exchangeHint)
Resolves a proper
ResourceResolver by the specified resourceSpace , resolves single Binary
representation by absPath , and converts the Binary representation into a Resource . |
Resource |
AbstractResourceServiceBroker.resolveBinaryAsResource(String resourceSpace,
String absResourcePath,
Map<String,Object> pathVariables) |
Resource |
AbstractDelegatingResourceServiceBroker.resolveBinaryAsResource(String resourceSpace,
String absPath,
Map<String,Object> pathVariables) |
Resource |
ResourceServiceBroker.resolveBinaryAsResource(String resourceSpace,
String absPath,
Map<String,Object> pathVariables)
Resolves a proper
ResourceResolver by the specified resourceSpace , resolves single Binary
representation by absPath , and converts the Binary representation into a Resource . |
Resource |
AbstractDelegatingResourceServiceBroker.resolveBinaryAsResource(String resourceSpace,
String absPath,
Map<String,Object> pathVariables,
ExchangeHint exchangeHint) |
Resource |
ResourceServiceBroker.resolveBinaryAsResource(String resourceSpace,
String absPath,
Map<String,Object> pathVariables,
ExchangeHint exchangeHint)
Resolves a proper
ResourceResolver by the specified resourceSpace , resolves single Binary
representation by absPath , and converts the Binary representation into a Resource . |
Modifier and Type | Method and Description |
---|---|
ResourceLink |
AbstractResourceServiceBroker.resolveLink(String resourceSpace,
Resource resource)
Resolves a proper
ResourceResolver by the specified resourceSpace and resolves a ResourceLink
for the given resource . |
ResourceLink |
AbstractDelegatingResourceServiceBroker.resolveLink(String resourceSpace,
Resource resource) |
ResourceLink |
ResourceServiceBroker.resolveLink(String resourceSpace,
Resource resource)
Resolves a proper
ResourceResolver by the specified resourceSpace and resolves a ResourceLink
for the given resource . |
ResourceLink |
AbstractResourceServiceBroker.resolveLink(String resourceSpace,
Resource resource,
Map<String,Object> linkVariables)
Resolves a proper
ResourceResolver by the specified resourceSpace and resolves a ResourceLink
for the given resource with passing linkVariables that can be used by implementation to
expand its internal link generation template. |
ResourceLink |
AbstractDelegatingResourceServiceBroker.resolveLink(String resourceSpace,
Resource resource,
Map<String,Object> linkVariables) |
ResourceLink |
ResourceServiceBroker.resolveLink(String resourceSpace,
Resource resource,
Map<String,Object> linkVariables)
Resolves a proper
ResourceResolver by the specified resourceSpace and resolves a ResourceLink
for the given resource with passing linkVariables that can be used by implementation to
expand its internal link generation template. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractResource
Abstract
Resource representation. |
Modifier and Type | Method and Description |
---|---|
Resource |
ResourceResolver.findResources(String baseAbsPath)
|
Resource |
AbstractResourceResolver.findResources(String baseAbsPath)
|
Resource |
ResourceResolver.findResources(String baseAbsPath,
ExchangeHint exchangeHint)
|
Resource |
AbstractResourceResolver.findResources(String baseAbsPath,
ExchangeHint exchangeHint)
|
Resource |
ResourceResolver.findResources(String baseAbsPath,
Map<String,Object> pathVariables)
|
Resource |
AbstractResourceResolver.findResources(String baseAbsPath,
Map<String,Object> pathVariables)
|
Resource |
ResourceResolver.findResources(String baseAbsPath,
Map<String,Object> pathVariables,
ExchangeHint exchangeHint)
|
Resource |
ResourceCacheResolvable.fromCacheData(Object cacheData)
|
Resource |
AbstractResourceCacheResolvable.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 |
ResourceResolver.resolve(String absPath)
Resolves single
Resource representation by absPath . |
Resource |
AbstractResourceResolver.resolve(String absPath)
Resolves single
Resource representation by absPath . |
Resource |
ResourceResolver.resolve(String absPath,
ExchangeHint exchangeHint)
|
Resource |
AbstractResourceResolver.resolve(String absPath,
ExchangeHint exchangeHint)
|
Resource |
ResourceResolver.resolve(String absPath,
Map<String,Object> pathVariables)
Resolves single
Resource representation by absPath . |
Resource |
AbstractResourceResolver.resolve(String absPath,
Map<String,Object> pathVariables)
Resolves single
Resource representation by absPath . |
Resource |
ResourceResolver.resolve(String absPath,
Map<String,Object> pathVariables,
ExchangeHint exchangeHint)
Resolves single
Resource representation by absPath . |
Resource |
ResourceResolver.resolveBinaryAsResource(String absPath)
|
Resource |
AbstractResourceResolver.resolveBinaryAsResource(String absPath) |
Resource |
ResourceResolver.resolveBinaryAsResource(String absPath,
ExchangeHint exchangeHint)
|
Resource |
AbstractResourceResolver.resolveBinaryAsResource(String absPath,
ExchangeHint exchangeHint) |
Resource |
ResourceResolver.resolveBinaryAsResource(String absPath,
Map<String,Object> pathVariables)
|
Resource |
AbstractResourceResolver.resolveBinaryAsResource(String absPath,
Map<String,Object> pathVariables) |
Resource |
ResourceResolver.resolveBinaryAsResource(String absPath,
Map<String,Object> pathVariables,
ExchangeHint exchangeHint)
|
Modifier and Type | Method and Description |
---|---|
Collection<Resource> |
ResourceCollection.getCollection()
Returns a read-only collection over elements of type
Resource . |
Modifier and Type | Method and Description |
---|---|
boolean |
ResourceCacheResolvable.isCacheable(Resource resource)
Returns true if the given
resource is cacheable. |
boolean |
AbstractResourceCacheResolvable.isCacheable(Resource resource)
Returns true if the given
resource is cacheable. |
<T> T |
ResourceBeanMapper.map(Resource resource,
Class<T> beanType)
Map a
Resource object to a bean of type . |
ResourceLink |
AbstractResourceLinkResolver.resolve(Resource resource)
Resolves a
ResourceLink for the given resource . |
ResourceLink |
ResourceLinkResolver.resolve(Resource resource)
Resolves a
ResourceLink for the given resource . |
ResourceLink |
ResourceLinkResolver.resolve(Resource resource,
Map<String,Object> linkVariables)
Resolves a
ResourceLink for the given resource with passing linkVariables that can be
used by implementation to expand its internal link generation template. |
Object |
ResourceCacheResolvable.toCacheData(Resource resource)
Convert the given
resource to a cacheable data object to be stored in ResourceDataCache . |
Object |
AbstractResourceCacheResolvable.toCacheData(Resource resource)
Convert the given
resource to a cacheable data object to be stored in ResourceDataCache . |
Constructor and Description |
---|
AbstractResource(Resource parent,
String resourceType,
String name)
Constructs resource representation by using parent resoruce representation, resource type name and resource name.
|
Copyright © 2017–2020 Hippo B.V. (http://www.onehippo.com). All rights reserved.