@groovy.transform.CompileStatic class EntityDataFeed extends java.lang.Object
Modifiers | Name | Description |
---|---|---|
static class |
EntityDataFeed.DataFeedSynchronization |
|
static class |
EntityDataFeed.DocumentEntityInfo |
|
static class |
EntityDataFeed.FeedRunnable |
Modifiers | Name | Description |
---|---|---|
protected MCache<java.lang.String, java.util.ArrayList<DocumentEntityInfo>> |
dataFeedEntityInfo |
|
protected EntityFacadeImpl |
efi |
|
protected static java.util.ArrayList<DocumentEntityInfo> |
emptyList |
|
protected static org.slf4j.Logger |
logger |
Type | Name and description |
---|---|
java.util.Set<java.lang.String> |
dataFeedSkipEntities |
java.util.Set<java.lang.String> |
entitiesWithDataFeed |
Constructor and description |
---|
EntityDataFeed
(EntityFacadeImpl efi) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
dataFeedCheckAndRegister(EntityValue ev, boolean isUpdate, java.util.Map valueMap, java.util.Map oldValues) |
|
void |
dataFeedCheckDelete(EntityValue ev) |
|
java.util.Map<java.lang.String, DocumentEntityInfo> |
getDataDocumentEntityInfo(java.lang.String dataDocumentId) |
|
java.util.ArrayList<DocumentEntityInfo> |
getDataFeedEntityInfoList(java.lang.String fullEntityName) |
|
protected EntityDataFeed.DataFeedSynchronization |
getDataFeedSynchronization() |
|
EntityFacadeImpl |
getEfi() |
|
java.util.ArrayList<java.util.Map> |
getFeedDocuments(java.lang.String dataFeedId, java.sql.Timestamp fromUpdateStamp, java.sql.Timestamp thruUpdatedStamp) |
|
java.util.List<java.util.Map> |
getFeedLatestDocuments(java.lang.String dataFeedId) This method gets the latest documents for a DataFeed based on DataFeed.lastFeedStamp, and updates lastFeedStamp to the current time. |
|
protected void |
rebuildDataFeedEntityInfo() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
This method gets the latest documents for a DataFeed based on DataFeed.lastFeedStamp, and updates lastFeedStamp to the current time. This method should be called in a service or something to manage the transaction. See the org.moqui.impl.EntityServices.get#DataFeedLatestDocuments service.
Groovy Documentation