Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A8BE8200CB3 for ; Mon, 12 Jun 2017 07:26:36 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A6570160BEC; Mon, 12 Jun 2017 05:26:36 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E2C66160BD7 for ; Mon, 12 Jun 2017 07:26:35 +0200 (CEST) Received: (qmail 8087 invoked by uid 500); 12 Jun 2017 05:26:34 -0000 Mailing-List: contact issues-help@fineract.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@fineract.apache.org Delivered-To: mailing list issues@fineract.apache.org Received: (qmail 8078 invoked by uid 99); 12 Jun 2017 05:26:34 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jun 2017 05:26:34 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 19068E0285; Mon, 12 Jun 2017 05:26:33 +0000 (UTC) From: nazeer1100126 To: issues@fineract.apache.org Reply-To: issues@fineract.apache.org References: In-Reply-To: Subject: [GitHub] fineract pull request #364: adhocquery v-1.0 Content-Type: text/plain Message-Id: <20170612052634.19068E0285@git1-us-west.apache.org> Date: Mon, 12 Jun 2017 05:26:33 +0000 (UTC) archived-at: Mon, 12 Jun 2017 05:26:36 -0000 Github user nazeer1100126 commented on a diff in the pull request: https://github.com/apache/fineract/pull/364#discussion_r121312046 --- Diff: fineract-provider/src/main/java/org/apache/fineract/commands/service/CommandWrapperBuilder.java --- @@ -2904,4 +2904,43 @@ public CommandWrapperBuilder deleteSmsCampaign(final Long resourceId) { this.href = "/smscampaigns/"+resourceId; return this; } + public CommandWrapperBuilder disableAdHoc(Long adHocId) { + this.actionName = "DISABLE"; + this.entityName = "ADHOC"; + this.entityId = adHocId; + this.href = "/adhoc/" + adHocId + "/disbales"; --- End diff -- make it disable. I believe it should be command parameter? --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---