|
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 org.nuxeo.ecm.core.search.api.client.indexing.resources.document.impl.DocumentIndexableResourceImpl
public class DocumentIndexableResourceImpl
Document indexable resource implementation.
DocumentIndexableResource
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
BLOB_DATA_KEY
|
static java.lang.String |
BLOB_DIGEST_KEY
|
static java.lang.String |
BLOB_ENCODING_KEY
|
static java.lang.String |
BLOB_LENGTH_KEY
|
static java.lang.String |
BLOB_MIMETYPE_KEY
|
static java.lang.String |
BLOB_NAME_KEY
|
Constructor Summary | |
---|---|
DocumentIndexableResourceImpl()
|
|
DocumentIndexableResourceImpl(DocumentModel dm,
IndexableResourceConf conf,
java.lang.String sid)
|
Method Summary | |
---|---|
java.lang.String |
computeId()
Computes the resource unique id. |
java.lang.String |
getDocCurrentLifeCycleState()
Returns the current life cycle state. |
java.util.List<java.lang.String> |
getDocFacets()
Returns the facets declared by the document model. |
ACP |
getDocMergedACP()
Returns the merged ACP for the bound document. |
java.lang.String |
getDocName()
Returns the bound doc name. |
DocumentRef |
getDocParentRef()
Returns the parent document reference. |
Path |
getDocPath()
Returns the document path. |
DocumentRef |
getDocRef()
Returns a the document reference. |
java.lang.String |
getDocType()
Returns the document type. |
java.lang.String |
getDocURL()
Returns the document URL. |
java.lang.String |
getDocUUID()
Returns the document UUID. |
java.lang.String |
getDocVersionLabel()
Returns the version label for the bound document. |
java.lang.Long |
getFlags()
Returns the flags declared on the document model. |
java.lang.String |
getQid()
Returns qualified id. |
java.io.Serializable |
getValueFor(java.lang.String indexableDataName)
Returns the value for a given indexable data name. |
java.lang.Boolean |
isDocProxy()
Is the document a proxy ? |
java.lang.Boolean |
isDocVersion()
Says if this is a checked in version or not. |
java.lang.String |
toString()
|
Methods inherited from class org.nuxeo.ecm.core.search.api.client.indexing.resources.document.impl.AbstractNXCoreIndexableResource |
---|
closeCoreSession, getCoreSession, getDocRepositoryName |
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, wait, wait, wait |
Methods inherited from interface org.nuxeo.ecm.core.search.api.client.indexing.resources.document.NXCoreIndexableResource |
---|
closeCoreSession, getCoreSession, getDocRepositoryName |
Methods inherited from interface org.nuxeo.ecm.core.search.api.client.indexing.resources.IndexableResource |
---|
computeAcp, getConfiguration, getName |
Field Detail |
---|
public static final java.lang.String BLOB_DATA_KEY
public static final java.lang.String BLOB_ENCODING_KEY
public static final java.lang.String BLOB_MIMETYPE_KEY
public static final java.lang.String BLOB_DIGEST_KEY
public static final java.lang.String BLOB_NAME_KEY
public static final java.lang.String BLOB_LENGTH_KEY
Constructor Detail |
---|
public DocumentIndexableResourceImpl()
public DocumentIndexableResourceImpl(DocumentModel dm, IndexableResourceConf conf, java.lang.String sid)
Method Detail |
---|
public DocumentRef getDocRef()
DocumentIndexableResource
getDocRef
in interface DocumentIndexableResource
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 DocumentRef getDocParentRef()
DocumentIndexableResource
Useful for the backend while returning result items so that DocumentModel can be generated out.
getDocParentRef
in interface DocumentIndexableResource
public Path getDocPath()
DocumentIndexableResource
getDocPath
in interface DocumentIndexableResource
public java.lang.String getDocType()
DocumentIndexableResource
getDocType
in interface DocumentIndexableResource
public java.lang.String getDocURL()
DocumentIndexableResource
getDocURL
in interface DocumentIndexableResource
public ACP getDocMergedACP() throws IndexingException
DocumentIndexableResource
getDocMergedACP
in interface DocumentIndexableResource
IndexingException
public java.lang.String getDocCurrentLifeCycleState()
DocumentIndexableResource
getDocCurrentLifeCycleState
in interface DocumentIndexableResource
public java.lang.String getDocUUID()
DocumentIndexableResource
getDocUUID
in interface DocumentIndexableResource
public java.lang.String computeId()
IndexableResource
computeId
in interface IndexableResource
public java.lang.String getDocVersionLabel()
DocumentIndexableResource
getDocVersionLabel
in interface DocumentIndexableResource
public java.lang.Boolean isDocVersion()
DocumentIndexableResource
isDocVersion
in interface DocumentIndexableResource
public java.lang.String getQid()
DocumentIndexableResource
getQid
in interface DocumentIndexableResource
public java.lang.String getDocName()
DocumentIndexableResource
getDocName
in interface DocumentIndexableResource
public java.lang.Boolean isDocProxy()
DocumentIndexableResource
isDocProxy
in interface DocumentIndexableResource
public java.util.List<java.lang.String> getDocFacets()
DocumentIndexableResource
getDocFacets
in interface DocumentIndexableResource
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Long getFlags()
DocumentIndexableResource
getFlags
in interface DocumentIndexableResource
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |