public class WebScriptUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_KEY |
static java.lang.String |
DATE_TIME |
static java.lang.String |
FORMAT |
static java.lang.String |
ISO8601 |
static java.lang.String |
NODE_ID |
static java.lang.String |
STORE_ID |
static java.lang.String |
STORE_PROTOCOL |
static java.lang.String |
TIME_ZONE |
Constructor and Description |
---|
WebScriptUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map |
buildCalendarModel(java.util.Calendar calendar) |
static java.util.Map |
buildDateModel(java.util.Date dateTime) |
static java.util.Map |
createBaseModel(java.util.List results) |
static java.util.Map |
createBaseModel(java.util.Map result) |
static java.util.Calendar |
getCalendar(org.json.JSONObject json) |
static java.lang.String |
getContent(org.springframework.extensions.webscripts.WebScriptRequest request) |
static java.util.Date |
getDate(org.json.JSONObject json) |
static org.alfresco.service.cmr.repository.NodeRef |
getNodeRef(java.util.Map params) |
public static final java.lang.String DATA_KEY
public static final java.lang.String STORE_PROTOCOL
public static final java.lang.String STORE_ID
public static final java.lang.String NODE_ID
public static final java.lang.String DATE_TIME
public static final java.lang.String FORMAT
public static final java.lang.String TIME_ZONE
public static final java.lang.String ISO8601
public static java.lang.String getContent(org.springframework.extensions.webscripts.WebScriptRequest request) throws java.io.IOException
java.io.IOException
public static java.util.Map buildCalendarModel(java.util.Calendar calendar)
public static java.util.Map buildDateModel(java.util.Date dateTime)
public static java.util.Calendar getCalendar(org.json.JSONObject json) throws java.text.ParseException
java.text.ParseException
public static java.util.Date getDate(org.json.JSONObject json) throws java.text.ParseException
java.text.ParseException
public static java.util.Map createBaseModel(java.util.Map result)
public static java.util.Map createBaseModel(java.util.List results)
public static org.alfresco.service.cmr.repository.NodeRef getNodeRef(java.util.Map params)
Copyright © 2005 - 2013 Alfresco Software, Inc. All Rights Reserved.