Dashboard Builder JDBC/SQL Provider 6.0.0.Final

org.jboss.dashboard.command
Class SQLConditionCommand

java.lang.Object
  extended by org.jboss.dashboard.command.AbstractCommand
      extended by org.jboss.dashboard.command.SQLConditionCommand
All Implemented Interfaces:
Command

public class SQLConditionCommand
extends AbstractCommand

SYNTAX: {sql_condition, required | optional, <sqlColumn>, <filterPropertyId>).
ex: {sql_condition, optional, case_status)


Field Summary
static String ARGUMENT_OPTIONAL
           
static String ARGUMENT_REQUIRED
           
protected  String filterPropertyId
          The filter property id containing the values to search for.
protected  List filterWhereStatement
          The filter where statement generated.
 
Fields inherited from class org.jboss.dashboard.command.AbstractCommand
arguments, dataFilter, name
 
Constructor Summary
SQLConditionCommand(String name)
           
 
Method Summary
 boolean containsProperty(String propertyId)
           
 String execute()
           
 String getFilterPropertyId()
           
 String getPreparedStatementFragment()
           
 List getPreparedStatementParameters()
           
 
Methods inherited from class org.jboss.dashboard.command.AbstractCommand
getArgument, getArguments, getDataFilter, getName, setArguments, setDataFilter, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARGUMENT_REQUIRED

public static final String ARGUMENT_REQUIRED
See Also:
Constant Field Values

ARGUMENT_OPTIONAL

public static final String ARGUMENT_OPTIONAL
See Also:
Constant Field Values

filterPropertyId

protected transient String filterPropertyId
The filter property id containing the values to search for.


filterWhereStatement

protected transient List filterWhereStatement
The filter where statement generated.

Constructor Detail

SQLConditionCommand

public SQLConditionCommand(String name)
Method Detail

execute

public String execute()
               throws Exception
Specified by:
execute in interface Command
Specified by:
execute in class AbstractCommand
Throws:
Exception

containsProperty

public boolean containsProperty(String propertyId)
                         throws Exception
Specified by:
containsProperty in interface Command
Overrides:
containsProperty in class AbstractCommand
Throws:
Exception

getFilterPropertyId

public String getFilterPropertyId()

getPreparedStatementFragment

public String getPreparedStatementFragment()

getPreparedStatementParameters

public List getPreparedStatementParameters()

Dashboard Builder JDBC/SQL Provider 6.0.0.Final

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.