public abstract class FilterOperation<F extends Filter<?>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FilterOperation.MultiValueOperation
Represents a filter operation that may contain attribute values.
|
static class |
FilterOperation.NoValueOperation
Represents a filter operation that doesn't contain any attribute values.
|
Modifier and Type | Field and Description |
---|---|
static FilterOperation.MultiValueOperation |
IN
Operation that requires an attribute's value to be in a list of values.
|
static FilterOperation.MultiValueOperation |
NOT_IN
Operation that requires an attribute's value not to be in a list
of values.
|
static FilterOperation.NoValueOperation |
NOT_NULL
Operation that requires an attribute not to be null.
|
static FilterOperation.NoValueOperation |
NULL
Operation that requires an attribute to be null.
|
Modifier and Type | Method and Description |
---|---|
abstract F |
createFilter(Attribute attribute)
Creates a filter for the given attribute with this operation.
|
F |
createFilter(BellaDatiService service,
String reportId,
String attributeCode)
Creates a filter using just an attribute code.
|
public static final FilterOperation.NoValueOperation NULL
public static final FilterOperation.NoValueOperation NOT_NULL
public static final FilterOperation.MultiValueOperation IN
public static final FilterOperation.MultiValueOperation NOT_IN
public abstract F createFilter(Attribute attribute)
attribute
- the attribute to filter bypublic F createFilter(BellaDatiService service, String reportId, String attributeCode)
service
- service instance to connect to the server (to allow
retrieving the attribute's values)reportId
- ID of the report the attribute is used inattributeCode
- code of the attributeCopyright © 2014. All rights reserved.