Difference between revisions of "ShiftsFinder class"

From Catglobe Wiki
Jump to: navigation, search
(Created page with "{{CGscriptClass_Template |Name=<nowiki>ShiftsFinder</nowiki> |Description=<nowiki>Finds shifts</nowiki> |InheritsFrom=object|Constructors= {{CGscriptConstructors_Template|Desc...")
 
 
Line 1: Line 1:
 +
Result:
 
{{CGscriptClass_Template
 
{{CGscriptClass_Template
 
|Name=<nowiki>ShiftsFinder</nowiki>
 
|Name=<nowiki>ShiftsFinder</nowiki>

Latest revision as of 05:27, 9 November 2021

Result:

ShiftsFinder



Finds shifts

Parent class

Inherits from object

Constructors

  • () - Create new shifts finder

Methods

  • Array of Shift Execute() - Find shifts given current configuration
  • (From object) string ToString() - The string representation of the object.

Properties

  • int FacilityGroupResourceId { get; set; } - Resource Id of the facility group to search within. Use -1 to ignore, 0 finds unset. Default -1.
  • DateTime FromTime { get; set; } - Find shifts that end after this date.
  • bool FutureOnly { get; set; } - Only look for future shifts if set. Default true, ignored if FromTime is set.
  • int InterviewerUserResourceId { get; set; } - Resource Id of the interviewer to search within. Use -1 to ignore, 0 finds unbooked shifts. Default -1.
  • string ObjectTypeName { get; } - The name of the type of object.
  • int ShiftTeamId { get; set; } - Id of ShiftTeam. Use -1 to ignore, 0 finds unset. Default -1.
  • DateTime ToTime { get; set; } - Find shifts that start before this date.
  • (From object) TypeInformation TypeInformation { get; } - Get information about this class.