Package | Description |
---|---|
psdi.app.workorder |
The work order package includes Mbos related to work order planning, reporting and tracking.
|
psdi.app.workorder.unittest | |
psdi.webclient.beans.workorder |
Modifier and Type | Class and Description |
---|---|
class |
WOActivity
MBO to represent the Activity object.
|
class |
WOChange
MBO to represent the Release object.
|
class |
WORelease
MBO to represent the Release object.
|
Modifier and Type | Method and Description |
---|---|
WO |
WO.getParentMbo()
Returns the work order which is the parent of a parent + children combined display.
|
Modifier and Type | Method and Description |
---|---|
boolean |
WO.areAllPredecessorsComplete(WO wo)
Are all predecessors complete.
|
boolean |
WO.areAllPredecessorsComplete(WO wo,
java.lang.String targetStatus,
boolean fully)
If all predecessors are flow complete, then true is returned; if any are not flow complete, false is returned.
|
boolean |
WO.areAllPredecessorsSufficientlyComplete(WO wo,
java.lang.String targetStatus)
Completeness in a predecessor depends on the context: it can be different depending on: 1) what action is being
considered (auto start, manual start, or manual completion); 2) the Relationship type of the precedence relation
between the predecessor and the current wo; and 3) the status of the predecessor (relative to flow start and flow
complete).
|
void |
WOService.calculateResponseDate(WO forWO)
Calculates the response time given the value of the CalcPriority attribute.
|
java.util.Date |
WO.calculateScheduleFinishDate(WO wo,
java.util.Date schedStartDate)
Calculates a schedule finish date as the passed schedStartDate date plus the EstDur of the passed workorder.
|
boolean |
AssignmentRemote.canFinishWO(WO woMbo) |
boolean |
Assignment.canFinishWO(WO woMbo)
Checks whether the workorder can be completed or closed.
|
void |
WO.copyDoclinksToWO(WO wo)
Copy the docklinks from assetlocation,safetyplan,jobplan,pm etc which has copylonktowo flag set to this WO
|
java.lang.String |
WO.getCompleteStatusForWorkType(WO wo)
Gets the complete status for work type.
|
int |
WO.getContemplatedAction(WO wo,
java.lang.String targetStatus)
Determines the contemplated action.
|
WoEditSettings |
WOService.getEditSettings(WO forWO)
Gets the edit settings for the status the workorder is at and its site.
|
int |
WO.getFlowControlState(WO wo,
java.lang.String status)
Get the current state of this WO in the flow control process
|
WoEditSettings |
WOService.getISCalEditSettings(WO wo)
Gets the checks if is cal edit settings.
|
java.lang.String |
WO.getStartStatusForWorkType(WO wo)
Gets the start status for work type.
|
boolean |
WOService.getWorkTypeAttribute(WO forWO,
java.lang.String attr)
Determines the value for this workorder's worktype attribute.
|
boolean |
WO.isFlowControlComplete(WO wo,
java.lang.String status)
Helper method used to determine if the status is at or beyond the WorkType.COMPLETESTATUS value.
|
boolean |
WO.isSufficientlyFlowControlComplete(WO wo,
java.lang.String reltypeToSuccessor,
int contemplatedAction)
Helper method used to determine if the status is at or beyond the the correct status value for the relationship
type of the precedence relation.
|
boolean |
WO.isSufficientlyFlowControlComplete(WO wo,
java.lang.String status,
java.lang.String reltypeToSuccessor,
int contemplatedAction)
Helper method used to determine if the status is at or beyond the value that signifies competeness.
|
void |
WO.setWOScheduleDates(WO wo,
java.util.Date schedStartDate)
Sets the schedule dates of the passed wo.
|
void |
WO.updateChildrensServiceAddress(WO currentWO)
Method to propogate the service address to children workorders (children & tasks).
|
Modifier and Type | Method and Description |
---|---|
void |
WOTaskRelation.copyPlan(MboRemote source,
java.util.Map<java.lang.String,WO> operWoLookup)
Used to fill in data when copying a JobPlan's JPTaskRelations to a WorkPlan's WOTaskRelations.
|
Modifier and Type | Method and Description |
---|---|
static WO |
WOLibrary.createWO()
Use this method to create a WO that will only be used in one unit test.
|
static WO |
WOLibrary.createWO(java.lang.String name)
Use this method to create a workorder that will spawn over multiple unittest.
|
Modifier and Type | Method and Description |
---|---|
static void |
WOLibrary.changeStatusToAppr(WO wo)
Takes a workorder and attempts to change the status to approve.
|
static void |
WOLibrary.changeStatusToAppr(WO wo,
java.lang.String endStatus)
Takes a workorder and attempts to change the status to approve
|
static void |
WOLibrary.changeStatusToWappr(WO wo)
Takes a workorder and attempts to change the status to waiting approval.
|
static void |
WOLibrary.changeStatusToWappr(WO wo,
java.lang.String endStatus)
Takes a workorder and attempts to change the status to waiting approval
|
Modifier and Type | Method and Description |
---|---|
void |
ReschedAssignBean.BulkRescheduleSaveWO(WO thePassedWO,
boolean resched,
java.util.Date reschedDate)
Calls bulkReschedule for the passed WO and then saves it but does so in such a way as
to take advantage of the fact that the WOSet of which the WO is a member is discardable.
|