Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql.jdbc.dialect
Class SQLStatement.Tag

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.jdbc.dialect.SQLStatement.Tag
Enclosing class:
SQLStatement

public static class SQLStatement.Tag
extends Object

Tags that may condition execution of the statement.


Field Summary
 String key
          Tag: TAG_TEST, TAG_IF
static String TAG_IF
          Tag to only execute statement if a var is true.
static String TAG_TEST
          Tag for a SELECT statement whose number of rows must be counted.
 String value
          The value behind a tag, used for TAG_IF
static String VAR_EMPTY_RESULT
           
 
Constructor Summary
SQLStatement.Tag(String key, String value)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_TEST

public static final String TAG_TEST
Tag for a SELECT statement whose number of rows must be counted. Var "emptyResult" is set accordingly.

See Also:
Constant Field Values

TAG_IF

public static final String TAG_IF
Tag to only execute statement if a var is true. Var may be preceded by ! inverse the test.

See Also:
Constant Field Values

VAR_EMPTY_RESULT

public static final String VAR_EMPTY_RESULT
See Also:
Constant Field Values

key

public final String key
Tag: TAG_TEST, TAG_IF


value

public final String value
The value behind a tag, used for TAG_IF

Constructor Detail

SQLStatement.Tag

public SQLStatement.Tag(String key,
                        String value)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.