|
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.AbstractIndexableResource org.nuxeo.ecm.core.search.api.client.indexing.resources.document.impl.AbstractNXCoreIndexableResource
public abstract class AbstractNXCoreIndexableResource
Abstract Nuxeo Core indexable resource implementation.
Indexable resource that wish to communicate with Nuxeo Core can extend this class.
Method Summary | |
---|---|
void |
closeCoreSession()
Close the core session only if it was not managed externally, i.e. |
CoreSession |
getCoreSession()
Returns a Nuxeo core session. |
java.lang.String |
getDocRepositoryName()
Returns the repository identifier where the document is stored. |
Methods inherited from class org.nuxeo.ecm.core.search.api.client.indexing.resources.AbstractIndexableResource |
---|
computeAcp, getConfiguration, getName |
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 |
---|
computeAcp, computeId, getConfiguration, getName, getValueFor |
Method Detail |
---|
public CoreSession getCoreSession() throws IndexingException
NXCoreIndexableResource
This is the implementation job to either authenticate or reuse a new existing session. Check implementation for details.
getCoreSession
in interface NXCoreIndexableResource
CoreSession
instance.
IndexingException
public void closeCoreSession() throws IndexingException
closeCoreSession
in interface NXCoreIndexableResource
IndexingException
public java.lang.String getDocRepositoryName()
NXCoreIndexableResource
getDocRepositoryName
in interface NXCoreIndexableResource
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |