Methods
Modifier and Type |
Method and Description |
void |
add()
Add new CraftRate.
|
void |
appValidate()
appValidate()
Application validation routine called before the craftrate object is saved
Method validates if there are multiple craftrate records for the same
skilllevel and vendor combination.
|
void |
canDelete()
Craft cannot be deleted if it is referenced by any rows in the laborcraftrate,
wplabor, joblabor or when the contract status is approved
|
void |
checkContract()
If the contract status is APPR, then the standard rate for this craftrate becomes readonly,
else the status is in DRAFT, PNDREV OR WAPPR, then it is editable.
|
void |
delete(long accessModifier)
Override delete.
|
MboRemote |
getValidContract(java.util.Date startDate)
Returns the contract mbo with valid revision status
|
void |
init()
Propagate key flag is set to false to avoid erroneous propagation of key to the craftskill object.
|
boolean |
isUnique()
Check for the uniqueness in the current set
|
void |
modify()
This called whenever a change is made to the attributes of a MBO.
|
void |
propagateKeyValue(java.lang.String keyName,
java.lang.String keyValue)
Set value for Craft.
|
void |
undelete()
Craft cannot be undeleted if it references a skilllevel which is marked for delete.
|