@Override
  public final void checkOtherFraudUpdate(final Map<String, Object> pAddParam,
    final ManufacturingProcess pEntity, final IRequestData pRequestData,
      final ManufacturingProcess pOldEntity) throws Exception {
    if (pOldEntity.getIsComplete()) {
      throw new ExceptionWithCode(ExceptionWithCode.FORBIDDEN,
        "attempt_to_change_completed_manufacturing_process");
    }
  }
@ Override public final void checkOtherFraudUpdate ( final Map < String , Object > pAddParam , final ManufacturingProcess pEntity , final IRequestData pRequestData , final ManufacturingProcess pOldEntity ) throws Exception { if ( pOldEntity . getIsComplete ( ) ) { throw new ExceptionWithCode ( ExceptionWithCode . FORBIDDEN , "attempt_to_change_completed_manufacturing_process" ) ; } }
<p>Check other fraud update e.g. prevent change completed unaccounted
manufacturing process.</p>
@param pAddParam additional param
@param pEntity entity
@param pRequestData Request Data
@param pOldEntity old saved entity
@throws Exception - an exception