public class QueryHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NOT_DELETED |
Modifier and Type | Method and Description |
---|---|
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)
Copyright © 2018 Nuxeo. All rights reserved.