|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.search.api.client.indexing.resources.AbstractIndexableResourceFactory
public abstract class AbstractIndexableResourceFactory
Abstract indexable resource factory.
Constructor Summary | |
---|---|
AbstractIndexableResourceFactory()
|
Method Summary | |
---|---|
ResolvedResource |
createResolvedResourceFor(java.io.Serializable targetResource,
IndexableResourceConf conf,
java.lang.String sid)
Resolves and returns an indexable resource instance. |
ResolvedResources |
createResolvedResourcesFor(java.io.Serializable targetResource,
IndexableResourceConf conf,
java.lang.String sid)
Resolves an indexable resources and returns an aggregated resolved resources instances. |
ResolvedResource |
resolveResourceFor(java.io.Serializable targetResource,
IndexableResourceConf conf,
java.lang.String sid)
Resolves and returns an indexable resource instance. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nuxeo.ecm.core.search.api.client.indexing.resources.factory.IndexableResourceFactory |
---|
createEmptyIndexableResource, createIndexableResourceFrom, resolveResourceFor, resolveResourcesFor |
Constructor Detail |
---|
public AbstractIndexableResourceFactory()
Method Detail |
---|
public ResolvedResource resolveResourceFor(java.io.Serializable targetResource, IndexableResourceConf conf, java.lang.String sid) throws IndexingException
IndexableResourceFactory
resolveResourceFor
in interface IndexableResourceFactory
targetResource
- the target object on which the indexable resource
applies.conf
- the indexable resource configurationsid
- optional Nuxeo Core session id. (XXX should be removed from
the signature)
IndexingException
public ResolvedResource createResolvedResourceFor(java.io.Serializable targetResource, IndexableResourceConf conf, java.lang.String sid) throws IndexingException
IndexableResourceFactory
createResolvedResourceFor
in interface IndexableResourceFactory
targetResource
- the target object on which the indexable resource
applies.conf
- the indexable resource configurationsid
- optional Nuxeo Core session id. (XXX should be removed from
the signature)
IndexingException
public ResolvedResources createResolvedResourcesFor(java.io.Serializable targetResource, IndexableResourceConf conf, java.lang.String sid) throws IndexingException
IndexableResourceFactory
The idea here is to simplify the generations of aggregated resources when only one indexable resource is involved.
createResolvedResourcesFor
in interface IndexableResourceFactory
targetResource
- the target object on which the indexable resource
applies.conf
- the indexable resource configurationsid
- optional Nuxeo Core session id. (XXX should be removed from
the signature)
IndexingException
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |