|
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 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(java.io.Serializable targetResource,
IndexableResourceConf conf,
java.lang.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 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuditIndexableResourceFactory()
Method Detail |
---|
public IndexableResource createEmptyIndexableResource()
IndexableResourceFactory
Useful for complete computations of indexable resources outside of the factory.
public IndexableResource createIndexableResourceFrom(java.io.Serializable targetResource, IndexableResourceConf conf, java.lang.String sid)
IndexableResourceFactory
For instance it could be a document model or log entry id or still a relation.
targetResource
- 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)
public ResolvedResource resolveResourceFor(IndexableResource resource) throws IndexingException
IndexableResourceFactory
Note the indexable resource instance contains the configuration and the target object on which it applies.
resource
- the indexable resource instance.
IndexingException
public ResolvedResources resolveResourcesFor(IndexableResource resource)
IndexableResourceFactory
The idea here is to simplify the generations of aggregated resources when only one indexable resource is involved.
resource
- an indexable resource instance.
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |