public boolean execute ( Properties properties ) { if ( this . getEditMode ( ) == DBConstants . EDIT_IN_PROGRESS ) { try { this . writeAndRefresh ( ) ; } catch ( DBException ex ) { ex . printStackTrace ( ) ; } } if ( this . getEditMode ( ) != DBConstants . EDIT_CURRENT ) return false ; RunScriptProcess process = new RunScriptProcess ( this . getTask ( ) , null , null ) ; boolean bSuccess = ( process . doCommand ( this , null ) == DBConstants . NORMAL_RETURN ) ; process . free ( ) ; return bSuccess ; }
Execute Method .