org.jboss.dashboard.command
Class SQLConditionCommand
java.lang.Object
org.jboss.dashboard.command.AbstractCommand
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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
SQLConditionCommand
public SQLConditionCommand(String name)
execute
public String execute()
throws Exception
- Specified by:
execute in interface Command- Specified by:
execute in class AbstractCommand
- Throws:
Exception
getPropertyIds
public Set<String> getPropertyIds()
- Specified by:
getPropertyIds in interface Command- Overrides:
getPropertyIds in class AbstractCommand
getFilterPropertyId
public String getFilterPropertyId()
getPreparedStatementFragment
public String getPreparedStatementFragment()
getPreparedStatementParameters
public List getPreparedStatementParameters()
Copyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.