Class RecentActivityDTO
java.lang.Object
org.graylog.plugins.views.startpage.recentActivities.RecentActivityDTO
- All Implemented Interfaces:
MongoEntity
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ActivityTypestatic RecentActivityDTO.Builderbuilder()abstract Stringgrantee()abstract Stringid()ID of the entity.abstract GRNitemGrn()abstract Stringabstract org.joda.time.DateTimeabstract RecentActivityDTO.Builderabstract StringuserName()
-
Field Details
-
FIELD_ID
- See Also:
-
FIELD_ACTIVITY_TYPE
- See Also:
-
FIELD_ITEM_GRN
- See Also:
-
FIELD_ITEM_TITLE
- See Also:
-
FIELD_USER_NAME
- See Also:
-
FIELD_GRANTEE
- See Also:
-
FIELD_TIMESTAMP
- See Also:
-
-
Constructor Details
-
RecentActivityDTO
public RecentActivityDTO()
-
-
Method Details
-
id
Description copied from interface:MongoEntityID of the entity. Will be stored as field "_id" with type ObjectId in MongoDB.- Specified by:
idin interfaceMongoEntity- Returns:
- Hex string representation of the entity's ID
-
activityType
-
itemGrn
-
itemTitle
-
userName
-
grantee
-
timestamp
public abstract org.joda.time.DateTime timestamp() -
builder
-
toBuilder
-