DataObjectFilter Class |
Namespace: Omada.OE.Model
[SerializableAttribute] public class DataObjectFilter : ICloneable, IObjectWithId, IObjectWithGuid, IObjectWithDataVersion, IObjectContainingDataObjectFilter
The DataObjectFilter type exposes the following members.
Name | Description | |
---|---|---|
![]() | DataObjectFilter |
Name | Description | |
---|---|---|
![]() | AcceptanceFlags |
AcceptanceFlags is only used when the filter is applied on a list of workitems.
AcceptanceFlags går på brugerens egen acceptance! Altså ikke aktivitetens
samlede acceptance.
|
![]() | ActionStatus |
ActionStatus is only used when the filter is applied on a list of workitems.
It filters on WorkItemAction.
|
![]() | AssigneeCurrentUser |
AssigneeCurrentUser is only used on activities and processes.
AssigneeCurrentUser is only used if AssigneeFilter is null.
If AssigneeCurrentUser is true only activities which assignee group contains
the active user will pass.
|
![]() | AssigneeFilter |
The AssigneeFilter is ued when loading Activities and Processes.
The TypeIds attribute must contain only Activities or only Processes.
Only activities which assignee group contains one or more
of the provided users will pass the filter
Process will only pass if at least on activity can pass the assignee filter.
AssigneeFilter is null if no filter is provided.
The AssigneeFilter is required to have its members loaded.
|
![]() | AssigneeFilterType |
Defines how the assignee filter is used.
If the type is 'explicit' only activities which are explicitly assigned to the user passes the filter.
If the type is 'implicit' only activities which is assigned to groups in which the user is member passes the filter,
|
![]() | DataVersion | |
![]() | DeletedStatus |
Filter on whether the DataObject is deleted
|
![]() | Expressions | |
![]() | Id |
Internal ID of the filter
|
![]() | MemberGroupId |
MemberGroupId is only used if filtering is for exactly the 'Users' data object type.
If specified only users, who are members of the group, are included.
|
![]() | Owner |
Denotes the type of object that owns the filter.
|
![]() | ProcessTemplateIds |
Only load objects which are created from the provided process templates.
|
![]() | ReadStatus |
Filter on whether the active user has read the DataObject.
Note: a customer setting controls whether read-info is logged or not. If not then this filter should not be used.
|
![]() | RequireActiveProcess |
If set to true, only objects which are target object in an active process is loaded.
|
![]() | RequireActiveWorkItem |
If set to true, only data object which are target object in an active process
is loaded and the active user must have an active workitem.
|
![]() | RootNodeId | |
![]() | SecurityStatus |
Filter on the security inheritance status
|
![]() | StateFlags |
StateFlags is used when loading Activities and Processes.
|
![]() | SystemStatus |
Filter on the System attribute on DataObjects
|
![]() | TargetTypeIds | |
![]() | TemplateStatus |
Filter on the template attribute on DataObjects
|
![]() | TypeIds |
When set, only objects of the given DataObjectTypes are loaded.
|
![]() | UId |
UID of the filter
|
![]() | WorkItemDeletedStatus |
Filter on whteher WorkItem is deleted
|
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 |