com.businessobjects.rebean.wi
Class QueryFeature

java.lang.Object
  extended by com.businessobjects.rebean.wi.Feature
      extended by com.businessobjects.rebean.wi.QueryFeature
All Implemented Interfaces:
java.io.Serializable

public class QueryFeature
extends Feature

Warning: This class is no longer functional from the SAP BusinessObjects 4.0 release onwards.

The QueryFeature class defines the set of features provided by an inherited Query object.

Example:Check whether the data provider supports CREATE_ADVANCED_CONDITION feature

 DataProvider dp = wiDoc.getDataProviders().getItem(0);
 out.print(dp.isSupported(QueryFeature.CREATE_ADVANCED_CONDITION));
 

Since:
12.0
See Also:
DataProviderFeature, DataProvider.isSupported(Feature), ConditionOperatorFeature, Serialized Form

Field Summary
static QueryFeature ADD_QUERYSORT
          Permission to add QuerySort on a query.
static QueryFeature CREATE_ADVANCED_CONDITION
          Permission for Query to create a advanced condition part.
static QueryFeature CREATE_CONDITION_OBJECT_VALUE
          Permission for Query to create in condition part a condition object as value.
static QueryFeature CREATE_PERCENTAGE_RANK
          Permission for Query to create a RankCondition with percentage.
static QueryFeature CREATE_RANK_CONDITION
          Permission for Query to create a RankCondition.
static QueryFeature QUERYSORT_ON_ANY_OBJECT
          Capability of add QuerySort on any DS object.
 
Method Summary
 java.lang.String toString()
          Gets the String value of QueryFeature
 
Methods inherited from class com.businessobjects.rebean.wi.Feature
implies
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CREATE_ADVANCED_CONDITION

public static final QueryFeature CREATE_ADVANCED_CONDITION
Permission for Query to create a advanced condition part.

Note when CREATE_ADVANCED_CONDITION is enable, you can use ConditionContainer.createAdvancedCondition(DataSourceObject[], ConditionOperator, ComparisonOperator , DataSourceObject[]), ConditionContainer.copyAdvancedCondition(AdvancedCondition)


CREATE_CONDITION_OBJECT_VALUE

public static final QueryFeature CREATE_CONDITION_OBJECT_VALUE
Permission for Query to create in condition part a condition object as value.

Note when CREATE_CONDITION_OBJECT_VALUE is enable, you can call FilterCondition.createConditionObjectValue(DataSourceObject)


CREATE_RANK_CONDITION

public static final QueryFeature CREATE_RANK_CONDITION
Permission for Query to create a RankCondition.

Note when CREATE_RANK_CONDITION is enable, you can call ConditionContainer.createRankCondition(Podium, int, DataSourceObject, DataSourceObject) and ConditionContainer.copyRankCondition(RankCondition).


CREATE_PERCENTAGE_RANK

public static final QueryFeature CREATE_PERCENTAGE_RANK
Permission for Query to create a RankCondition with percentage.

Note when CREATE_PERCENTAGE_RANK is enable, you can use Podium.BOTTOM_PERCENTAGE and Podium.TOP_PERCENTAGE in RankCondition.


QUERYSORT_ON_ANY_OBJECT

public static final QueryFeature QUERYSORT_ON_ANY_OBJECT
Capability of add QuerySort on any DS object. DS object are not limited among query result objects. QUERYSORT_ON_ANY_OBJECT implies DataProviderFeature#EDIT_QUERY.


ADD_QUERYSORT

public static final QueryFeature ADD_QUERYSORT
Permission to add QuerySort on a query.

Method Detail

toString

public java.lang.String toString()
Gets the String value of QueryFeature

Overrides:
toString in class java.lang.Object