public < P extends ParaObject > P update ( P obj ) { if ( obj == null ) { return null ; } return getEntity ( invokePatch ( obj . getType ( ) . concat ( "/" ) . concat ( obj . getId ( ) ) , Entity . json ( obj ) ) , obj . getClass ( ) ) ; }
Updates an object permanently . Supports partial updates .