/*
 * Arrebol Consultancy copyright.
 * 
 * This code belongs to Arrebol Consultancy
 * its use, redistribution or modification are prohibited 
 * without written authorization from Arrebol Consultancy.
 */
package com.arrebol.apc.service.admin;

import com.arrebol.apc.model.admin.Transfer;
import com.arrebol.apc.model.enums.ActiveStatus;
import com.arrebol.apc.model.views.TransferView;
import com.arrebol.apc.service.LazyDataModelBetweenDatesService;

/**
 *
 * @author Carlos Janitzio Zavala Lopez <janitzio.zavala@arrebol.com.mx>
 */
public interface TransferService extends LazyDataModelBetweenDatesService<TransferView> {

    /**
     *
     * @param status
     * @param transferIdToUpdate
     * @param lastUpdatedBy
     * @return
     */
    boolean updateTransferByStatus(ActiveStatus status, String transferIdToUpdate, String lastUpdatedBy);

    /**
     *
     * @param transfer
     * @return
     */
    boolean saveTransfer(Transfer transfer);
}
