public class InspectionScript
extends com.accela.aa.emse.dom.service.BaseAAScript
implements com.accela.aa.emse.dom.service.InspectionScriptService
Accela Automation
File: InspectionScript.java
Accela, Inc.
Copyright (C): 2001-2014
Description:
Provides the "aa.inspection" object through which script writers can
operate on an retrieve inspections.
Notes:
$Id: InspectionScript.java 270462 2014-04-28 10:05:58Z ..\rain.wang $
Revision History/:
12/06/2001 Emil Andresen Initial Version
03/01/2002 carl zhu add some functions.
05/29/2003 Kelvin Wu return AADataPage instead of Collection in
method getInspectorRouteSheet
03/16/2005 Lytton Cheng Remove the method getIMB(), Fix the Service invoke bug.
02/27/2006 Peter Huang modified the method reschedule(), added param :inspectionPhoneNum
03/21/2006 Peter Huang changed field inspectionPhoneNum to requestPhoneNum
03/21/2006 Peter Huang changed method reschedule, remove the parameter requestPhoneNum
03/21/2006 Peter Huang, add method: reschedule(InspectionScriptModel model)
08/04/2006 Winter Jiang Added methods for inspection scheduling EMSE
08/22/2006 Winter Jiang Modified autoAssignInspection method
08/25/2006 Winter Jiang Modified reScheduleInspection method fixed bug 1951
09/25/2006 Hyman Wang add method:copyInspectionWithGuideSheet()
11/01/2006 Michael Mao cache service object.
11/29/2006 Henvy Jiang Event Manager Script Function Request - Edit Inspections(bug#2438)
| Constructor and Description |
|---|
InspectionScript()
Constructor for InspectionScript.
|
InspectionScript(java.lang.String serviceProviderCode,
java.lang.String callerID,
com.accela.aa.emse.dom.service.CachedService cachedService)
Constructor for InspectionScript.
|
| Modifier and Type | Method and Description |
|---|---|
ScriptResult |
addInspectionDiscipline(java.lang.String inspSeqNumber,
java.lang.String disciplineName)
Add inspection discipline
|
ScriptResult |
assignAppForEvent(java.lang.String capId1,
java.lang.String capId2,
java.lang.String capId3,
com.accela.aa.calendar.calendar.CalendarEventModel eventModel)
Assign app for event.
|
ScriptResult |
assignAppForEvent(java.lang.String capId1,
java.lang.String capId2,
java.lang.String capId3,
java.lang.String calendarName,
java.lang.String eventType,
java.lang.String startDate)
Assign app for event.
|
ScriptResult |
autoAssignInspector(java.lang.String capId1,
java.lang.String capId2,
java.lang.String capId3,
long inspTypeSeq,
java.lang.String ScheduleDate)
Automatically assign a meet inspector
|
ScriptResult |
autoAssignInspectorForMultiInspection(java.lang.String capId1,
java.lang.String capId2,
java.lang.String capId3,
long[] inspTypeSeq,
java.lang.String ScheduleDate)
Automatically assign a meet inspector
|
ScriptResult |
batchResultInspByCSV(java.lang.String documentID)
Batch result inspection by CSV file.
|
ScriptResult |
cancelInspection(com.accela.aa.aamain.cap.CapIDModel capID,
long inspectionID)
Added by carl , this call activity's method: getUnassignedInspections()
the date1&date2 sample format: "yyyy-MM-dd" or "yyyy-MM-dd'T'hh:mm:ss".
|
ScriptResult |
carryOverGSItems(com.accela.aa.aamain.cap.CapIDModel capID,
java.lang.String targetid)
Get failed GGuideSheetItems that can be carried over.
|
ScriptResult |
checkAssignAppForEvent(java.lang.String capId1,
java.lang.String capId2,
java.lang.String capId3,
com.accela.aa.calendar.calendar.CalendarEventModel eventModel)
Check assign app for event.
|
ScriptResult |
checkAssignAppForEvent(java.lang.String capId1,
java.lang.String capId2,
java.lang.String capId3,
java.lang.String calendarName,
java.lang.String eventType,
java.lang.String startDate)
Check assign application to calendar event.
|
ScriptResult |
checkAvailableTime(long[] inspTypeSeq,
com.accela.aa.emse.util.ScriptDateTime ScheduleDateTime)
Checks if is available time.
|
ScriptResult |
checkAvailableTime(java.lang.String capId1,
java.lang.String capId2,
java.lang.String capId3,
long[] inspTypeSeq,
com.accela.aa.emse.util.ScriptDateTime ScheduleDateTime) |
ScriptResult |
copyInspectionWithGuideSheet(com.accela.aa.aamain.cap.CapIDModel source,
com.accela.aa.aamain.cap.CapIDModel target,
com.accela.aa.inspection.inspection.InspectionModel inspectionModel)
Copy Inspection with GuideSheet
|
ScriptResult |
createInspectionRelation(com.accela.aa.inspection.inspection.InspectionIDModel inspectionIDModel,
java.lang.String childNum)
create inspection relation.
|
ScriptResult |
deleteInspectionDiscipline(java.lang.String inspSeqNumber,
java.lang.String disciplineName)
Delete inspection discipline
|
ScriptResult |
deleteRecurrings(com.accela.aa.aamain.cap.CapIDModel capIDModel)
Provide interface to delete all recurring tasks for the CAP
|
ScriptResult |
editInspection(InspectionScriptModel inspScrModel) |
ScriptResult |
findByInspectorDaily(com.accela.aa.aamain.people.SysUserModel sysuser,
java.lang.String date1)
Added by carl , this call activity's method: getUnassignedInspections()
the date1&date2 sample format: "yyyy-MM-dd" or "yyyy-MM-dd'T'hh:mm:ss"
|
ScriptResult |
findByInspectorDateRange(com.accela.aa.aamain.people.SysUserModel sysuser,
java.lang.String date1,
java.lang.String date2)
Added by carl , this call activity's method: getUnassignedInspections()
the date1&date2 sample format: "yyyy-MM-dd" or "yyyy-MM-dd'T'hh:mm:ss"
|
ScriptResult |
getDiscipline(java.lang.String inspSeqNumber)
Get inspection discipline
|
ScriptResult |
getInspection(com.accela.aa.aamain.cap.CapIDModel capID,
long inspectionID)
Retrieves an InspectionBusines wrapped in a InspectionScriptModel object.
|
ScriptResult |
getInspectionDiscipline(java.lang.String inspSeqNumber)
Get inspection discipline from standard choice
|
ScriptResult |
getInspectionListForReschedule(java.lang.String capId1,
java.lang.String capId2,
java.lang.String capId3)
Get inspection list for reschedule
|
ScriptResult |
getInspectionListForSchedule(java.lang.String capId1,
java.lang.String capId2,
java.lang.String capId3)
Get inspection list for schedule
|
ScriptResult |
getInspections(com.accela.aa.aamain.cap.CapIDModel capID)
Retrieves an array of InspectionBusines objects wrapped in
InspectionScriptModel objects.
|
ScriptResult |
getInspections(java.lang.String date1,
java.lang.String date2)
Added by carl , this call activity's method: findByDateRange(String
serviceProviderCode, java.util.Date activityDate1,java.util.Date
activityDate2) the date1 & date2 sample format: "yyyy-MM-dd" or
"yyyy-MM-dd'T'hh:mm:ss" Retrieves an array of InspectionBusines objects .
|
ScriptResult |
getInspectionScriptModel()
Get Inspection Script Model
|
ScriptResult |
getInspectionType(java.lang.String groupCode,
java.lang.String inspectionType)
Get Inspection Type by groupCode
|
ScriptResult |
getInspectorsWorkload(long[] inspSeq,
com.accela.aa.aamain.cap.CapIDModel capIDModel,
com.accela.aa.emse.util.ScriptDateTime ScheduleDateTime)
Gets the inspectors workload.
|
ScriptResult |
getInspMilestoneByCapID(com.accela.aa.aamain.cap.CapIDModel capID)
Get inspection milestone model
|
ScriptResult |
getNextAvailableTime(long[] inspTypeSeq,
com.accela.aa.emse.util.ScriptDateTime ScheduleDateTime)
Gets the next available time.
|
ScriptResult |
getNextAvailableTime(java.lang.String capId1,
java.lang.String capId2,
java.lang.String capId3,
long[] inspTypeSeq,
com.accela.aa.emse.util.ScriptDateTime ScheduleDateTime) |
ScriptResult |
getUnassignedInspections()
Added by carl , this call activity's method: getUnassignedInspections()
the date1&date2 sample format: "yyyy-MM-dd" or "yyyy-MM-dd'T'hh:mm:ss"
|
ScriptResult |
getUnassignedInspections(java.lang.String date1,
java.lang.String date2)
Added by carl , this call activity's method: getUnassignedInspections()
the date1&date2 sample format: "yyyy-MM-dd" or "yyyy-MM-dd'T'hh:mm:ss"
|
ScriptResult |
getWorkflowCalendarEvents(java.lang.String processCode,
java.lang.String StpNum,
java.lang.String actStatDes,
java.lang.String calendarName)
Gets the workflow calendar events.
|
ScriptResult |
needDDA(InspectionScriptModel model)
Added by carl , this call activity's method: getUnassignedInspections()
the date1&date2 sample format: "yyyy-MM-dd" or "yyyy-MM-dd'T'hh:mm:ss"
|
InspectionScriptModel |
newInspectionScriptModel(java.lang.String spCode,
java.lang.String auditId) |
ScriptResult |
pendingInspection(com.accela.aa.inspection.inspection.InspectionModel inspectionModel)
pending inspection
|
ScriptResult |
reschedule(com.accela.aa.aamain.cap.CapIDModel capId,
long inspectionId,
com.accela.aa.aamain.people.SysUserModel inspector,
com.accela.aa.emse.util.ScriptDateTime scheduledDate,
java.lang.String scheduledTime,
java.lang.String requestComment)
Reschedules an inspection, and updates its request comment.
|
ScriptResult |
reschedule(InspectionScriptModel model) |
ScriptResult |
reScheduleInspection(com.accela.aa.inspection.inspection.InspectionModel inspectionModel,
com.accela.aa.aamain.people.SysUserModel actor)
ReSchedule inspection for automatically assign inspector
|
ScriptResult |
resultInspection(com.accela.aa.aamain.cap.CapIDModel capID,
long inspectionID,
java.lang.String resultStatus,
java.lang.String resultDate,
java.lang.String resultComment,
java.lang.String auditID)
Added by carl , this call activity's method: getUnassignedInspections()
the date1&date2 sample format: "yyyy-MM-dd" or "yyyy-MM-dd'T'hh:mm:ss".
|
ScriptResult |
saveCarryOverItems(java.util.List<com.accela.aa.inspection.guidesheet.GGuideSheetItemModel> listGGuideSheetItemModel,
com.accela.aa.aamain.cap.CapIDModel targetCap,
java.lang.String targetActNum)
Carry over failed GGuideSheetItems to target Inspection.
|
ScriptResult |
scheduleInspection(com.accela.aa.aamain.cap.CapIDModel capID,
com.accela.aa.aamain.people.SysUserModel inspector,
com.accela.aa.emse.util.ScriptDateTime scheduledDate,
java.lang.String scheduledTime,
java.lang.String inspectionType,
java.lang.String requestComment)
Schedules an inspection, and enters its request comment.
|
ScriptResult |
scheduleInspection(com.accela.aa.inspection.inspection.InspectionModel inspectionModel,
com.accela.aa.aamain.people.SysUserModel actor)
Schedule inspection for automatically assign inspector
|
ScriptResult |
sendAnnouncement(java.lang.String publicuserEmail,
java.lang.String subject,
java.lang.String content,
java.lang.String callerID)
Send email and announcement.
|
ScriptResult |
updateInspectionForSuperVisor(com.accela.aa.inspection.inspection.InspectionModel inspectionModel)
update inspection for supervisor
|
ScriptResult |
updateInspectionMilestone(com.accela.aa.inspection.flow.GInspProcessModel[] gInspProcessArray)
Update inspection milestone base inspection flow model
|
ScriptResult |
updateInspectionType(long inspSeqNumber,
java.lang.String inspGroupCode,
java.lang.String inspType,
java.lang.String resultGruop,
java.lang.String guideGroup,
java.lang.String autoAssign,
java.lang.String unit)
Update Inspection Type property according to inspSeqNumber
|
ScriptResult |
validateFailGuidesheetItems(com.accela.aa.aamain.cap.CapIDModel capID,
java.lang.String actvityIdNumber,
java.lang.String inspectionGroupCode,
java.lang.String inspectinType,
java.lang.String resultStatus)
Validates inspection has fail guide sheet items that is able to allow result inspection to pass.
|
public InspectionScript(java.lang.String serviceProviderCode,
java.lang.String callerID,
com.accela.aa.emse.dom.service.CachedService cachedService)
throws com.accela.aa.exception.AAException
serviceProviderCode - agency codecallerID - the caller idcom.accela.aa.exception.AAException - the AA exceptionpublic InspectionScript()
throws com.accela.aa.exception.AAException
com.accela.aa.exception.AAException - the AA exceptionpublic ScriptResult scheduleInspection(com.accela.aa.aamain.cap.CapIDModel capID, com.accela.aa.aamain.people.SysUserModel inspector, com.accela.aa.emse.util.ScriptDateTime scheduledDate, java.lang.String scheduledTime, java.lang.String inspectionType, java.lang.String requestComment)
com.accela.aa.emse.dom.service.InspectionScriptServicescheduleInspection in interface com.accela.aa.emse.dom.service.InspectionScriptServicecapID - CapIDModelinspector - SysUserModelscheduledDate - scheduled date, it must be of the form "12/31/2001"scheduledTime - scheduled timeinspectionType - inspection typerequestComment - request comment
no persistance data is stored if the comment is null or ""public ScriptResult getInspection(com.accela.aa.aamain.cap.CapIDModel capID, long inspectionID)
com.accela.aa.emse.dom.service.InspectionScriptServicegetInspection in interface com.accela.aa.emse.dom.service.InspectionScriptServicecapID - CapIDModelinspectionID - inspection IDpublic ScriptResult getInspections(com.accela.aa.aamain.cap.CapIDModel capID)
com.accela.aa.emse.dom.service.InspectionScriptServicegetInspections in interface com.accela.aa.emse.dom.service.InspectionScriptServicecapID - CapIDModelpublic ScriptResult getInspections(java.lang.String date1, java.lang.String date2)
com.accela.aa.emse.dom.service.InspectionScriptServicegetInspections in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult resultInspection(com.accela.aa.aamain.cap.CapIDModel capID, long inspectionID, java.lang.String resultStatus, java.lang.String resultDate, java.lang.String resultComment, java.lang.String auditID)
com.accela.aa.emse.dom.service.InspectionScriptServiceresultInspection in interface com.accela.aa.emse.dom.service.InspectionScriptServicecapID - CapIDModelinspectionID - inspection IDresultStatus - result statusresultDate - result dateresultComment - result commentauditID - the caller idpublic ScriptResult cancelInspection(com.accela.aa.aamain.cap.CapIDModel capID, long inspectionID)
com.accela.aa.emse.dom.service.InspectionScriptServicecancelInspection in interface com.accela.aa.emse.dom.service.InspectionScriptServicecapID - CapIDModelinspectionID - inspection IDpublic ScriptResult reschedule(com.accela.aa.aamain.cap.CapIDModel capId, long inspectionId, com.accela.aa.aamain.people.SysUserModel inspector, com.accela.aa.emse.util.ScriptDateTime scheduledDate, java.lang.String scheduledTime, java.lang.String requestComment)
com.accela.aa.emse.dom.service.InspectionScriptServicereschedule in interface com.accela.aa.emse.dom.service.InspectionScriptServicecapId - CapIDModelinspectionId - inspection Idinspector - SysUserModelscheduledDate - scheduled datescheduledTime - scheduled timerequestComment - request commentpublic ScriptResult findByInspectorDaily(com.accela.aa.aamain.people.SysUserModel sysuser, java.lang.String date1)
com.accela.aa.emse.dom.service.InspectionScriptServicefindByInspectorDaily in interface com.accela.aa.emse.dom.service.InspectionScriptServicesysuser - SysUserModelpublic ScriptResult findByInspectorDateRange(com.accela.aa.aamain.people.SysUserModel sysuser, java.lang.String date1, java.lang.String date2)
com.accela.aa.emse.dom.service.InspectionScriptServicefindByInspectorDateRange in interface com.accela.aa.emse.dom.service.InspectionScriptServicesysuser - SysUserModelpublic ScriptResult getUnassignedInspections(java.lang.String date1, java.lang.String date2)
com.accela.aa.emse.dom.service.InspectionScriptServicegetUnassignedInspections in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult getUnassignedInspections()
com.accela.aa.emse.dom.service.InspectionScriptServicegetUnassignedInspections in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult needDDA(InspectionScriptModel model)
com.accela.aa.emse.dom.service.InspectionScriptServiceneedDDA in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult reschedule(InspectionScriptModel model)
reschedule in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult updateInspectionType(long inspSeqNumber, java.lang.String inspGroupCode, java.lang.String inspType, java.lang.String resultGruop, java.lang.String guideGroup, java.lang.String autoAssign, java.lang.String unit)
com.accela.aa.emse.dom.service.InspectionScriptServiceupdateInspectionType in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult getInspectionType(java.lang.String groupCode, java.lang.String inspectionType)
com.accela.aa.emse.dom.service.InspectionScriptServicegetInspectionType in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult getDiscipline(java.lang.String inspSeqNumber)
com.accela.aa.emse.dom.service.InspectionScriptServicegetDiscipline in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult getInspectionDiscipline(java.lang.String inspSeqNumber)
com.accela.aa.emse.dom.service.InspectionScriptServicegetInspectionDiscipline in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult addInspectionDiscipline(java.lang.String inspSeqNumber, java.lang.String disciplineName)
com.accela.aa.emse.dom.service.InspectionScriptServiceaddInspectionDiscipline in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult deleteInspectionDiscipline(java.lang.String inspSeqNumber, java.lang.String disciplineName)
com.accela.aa.emse.dom.service.InspectionScriptServicedeleteInspectionDiscipline in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult getInspectionListForSchedule(java.lang.String capId1, java.lang.String capId2, java.lang.String capId3)
com.accela.aa.emse.dom.service.InspectionScriptServicegetInspectionListForSchedule in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult getInspectionListForReschedule(java.lang.String capId1, java.lang.String capId2, java.lang.String capId3)
com.accela.aa.emse.dom.service.InspectionScriptServicegetInspectionListForReschedule in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult autoAssignInspector(java.lang.String capId1, java.lang.String capId2, java.lang.String capId3, long inspTypeSeq, java.lang.String ScheduleDate)
com.accela.aa.emse.dom.service.InspectionScriptServiceautoAssignInspector in interface com.accela.aa.emse.dom.service.InspectionScriptServiceinspTypeSeq - Inspection sequence numberScheduleDate - Schedule Date format: "MM/dd/yyyy"public ScriptResult scheduleInspection(com.accela.aa.inspection.inspection.InspectionModel inspectionModel, com.accela.aa.aamain.people.SysUserModel actor)
com.accela.aa.emse.dom.service.InspectionScriptServicescheduleInspection in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult reScheduleInspection(com.accela.aa.inspection.inspection.InspectionModel inspectionModel, com.accela.aa.aamain.people.SysUserModel actor)
reScheduleInspection in interface com.accela.aa.emse.dom.service.InspectionScriptServiceinspectionModel - actor - public ScriptResult getInspectionScriptModel()
com.accela.aa.emse.dom.service.InspectionScriptServicegetInspectionScriptModel in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult copyInspectionWithGuideSheet(com.accela.aa.aamain.cap.CapIDModel source, com.accela.aa.aamain.cap.CapIDModel target, com.accela.aa.inspection.inspection.InspectionModel inspectionModel)
com.accela.aa.emse.dom.service.InspectionScriptServicecopyInspectionWithGuideSheet in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult editInspection(InspectionScriptModel inspScrModel)
editInspection in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic InspectionScriptModel newInspectionScriptModel(java.lang.String spCode, java.lang.String auditId)
newInspectionScriptModel in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult autoAssignInspectorForMultiInspection(java.lang.String capId1, java.lang.String capId2, java.lang.String capId3, long[] inspTypeSeq, java.lang.String ScheduleDate)
com.accela.aa.emse.dom.service.InspectionScriptServiceautoAssignInspectorForMultiInspection in interface com.accela.aa.emse.dom.service.InspectionScriptServiceinspTypeSeq - Inspection sequence number arrayScheduleDate - Schedule Date format: "MM/dd/yyyy"public ScriptResult carryOverGSItems(com.accela.aa.aamain.cap.CapIDModel capID, java.lang.String targetid)
com.accela.aa.emse.dom.service.InspectionScriptServicecarryOverGSItems in interface com.accela.aa.emse.dom.service.InspectionScriptServicecapID - the CapIDModel of cur application.targetid - the act_num of Inspection .public ScriptResult validateFailGuidesheetItems(com.accela.aa.aamain.cap.CapIDModel capID, java.lang.String actvityIdNumber, java.lang.String inspectionGroupCode, java.lang.String inspectinType, java.lang.String resultStatus)
capID - cap ID modelactvityIdNumber - inspection activity id numberinspectionGroupCode - inspection group codeinspectinType - inspection typeresultStatus - inspection result statuspublic ScriptResult saveCarryOverItems(java.util.List<com.accela.aa.inspection.guidesheet.GGuideSheetItemModel> listGGuideSheetItemModel, com.accela.aa.aamain.cap.CapIDModel targetCap, java.lang.String targetActNum)
com.accela.aa.emse.dom.service.InspectionScriptServicesaveCarryOverItems in interface com.accela.aa.emse.dom.service.InspectionScriptServicelistGGuideSheetItemModel - the source of carry over failed GGuideSheetItemstargetCap - the CapIDModel of the target Inspection.targetActNum - the act_num of the target Inspection.public ScriptResult getNextAvailableTime(long[] inspTypeSeq, com.accela.aa.emse.util.ScriptDateTime ScheduleDateTime)
com.accela.aa.emse.dom.service.InspectionScriptServicegetNextAvailableTime in interface com.accela.aa.emse.dom.service.InspectionScriptServiceinspTypeSeq - the array of insp seq.ScheduleDateTime - the schedule date time.public ScriptResult getNextAvailableTime(java.lang.String capId1, java.lang.String capId2, java.lang.String capId3, long[] inspTypeSeq, com.accela.aa.emse.util.ScriptDateTime ScheduleDateTime)
public ScriptResult checkAvailableTime(long[] inspTypeSeq, com.accela.aa.emse.util.ScriptDateTime ScheduleDateTime)
com.accela.aa.emse.dom.service.InspectionScriptServicecheckAvailableTime in interface com.accela.aa.emse.dom.service.InspectionScriptServiceinspTypeSeq - the insp type seqScheduleDateTime - the schedule date timepublic ScriptResult checkAvailableTime(java.lang.String capId1, java.lang.String capId2, java.lang.String capId3, long[] inspTypeSeq, com.accela.aa.emse.util.ScriptDateTime ScheduleDateTime)
public ScriptResult assignAppForEvent(java.lang.String capId1, java.lang.String capId2, java.lang.String capId3, java.lang.String calendarName, java.lang.String eventType, java.lang.String startDate)
com.accela.aa.emse.dom.service.InspectionScriptServiceassignAppForEvent in interface com.accela.aa.emse.dom.service.InspectionScriptServicecapId1 - the cap id1capId2 - the cap id2capId3 - the cap id3calendarName - the calendar nameeventType - the event typestartDate - the start datepublic ScriptResult assignAppForEvent(java.lang.String capId1, java.lang.String capId2, java.lang.String capId3, com.accela.aa.calendar.calendar.CalendarEventModel eventModel)
com.accela.aa.emse.dom.service.InspectionScriptServiceassignAppForEvent in interface com.accela.aa.emse.dom.service.InspectionScriptServicecapId1 - the cap id1capId2 - the cap id2capId3 - the cap id3eventModel - the event modelpublic ScriptResult checkAssignAppForEvent(java.lang.String capId1, java.lang.String capId2, java.lang.String capId3, java.lang.String calendarName, java.lang.String eventType, java.lang.String startDate)
com.accela.aa.emse.dom.service.InspectionScriptServicecheckAssignAppForEvent in interface com.accela.aa.emse.dom.service.InspectionScriptServicecapId1 - the cap id1capId2 - the cap id2capId3 - the cap id3calendarName - the calendar nameeventType - the event typestartDate - the start datepublic ScriptResult checkAssignAppForEvent(java.lang.String capId1, java.lang.String capId2, java.lang.String capId3, com.accela.aa.calendar.calendar.CalendarEventModel eventModel)
com.accela.aa.emse.dom.service.InspectionScriptServicecheckAssignAppForEvent in interface com.accela.aa.emse.dom.service.InspectionScriptServicecapId1 - the cap id1capId2 - the cap id2capId3 - the cap id3eventModel - the event modelpublic ScriptResult getWorkflowCalendarEvents(java.lang.String processCode, java.lang.String StpNum, java.lang.String actStatDes, java.lang.String calendarName)
com.accela.aa.emse.dom.service.InspectionScriptServicegetWorkflowCalendarEvents in interface com.accela.aa.emse.dom.service.InspectionScriptServiceprocessCode - the process codeStpNum - the stp numactStatDes - the act stat descalendarName - the calendar namepublic ScriptResult updateInspectionForSuperVisor(com.accela.aa.inspection.inspection.InspectionModel inspectionModel)
com.accela.aa.emse.dom.service.InspectionScriptServiceupdateInspectionForSuperVisor in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult getInspectorsWorkload(long[] inspSeq, com.accela.aa.aamain.cap.CapIDModel capIDModel, com.accela.aa.emse.util.ScriptDateTime ScheduleDateTime)
com.accela.aa.emse.dom.service.InspectionScriptServicegetInspectorsWorkload in interface com.accela.aa.emse.dom.service.InspectionScriptServiceinspSeq - the insp seqcapIDModel - the cap id modelScheduleDateTime - the schedule date timepublic ScriptResult pendingInspection(com.accela.aa.inspection.inspection.InspectionModel inspectionModel)
inspectionModel - public ScriptResult updateInspectionMilestone(com.accela.aa.inspection.flow.GInspProcessModel[] gInspProcessArray)
updateInspectionMilestone in interface com.accela.aa.emse.dom.service.InspectionScriptServicegInspProcessArray - array of GInspProcessModelpublic ScriptResult getInspMilestoneByCapID(com.accela.aa.aamain.cap.CapIDModel capID)
com.accela.aa.emse.dom.service.InspectionScriptServicegetInspMilestoneByCapID in interface com.accela.aa.emse.dom.service.InspectionScriptServicecapID - capIDpublic ScriptResult deleteRecurrings(com.accela.aa.aamain.cap.CapIDModel capIDModel)
capIDModel - CapIDModelpublic ScriptResult batchResultInspByCSV(java.lang.String documentID)
com.accela.aa.emse.dom.service.InspectionScriptServicebatchResultInspByCSV in interface com.accela.aa.emse.dom.service.InspectionScriptServicepublic ScriptResult sendAnnouncement(java.lang.String publicuserEmail, java.lang.String subject, java.lang.String content, java.lang.String callerID)
templateName - the template namepublicUserEmailID - the public user email idfrom - the fromto - the tocc - the ccsubject - the subjectcontent - the contentpublic ScriptResult createInspectionRelation(com.accela.aa.inspection.inspection.InspectionIDModel inspectionIDModel, java.lang.String childNum)
createInspectionRelation in interface com.accela.aa.emse.dom.service.InspectionScriptServiceinspectionIDModel - childNum -