DataObjectFilter Methods |
The DataObjectFilter type exposes the following members.
Name | Description | |
---|---|---|
![]() | CanPass(DataObjectVersion) |
Returns whether a given data object version can pass the filter.
Not all filter options can be handled by the method!
If an unhandled filter option is applied an error is thrown.
Unhandled options are: RequireActiveProcess and RequireActiveWorkItem.
|
![]() | CanPass(DataObject, DataObjectTypes) | |
![]() | Clone | |
![]() | ContainsOnlyOneWorkflowRelatedType |
returns true if TypeIds list contain exactly Activities or Processes
|
![]() ![]() | ContainsOnlyOneWorkflowRelatedType(IntegerList) |
returns true if dataObjTypeIds list contain exactly Activities or Processes
|
![]() | ContainsSpecialTypeFiltering |
Returns true hvis filter rummer filtrering, som kun giver mening for objekter af de specielle typer.
|
![]() ![]() | GetActivityStatesFromStateFlags | |
![]() | GetTypeNames | |
![]() | GetTypeObjects |
Returns DataObjectType objects from the cache based on the type ID's in TypeIds
|
![]() | GetValidExpressionFields |
Returns a collection of fields (properties and fixed fields) that are valid to be used in the filter's expressions.
|
![]() | GetValidExpressions |
Returnerer de expressions som er valide.
|
![]() | ResetAll |
Nulstiller objektets id m.v.
Metoden anvendes hvis man vil oprette et nyt filter (i db)
som en kopi af et andet.
|
![]() | ResetWorkflowRelatedValues |
Method is used in DataObjectFilterController.SaveFilter().
Resets workflow related settings to their default values if
the filter's types doesn't contain exactly processes or activities.
|
![]() | Validate |
Validates that the filter is in a valid state - if not an exception is thrown.
|
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |
Name | Description | |
---|---|---|
![]() ![]() | IObjectWithDataVersion.GetDataVersion | |
![]() ![]() | IObjectWithGuid.GetGuid | |
![]() ![]() | IObjectWithId.GetId | |
![]() ![]() | IObjectContainingDataObjectFilterGetDataObjectFilter |