267268269270271272273
public void importRulesRepository(InputStream in) { identity.checkPermission( new AdminType(), RoleType.ADMIN.getName() ); repository.importRulesRepositoryFromStream( in ); fileUploadedEventEvent.fire(new FileUploadedEvent()); }
276277278279280281282283284
public void importPackageToRepository(byte[] data, boolean importAsNew) { repository.importPackageToRepository(data, importAsNew); fileUploadedEventEvent.fire(new FileUploadedEvent()); }