public interface WorkOrderService extends BaseService<WorkOrder,Long>
| Modifier and Type | Method and Description |
|---|---|
WorkOrderEstimate |
calculateCumulativeDetailsForRE(WorkOrderEstimate workOrderEstimate)
Populate all the cumulative fields related to WOA line item
|
Map<String,Object> |
createHeaderParams(WorkOrder workOrder,
String type)
returns headermap for pdf
|
MBHeader |
findLastMBPageNoForLineItem(WorkOrderActivity workOrderActivity,
Long mbHeaderId)
This method will return toPageNo for a line item from the last mb entry.
|
Collection<WorkOrderActivity> |
getActionWorkOrderActivitiesList(List<WorkOrderActivity> actionWorkOrderActivities)
This function returns collection of WorkOrderActivity Objects.
|
Collection<EstimateLineItemsForWP> |
getActivitiesForWorkorder(TenderResponse tenderResponse)
This method will return ActivitiesForWorkorder.
|
Collection<EstimateLineItemsForWP> |
getActivitiesForWorkorder(WorkOrder workOrder)
This method will return ActivitiesForWorkorder.
|
Collection<EstimateLineItemsForWP> |
getActivitiesForWorksPackage(TenderResponse tenderResponse)
This method will return Activities For WorksPackage.
|
List<AbstractEstimateForWp> |
getAeForWp(WorkOrder workOrder)
returns AbstractEstimateForWp list
|
List<Contractor> |
getAllContractorForWorkOrder() |
List<Contractor> |
getContractorsWithWO()
This method will return all the contractors which are having active work orders.
|
Double |
getLabourWelfareFundConfValue()
gets the LabourWelfareFund appconfig value
|
Double |
getSecurityDepositConfValue()
gets the security desposit appconfig value
|
Object |
getTenderNegotiationInfo(String negotiationNo)
returns tender type and percentage negotiated amount rate
|
Date |
getWorkCommencedDateByWOId(Long id)
retruns work commenced date for a particular work order by taking id as parameter
|
List<Object> |
getWorkOrderDetails(Long estimateId)
This function returns list of Objects containing workOder Id and WorkOrder number.
|
WorkOrderEstimate |
getWorkOrderEstimateForWOIdAndEstimateId(Long workOrderId,
Long estimateId)
returns WorkOrderEstimate based on the workorder id and estimate id
|
String |
getWorksPackageName(String wpNumber)
returns the WorksPackage name
|
Boolean |
isMBInApprovalPendingForWO(String woNumber)
Check whether any MB entry is pending for approval for the given WorkOrder
|
List<WorkOrderActivity> |
searchWOActivities(Map<String,Object> criteriaMap)
This method will search and return list of woactivity based on searched criteria.
|
List<WorkOrderActivity> |
searchWOActivitiesForChangeQuantity(Map<String,Object> criteriaMap)
For the purpose of change quantity in revision estimate Will get work order activity list for the original work order and
subsequent revision work orders It will not get the activities for which MB is present in workflow
|
List<WorkOrderActivity> |
searchWOActivitiesFromRevEstimates(Map<String,Object> criteriaMap)
This method will search and return list of woactivity from only revision estimates based on searched criteria.
|
List<WorkOrder> |
searchWOForBilling(Map<String,Object> criteriaMap)
This method will search list of WO's for the given criteria and eligible for MB.
|
List<WorkOrder> |
searchWOForMB(Map<String,Object> criteriaMap)
This method will search list of WO's for the given criteria and eligible for MB.
|
List<String> |
searchWOToPaginatedView(Map<String,Object> criteriaMap,
List<Object> paramList)
using for pagination This method will search list of WO's for the given criteria and eligible to be view.
|
List<WorkOrder> |
searchWOToView(Map<String,Object> criteriaMap)
This method will search list of WO's for the given criteria and eligible to be view.
|
WorkOrder |
setWorkOrderNumber(AbstractEstimate entity,
WorkOrder workOrder,
WorksPackage worksPackage)
This method will set workorder number to the work order object
|
create, delete, find, find, findAll, findAllBy, findAllByNamedQuery, findByExample, findById, findByNamedQuery, getCurrentFinancialYear, merge, persist, updateWorkOrder setWorkOrderNumber(AbstractEstimate entity, WorkOrder workOrder, WorksPackage worksPackage)
entity - workOrder - List<Contractor> getContractorsWithWO()
List<WorkOrder> searchWOForMB(Map<String,Object> criteriaMap)
criteriaMap - List<WorkOrder> searchWOForBilling(Map<String,Object> criteriaMap)
criteriaMap - List<WorkOrder> searchWOToView(Map<String,Object> criteriaMap)
criteriaMap - List<String> searchWOToPaginatedView(Map<String,Object> criteriaMap, List<Object> paramList)
criteriaMap - List<WorkOrderActivity> searchWOActivities(Map<String,Object> criteriaMap)
criteriaMap - List<WorkOrderActivity> searchWOActivitiesForChangeQuantity(Map<String,Object> criteriaMap)
criteriaMap - List<WorkOrderActivity> searchWOActivitiesFromRevEstimates(Map<String,Object> criteriaMap)
criteriaMap - MBHeader findLastMBPageNoForLineItem(WorkOrderActivity workOrderActivity, Long mbHeaderId)
workOrderActivity - List<Contractor> getAllContractorForWorkOrder()
Boolean isMBInApprovalPendingForWO(String woNumber)
woId - Collection<EstimateLineItemsForWP> getActivitiesForWorkorder(TenderResponse tenderResponse)
tenderResponse - Collection<EstimateLineItemsForWP> getActivitiesForWorksPackage(TenderResponse tenderResponse)
tenderResponse - Collection<EstimateLineItemsForWP> getActivitiesForWorkorder(WorkOrder workOrder)
WorkOrder - Map<String,Object> createHeaderParams(WorkOrder workOrder, String type)
workOrder - List<AbstractEstimateForWp> getAeForWp(WorkOrder workOrder)
workOrder - Double getSecurityDepositConfValue()
Double getLabourWelfareFundConfValue()
WorkOrderEstimate calculateCumulativeDetailsForRE(WorkOrderEstimate workOrderEstimate)
workOrderEstimate - Date getWorkCommencedDateByWOId(Long id)
id - String getWorksPackageName(String wpNumber)
wpNumber - Object getTenderNegotiationInfo(String negotiationNo)
negotiationNo - WorkOrderEstimate getWorkOrderEstimateForWOIdAndEstimateId(Long workOrderId, Long estimateId)
workOrderId - ,estimateIdList<Object> getWorkOrderDetails(Long estimateId)
estimateID - Collection<WorkOrderActivity> getActionWorkOrderActivitiesList(List<WorkOrderActivity> actionWorkOrderActivities)
actionWorkOrderActivities - Copyright © 2015–2016 eGovernments Foundation. All rights reserved.