| Package | Description |
|---|---|
| de.aristaflow.adept2.core.processmanager | |
| de.aristaflow.adept2.core.processrepository | |
| de.aristaflow.adept2.core.worklistmanager | |
| de.aristaflow.adept2.model.filter |
This package contains classes that model a system of filters that can be applied
to specially annotated classes.
|
| de.aristaflow.adept2.model.worklistmodel |
| Modifier and Type | Method and Description |
|---|---|
static Filter |
CustomInstanceFilters.getInstancesWithFailedNodesFilter(boolean ignoreReferencedSubs) |
static Filter |
CustomInstanceFilters.getInstancesWithRunningNodesFilter(boolean ignoreReferencedSubs) |
static Filter |
CustomInstanceFilters.getInstancesWithSuspendedNodesFilter(boolean ignoreReferencedSubs) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.util.UUID,java.util.Set<java.util.UUID>> |
InstanceManager.findInstanceIDsOf(SessionToken session,
java.util.UUID[] templateIDs,
boolean recursively,
Filter instanceFilter,
Filter instanceStatusFilter)
Finds all instances of the designated templates matching the two filters on
Instance and InstanceStatus and returns their instance IDs. |
RemoteIterator<java.util.List<SerialisablePair<java.util.UUID,java.util.UUID>>> |
InstanceManager.findInstanceIDsOfIterator(SessionToken session,
java.util.UUID[] templateIDs,
boolean recursively,
Filter instanceFilter,
Filter instanceStatusFilter)
Similar to
InstanceManager.findInstanceIDsOf(SessionToken, UUID[], boolean, Filter, Filter)
but with partial retrieval of the instance IDs and therefore no grouping by
template ID. |
java.util.Map<java.util.UUID,java.util.Set<InstanceReference>> |
InstanceManager.findInstanceRefsOf(SessionToken session,
java.util.UUID[] templateIds,
boolean recursively,
Filter instanceFilter,
Filter instanceStatusFilter)
Finds all instances of the designated templates matching the two filters on
Instance and InstanceStatus and returns lightweight
objects. |
RemoteIterator<java.util.List<InstanceReference>> |
InstanceManager.findInstanceRefsOfIterator(SessionToken session,
java.util.UUID[] templateIds,
boolean recursively,
Filter instanceFilter,
Filter instanceStatusFilter)
Similar to
InstanceManager.findInstanceRefsOf(SessionToken, UUID[], boolean, Filter, Filter)
but with partial retrieval of the instance references and therefore no
grouping by template ID. |
java.util.Set<TemplateReference> |
TemplateManager.findTemplates(SessionToken session,
Filter templateFilter,
Filter templateStatusFilter)
Finds all templates (except embedded and instance-specific ones) matching
the two filters on
Template and TemplateStatus and returns
their template references. |
RemoteIterator<java.util.List<TemplateReference>> |
TemplateManager.findTemplatesIterator(SessionToken session,
Filter templateFilter,
Filter templateStatusFilter)
The same as
TemplateManager.findTemplates(SessionToken, Filter, Filter) but with
partial retrieval of the template references. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<TemplateProxy> |
ProcessTemplateManager.getAllTemplateProxies(SessionToken session,
Filter filter)
Gets all lightweight objects (
TemplateProxy) that match the
designated filter based on TemplateProxy. |
RemoteIterator<java.util.List<TemplateProxy>> |
ProcessTemplateManager.getAllTemplateProxiesIterator(SessionToken session,
Filter filter)
The same as
ProcessTemplateManager.getAllTemplateProxies(SessionToken, Filter) but with
partial retrieval of the lightweight objects for process templates. |
| Modifier and Type | Method and Description |
|---|---|
Worklist<? extends AdministrativeWorklistItem> |
WorklistAdministration.getGlobalWorklist(SessionToken session,
Filter filter)
Gets the global worklist which contains all worklist items available in
this worklist manager with the items filtered appropriately.
|
IncrementalWorklist<? extends AdministrativeWorklistItem> |
WorklistAdministration.getGlobalWorklistIncrementally(SessionToken session,
Filter filter,
boolean respectAggregation,
boolean aggregateGroups)
The same as
WorklistAdministration.getGlobalWorklist(SessionToken) but with a worklist providing incremental
access to its filtered items. |
Worklist<? extends AdministrativeWorklistItem> |
WorklistAdministration.getInternalWorklist(SessionToken session,
java.util.UUID worklistID,
Filter filter)
Gets the worklist that has the designated (unique) ID with the items
filtered appropriately.
|
IncrementalWorklist<? extends AdministrativeWorklistItem> |
WorklistAdministration.getInternalWorklistIncrementally(SessionToken session,
java.util.UUID worklistID,
Filter filter,
boolean respectAggregation,
boolean aggregateGroups)
The same as
WorklistAdministration.getInternalWorklist(SessionToken, UUID) but with a worklist providing
incremental access to its filtered items and optionally containing grouping items. |
WorklistUpdate |
WorklistUpdateManager.getWorklistUpdates(SessionToken session,
java.util.UUID worklistID,
WorklistRevision sinceRevision,
Filter worklistFilter)
Gets updates for the designated worklist since the designated revision (PULL by the client).
|
IncrementalWorklistUpdate |
WorklistUpdateManager.getWorklistUpdatesIncrementally(SessionToken session,
java.util.UUID worklistID,
WorklistRevision sinceRevision,
Filter worklistFilter)
The same as
WorklistUpdateManager.getWorklistUpdates(SessionToken, UUID, WorklistRevision, Filter) but with
an update providing incremental access to the contained worklist item updates. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ComparisonFilter
Represents a filter that compares an attribute
to a constant value using a specified comparison operator
(i.e.
|
interface |
ConstPositionFilter
The "POSITION op Value" filter
This filter compares the position of the first object matching the
specified filter in the list returned by the attribute to a given constant value.
|
interface |
ContainsAllFilter
The "CONTAINS ALL" filter.
|
interface |
ContainsFilter
The super interface for all filters that match on some kind of "contains" relation.
|
interface |
MultipleFilterFilter
Represents a filter that logically combines the Boolean outputs of multiple
filters by an operator such as AND or OR.
|
interface |
TwoFiltersPositionFilter
The "POSITION FILTER op FILTER" filter
This filter compares the position of the first object matching the
first specified filter in the list returned by the attribute to the position
of the first object matching the second filter.
|
interface |
UnaryFilter
Represents a filter that applies a unary operator (for example the NOT operator)
to the result of a sub-filter.
|
| Modifier and Type | Method and Description |
|---|---|
Filter |
FilterFactory.createConstantFilter(boolean matchAll)
Creates a constant filter that either matches all objects or no objects
based on the designated parameter.
|
Filter |
ContainsFilter.getFilterOnAttribute()
Returns the filter that is applied to the objects in the collection returned by the attribute.
|
Filter |
UnaryFilter.getOperand()
Retrieves the filter to which the operand is applied
|
Filter[] |
MultipleFilterFilter.getOperands()
Returns the operands that are combined
|
Filter |
TwoFiltersPositionFilter.getSecondFilterOnAttribute()
Returns the filter that is applied to the set returned by the attribute to
return the second position
|
| Modifier and Type | Method and Description |
|---|---|
MultipleFilterFilter |
FilterFactory.createAndFilter(Filter... filters)
Creates a filter that matches when all specified filters
match (i.e. that performs a logical AND).
|
ConstPositionFilter |
FilterFactory.createConstPositionFilter(Attribute attr,
Filter filter,
ComparisonOperator operator,
int position)
Creates a filter that matches when comparison between the position of the
first object in the list returned by the attribute matching the filter and the specified
integer succeeds.
|
ContainsAllFilter |
FilterFactory.createContainsAllFilter(Attribute attr,
Filter filter,
java.util.Collection<java.io.Serializable> allObjects)
Creates a filter that matches when all of the objects in the allObjects collection
matching the specified filter are also contained in the collection
returned by the attribute (i.e. if {o "in" allObjects | filter.matches(o)} is a subset
of the attribute value)
|
ContainsFilter |
FilterFactory.createContainsAnyFilter(Attribute attr,
Filter filter)
Creates a filter that matches when any of the objects in the collection
returned by the specified attribute match the specified filter
(analogous to a existential quantifier)
|
ContainsFilter |
FilterFactory.createContainsOnlyFilter(Attribute attr,
Filter filter)
Creates a filter that matches when all of the objects in the collection
returned by the specified attribute match the specified filter
(analogous to a universal quantifier)
|
UnaryFilter |
FilterFactory.createNotFilter(Filter filter)
Creates a filter that matches when the specified filter does not
match (i.e. that performs a logical NOT).
|
MultipleFilterFilter |
FilterFactory.createOrFilter(Filter... filters)
Creates a filter that matches when one of the specified filters
matches (i.e. that performs a logical OR).
|
TwoFiltersPositionFilter |
FilterFactory.createTwoFiltersPositionFilter(Attribute attr,
Filter filter1,
ComparisonOperator operator,
Filter filter2)
Creates a filter that matches when comparison between the position of the
first object in the list returned by the attribute matching the first filter and
the first object matching the second filter succeeds.
|
| Modifier and Type | Method and Description |
|---|---|
static Filter |
WorklistFilters.createFilter(FilterFactory ff,
Pair<ComparisonOperator,java.lang.String> titleFilter,
Pair<ComparisonOperator,java.lang.String> procTypeFilter,
Pair<ComparisonOperator,java.lang.String> procInstNameFilter,
Pair<ComparisonOperator,java.lang.Integer> prioFilter,
Pair<ComparisonOperator,java.lang.Long> actDateFilter,
Pair<ComparisonOperator,java.lang.Long> dueDateFilter,
Pair<ComparisonOperator,java.lang.Long> resubDateFilter,
boolean inclTlpi)
Create a worklist filter based on the given pairs of ComparisonOperator and
value.
|
Filter |
WorklistUpdateConfiguration.getWorklistFilter()
Returns the filter applied on the worklist items or
null if no
filter is applied. |
static Filter |
WorklistFilters.noTopLevelInstances(FilterFactory ff)
Creates a filter suitable for
WorklistUpdateConfigurations,
rejecting all
items representing top-level instances. |
static Filter |
WorklistFilters.onlyTopLevelInstances(FilterFactory ff)
Creates a filter suitable for
WorklistUpdateConfigurations,
rejecting all
items representing top-level instances. |
| Modifier and Type | Method and Description |
|---|---|
WorklistUpdateConfiguration |
WorklistModelFactory.createPullWorklistConfiguration(Filter worklistFilter)
Creates a default worklist configuration object with pull updates and the
designated filter.
|
WorklistUpdateConfiguration |
WorklistModelFactory.createPushWorklistConfiguration(long minInterval,
Filter worklistFilter)
Creates a default worklist configuration object with push updates having
the designated minimal interval between updates and the designated filter.
|
WorklistUpdateConfiguration |
WorklistModelFactory.createWorklistConfiguration(int updateModeThreshold,
java.util.Map<java.lang.Integer,java.lang.Long> updateInterval,
boolean incrementallyUpdates,
Filter worklistFilter,
java.util.Map<java.lang.String,java.lang.String> userAttributes)
Creates a new worklist configuration object.
|
WorklistUpdate |
InternalWorklist.getUpdates(long sinceRevision,
Filter worklistFilter)
Returns all updates since the given revision of this worklist.
|