7071727374757677787980
Workspace workspace = session.getWorkspace(); Site site = workspace.getSite(type, key.getId()); if (site == null) { throw new NoSuchDataException("Could not remove non existing portal " + key.getId()); } else { site.destroy(); } return null; } @Override
8283848586878889909192
{ throw new NoSuchDataException("Could not remove non existing portal " + key.getId()); } else { site.destroy(); } return null; } @Override