Package lumis.portal.activitystream
Class ActivityDocument
- java.lang.Object
-
- lumis.portal.bigdata.Document
-
- lumis.portal.activitystream.ActivityDocument
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.Map<java.lang.String,java.io.Serializable>
@StableMinor(version="17.0", sinceVersion="8.2") public class ActivityDocument extends Document
Activities
are stored on portal big data as this document.Activity documents are generated by the activity stream framework and should not be modified manually. Activity framework clients should use this document only for reading data.
- Since:
- 8.2.0
- Version:
- $Revision$ $Date$
- See Also:
ActivityDocumentType
,ManagerFactory.getBigDataManager()
,IBigDataManager.getDefaultRepository()
, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ActivityDocument.IActivity
Contains data in anActivityDocument
that corresponds to anActivity
.static interface
ActivityDocument.IActivityActor
Contains data in anActivityDocument
that corresponds to anActivityActor
.static interface
ActivityDocument.IActivityDocumentPriority
Contains information about a priority to be applied to different principals, stored in aActivityDocument
.static interface
ActivityDocument.IActivityDocumentPriorityIncludedEntry
Contains information about which principals a priority applies to.static interface
ActivityDocument.IActivityObject
Contains data in anActivityDocument
that corresponds to anActivityObject
.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ActivityDocument(DocumentType documentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityDocument.IActivity
getActivity()
Returns an API for accessing the activity fields in this document.-
Methods inherited from class lumis.portal.bigdata.Document
clear, containsKey, containsValue, entrySet, get, get, getDocumentType, getId, isEmpty, keySet, newFieldValueProxy, put, put, putAll, remove, setId, size, values
-
-
-
-
Constructor Detail
-
ActivityDocument
protected ActivityDocument(DocumentType documentType)
-
-
Method Detail
-
getActivity
public ActivityDocument.IActivity getActivity()
Returns an API for accessing the activity fields in this document.If a document field value is modified without using this API, the object previously returned by this method (or its child objects) may no longer reflect the correct data in the document. In this case this method should be called again to obtain another
ActivityDocument.IActivity
object to be used.- Returns:
- the activity fields access API.
- Since:
- 8.2.0
-
-