777778779780781782783784
@Override public void closeProjectRequested(IntegrationProject project) throws CloseProjectVetoException { boolean allowed = modelAllowsRemoval(); if (!allowed) { throw new CloseProjectVetoException("The user declined the close request."); } }
133134135136137138139140141
if (view != null) { boolean allowed = view.setAccessedEntity(null); if (allowed) { view.setPermissions(null); } else { throw new CloseProjectVetoException("The user declined the close request."); } } }