it.eng.qbe.model
Interface IStatement

All Known Implementing Classes:
BasicStatement, HQLStatement

public interface IStatement

Author:
Andrea Gioia

Method Summary
 it.eng.spago.base.SourceBean execute()
           
 it.eng.spago.base.SourceBean execute(int offset)
           
 it.eng.spago.base.SourceBean execute(int offset, int fetchSize)
           
 it.eng.spago.base.SourceBean execute(IQuery query, java.util.Properties parameters, int offset, int fetchSize, int maxResults)
           
 it.eng.spago.base.SourceBean executeWithPagination(int pageNumber, int pageSize)
           
 it.eng.spago.base.SourceBean executeWithPagination(IQuery query, java.util.Properties parameters, int pageNumber, int pageSize, int maxResults)
           
 IDataMartModel getDataMartModel()
           
 int getFetchSize()
           
 int getMaxResults()
           
 int getOffset()
           
 IQuery getQuery()
           
 java.lang.String getQueryString()
           
 java.lang.String getQueryString(IQuery query, java.util.Properties parameters)
           
 void setFetchSize(int fetchSize)
           
 void setMaxResults(int maxResults)
           
 void setOffset(int offset)
           
 void setParameters(java.util.Properties parameters)
           
 void setQuery(IQuery query)
           
 

Method Detail

setQuery

void setQuery(IQuery query)

getQuery

IQuery getQuery()

getQueryString

java.lang.String getQueryString()

getQueryString

java.lang.String getQueryString(IQuery query,
                                java.util.Properties parameters)
                                throws java.io.IOException
Throws:
java.io.IOException

getDataMartModel

IDataMartModel getDataMartModel()

getFetchSize

int getFetchSize()

setFetchSize

void setFetchSize(int fetchSize)

getMaxResults

int getMaxResults()

setMaxResults

void setMaxResults(int maxResults)

getOffset

int getOffset()

setOffset

void setOffset(int offset)

setParameters

void setParameters(java.util.Properties parameters)

execute

it.eng.spago.base.SourceBean execute()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

execute

it.eng.spago.base.SourceBean execute(int offset)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

execute

it.eng.spago.base.SourceBean execute(int offset,
                                     int fetchSize)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

execute

it.eng.spago.base.SourceBean execute(IQuery query,
                                     java.util.Properties parameters,
                                     int offset,
                                     int fetchSize,
                                     int maxResults)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

executeWithPagination

it.eng.spago.base.SourceBean executeWithPagination(int pageNumber,
                                                   int pageSize)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

executeWithPagination

it.eng.spago.base.SourceBean executeWithPagination(IQuery query,
                                                   java.util.Properties parameters,
                                                   int pageNumber,
                                                   int pageSize,
                                                   int maxResults)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception