- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中edu.isi.karma.controller.update.WorksheetListUpdate
类的一些代码示例,展示了WorksheetListUpdate
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WorksheetListUpdate
类的具体详情如下:
包路径:edu.isi.karma.controller.update.WorksheetListUpdate
类名称:WorksheetListUpdate
[英]Contains the list of worksheets to be shown in the window. The list may include new worksheets that were not previously displayed, and may not inlcude worksheets that were previously displayed. Those should be removed.
[中]包含要在窗口中显示的工作表列表。该列表可能包含以前未显示的新工作表,也可能不包含以前显示的工作表。这些应该被移除。
代码示例来源:origin: usc-isi-i2/Web-Karma
uc.add(new WorksheetListUpdate());
uc.append(WorksheetUpdateFactory.createWorksheetHierarchicalAndCleaningResultsUpdates(wsht.getId(), SuperSelectionManager.DEFAULT_SELECTION, workspace.getContextId()));
代码示例来源:origin: usc-isi-i2/Web-Karma
@Override
public void generateJson(String prefix, PrintWriter pw, VWorkspace vWorkspace) {
Collection<VWorksheet> vWorksheetList = vWorkspace.getViewFactory().getVWorksheets();
pw.println(prefix + "{");
String prefix1 = prefix + " ";
pw.println(prefix1
+ JSONUtil.json(GenericJsonKeys.updateType, getUpdateType()));
generateWorksheetListJson(prefix, pw, vWorksheetList, prefix1);
pw.println(prefix + "}");
}
代码示例来源:origin: usc-isi-i2/Web-Karma
try{
UpdateContainer c = new UpdateContainer();
c.add(new WorksheetListUpdate());
c.append(WorksheetUpdateFactory.createRegenerateWorksheetUpdates(oldws.getId(), getSuperSelection(oldws), workspace.getContextId()));
c.append(computeAlignmentAndSemanticTypesAndCreateUpdates(workspace));
代码示例来源:origin: usc-isi-i2/Web-Karma
@Override
public UpdateContainer doIt(Workspace workspace) throws CommandException {
//save the preferences
UpdateContainer c = new UpdateContainer();
try {
Object json = HTTPUtil.executeAndParseHTTPGetService(serviceUrl, includeInputAttributes);
logger.debug(json.toString());
Import imp = new JsonImport(json, worksheetName, workspace, encoding, -1);
Worksheet wsht = imp.generateWorksheet();
c.add(new ImportServiceCommandPreferencesUpdate(serviceUrl, worksheetName));
c.add(new WorksheetListUpdate());
c.append(WorksheetUpdateFactory.createWorksheetHierarchicalAndCleaningResultsUpdates(wsht.getId(), SuperSelectionManager.DEFAULT_SELECTION, workspace.getContextId()));
return c;
} catch (Exception e) {
logger.error("Error occured while creating worksheet from web-service: " + serviceUrl);
return new UpdateContainer(new ErrorUpdate("Error creating worksheet from web-service"));
}
}
代码示例来源:origin: usc-isi-i2/Web-Karma
c.add(new WorksheetListUpdate());
c.append(WorksheetUpdateFactory.createWorksheetHierarchicalAndCleaningResultsUpdates(ws.getId(), getSuperSelection(ws), workspace.getContextId()));
代码示例来源:origin: usc-isi-i2/Web-Karma
c.add(new WorksheetListUpdate());
if (newws == null)
c.append(WorksheetUpdateFactory.createRegenerateWorksheetUpdates(oldws.getId(), getSuperSelection(oldws), workspace.getContextId()));
代码示例来源:origin: usc-isi-i2/Web-Karma
UpdateContainer c = new UpdateContainer();
WorksheetUpdateFactory.detectSelectionStatusChange(worksheetId, workspace, this);
c.add(new WorksheetListUpdate());
if (newws == null)
c.append(WorksheetUpdateFactory.createRegenerateWorksheetUpdates(oldws.getId(), getSuperSelection(oldws), workspace.getContextId()));
代码示例来源:origin: usc-isi-i2/Web-Karma
@Override
public UpdateContainer doIt(Workspace workspace) throws CommandException {
UpdateContainer c = new UpdateContainer();
try {
Import imp = createImport(workspace);
Worksheet wsht = imp.generateWorksheet();
if (hasRevisionId()) {
Worksheet revisedWorksheet = workspace.getWorksheet(getRevisionId());
wsht.setRevisedWorksheet(revisedWorksheet);
}
c.add(new WorksheetListUpdate());
c.append(WorksheetUpdateFactory.createWorksheetHierarchicalAndCleaningResultsUpdates(wsht.getId(), SuperSelectionManager.DEFAULT_SELECTION, workspace.getContextId()));
} catch (JSONException | IOException | KarmaException | NullPointerException | ClassNotFoundException e) {
logger.error("Error occured while generating worksheet from " + getTitle() + "!", e);
return new UpdateContainer(new ErrorUpdate(
"Error occured during import: " + e.getMessage()));
}
return c;
}
代码示例来源:origin: usc-isi-i2/Web-Karma
uc.add(new WorksheetDeleteUpdate(worksheetId));
this.worksheetId = newWorksheet.getId();
uc.add(new WorksheetListUpdate());
uc.append(WorksheetUpdateFactory.createWorksheetHierarchicalAndCleaningResultsUpdates(worksheetId, SuperSelectionManager.DEFAULT_SELECTION, workspace.getContextId()));
commands.clear();
代码示例来源:origin: usc-isi-i2/Web-Karma
@Override
public UpdateContainer doIt(Workspace workspace) throws CommandException {
UpdateContainer uc = new UpdateContainer();
try {
Import imp = createImport(workspace);
final Worksheet wsht = imp.generateWorksheet();
if (hasRevisionId()) {
Worksheet revisedWorksheet = workspace.getWorksheet(getRevisionId());
wsht.setRevisedWorksheet(revisedWorksheet);
}
uc.add(new WorksheetListUpdate());
uc.append(WorksheetUpdateFactory.createWorksheetHierarchicalAndCleaningResultsUpdates(wsht.getId(), SuperSelectionManager.DEFAULT_SELECTION, workspace.getContextId()));
if (savePreset) {
uc.append(savePreset(workspace, wsht));
}
} catch (JSONException | IOException | KarmaException | NullPointerException | ClassNotFoundException e) {
logger.error("Error occured while generating worksheet from " + getTitle() + "!", e);
return new UpdateContainer(new ErrorUpdate(
"Error occured during import: " + e.getMessage()));
}
return uc;
}
}
代码示例来源:origin: usc-isi-i2/Web-Karma
c.add(new WorksheetListUpdate());
c.append(WorksheetUpdateFactory.createWorksheetHierarchicalAndCleaningResultsUpdates(wsht.getId(), SuperSelectionManager.DEFAULT_SELECTION, workspace.getContextId()));
} catch (Exception e) {
代码示例来源:origin: usc-isi-i2/Web-Karma
@Override
public UpdateContainer doIt(final Workspace workspace) throws CommandException {
boolean worksheetExists = false;
if(workspace.getWorksheet(worksheetId) != null) {
worksheetExists = true;
workspace.removeWorksheet(worksheetId);
workspace.getFactory().removeWorksheet(worksheetId, workspace.getCommandHistory());
}
UpdateContainer update = new UpdateContainer();
if(worksheetExists) {
update.add(new WorksheetDeleteUpdate(worksheetId)); //This one deletes it from the vWorksheet, so
//needs to be called first before WorksheetListUpdate
update.add(new HistoryUpdate(workspace.getCommandHistory()));
}
update.add(new WorksheetListUpdate());
return update;
}
代码示例来源:origin: usc-isi-i2/Web-Karma
case "headers": uc.add(new WorksheetHeadersUpdate(worksheetId, sel));
break;
case "list": uc.add(new WorksheetListUpdate());
break;
case "data": uc.add(new WorksheetDataUpdate(worksheetId, sel));
代码示例来源:origin: usc-isi-i2/Web-Karma
@Override
public UpdateContainer undoIt(Workspace workspace) {
UpdateContainer c = new UpdateContainer();
if (this.newWorksheetId != null) {
workspace.removeWorksheet(newWorksheetId);
workspace.getFactory().removeWorksheet(newWorksheetId, workspace.getCommandHistory());
c.add(new WorksheetListUpdate());
c.add(new WorksheetDeleteUpdate(newWorksheetId));
}
if (this.newHNodeId != null) {
Worksheet worksheet = workspace.getWorksheet(worksheetId);
HNode ndid = workspace.getFactory().getHNode(newHNodeId);
HTable currentTable = workspace.getFactory().getHTable(ndid.getHTableId());
ndid.removeNestedTable();
//remove the new column
currentTable.removeHNode(newHNodeId, worksheet);
c.append(WorksheetUpdateFactory.createRegenerateWorksheetUpdates(worksheetId, getSuperSelection(worksheet), workspace.getContextId()));
c.append(computeAlignmentAndSemanticTypesAndCreateUpdates(workspace));
}
return c;
}
代码示例来源:origin: usc-isi-i2/Web-Karma
@Override
public UpdateContainer undoIt(Workspace workspace) {
UpdateContainer c = new UpdateContainer();
if (this.newWorksheetId != null) {
workspace.removeWorksheet(newWorksheetId);
workspace.getFactory().removeWorksheet(newWorksheetId, workspace.getCommandHistory());
c.add(new WorksheetListUpdate());
c.add(new WorksheetDeleteUpdate(newWorksheetId));
}
if (this.newHNodeId != null) {
Worksheet worksheet = workspace.getWorksheet(worksheetId);
HNode ndid = workspace.getFactory().getHNode(newHNodeId);
HTable currentTable = workspace.getFactory().getHTable(ndid.getHTableId());
ndid.removeNestedTable();
//remove the new column
currentTable.removeHNode(newHNodeId, worksheet);
c.append(WorksheetUpdateFactory.createRegenerateWorksheetUpdates(worksheetId, getSuperSelection(worksheet), workspace.getContextId()));
c.append(computeAlignmentAndSemanticTypesAndCreateUpdates(workspace));
}
return c;
}
命令 npm update 有什么区别和包裹npm-check-updates ?使用后者是否完全安全? 执行后好像是npm update并非所有软件包都已更新,因此似乎不完整。许多其他 popula
我有使用 ExpressJS 和 ORM Sequelize 的 API。我正在尝试使用 Sequelize 中的 update() 方法进行更新。默认情况下,it 方法将返回更新的行数。但我希望结果
关于如何更新 rubygems 有点困惑。过程不断变化(或者至少我从互联网上得到了相互矛盾的信息)。 $ gem outdated rubygems-update (1.8.10 < 1.8.11
我正在使用 webpack-dev-server处于开发模式( watch )。每次服务器重新加载时,一些 json 和 js 文件都会挤满我的构建目录,如下所示:'hash'.hot-update.
Mamp Pro 的当前版本是 5.04 (15996)。可用更新窗口显示“Mamp 5.0.0 > 5.1。更新失败,并显示一条消息:错误:无法验证更新。请确保您使用的是安全网络,然后重试。” 更新
我想在浏览量增加时更新时间戳“lastpageview_at”。我想我已经接近了,但我总是遇到语法错误,有人知道为什么或有其他解决方案吗? 我的触发器: CREATE TRIGGER Update_l
我正在执行 SELECT ... FOR UPDATE 以锁定一条记录,然后进行一些计算,然后进行实际的 UPDATE。我正在处理 InnoDB 数据库。 但是计算可能会以我不想执行 UPDATE 的
我需要在表更新时进行一些更新和插入以强制执行正确的数据。将 UPDATE 语句放入触发器中会导致某种“循环”吗? 谢谢! 最佳答案 更新触发器中的目标表将使触发器再次触发。 您可以使用 TRIGGER
这是我的布局 当我点击链接更新时,该链接应该打开和关闭renderComment bool
我有一个包含两件事的 Angular 范围: 一个包含 10k 行的巨型表格,需要一秒钟才能渲染 一些小的额外信息位于固定的覆盖标题栏中 根据您向下滚动页面/表格的距离,我必须更新标题中的小信息位之一
标题几乎已经说明了一切。 IF NEW.variance <> 0 THEN (kill update) END IF 这可能吗? 最佳答案 查看手册 (http://dev.mysql.com/do
我有几个表,我想强制执行版本控制,并且有一个生效日期和生效日期。每当应用程序或用户向该表写入更新时,我希望它重定向到两个全新的命令:更新目标记录,以便 EFFECTIVE_TO 日期填充当前日期和时间
我正在使用 Shopware,一件奇怪的事情让我抓狂 :( 所以我将首先解释问题是什么。 除了普通商品外,还有多种款式的商品,例如不同尺码的衬衫。这是 XS、S、M、L 和/或不同颜色的同一商品……但
寻求帮助制作 mysql 触发器。我当前的代码无法按预期工作。我想做的是,如果表A中的字段A被修改,则将字段A复制到表A中的字段B。 当前代码如下所示: BEGIN IF new.set_id=301
以下查询(来自此处Postgres SQL SELECT and UPDATE behaving differently) update fromemailaddress set call =
我想使用 D3 使用以下数据创建一个列表: var dataSet = [ { label: 'a', value: 10}, { label: 'b', value: 20},
哪个更好,先进行选择,然后进行更新。或者更确切地说,像这样合而为一: UPDATE items set status = 'NEW' where itemid in (1,2,3,
对于 eloquent model events,updating 和 updated 之间有什么区别? ? 我的猜测是 updating 在模型更新之前触发,而 updated 在模型更新之后触发。
我有一个对象数组(我们称之为arr)。在我的组件输入之一的 (change) 方法中,我修改了这些对象的属性之一,但在 View (*ngFor) 中没有任何变化。我读到 Angular2 变化检测不
我正在尝试使用 d3.js 构建水平日历时间线。主要目标是突出显示用户的假期和假期。 http://jsbin.com/ceperavu/2/edit?css,js,output 我首先从“开始”日期
我是一名优秀的程序员,十分优秀!