
io.mosip.registration.service.remap.CenterMachineReMapService Maven / Gradle / Ivy
package io.mosip.registration.service.remap;
import io.mosip.registration.exception.RemapException;
/**
* Service class {@code CenterMachineReMapService} for Center Machine Remapping
*
* @author balamurugan ramamoorthy
* @since 1.0.0
*
*/
public interface CenterMachineReMapService {
/**
* Checks and handles all the operations to be done when the machine is re
* mapped to another center based on the given step number
*
* @param step - step number for a particular remap operation
*/
void handleReMapProcess(int step) throws RemapException;
/**
* checks if there is any Registration packets are not yet been processed by the
* Reg processor
*
*
* @return boolean - true if packet pending for approval
*/
boolean isPacketsPendingForProcessing();
/**
* Checks if there is any Reg packets are pending for EOD Approval
*
* @return boolean - true if packet pending for EOD
*/
boolean isPacketsPendingForEOD();
/**
* checks if the Machine has been re mapped to some other center
*
* @return Boolean - true if machine is remappped
*/
Boolean isMachineRemapped();
/**
* starts the remap process if the remap flag is enabled
*/
void startRemapProcess() throws RemapException;
boolean isPacketsPendingForReRegister();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy