Difference between revisions of "ActivityHistorySearch class"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{CGscriptClass_Template |Name=<nowiki>ActivityHistorySearch</nowiki> |Description=<nowiki>Search for activites by users.</nowiki> |Constructors= {{CGscriptConstructors_Templa...")
 
Line 3: Line 3:
 
|Description=<nowiki>Search for activites by users.</nowiki>
 
|Description=<nowiki>Search for activites by users.</nowiki>
 
|Constructors=
 
|Constructors=
 +
{{CGscriptConstructors_Template|Parameters=
 +
{{CGscriptParameters_Template|Type=int|Name=<nowiki>groupResourceId</nowiki>|Description=<nowiki>Resource Id a group containing all users to fetch data for</nowiki>}}
 +
|Description=<nowiki>Create new default search parameters for communication history. Default is to find no kinds since forever</nowiki>}}
 
{{CGscriptConstructors_Template|Parameters=
 
{{CGscriptConstructors_Template|Parameters=
 
{{CGscriptParameters_Template|Type=Unknown|Name=<nowiki>userResourceIds</nowiki>|Description=<nowiki>Resource Ids of users to fetch data for</nowiki>}}
 
{{CGscriptParameters_Template|Type=Unknown|Name=<nowiki>userResourceIds</nowiki>|Description=<nowiki>Resource Ids of users to fetch data for</nowiki>}}

Revision as of 11:04, 23 April 2019

ActivityHistorySearch



Search for activites by users.

Constructors

  • (int groupResourceId "Resource Id a group containing all users to fetch data for") - Create new default search parameters for communication history. Default is to find no kinds since forever
  • (Unknown userResourceIds "Resource Ids of users to fetch data for") - Create new default search parameters for communication history. Default is to find no kinds since forever

Methods

  • ActivityHistory Execute() - Find all the activities
  • Empty SetSearchStartPeriod(DateTime from "Date to start searching from, if empty since forever") - Set date to start searching from
  • string ToString() - The string representation of the object.

Properties

  • string ObjectTypeName { get; } - The name of the type of object.
  • bool SearchForBulkMails { get; set; } - Get/Set include bulkmails in the result
  • bool SearchForBulkSMS { get; set; } - Get/Set include bulk SMS in the result
  • bool SearchForCati { get; set; } - Get/Set include cati in the result
  • bool SearchForDialedCati { get; set; } - Get/Set include cati calls that the users initiated in the result
  • bool SearchForJournal { get; set; } - Get/Set include journal entries in the result
  • bool SearchForMails { get; set; } - Get/Set include non-bulkmails in the result
  • bool SearchForQuestionnaireActivity { get; set; } - Get/Set include questionnaire activit in the result
  • bool SearchForSMS { get; set; } - Get/Set include non-bulk SMS in the result
  • TypeInformation TypeInformation { get; } - Get information about this class.