public class QueryHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NOT_DELETED |
Modifier and Type | Method and Description |
---|---|
static String |
quoted(String string)
Deprecated.
since 5.7, 5.6.0-HF08 use {
NXQL.escapeString(java.lang.String) instead |
static String |
select(String type,
DocumentModel doc)
SELECT * FROM type WHERE ecm:path STARTSWITH doc.getPathAsString()
|
static String |
select(String type,
DocumentModel doc,
String prop,
String value)
SELECT * FROM type WHERE ecm:path STARTSWITH doc.getPathAsString AND prop = value
|
public static final String NOT_DELETED
@Deprecated public static String quoted(String string)
NXQL.escapeString(java.lang.String)
insteadpublic static String select(String type, DocumentModel doc)
Copyright © 2015 Nuxeo SA. All rights reserved.