Пример #1
0
  public static java.lang.String getWARThemes() throws RemoteException {
    try {
      com.liferay.portal.kernel.json.JSONArray returnValue = ThemeServiceUtil.getWARThemes();

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

      throw new RemoteException(e.getMessage());
    }
  }
Пример #2
0
  public static java.util.List getThemes(long companyId) throws RemoteException {
    try {
      java.util.List<com.liferay.portal.model.Theme> returnValue =
          ThemeServiceUtil.getThemes(companyId);

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

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