Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.search.api.client.indexing.resources
Class AbstractIndexableResource

java.lang.Object
  extended by org.nuxeo.ecm.core.search.api.client.indexing.resources.AbstractIndexableResource
All Implemented Interfaces:
java.io.Serializable, IndexableResource
Direct Known Subclasses:
AbstractNXCoreIndexableResource, AuditIndexableResourceImpl

public abstract class AbstractIndexableResource
extends java.lang.Object
implements IndexableResource

Abstract indexable resource.

Author:
Julien Anguenot
See Also:
Serialized Form

Method Summary
 ACP computeAcp()
          Computes an ACP for the given resource.
 IndexableResourceConf getConfiguration()
          Returns this instance bound configuration.
 java.lang.String getName()
          Returns the resource configuration name.
 
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.IndexableResource
computeId, getValueFor
 

Method Detail

getName

public java.lang.String getName()
Description copied from interface: IndexableResource
Returns the resource configuration name.

Specified by:
getName in interface IndexableResource
Returns:
the resource name.

getConfiguration

public IndexableResourceConf getConfiguration()
Description copied from interface: IndexableResource
Returns this instance bound configuration.

Specified by:
getConfiguration in interface IndexableResource
Returns:
an IndexableResourceConf instance.

computeAcp

public ACP computeAcp()
Description copied from interface: IndexableResource
Computes an ACP for the given resource.

The returned value applies to all the resources that may be associated with the present one in an IndexableResources. Confidence in the validity of said value must be as strong as it gets. The counterpart is that the caller must interpret null return values as a lack of info from this and perform other computations.

Specified by:
computeAcp in interface IndexableResource
Returns:
null, which encourages the caller to continue investigating.

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.