Package lumis.portal.activitystream
Most operations for this framework are available at IActivityStreamManager
, that
may be obtained by calling ManagerFactory.getActivityStreamManager()
.
To add an activity
, use
IActivityStreamManager.addActivity(Activity)
.
To search for activities, use
IBigDataSearcher.search(lumis.portal.bigdata.query.SearchQuery)
on
IBigDataManager.getDefaultRepository()
.
IActivityStreamManager
provides methods to create specific search query filters
for activities. Search result documents of activities may be cast to
ActivityDocument
for an API for easier access to stored data.
Adding more object types
and
activity actions
is possible by using
IActivityStreamManager.addObjectType(ActivityObjectType)
and
IActivityStreamManager.addAction(ActivityAction)
.
- Since:
- 8.2.0
- Version:
- $Revision: 19313 $ $Date: 2016-08-16 13:17:55 -0300 (Tue, 16 Aug 2016) $
-
Interface Summary Interface Description ActivityDocument.IActivity Contains data in anActivityDocument
that corresponds to anActivity
.ActivityDocument.IActivityActor Contains data in anActivityDocument
that corresponds to anActivityActor
.ActivityDocument.IActivityDocumentPriority Contains information about a priority to be applied to different principals, stored in aActivityDocument
.ActivityDocument.IActivityDocumentPriorityIncludedEntry Contains information about which principals a priority applies to.ActivityDocument.IActivityObject Contains data in anActivityDocument
that corresponds to anActivityObject
.ActivityDocumentType.ActivityFields Contains the fields ofActivityDocumentType
that corresponds to fields of anActivity
.ActivityDocumentType.ActivityPriorityFields Contains fields ofActivityDocumentType.ActivityFields.PRIORITIES
.ActivityDocumentType.ActivityPriorityIncludedEntryFields Contains fields ofActivityDocumentType.ActivityPriorityFields.INCLUDED_ENTRIES
.ActivityDocumentType.ActorFields Contains the fields ofActivityDocumentType
that corresponds to fields of anActivityActor
.ActivityDocumentType.ObjectFields Contains the fields ofActivityDocumentType
that corresponds to fields ofActivity.getObject()
.ActivityDocumentType.TargetFields Contains the fields ofActivityDocumentType
that corresponds to fields ofActivity.getTarget()
.IActivityNotifierConfig Represents an activity notifier configuration.IActivityPrioritizer An activity document prioritizer is responsible for specifying the priorities different principals will have for an activity.IActivityPrioritizerConfig Represents an activity prioritizer configuration.IActivityProcessorConfig Represents an activity processor configuration.IActivityStreamManager Service provider interface for the activity stream framework manager.IActivityStreamManagerSPI Service provider interface for the activity stream framework manager.IActivityUserNotifier An activity notifier is responsible for sending notification about an activity that has been generated to users. -
Class Summary Class Description Activity Object that represents an activity in the activity stream framework.ActivityAction The action performed during anActivity
.ActivityActor The actor of anActivity
.ActivityDocument Activities
are stored on portal big data as this document.ActivityDocumentAddedEvent Event that indicates that anActivityDocument
has been added to the big data.ActivityDocumentType Document type used to storeactivities
on big data.ActivityObject Object on which an action is applied during anActivity
.ActivityObjectType ActivityPriority Value object used to specify the priority to be applied to a set of principals for an activity.ActivityPriority.IncludedEntry An access control specifies which principals anActivityPriority
applies to.ActivityStreamBigDataInitObserver Observer that initializes activity stream elements in big data.ActivityStreamManager Manager for the activity stream framework.PortalManagementActivityPrioritizer Prioritizer that deals with activities withportal administrators
scope.