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) |
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
public static String select(String type, DocumentModel doc)
public static String select(String type, DocumentModel doc, String prop, String value)
Copyright © 2011 Nuxeo SA. All Rights Reserved.