com.wewebu.ow.csqlc.ast
Class OwFolderPredicate
java.lang.Object
com.wewebu.ow.csqlc.ast.OwBooleanTerm
com.wewebu.ow.csqlc.ast.OwBooleanFactor
com.wewebu.ow.csqlc.ast.OwBooleanTest
com.wewebu.ow.csqlc.ast.OwPredicate
com.wewebu.ow.csqlc.ast.OwFolderPredicate
- All Implemented Interfaces:
- OwSearchCondition
public class OwFolderPredicate
- extends OwPredicate
SQL AST node : <in folder> syntax non-terminal as defined by the SQL grammar.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
- Since:
- 3.2.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OwFolderPredicate
public OwFolderPredicate(OwCharacterStringLiteral folderId_p,
boolean inTree_p,
OwFolderPredicateFormat format_p)
- Parameters:
folderId_p
- folder id string terminal valueinTree_p
- true
for an in tree search folder predicate (egg. IN_TREE(myFoderID))
false
for an in folder search folder predicate (egg. IN_FOLDER(myFoderID))
createPredicateSQLString
public StringBuilder createPredicateSQLString()
- Specified by:
createPredicateSQLString
in class OwPredicate
- Returns:
- a
StringBuilder
filled with the string representation of this non-terminal
isValid
public boolean isValid()
- Returns:
true
if the given folder ID is not null and has a length greater than 0
false
otherwise
getColumnQualifiers
public List<OwColumnQualifier> getColumnQualifiers()
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.