Class CrewShellTechnicianChecksUtils
java.lang.Object
overit.geocallapp.wfm.core.bl.crewshell.composition.draft.CrewShellTechnicianChecksUtils
Utility class for the crew shell's technicians.
- Since:
- 16.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckActivitiesInChargeToCrewShell(BOCrewShell crewShell, Date day, PoolKit pk) static voidcheckCrewShellWorkshift(BOCrewShell crewShell, Date day, PoolKit pk) static voidcheckIsTechnicianAllocatedInFixedTeam(Long user, Date day, PoolKit pk) static voidcheckScheduledActivities(BOCrewShell crewShell, PoolKit pk) static voidcheckScheduledActivitiesByDay(BOCrewShell crewShell, Date day, PoolKit pk) static voidcheckTechnicianAlreadyAllocatedInCrew(Long crewShell, Long user, Date day, PoolKit pk) static voidcheckTechnicianSchedulings(Long user, Date day, PoolKit pk) static StringcheckTechnicianVirtualScheduling(Long user, Date day, Long operationCenter, PoolKit pk) static BOCrewShellCompositionfindForeman(Long crewShell, Date dayFrom, Date dayTo, PoolKit pk) static List<BOWorkShift> findForemanWorkshift(Long crewShell, Date dayFrom, Date dayTo, PoolKit pk) static List<BOCrewShellDraftComposition> findTechnicianInCrew(Long crewShell, Date day, PoolKit pk) static List<BOWorkShift> getCrewShellResourceWorkshift(Long user, Date day, Long crewShell, PoolKit pk) static List<BOScheduling> getSchedulings(BOWorkShift workshift, PoolKit pk) static StringgetWorkOrderCode(Long woOperation, PoolKit pk) static List<BOWorkShift> getWorkshift(Long user, Date day, boolean excludeCrewShellWorkshift, PoolKit pk) static voidvalidateCrewShell(BOCrewShell crewShell, Date day, PoolKit poolKit)
-
Method Details
-
validateCrewShell
public static void validateCrewShell(BOCrewShell crewShell, Date day, PoolKit poolKit) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
checkCrewShellWorkshift
public static void checkCrewShellWorkshift(BOCrewShell crewShell, Date day, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
getWorkshift
public static List<BOWorkShift> getWorkshift(Long user, Date day, boolean excludeCrewShellWorkshift, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getCrewShellResourceWorkshift
public static List<BOWorkShift> getCrewShellResourceWorkshift(Long user, Date day, Long crewShell, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
checkActivitiesInChargeToCrewShell
public static void checkActivitiesInChargeToCrewShell(BOCrewShell crewShell, Date day, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
checkScheduledActivities
public static void checkScheduledActivities(BOCrewShell crewShell, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
checkScheduledActivitiesByDay
public static void checkScheduledActivitiesByDay(BOCrewShell crewShell, Date day, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getSchedulings
public static List<BOScheduling> getSchedulings(BOWorkShift workshift, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
getWorkOrderCode
public static String getWorkOrderCode(Long woOperation, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
checkTechnicianSchedulings
public static void checkTechnicianSchedulings(Long user, Date day, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
checkTechnicianVirtualScheduling
public static String checkTechnicianVirtualScheduling(Long user, Date day, Long operationCenter, PoolKit pk) throws DAValidateException, DAException - Throws:
DAValidateExceptionDAException
-
checkIsTechnicianAllocatedInFixedTeam
public static void checkIsTechnicianAllocatedInFixedTeam(Long user, Date day, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
checkTechnicianAlreadyAllocatedInCrew
public static void checkTechnicianAlreadyAllocatedInCrew(Long crewShell, Long user, Date day, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
findTechnicianInCrew
public static List<BOCrewShellDraftComposition> findTechnicianInCrew(Long crewShell, Date day, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
findForeman
public static BOCrewShellComposition findForeman(Long crewShell, Date dayFrom, Date dayTo, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-
findForemanWorkshift
public static List<BOWorkShift> findForemanWorkshift(Long crewShell, Date dayFrom, Date dayTo, PoolKit pk) throws DAException, DAValidateException - Throws:
DAExceptionDAValidateException
-