|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexableResource
Base interface for indexable resources.
An indexable resource is a data source where to get data to index. For instance, a Nuxeo core document is an example of resource. SQL, JPA, Hibernate resources are as candidates.
An indexable resource contains a set of indexable data.
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. |
Method Detail |
---|
java.lang.String getName()
java.lang.String computeId()
IndexableResourceConf getConfiguration()
java.io.Serializable getValueFor(java.lang.String indexableDataName) throws IndexingException
indexableDataName
- the actual indexable data name resource side.
IndexingException
- TODOACP computeAcp()
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.
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |