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
| Constructor and Description |
|---|
OwFolderPredicate(OwCharacterStringLiteral folderId_p,
boolean inTree_p,
OwFolderPredicateFormat format_p) |
| Modifier and Type | Method and Description |
|---|---|
StringBuilder |
createPredicateSQLString() |
List<OwColumnQualifier> |
getColumnQualifiers() |
boolean |
isValid() |
createBooleanTestSQLString, isXConditionasBooleanTest, createBooleanFactorSQLStringcreateBooleanTermSQLStringcreateSearchConditionSQLStringpublic OwFolderPredicate(OwCharacterStringLiteral folderId_p, boolean inTree_p, OwFolderPredicateFormat format_p)
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)) public StringBuilder createPredicateSQLString()
createPredicateSQLString in class OwPredicateStringBuilder filled with the string representation of this non-terminalpublic boolean isValid()
true if the given folder ID is not null and has a length greater than 0 false otherwisepublic List<OwColumnQualifier> getColumnQualifiers()
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.