public Object execute ( final OIdentifiable o , final OCommandExecutor iRequester ) { // RESOLVE VALUES USING THE CURRENT RECORD for ( int i = 0 ; i < configuredParameters . length ; ++ i ) { if ( configuredParameters [ i ] instanceof OSQLFilterItemField ) runtimeParameters [ i ] = ( ( OSQLFilterItemField ) configuredParameters [ i ] ) . getValue ( o , null ) ; else if ( configuredParameters [ i ] instanceof OSQLFunctionRuntime ) runtimeParameters [ i ] = ( ( OSQLFunctionRuntime ) configuredParameters [ i ] ) . execute ( o , iRequester ) ; } final Object functionResult = function . execute ( o , runtimeParameters , iRequester ) ; return transformValue ( o , functionResult ) ; }
Execute a function .