Package lumis.portal.activitystream
Interface ActivityDocument.IActivity
-
- Enclosing class:
- ActivityDocument
@StableMinor(version="14.1", sinceVersion="8.2") public static interface ActivityDocument.IActivity
Contains data in anActivityDocument
that corresponds to anActivity
.- Since:
- 8.2.0
- Version:
- $Revision: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
-
-
Method Summary
-
-
-
Method Detail
-
getId
String getId()
Returns the value ofActivityDocumentType.ActivityFields.ID
stored in this document.- Returns:
- the value of
ActivityDocumentType.ActivityFields.ID
. - Since:
- 8.2.0
- See Also:
Activity.getId()
-
setId
void setId(String id)
Sets the value forActivityDocumentType.ActivityFields.ID
in this document.- Parameters:
id
- the value to set.- Since:
- 8.2.0
-
getOriginServiceInstanceId
String getOriginServiceInstanceId()
Returns the value ofActivityDocumentType.ActivityFields.ORIGIN_SERVICE_INSTANCE_ID
stored in this document.- Returns:
- the value of
ActivityDocumentType.ActivityFields.ORIGIN_SERVICE_INSTANCE_ID
. - Since:
- 8.2.0
- See Also:
Activity.getOriginServiceInstanceId()
-
setOriginServiceInstanceId
String setOriginServiceInstanceId(String createdDateTimeMillis)
Sets the value forActivityDocumentType.ActivityFields.ORIGIN_SERVICE_INSTANCE_ID
in this document.- Parameters:
createdDateTimeMillis
- the value to set.- Since:
- 8.2.0
- See Also:
Activity.setOriginServiceInstanceId(String)
-
getCreatedDateTimeMillis
long getCreatedDateTimeMillis()
Returns the value ofActivityDocumentType.ActivityFields.CREATED_DATE_TIME_MILLIS
stored in this document.- Returns:
- the value of
ActivityDocumentType.ActivityFields.CREATED_DATE_TIME_MILLIS
. - Since:
- 8.2.0
- See Also:
Activity.getCreatedDateTimeMillis()
-
setCreatedDateTimeMillis
void setCreatedDateTimeMillis(long createdDateTimeMillis)
Sets the value forActivityDocumentType.ActivityFields.CREATED_DATE_TIME_MILLIS
in this document.- Parameters:
createdDateTimeMillis
- the value to set.- Since:
- 8.2.0
- See Also:
Activity.setCreatedDateTimeMillis(long)
-
getCustomData
String getCustomData()
Returns the value ofActivityDocumentType.ActivityFields.CUSTOM_DATA
stored in this document.- Returns:
- the value of
ActivityDocumentType.ActivityFields.CUSTOM_DATA
. - Since:
- 8.2.0
- See Also:
Activity.getCustomData()
-
setCustomData
void setCustomData(String customData)
Sets the value forActivityDocumentType.ActivityFields.CUSTOM_DATA
in this document.- Parameters:
customData
- the value to set.- Since:
- 8.2.0
- See Also:
Activity.setCustomData(String)
-
getActor
ActivityDocument.IActivityActor getActor()
Returns the value ofActivityDocumentType.ActivityFields.ACTOR
stored in this document.- Returns:
- the value of
ActivityDocumentType.ActivityFields.ACTOR
. - Since:
- 8.2.0
- See Also:
Activity.getActor()
-
getAction
String getAction()
Returns the value ofActivityDocumentType.ActivityFields.ACTION
stored in this document.- Returns:
- the value of
ActivityDocumentType.ActivityFields.ACTION
. - Since:
- 8.2.0
- See Also:
Activity.getAction()
-
setAction
void setAction(String action)
Sets the value forActivityDocumentType.ActivityFields.ACTION
in this document.- Parameters:
action
- the value to set.- Since:
- 8.2.0
- See Also:
Activity.setAction(ActivityAction)
-
getObject
ActivityDocument.IActivityObject getObject()
Returns the value ofActivityDocumentType.ActivityFields.OBJECT
stored in this document.- Returns:
- the value of
ActivityDocumentType.ActivityFields.OBJECT
. - Since:
- 8.2.0
- See Also:
Activity.getObject()
-
getTarget
ActivityDocument.IActivityObject getTarget()
Returns the value ofActivityDocumentType.ActivityFields.TARGET
stored in this document.- Returns:
- the value of
ActivityDocumentType.ActivityFields.TARGET
. - Since:
- 8.2.0
-
getScopes
List<String> getScopes()
Returns the list ofActivityDocumentType.ActivityFields.SCOPES
stored in this document.- Returns:
- the value of
ActivityDocumentType.ActivityFields.SCOPES
. - Since:
- 8.2.0
- See Also:
Activity.getScopes()
-
addScopes
void addScopes(String... scopes)
Adds the values to theActivityDocumentType.ActivityFields.SCOPES
in this document.- Parameters:
scopes
- the values to set.- Since:
- 8.2.0
-
addScopes
void addScopes(Collection<String> scopes)
Adds the values to theActivityDocumentType.ActivityFields.SCOPES
in this document.- Parameters:
scopes
- the values to set.- Since:
- 8.2.0
-
getPriorities
Collection<ActivityDocument.IActivityDocumentPriority> getPriorities()
Returns the priority mappings in this document.- Returns:
- the priority mappings.
- Since:
- 8.2.0
-
addPriority
ActivityDocument.IActivityDocumentPriority addPriority()
Adds a priority mapping to this document.- Returns:
- the priority mapping.
- Since:
- 8.2.0
-
-