ActivityHistory class

From Catglobe Wiki
Revision as of 06:52, 18 April 2019 by Administrator (talk | contribs) (Created page with "{{CGscriptClass_Template |Name=<nowiki>ActivityHistory</nowiki> |Description=<nowiki>Activities by users.</nowiki> |Methods= {{CGscriptMethods_Template|ReturnType=Empty|Name=<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ActivityHistory



Activities by users.


Methods

  • Empty OrderByDate() - Order the data by date
  • Empty OrderByDateDesc() - Order the data by date descending
  • Empty OrderByUserThenByDate() - Order the data by user, then by date
  • Empty OrderByUserThenByDate() - Order the data by user, then by date descending
  • Empty SetCurrent(int index "Index to look up") - Set the current activity to look at
  • string ToString() - The string representation of the object.

Properties

  • int AccessLevelToActivity { get; } - Level of access to activity. See RESOURCE_PERMISSION_*
  • int Count { get; } - Number of history entries
  • DateTime Date { get; } - Get main created or occured date activity
  • string Description { get; } - Description of activity, may be empty if not enough permission to read this info
  • int FromUserId { get; } - Get id of the user that created activity
  • int HistoryType { get; } - Type of activity
  • string HistoryTypeAsString { get; } - Type of activity as string
  • int HistoryTypeSpecificId { get; } - Some activities have secondary ids that may contain more information. May be 0 if not enough access
  • int Id { get; } - Get main id for the activity, this could be the journal resource id
  • string ObjectTypeName { get; } - The name of the type of object.
  • int ParentResourceId { get; } - Main parent of the communucation, usually the questionnaire or user of the activity
  • string ParentResourcePath { get; } - Main parent path of the communucation, usually the questionnaire or user of the activity
  • int ToUserId { get; } - Get id of the user that received activity
  • int ToUserResourceId { get; } - Get resource id of the user that received activity
  • TypeInformation TypeInformation { get; } - Get information about this class.