コード例 #1
0
  public static void deleteFeed(long groupId, long feedId) throws RemoteException {
    try {
      JournalFeedServiceUtil.deleteFeed(groupId, feedId);
    } catch (Exception e) {
      _log.error(e, e);

      throw new RemoteException(e.getMessage());
    }
  }
コード例 #2
0
ファイル: EditFeedAction.java プロジェクト: thaond/nsscttdt
  protected void deleteFeeds(ActionRequest actionRequest) throws Exception {
    long groupId = ParamUtil.getLong(actionRequest, "groupId");

    String[] deleteFeedIds = StringUtil.split(ParamUtil.getString(actionRequest, "deleteFeedIds"));

    for (int i = 0; i < deleteFeedIds.length; i++) {
      JournalFeedServiceUtil.deleteFeed(groupId, deleteFeedIds[i]);
    }
  }