public class SqlUtils extends Object
| Constructor and Description |
|---|
SqlUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
encloseSQLString(String value)
Enclose a SQL string value in single quotes.
|
static Date |
getDateProperty(org.apache.chemistry.opencmis.client.api.QueryResult result,
String propertyId)
Open CMIS returns dates as a Calendar but freemarker cannot
cope with these so convert them to a Date.
|
public static String encloseSQLString(String value)
value - SQL string valuepublic static Date getDateProperty(org.apache.chemistry.opencmis.client.api.QueryResult result, String propertyId)
result - Queryresult from CMISpropertyId - property nameCopyright © 2005–2014 Alfresco Software. All rights reserved.