|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RequestSql
SQL interface to insure basic methods
Method Summary | |
---|---|
java.lang.String |
convertColumnToString(Column attribute)
Built the left part of the filter SQL |
java.lang.String |
convertColumnToStringAttribute(Column attribute)
Built the left part of the filter SQL |
java.lang.String |
getAttributes(java.util.List<Column> columnVisible)
Get the attributes of the request |
java.lang.String |
getFilter(Predicat predicat)
Convert a predicate to a SQL filter |
java.lang.String |
getFromClauseAdvanced(SitoolsStructure structure)
Get from clause |
java.lang.String |
getNodeFrom(java.util.List<StructureNodeComplete> nodeList,
int level,
java.lang.String parentheseFermante)
Get the node from the node list, the level and the closing parenthesis |
java.lang.String |
getOrderBy(DataSet ds)
Get the order by defined |
java.lang.String |
getWhereClause(java.util.List<Predicat> predicats,
java.util.List<Column> columns)
Get the WHERE clause |
java.lang.String |
typeJointureToString(TypeJointure typeJointure)
Transform a join type to string |
Method Detail |
---|
java.lang.String getAttributes(java.util.List<Column> columnVisible)
columnVisible
- list of visible columns
java.lang.String getFromClauseAdvanced(SitoolsStructure structure)
structure
- a SitoolsStructure
java.lang.String getWhereClause(java.util.List<Predicat> predicats, java.util.List<Column> columns)
predicats
- a list of predicatescolumns
- a list of columns
java.lang.String getFilter(Predicat predicat)
predicat
- the predicate
java.lang.String getOrderBy(DataSet ds)
ds
- the primary keys defined in the request
java.lang.String convertColumnToStringAttribute(Column attribute)
attribute
- the column
java.lang.String convertColumnToString(Column attribute)
attribute
- the column
java.lang.String typeJointureToString(TypeJointure typeJointure)
typeJointure
- the join type
java.lang.String getNodeFrom(java.util.List<StructureNodeComplete> nodeList, int level, java.lang.String parentheseFermante)
nodeList
- the list of nodeslevel
- the levelparentheseFermante
- the closing parenthesis
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |