|
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.platform.audit.search.resources.indexing.AuditIndexableResourceImpl
public class AuditIndexableResourceImpl
Audit indexable resource implementation.
Takes care of fetching log entries, generating log entry data maps and returns log entry data given a key.
Constructor Summary | |
---|---|
AuditIndexableResourceImpl()
|
|
AuditIndexableResourceImpl(long logUUID)
|
Method Summary | |
---|---|
ACP |
computeAcp()
Computes an ACP for the given resource. |
java.lang.String |
computeId()
Computes the resource unique id. |
java.util.Map<java.lang.String,java.io.Serializable> |
getLogEntryDataMapFor(long id)
Returns the log entry data map for a log entry given its id. |
java.io.Serializable |
getValueFor(java.lang.String indexableDataName)
Returns the value for a given indexable data name. |
Methods inherited from class org.nuxeo.ecm.core.search.api.client.indexing.resources.AbstractIndexableResource |
---|
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 |
---|
getConfiguration, getName |
Constructor Detail |
---|
public AuditIndexableResourceImpl()
public AuditIndexableResourceImpl(long logUUID)
Method Detail |
---|
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.util.Map<java.lang.String,java.io.Serializable> getLogEntryDataMapFor(long id) throws IndexingException
AuditIndexableResource
getLogEntryDataMapFor
in interface AuditIndexableResource
id
- the log entry identifier.
IndexingException
public 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
computeAcp
in class AbstractIndexableResource
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |