Class NSActivityFilter
Activity list filter information. Carrier object for ActivityFilter.
Syntax
Constructors
NSActivityFilter()
Initializes a new instance of the NSActivityFilter class.
Declaration
NSActivityFilter
Methods
GetAssociateList()
Returns the list of associates to filter on.
Declaration
NSSelectableMDOListItem[] GetAssociateList()
Returns
Type | Description |
---|---|
NSSelectableMDOListItem[] |
Examples
NSActivityFilter thing;
NSSelectableMDOListItem[] associateList = thing.GetAssociateList();
GetFromDate()
Returns the date to filter from.
Declaration
DateTime GetFromDate()
Returns
Type | Description |
---|---|
DateTime | The date to filter from. |
Examples
NSActivityFilter thing;
DateTime fromDate = thing.GetFromDate();
GetFutureDateList()
Returns the list of future date selections.
Declaration
NSMDOListItem[] GetFutureDateList()
Returns
Type | Description |
---|---|
NSMDOListItem[] | A static MDO list with standard values. |
Examples
NSActivityFilter thing;
NSMDOListItem[] futureDateList = thing.GetFutureDateList();
GetGroupList()
Returns the list of groups to filter on.
Declaration
NSSelectableMDOListItem[] GetGroupList()
Returns
Type | Description |
---|---|
NSSelectableMDOListItem[] | The list of groups to filter on. |
Examples
NSActivityFilter thing;
NSSelectableMDOListItem[] groupList = thing.GetGroupList();
GetToDate()
Returns the date to filter to.
Declaration
DateTime GetToDate()
Returns
Type | Description |
---|---|
DateTime | The date to filter to. |
Examples
NSActivityFilter thing;
DateTime toDate = thing.GetToDate();
SetAssociateList(NSSelectableMDOListItem[])
Sets the list of associates to filter on.
Declaration
Void SetAssociateList(NSSelectableMDOListItem[] associateList)
Parameters
Type | Name | Description |
---|---|---|
NSSelectableMDOListItem[] | associateList | list of associates. |
Returns
Type | Description |
---|---|
Void |
Examples
NSActivityFilter thing;
NSSelectableMDOListItem[] associateList;
thing.SetAssociateList(associateList);
SetFromDate(DateTime)
Sets the date to filter from.
Declaration
Void SetFromDate(DateTime fromDate)
Parameters
Type | Name | Description |
---|---|---|
DateTime | fromDate | The date to filter from. |
Returns
Type | Description |
---|---|
Void |
Examples
NSActivityFilter thing;
DateTime fromDate;
thing.SetFromDate(fromDate);
SetFutureDateList(NSMDOListItem[])
Sets the list of future date selections.
Declaration
Void SetFutureDateList(NSMDOListItem[] futureDateList)
Parameters
Type | Name | Description |
---|---|---|
NSMDOListItem[] | futureDateList | The list of future date selections. A static MDO list with standard values. |
Returns
Type | Description |
---|---|
Void |
Examples
NSActivityFilter thing;
NSMDOListItem[] futureDateList;
thing.SetFutureDateList(futureDateList);
SetGroupList(NSSelectableMDOListItem[])
Sets the list of groups to filter on.
Declaration
Void SetGroupList(NSSelectableMDOListItem[] groupList)
Parameters
Type | Name | Description |
---|---|---|
NSSelectableMDOListItem[] | groupList | The list of groups to filter on. |
Returns
Type | Description |
---|---|
Void |
Examples
NSActivityFilter thing;
NSSelectableMDOListItem[] groupList;
thing.SetGroupList(groupList);
SetToDate(DateTime)
Sets the date to filter to.
Declaration
Void SetToDate(DateTime toDate)
Parameters
Type | Name | Description |
---|---|---|
DateTime | toDate | The date to filter to. |
Returns
Type | Description |
---|---|
Void |
Examples
NSActivityFilter thing;
DateTime toDate;
thing.SetToDate(toDate);