com.uwyn.rife.database.querymanagers.generic
Class RestoreQuery

java.lang.Object
  extended by com.uwyn.rife.database.queries.AbstractWhereDelegateQuery<RestoreQuery,Select>
      extended by com.uwyn.rife.database.querymanagers.generic.RestoreQuery
All Implemented Interfaces:
Query, ReadQuery, Cloneable

public class RestoreQuery
extends AbstractWhereDelegateQuery<RestoreQuery,Select>
implements ReadQuery, Cloneable


Field Summary
 
Fields inherited from class com.uwyn.rife.database.queries.AbstractWhereDelegateQuery
mDelegate
 
Constructor Summary
RestoreQuery(Select query)
           
 
Method Summary
 void clear()
           
 RestoreQuery clone()
           
 RestoreQuery distinctOn(String column)
           
 RestoreQuery distinctOn(String[] columns)
           
 RestoreQuery field(String field)
           
 RestoreQuery field(String alias, Select query)
           
 RestoreQuery fields(Class bean)
           
 RestoreQuery fields(String... fields)
           
 RestoreQuery fields(String table, Class bean)
           
 RestoreQuery fieldsExcluded(Class bean, String... excluded)
           
 RestoreQuery fieldsExcluded(String table, Class bean, String... excluded)
           
 RestoreQuery fieldSubselect(Select query)
           
 com.uwyn.rife.database.capabilities.Capabilities getCapabilities()
           
 String getFrom()
           
 QueryParameters getParameters()
           
 String getSql()
           
 RestoreQuery join(String table)
           
 RestoreQuery joinCross(String table)
           
 RestoreQuery joinCustom(String customJoin)
           
 RestoreQuery joinInner(String table, Select.JoinCondition condition, String conditionExpression)
           
 RestoreQuery joinOuter(String table, Select.JoinType type, Select.JoinCondition condition, String conditionExpression)
           
 RestoreQuery limit(int limit)
           
 RestoreQuery offset(int offset)
           
 RestoreQuery orderBy(String column)
           
 RestoreQuery orderBy(String column, Select.OrderByDirection direction)
           
 void setExcludeUnsupportedCapabilities(boolean flag)
           
 String toString()
           
 RestoreQuery union(Select union)
           
 RestoreQuery union(String union)
           
 
Methods inherited from class com.uwyn.rife.database.queries.AbstractWhereDelegateQuery
addWhereParameters, getDatasource, getDelegate, startWhere, startWhereAnd, startWhereOr, where, where, where, where, where, where, where, where, where, where, where, where, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereAnd, whereExcluded, whereFiltered, whereIncluded, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereOr, whereSubselect
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RestoreQuery

public RestoreQuery(Select query)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

clone

public RestoreQuery clone()
Overrides:
clone in class Object

clear

public void clear()
Specified by:
clear in interface Query

getCapabilities

public com.uwyn.rife.database.capabilities.Capabilities getCapabilities()
Specified by:
getCapabilities in interface Query

setExcludeUnsupportedCapabilities

public void setExcludeUnsupportedCapabilities(boolean flag)
Specified by:
setExcludeUnsupportedCapabilities in interface Query

getParameters

public QueryParameters getParameters()
Specified by:
getParameters in interface Query

getSql

public String getSql()
Specified by:
getSql in interface Query

distinctOn

public RestoreQuery distinctOn(String column)

distinctOn

public RestoreQuery distinctOn(String[] columns)

getFrom

public String getFrom()

join

public RestoreQuery join(String table)

joinCross

public RestoreQuery joinCross(String table)

joinCustom

public RestoreQuery joinCustom(String customJoin)

joinInner

public RestoreQuery joinInner(String table,
                              Select.JoinCondition condition,
                              String conditionExpression)

joinOuter

public RestoreQuery joinOuter(String table,
                              Select.JoinType type,
                              Select.JoinCondition condition,
                              String conditionExpression)

limit

public RestoreQuery limit(int limit)

offset

public RestoreQuery offset(int offset)

orderBy

public RestoreQuery orderBy(String column)

orderBy

public RestoreQuery orderBy(String column,
                            Select.OrderByDirection direction)

union

public RestoreQuery union(Select union)

union

public RestoreQuery union(String union)

field

public RestoreQuery field(String field)

fields

public RestoreQuery fields(Class bean)

fieldsExcluded

public RestoreQuery fieldsExcluded(Class bean,
                                   String... excluded)

fields

public RestoreQuery fields(String table,
                           Class bean)

fieldsExcluded

public RestoreQuery fieldsExcluded(String table,
                                   Class bean,
                                   String... excluded)

fields

public RestoreQuery fields(String... fields)

field

public RestoreQuery field(String alias,
                          Select query)

fieldSubselect

public RestoreQuery fieldSubselect(Select query)


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.