public class OLELoaderServiceImpl extends Object implements OLELoaderService
Constructor and Description |
---|
OLELoaderServiceImpl() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
formResponseForImport(Object object,
String context) |
OLELoaderResponseBo |
generateResponse(String message,
int statusCode) |
OLELoaderResponseBo |
generateResponse(String message,
int statusCode,
String details) |
org.codehaus.jettison.json.JSONArray |
getJsonArrayFromString(String body) |
org.codehaus.jettison.json.JSONArray |
getJsonArrayValueFromJsonObject(org.codehaus.jettison.json.JSONObject jsonObject,
String key) |
org.codehaus.jettison.json.JSONObject |
getJsonObjectFromString(String body) |
org.codehaus.jettison.json.JSONObject |
getJsonObjectValueFromJsonObject(org.codehaus.jettison.json.JSONObject jsonObject,
String key) |
Object |
getLoaderHelperService(String serviceName) |
Object |
getLoaderService(String serviceName) |
String |
getStringValueFromJsonObject(org.codehaus.jettison.json.JSONObject jsonObject,
String key) |
javax.ws.rs.core.Response |
returnLoaderAPIResponse(String context,
Object object) |
public OLELoaderServiceImpl()
public OLELoaderResponseBo generateResponse(String message, int statusCode)
generateResponse
in interface OLELoaderService
public OLELoaderResponseBo generateResponse(String message, int statusCode, String details)
generateResponse
in interface OLELoaderService
public javax.ws.rs.core.Response returnLoaderAPIResponse(String context, Object object)
returnLoaderAPIResponse
in interface OLELoaderService
public org.codehaus.jettison.json.JSONObject getJsonObjectFromString(String body)
getJsonObjectFromString
in interface OLELoaderService
public org.codehaus.jettison.json.JSONArray getJsonArrayFromString(String body)
getJsonArrayFromString
in interface OLELoaderService
public String getStringValueFromJsonObject(org.codehaus.jettison.json.JSONObject jsonObject, String key)
getStringValueFromJsonObject
in interface OLELoaderService
public org.codehaus.jettison.json.JSONObject getJsonObjectValueFromJsonObject(org.codehaus.jettison.json.JSONObject jsonObject, String key)
getJsonObjectValueFromJsonObject
in interface OLELoaderService
public org.codehaus.jettison.json.JSONArray getJsonArrayValueFromJsonObject(org.codehaus.jettison.json.JSONObject jsonObject, String key)
getJsonArrayValueFromJsonObject
in interface OLELoaderService
public Object getLoaderService(String serviceName)
getLoaderService
in interface OLELoaderService
public Object getLoaderHelperService(String serviceName)
getLoaderHelperService
in interface OLELoaderService
public javax.ws.rs.core.Response formResponseForImport(Object object, String context)
formResponseForImport
in interface OLELoaderService
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.