Exemplo n.º 1
0
  public static com.nss.portlet.journal.model.JournalFeedSoap getFeed(
      long groupId, java.lang.String feedId) throws RemoteException {
    try {
      com.nss.portlet.journal.model.JournalFeed returnValue =
          JournalFeedServiceUtil.getFeed(groupId, feedId);

      return com.nss.portlet.journal.model.JournalFeedSoap.toSoapModel(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
Exemplo n.º 2
0
  public static com.nss.portlet.journal.model.JournalFeedSoap addFeed(
      long groupId,
      java.lang.String feedId,
      boolean autoFeedId,
      java.lang.String name,
      java.lang.String description,
      java.lang.String type,
      java.lang.String structureId,
      java.lang.String templateId,
      java.lang.String rendererTemplateId,
      int delta,
      java.lang.String orderByCol,
      java.lang.String orderByType,
      java.lang.String targetLayoutFriendlyUrl,
      java.lang.String targetPortletId,
      java.lang.String contentField,
      java.lang.String feedType,
      double feedVersion,
      com.liferay.portal.service.ServiceContext serviceContext)
      throws RemoteException {
    try {
      com.nss.portlet.journal.model.JournalFeed returnValue =
          JournalFeedServiceUtil.addFeed(
              groupId,
              feedId,
              autoFeedId,
              name,
              description,
              type,
              structureId,
              templateId,
              rendererTemplateId,
              delta,
              orderByCol,
              orderByType,
              targetLayoutFriendlyUrl,
              targetPortletId,
              contentField,
              feedType,
              feedVersion,
              serviceContext);

      return com.nss.portlet.journal.model.JournalFeedSoap.toSoapModel(returnValue);
    } catch (Exception e) {
      _log.error(e, e);

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