|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.ecm.core.search.api.client.indexing.resources.AbstractIndexableResourceFactory
org.nuxeo.ecm.platform.audit.search.resources.indexing.AuditIndexableResourceFactory
public class AuditIndexableResourceFactory
Audit indexable resource factory.
| Constructor Summary | |
|---|---|
AuditIndexableResourceFactory()
|
|
| Method Summary | |
|---|---|
IndexableResource |
createEmptyIndexableResource()
Returns an empty indexable resource instance. |
IndexableResource |
createIndexableResourceFrom(Serializable targetResourceId,
IndexableResourceConf conf,
String sid)
Returns an indexable resource instance given a target object needed by the resource along with its configuration. |
ResolvedResource |
resolveResourceFor(IndexableResource resource)
Resolves an indexable resource instance. |
ResolvedResources |
resolveResourcesFor(IndexableResource resource)
Resolves an indexable resources and returns an aggregated resolved resources instances. |
| Methods inherited from class org.nuxeo.ecm.core.search.api.client.indexing.resources.AbstractIndexableResourceFactory |
|---|
createResolvedResourceFor, createResolvedResourcesFor, resolveResourceFor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.nuxeo.ecm.core.search.api.client.indexing.resources.factory.IndexableResourceFactory |
|---|
createResolvedResourceFor, createResolvedResourcesFor, resolveResourceFor |
| Constructor Detail |
|---|
public AuditIndexableResourceFactory()
| Method Detail |
|---|
public IndexableResource createEmptyIndexableResource()
IndexableResourceFactoryUseful for complete computations of indexable resources outside of the factory.
createEmptyIndexableResource in interface IndexableResourceFactory
public IndexableResource createIndexableResourceFrom(Serializable targetResourceId,
IndexableResourceConf conf,
String sid)
throws IndexingException
IndexableResourceFactoryFor instance it could be a document model or log entry id or still a relation.
createIndexableResourceFrom in interface IndexableResourceFactorytargetResourceId - : the target object on which the indexable resource
applies.conf - : the bound indexable resource configuration.sid - : optional Nuxeo Core session id. (XXX should be removed from
the signature)
IndexingException
public ResolvedResource resolveResourceFor(IndexableResource resource)
throws IndexingException
IndexableResourceFactoryNote the indexable resource instance contains the configuration and the target object on which it applies.
resolveResourceFor in interface IndexableResourceFactoryresource - : the indexable resource instance.
IndexingException
public ResolvedResources resolveResourcesFor(IndexableResource resource)
throws IndexingException
IndexableResourceFactoryThe idea here is to simplify the generations of aggregated resources when only one indexable resource is involved.
resolveResourcesFor in interface IndexableResourceFactoryresource - : an indexable resource instance.
IndexingException
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||