/**
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.mifosplatform.portfolio.group.service;
import org.mifosplatform.infrastructure.core.api.JsonCommand;
import org.mifosplatform.infrastructure.core.data.CommandProcessingResult;
public interface GroupingTypesWritePlatformService {
CommandProcessingResult createCenter(JsonCommand command);
CommandProcessingResult updateCenter(Long entityId, JsonCommand command);
CommandProcessingResult createGroup(Long centerId, JsonCommand command);
CommandProcessingResult activateGroupOrCenter(Long entityId, JsonCommand command);
CommandProcessingResult updateGroup(Long groupId, JsonCommand command);
CommandProcessingResult deleteGroup(Long groupId);
CommandProcessingResult closeGroup(final Long groupId, final JsonCommand command);
CommandProcessingResult closeCenter(final Long centerId, final JsonCommand command);
CommandProcessingResult unassignGroupOrCenterStaff(Long groupId, JsonCommand command);
CommandProcessingResult assignGroupOrCenterStaff(Long groupId, JsonCommand command);
CommandProcessingResult associateClientsToGroup(Long groupId, JsonCommand command);
CommandProcessingResult disassociateClientsFromGroup(Long groupId, JsonCommand command);
CommandProcessingResult associateGroupsToCenter(final Long centerId, final JsonCommand command);
CommandProcessingResult disassociateGroupsToCenter(final Long centerId, final JsonCommand command);
}