public class DefaultActivitiesFeedModelBuilder extends Object implements ActivitiesFeedModelBuilder
Modifier and Type | Field and Description |
---|---|
protected List<Map<String,Object>> |
activityFeedModels |
protected Set<String> |
ignoredActivityTypes |
protected long |
maxFeedId |
Constructor and Description |
---|
DefaultActivitiesFeedModelBuilder() |
Modifier and Type | Method and Description |
---|---|
int |
activityCount() |
void |
addActivityFeedEntry(ActivityFeedEntity feedEntry) |
Map<String,Object> |
buildModel() |
long |
getMaxFeedId() |
protected boolean |
ignore(ActivityFeedEntity feedEntry) |
void |
setIgnoredActivityTypes(Set<String> ignoredActivityTypes)
Set the activity types to ignore.
|
public void setIgnoredActivityTypes(Set<String> ignoredActivityTypes)
public Map<String,Object> buildModel()
buildModel
in interface ActivitiesFeedModelBuilder
public void addActivityFeedEntry(ActivityFeedEntity feedEntry) throws org.json.JSONException
addActivityFeedEntry
in interface ActivitiesFeedModelBuilder
org.json.JSONException
public int activityCount()
activityCount
in interface ActivitiesFeedModelBuilder
public long getMaxFeedId()
getMaxFeedId
in interface ActivitiesFeedModelBuilder
protected boolean ignore(ActivityFeedEntity feedEntry)
Copyright © 2005–2017 Alfresco Software. All rights reserved.