public boolean remove ( final ServerPresentationModel pm ) { boolean deleted = super . remove ( pm ) ; if ( ! deleted ) { throw new IllegalStateException ( "Model " + pm + " not found on the server!" ) ; } deleteCommand ( getCurrentResponse ( ) , pm . getId ( ) ) ; return deleted ; }
Convenience method to let Dolphin removePresentationModel a presentation model directly on the server and notify the client .