public class MECServiceImpl extends Object implements MECService
EQUIPMENT_COLUMN_NAME, GRID_ID, GRID_WO_TYPE, MEC_ID_COLUMN_NAME| Constructor and Description |
|---|
MECServiceImpl(ApplicationData applicationData,
Tools tools,
net.datastream.wsdls.inforws.InforWebServicesPT inforWebServicesToolkitClient) |
| Modifier and Type | Method and Description |
|---|---|
String |
addWorkOrderEquipment(InforContext context,
MEC mecToAdd)
Adds an equipment with the specified properties to the specified workorder.
|
BatchResponse<String> |
addWorkOrderEquipmentBatch(InforContext context,
List<MEC> mecsToAdd) |
String |
deleteWorkOrderMEC(InforContext context,
String parentWorkorderID,
String mecID)
Deletes a MEC from the specified parent workorder.
|
List<String> |
getWorkOrderMecIDList(InforContext context,
String workorderID)
Returns a list of all the MECs of the target workorder.
|
net.datastream.schemas.mp_entities.workorderequipment_001.WorkOrderEquipment |
getWorkOrderMecInfor(InforContext context,
String workorderID) |
String |
syncWorkOrderEquipment(InforContext context,
MEC updatedMEC)
Updates the target workorder with the specified properties.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidateInput, validateInput, validateInput, validateInputpublic MECServiceImpl(ApplicationData applicationData, Tools tools, net.datastream.wsdls.inforws.InforWebServicesPT inforWebServicesToolkitClient)
public String addWorkOrderEquipment(InforContext context, MEC mecToAdd) throws InforException
addWorkOrderEquipment in interface MECServicecontext - the user credentialsmecToAdd - the MEC object to addInforExceptionpublic BatchResponse<String> addWorkOrderEquipmentBatch(InforContext context, List<MEC> mecsToAdd) throws InforException
addWorkOrderEquipmentBatch in interface MECServiceInforExceptionpublic String deleteWorkOrderMEC(InforContext context, String parentWorkorderID, String mecID) throws InforException
deleteWorkOrderMEC in interface MECServicecontext - the user credentialsparentWorkorderID - the ID of the parent workordermecID - the ID of the MEC to deleteInforExceptionpublic List<String> getWorkOrderMecIDList(InforContext context, String workorderID) throws InforException
getWorkOrderMecIDList in interface MECServicecontext - the user credentialsworkorderID - the ID of the parent workorderInforExceptionpublic net.datastream.schemas.mp_entities.workorderequipment_001.WorkOrderEquipment getWorkOrderMecInfor(InforContext context, String workorderID) throws InforException
getWorkOrderMecInfor in interface MECServiceInforExceptionpublic String syncWorkOrderEquipment(InforContext context, MEC updatedMEC) throws InforException
syncWorkOrderEquipment in interface MECServicecontext - the user credentialsupdatedMEC - the updated mec objectInforExceptionCopyright © 2021 CERN European Organization for Nuclear Research. All rights reserved.