Example usage for com.liferay.portal.kernel.json JSONObject toString

List of usage examples for com.liferay.portal.kernel.json JSONObject toString

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.json JSONObject toString.

Prototype

@Override
    public String toString();

Source Link

Usage

From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceSoap.java

License:Open Source License

public static java.lang.String getVersionAPI() throws RemoteException {
    try {/*  w  w  w  .  j  a v a2  s.c  om*/
        com.liferay.portal.kernel.json.JSONObject returnValue = ApplicationInstanceServiceUtil.getVersionAPI();

        return returnValue.toString();
    } catch (Exception e) {
        _log.error(e, e);

        throw new RemoteException(e.getMessage());
    }
}

From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceSoap.java

License:Open Source License

public static java.lang.String getApplicationStoreListAPI() throws RemoteException {
    try {//from  www.  j av a2  s .  c o m
        com.liferay.portal.kernel.json.JSONObject returnValue = ApplicationInstanceServiceUtil
                .getApplicationStoreListAPI();

        return returnValue.toString();
    } catch (Exception e) {
        _log.error(e, e);

        throw new RemoteException(e.getMessage());
    }
}

From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceSoap.java

License:Open Source License

public static java.lang.String getUpdatedApplicationStoreListAPI() throws RemoteException {
    try {/*from   www.  j  av a2 s  .c o  m*/
        com.liferay.portal.kernel.json.JSONObject returnValue = ApplicationInstanceServiceUtil
                .getUpdatedApplicationStoreListAPI();

        return returnValue.toString();
    } catch (Exception e) {
        _log.error(e, e);

        throw new RemoteException(e.getMessage());
    }
}

From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceSoap.java

License:Open Source License

public static java.lang.String getApplicationStoreItemAPI(java.lang.String applicationname,
        java.lang.String version) throws RemoteException {
    try {//from   w w w . j a v a 2s  .  c om
        com.liferay.portal.kernel.json.JSONObject returnValue = ApplicationInstanceServiceUtil
                .getApplicationStoreItemAPI(applicationname, version);

        return returnValue.toString();
    } catch (Exception e) {
        _log.error(e, e);

        throw new RemoteException(e.getMessage());
    }
}

From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceSoap.java

License:Open Source License

public static java.lang.String installApplicationAPI(java.lang.String applicationname, java.lang.String version,
        java.lang.String instanceid, java.lang.String instancename, java.lang.String data)
        throws RemoteException {
    try {//from  w  ww  . j a  v  a2s  .com
        com.liferay.portal.kernel.json.JSONObject returnValue = ApplicationInstanceServiceUtil
                .installApplicationAPI(applicationname, version, instanceid, instancename, data);

        return returnValue.toString();
    } catch (Exception e) {
        _log.error(e, e);

        throw new RemoteException(e.getMessage());
    }
}

From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceSoap.java

License:Open Source License

public static java.lang.String getInstanceListAPI() throws RemoteException {
    try {/* w  w  w . ja v  a  2  s.  c om*/
        com.liferay.portal.kernel.json.JSONObject returnValue = ApplicationInstanceServiceUtil
                .getInstanceListAPI();

        return returnValue.toString();
    } catch (Exception e) {
        _log.error(e, e);

        throw new RemoteException(e.getMessage());
    }
}

From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceSoap.java

License:Open Source License

public static java.lang.String getInstanceInfoAPI(java.lang.String instanceId) throws RemoteException {
    try {//  w  ww  . ja  v a 2  s.  co  m
        com.liferay.portal.kernel.json.JSONObject returnValue = ApplicationInstanceServiceUtil
                .getInstanceInfoAPI(instanceId);

        return returnValue.toString();
    } catch (Exception e) {
        _log.error(e, e);

        throw new RemoteException(e.getMessage());
    }
}

From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceSoap.java

License:Open Source License

public static java.lang.String getInstanceDashboardAPI(java.lang.String instanceId) throws RemoteException {
    try {/*from  w w w.  j  a  v  a  2 s  . c  o  m*/
        com.liferay.portal.kernel.json.JSONObject returnValue = ApplicationInstanceServiceUtil
                .getInstanceDashboardAPI(instanceId);

        return returnValue.toString();
    } catch (Exception e) {
        _log.error(e, e);

        throw new RemoteException(e.getMessage());
    }
}

From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceSoap.java

License:Open Source License

public static java.lang.String getInstanceLogdAPI(java.lang.String instanceId) throws RemoteException {
    try {/* ww w. j a  va  2 s  .  co  m*/
        com.liferay.portal.kernel.json.JSONObject returnValue = ApplicationInstanceServiceUtil
                .getInstanceLogdAPI(instanceId);

        return returnValue.toString();
    } catch (Exception e) {
        _log.error(e, e);

        throw new RemoteException(e.getMessage());
    }
}

From source file:at.graz.meduni.bibbox.liferay.portlet.service.http.ApplicationInstanceServiceSoap.java

License:Open Source License

public static java.lang.String getInstanceLogdAPI(java.lang.String instanceId, java.lang.String lines)
        throws RemoteException {
    try {/*from  w  w w .j ava2 s .  com*/
        com.liferay.portal.kernel.json.JSONObject returnValue = ApplicationInstanceServiceUtil
                .getInstanceLogdAPI(instanceId, lines);

        return returnValue.toString();
    } catch (Exception e) {
        _log.error(e, e);

        throw new RemoteException(e.getMessage());
    }
}