コード例 #1
0
  public JournalFeed updateFeed(
      long groupId,
      String feedId,
      String name,
      String description,
      String type,
      String structureId,
      String templateId,
      String rendererTemplateId,
      int delta,
      String orderByCol,
      String orderByType,
      String targetLayoutFriendlyUrl,
      String targetPortletId,
      String contentField,
      String feedType,
      double feedVersion,
      ServiceContext serviceContext)
      throws PortalException, SystemException {

    JournalFeedPermission.check(getPermissionChecker(), groupId, feedId, ActionKeys.UPDATE);

    return journalFeedLocalService.updateFeed(
        groupId,
        feedId,
        name,
        description,
        type,
        structureId,
        templateId,
        rendererTemplateId,
        delta,
        orderByCol,
        orderByType,
        targetLayoutFriendlyUrl,
        targetPortletId,
        contentField,
        feedType,
        feedVersion,
        serviceContext);
  }
コード例 #2
0
  public JournalFeed getFeed(long groupId, String feedId) throws PortalException, SystemException {

    JournalFeedPermission.check(getPermissionChecker(), groupId, feedId, ActionKeys.VIEW);

    return journalFeedLocalService.getFeed(groupId, feedId);
  }
コード例 #3
0
  public void deleteFeed(long groupId, String feedId) throws PortalException, SystemException {

    JournalFeedPermission.check(getPermissionChecker(), groupId, feedId, ActionKeys.DELETE);

    journalFeedLocalService.deleteFeed(groupId, feedId);
  }