com.sap.ip.me.api.persist.query
Interface InternalQueryRuntime

All Known Implementing Classes:
QueryRuntime

public interface InternalQueryRuntime

For internal use only. Do not access within your application.

Author:
SAP

Method Summary
 Condition createCondition(AttributeDescriptor attribute, RelationalOperatorType relationalOperator, java.lang.Object value)
          Creates a condition
 Condition createCondition(Condition[] conditions, LogicalOperatorType logicalOperator)
          Creates a CompositeCondition
 Query createQuery(java.lang.String classtype, Condition condition)
          Description of the Method
 Query createQuery(java.lang.String classtype, Condition condition, int maxCount)
          Description of the Method
 Query createQuery(java.lang.String classtype, Condition condition, SortOrder sortOrder)
          Description of the Method
 Query createQuery(java.lang.String classtype, Condition condition, SortOrder sortOrder, int maxCount)
          Description of the Method
 Query createQuery(java.lang.String classtype, Condition condition, SortOrder sortOrder, int startIdx, int maxCount)
          Description of the Method
 Query createQuery(java.lang.String classtype, SortOrder sortOrder, int startIdx, int maxCount)
          Description of the Method
 SortOrder createSortOrder(AttributeDescriptor attrib, boolean isAscending)
          Creates a SortOrder
 SortOrder createSortOrder(SortOrder[] sortOrders)
          Description of the Method
 

Method Detail

createCondition

public Condition createCondition(AttributeDescriptor attribute,
                                 RelationalOperatorType relationalOperator,
                                 java.lang.Object value)
Creates a condition

Parameters:
relationalOperator - Description of the Parameter
value - Description of the Parameter
Returns:
Description of the Return Value

createCondition

public Condition createCondition(Condition[] conditions,
                                 LogicalOperatorType logicalOperator)
Creates a CompositeCondition

Parameters:
conditions - Description of the Parameter
logicalOperator - Description of the Parameter
Returns:
Description of the Return Value

createSortOrder

public SortOrder createSortOrder(AttributeDescriptor attrib,
                                 boolean isAscending)
Creates a SortOrder

Parameters:
isAscending - Description of the Parameter
Returns:
Description of the Return Value

createSortOrder

public SortOrder createSortOrder(SortOrder[] sortOrders)
Description of the Method

Parameters:
sortOrders - Description of the Parameter
Returns:
Description of the Return Value

createQuery

public Query createQuery(java.lang.String classtype,
                         Condition condition)
                  throws PersistenceException
Description of the Method

Parameters:
condition - Description of the Parameter
Returns:
Description of the Return Value
Throws:
PersistenceException

createQuery

public Query createQuery(java.lang.String classtype,
                         Condition condition,
                         SortOrder sortOrder)
                  throws PersistenceException
Description of the Method

Parameters:
condition - Description of the Parameter
sortOrder - Description of the Parameter
Returns:
Description of the Return Value
Throws:
PersistenceException

createQuery

public Query createQuery(java.lang.String classtype,
                         Condition condition,
                         int maxCount)
                  throws PersistenceException
Description of the Method

Parameters:
condition - Description of the Parameter
maxCount - Description of the Parameter
Returns:
Description of the Return Value
Throws:
PersistenceException

createQuery

public Query createQuery(java.lang.String classtype,
                         SortOrder sortOrder,
                         int startIdx,
                         int maxCount)
                  throws PersistenceException
Description of the Method

Parameters:
maxCount - Description of the Parameter
Returns:
Description of the Return Value
Throws:
PersistenceException

createQuery

public Query createQuery(java.lang.String classtype,
                         Condition condition,
                         SortOrder sortOrder,
                         int maxCount)
                  throws PersistenceException
Description of the Method

Parameters:
condition - Description of the Parameter
sortOrder - Description of the Parameter
maxCount - Description of the Parameter
Returns:
Description of the Return Value
Throws:
PersistenceException

createQuery

public Query createQuery(java.lang.String classtype,
                         Condition condition,
                         SortOrder sortOrder,
                         int startIdx,
                         int maxCount)
                  throws PersistenceException
Description of the Method

Parameters:
condition - Description of the Parameter
sortOrder - Description of the Parameter
startIdx - Description of the Parameter
maxCount - Description of the Parameter
Returns:
Description of the Return Value
Throws:
PersistenceException


Copyright © 2005 SAP AG. All Rights Reserved.