public static Result newUpdateResultRequest ( Type [ ] types , long id ) { Result result = newResult ( ResultConstants . UPDATE_RESULT ) ; result . metaData = ResultMetaData . newUpdateResultMetaData ( types ) ; result . id = id ; result . navigator . add ( new Object [ ] { } ) ; return result ; }
For UPDATE_RESULT The parameters are set afterwards as the Result is reused