public class WebScriptUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DATA_KEY |
static String |
DATE_TIME |
static String |
FORMAT |
static String |
ISO8601 |
static String |
NODE_ID |
static String |
STORE_ID |
static String |
STORE_PROTOCOL |
static String |
TIME_ZONE |
Constructor and Description |
---|
WebScriptUtil() |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
buildCalendarModel(Calendar calendar) |
static Map<String,Object> |
buildDateModel(Date dateTime) |
static Map<String,Object> |
createBaseModel(List<Map<String,Object>> results) |
static Map<String,Object> |
createBaseModel(Map<String,Object> result) |
static Calendar |
getCalendar(org.json.JSONObject json) |
static String |
getContent(org.springframework.extensions.webscripts.WebScriptRequest request) |
static Date |
getDate(org.json.JSONObject json) |
static org.alfresco.service.cmr.repository.NodeRef |
getNodeRef(Map<String,String> params) |
static org.alfresco.service.cmr.repository.NodeRef |
resolveNodeReference(String reference,
NodeLocatorService nodeLocatorService) |
public static final String DATA_KEY
public static final String STORE_PROTOCOL
public static final String STORE_ID
public static final String NODE_ID
public static final String DATE_TIME
public static final String FORMAT
public static final String TIME_ZONE
public static final String ISO8601
public static String getContent(org.springframework.extensions.webscripts.WebScriptRequest request) throws IOException
IOException
public static Calendar getCalendar(org.json.JSONObject json) throws ParseException
ParseException
public static Date getDate(org.json.JSONObject json) throws ParseException
ParseException
public static org.alfresco.service.cmr.repository.NodeRef getNodeRef(Map<String,String> params)
public static org.alfresco.service.cmr.repository.NodeRef resolveNodeReference(String reference, NodeLocatorService nodeLocatorService)
Copyright © 2005–2017 Alfresco Software. All rights reserved.