List of usage examples for com.liferay.portal.kernel.util MethodKey MethodKey
public MethodKey(Class<?> declaringClass, String methodName, Class<?>... parameterTypes)
From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceHttp.java
License:Open Source License
public static com.liferay.portal.kernel.json.JSONObject getVersionAPI(HttpPrincipal httpPrincipal) { try {//from w ww .j ava 2s .c o m MethodKey methodKey = new MethodKey(ApplicationInstanceServiceUtil.class, "getVersionAPI", _getVersionAPIParameterTypes0); MethodHandler methodHandler = new MethodHandler(methodKey); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException(e); } return (com.liferay.portal.kernel.json.JSONObject) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } }
From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceHttp.java
License:Open Source License
public static com.liferay.portal.kernel.json.JSONObject getApplicationStoreListAPI( HttpPrincipal httpPrincipal) {/*from ww w.j a va 2s.com*/ try { MethodKey methodKey = new MethodKey(ApplicationInstanceServiceUtil.class, "getApplicationStoreListAPI", _getApplicationStoreListAPIParameterTypes1); MethodHandler methodHandler = new MethodHandler(methodKey); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException(e); } return (com.liferay.portal.kernel.json.JSONObject) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } }
From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceHttp.java
License:Open Source License
public static com.liferay.portal.kernel.json.JSONObject getUpdatedApplicationStoreListAPI( HttpPrincipal httpPrincipal) {//from w ww. j a v a2 s .c o m try { MethodKey methodKey = new MethodKey(ApplicationInstanceServiceUtil.class, "getUpdatedApplicationStoreListAPI", _getUpdatedApplicationStoreListAPIParameterTypes2); MethodHandler methodHandler = new MethodHandler(methodKey); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException(e); } return (com.liferay.portal.kernel.json.JSONObject) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } }
From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceHttp.java
License:Open Source License
public static com.liferay.portal.kernel.json.JSONObject getApplicationStoreItemAPI(HttpPrincipal httpPrincipal, java.lang.String applicationname, java.lang.String version) { try {//from w w w . j a va 2s .c om MethodKey methodKey = new MethodKey(ApplicationInstanceServiceUtil.class, "getApplicationStoreItemAPI", _getApplicationStoreItemAPIParameterTypes3); MethodHandler methodHandler = new MethodHandler(methodKey, applicationname, version); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException(e); } return (com.liferay.portal.kernel.json.JSONObject) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } }
From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceHttp.java
License:Open Source License
public static com.liferay.portal.kernel.json.JSONObject installApplicationAPI(HttpPrincipal httpPrincipal, java.lang.String applicationname, java.lang.String version, java.lang.String instanceid, java.lang.String instancename, java.lang.String data) { try {//from www. j a v a 2s . c o m MethodKey methodKey = new MethodKey(ApplicationInstanceServiceUtil.class, "installApplicationAPI", _installApplicationAPIParameterTypes4); MethodHandler methodHandler = new MethodHandler(methodKey, applicationname, version, instanceid, instancename, data); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException(e); } return (com.liferay.portal.kernel.json.JSONObject) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } }
From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceHttp.java
License:Open Source License
public static com.liferay.portal.kernel.json.JSONObject getInstanceListAPI(HttpPrincipal httpPrincipal) { try {/*from w ww .j a v a2 s. com*/ MethodKey methodKey = new MethodKey(ApplicationInstanceServiceUtil.class, "getInstanceListAPI", _getInstanceListAPIParameterTypes5); MethodHandler methodHandler = new MethodHandler(methodKey); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException(e); } return (com.liferay.portal.kernel.json.JSONObject) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } }
From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceHttp.java
License:Open Source License
public static com.liferay.portal.kernel.json.JSONObject getInstanceInfoAPI(HttpPrincipal httpPrincipal, java.lang.String instanceId) { try {//w w w. java2 s. c om MethodKey methodKey = new MethodKey(ApplicationInstanceServiceUtil.class, "getInstanceInfoAPI", _getInstanceInfoAPIParameterTypes6); MethodHandler methodHandler = new MethodHandler(methodKey, instanceId); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException(e); } return (com.liferay.portal.kernel.json.JSONObject) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } }
From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceHttp.java
License:Open Source License
public static com.liferay.portal.kernel.json.JSONObject getInstanceDashboardAPI(HttpPrincipal httpPrincipal, java.lang.String instanceId) { try {//from w w w .ja va2 s . c o m MethodKey methodKey = new MethodKey(ApplicationInstanceServiceUtil.class, "getInstanceDashboardAPI", _getInstanceDashboardAPIParameterTypes7); MethodHandler methodHandler = new MethodHandler(methodKey, instanceId); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException(e); } return (com.liferay.portal.kernel.json.JSONObject) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } }
From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceHttp.java
License:Open Source License
public static com.liferay.portal.kernel.json.JSONObject getInstanceLogdAPI(HttpPrincipal httpPrincipal, java.lang.String instanceId) { try {/*from ww w . j a va2 s .c o m*/ MethodKey methodKey = new MethodKey(ApplicationInstanceServiceUtil.class, "getInstanceLogdAPI", _getInstanceLogdAPIParameterTypes8); MethodHandler methodHandler = new MethodHandler(methodKey, instanceId); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException(e); } return (com.liferay.portal.kernel.json.JSONObject) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } }
From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceHttp.java
License:Open Source License
public static com.liferay.portal.kernel.json.JSONObject getInstanceLogdAPI(HttpPrincipal httpPrincipal, java.lang.String instanceId, java.lang.String lines) { try {// ww w . java 2 s. com MethodKey methodKey = new MethodKey(ApplicationInstanceServiceUtil.class, "getInstanceLogdAPI", _getInstanceLogdAPIParameterTypes9); MethodHandler methodHandler = new MethodHandler(methodKey, instanceId, lines); Object returnObj = null; try { returnObj = TunnelUtil.invoke(httpPrincipal, methodHandler); } catch (Exception e) { throw new com.liferay.portal.kernel.exception.SystemException(e); } return (com.liferay.portal.kernel.json.JSONObject) returnObj; } catch (com.liferay.portal.kernel.exception.SystemException se) { _log.error(se, se); throw se; } }