/** * 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.useradministration.service; import org.mifosplatform.infrastructure.core.api.JsonCommand; import org.mifosplatform.infrastructure.core.data.CommandProcessingResult; public interface RoleWritePlatformService { CommandProcessingResult createRole(JsonCommand command); CommandProcessingResult updateRole(Long roleId, JsonCommand command); CommandProcessingResult updateRolePermissions(Long roleId, JsonCommand command); CommandProcessingResult deleteRole(Long roleId); CommandProcessingResult disableRole(Long roleId); CommandProcessingResult enableRole(Long roleId); }