public void deleteAllPresentationModelsOfType ( String presentationModelType ) { getClientConnector ( ) . send ( new DeletedAllPresentationModelsOfTypeNotification ( presentationModelType ) ) ; List < ClientPresentationModel > models = new LinkedList < ClientPresentationModel > ( findAllPresentationModelsByType ( presentationModelType ) ) ; for ( ClientPresentationModel model : models ) { delete ( model , false ) ; } }
ModelStoreListener REMOVE will be fired after the server is notified .