com.sap.conn.jco
Interface JCoRepositoryQueryResult


public interface JCoRepositoryQueryResult

JCoRepositoryResult describes the result of the repository query. This interface comprises public methods for access to JCoRepositoryResult instance.

Note: The implementation for this interface provided by the JCo runtime. Other implementations are not supported.

See Also:
JCo.queryMetaDataSet(JCoRepository, List, List, List)

Method Summary
 java.lang.String getClassQueryError(java.lang.String className)
           
 java.util.List<java.lang.String> getFailedClassesQueries()
           
 java.util.List<java.lang.String> getFailedFunctionQueries()
           
 java.util.List<java.lang.String> getFailedTypesQueries()
           
 java.lang.String getFunctionQueryError(java.lang.String functionName)
           
 java.lang.String getTypeQueryError(java.lang.String typeName)
           
 boolean isClassQuerySuccessful(java.lang.String className)
           
 boolean isFunctionQuerySuccessful(java.lang.String functionName)
           
 boolean isQuerySuccessful()
          Returns true only if all requested data dictionary elements were queried
 boolean isTypeQuerySuccessful(java.lang.String typeName)
           
 

Method Detail

isQuerySuccessful

boolean isQuerySuccessful()
Returns true only if all requested data dictionary elements were queried

Returns:
true if no errors occurred

isFunctionQuerySuccessful

boolean isFunctionQuerySuccessful(java.lang.String functionName)
Parameters:
functionName - function name
Returns:
true if the function was queried successful

isTypeQuerySuccessful

boolean isTypeQuerySuccessful(java.lang.String typeName)
Parameters:
typeName - type name
Returns:
true if the type was queried successful

isClassQuerySuccessful

boolean isClassQuerySuccessful(java.lang.String className)
Parameters:
className - class name
Returns:
true if the class was queried successful

getFunctionQueryError

java.lang.String getFunctionQueryError(java.lang.String functionName)
Parameters:
functionName - function name
Returns:
error text if the function query failed or null if the query was successful
Throws:
JCoRuntimeException - if the functionName was not requested by the query

getTypeQueryError

java.lang.String getTypeQueryError(java.lang.String typeName)
Parameters:
typeName - type name
Returns:
error text if the type query failed or null if the query was successful
Throws:
JCoRuntimeException - if the typeName was not requested by the query

getClassQueryError

java.lang.String getClassQueryError(java.lang.String className)
Parameters:
className - class name
Returns:
error text if the class query failed or null if the query was successful
Throws:
JCoRuntimeException - if the className was not requested by the query

getFailedFunctionQueries

java.util.List<java.lang.String> getFailedFunctionQueries()
Returns:
list of functions for which the query failed or null if there are no failed function query

getFailedTypesQueries

java.util.List<java.lang.String> getFailedTypesQueries()
Returns:
list of types for which the query failed or null if there are no failed type query

getFailedClassesQueries

java.util.List<java.lang.String> getFailedClassesQueries()
Returns:
list of classes for which the query failed or null if there are no failed class query


Copyright © 2008-2014 SAP AG. All Rights Reserved.