|
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.backend.testing.FakeIndexableResource
public class FakeIndexableResource
Indexable resources used as proxy in testing data.
Constructor Summary | |
---|---|
FakeIndexableResource(IndexableResourceConf conf)
|
Method Summary | |
---|---|
ACP |
computeAcp()
Computes an ACP for the given resource. |
java.lang.String |
computeId()
Computes the resource unique id. |
IndexableResourceConf |
getConfiguration()
Returns this instance bound configuration. |
java.lang.String |
getName()
Returns the resource configuration name. |
java.io.Serializable |
getValueFor(java.lang.String indexableDataName)
Returns the value for a given indexable data name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FakeIndexableResource(IndexableResourceConf conf)
Method Detail |
---|
public IndexableResourceConf getConfiguration()
IndexableResource
getConfiguration
in interface IndexableResource
public java.lang.String getName()
IndexableResource
getName
in interface IndexableResource
public java.io.Serializable getValueFor(java.lang.String indexableDataName) throws IndexingException
IndexableResource
getValueFor
in interface IndexableResource
indexableDataName
- the actual indexable data name resource side.
IndexingException
- TODOpublic java.lang.String computeId()
IndexableResource
computeId
in interface IndexableResource
public ACP computeAcp()
IndexableResource
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.
computeAcp
in interface IndexableResource
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |