- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.hippoecm.addon.workflow.WorkflowDescriptorModel.getWorkflow()
方法的一些代码示例,展示了WorkflowDescriptorModel.getWorkflow()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WorkflowDescriptorModel.getWorkflow()
方法的具体详情如下:
包路径:org.hippoecm.addon.workflow.WorkflowDescriptorModel
类名称:WorkflowDescriptorModel
方法名:getWorkflow
暂无
代码示例来源:origin: org.onehippo.cms7/hippo-cms-workflow-frontend
public DocumentWorkflow getWorkflow() throws RepositoryException {
return wdm.getWorkflow();
}
代码示例来源:origin: org.onehippo.cms7/hippo-cms-workflow-frontend
protected DocumentWorkflow getWorkflow() {
return getModel().getWorkflow();
}
代码示例来源:origin: org.onehippo.cms7/hippo-cms-api
public Map<String, Serializable> getHints() {
if (hints != null) {
return hints;
}
DocumentWorkflow workflow = getWorkflow();
if (workflow != null) {
try {
hints = workflow.hints();
return hints;
} catch (WorkflowException | RemoteException | RepositoryException e) {
log.error("Unable to retrieve workflow hints", e);
}
}
hints = Collections.emptyMap();
return hints;
}
}
代码示例来源:origin: org.onehippo.cms7/hippo-cms-workflow-frontend
final Workflow workflow = new WorkflowDescriptorModel(DEFAULT_FOLDERWORKFLOW_CATEGORY, destinationFolder.getObject()).getWorkflow();
if (workflow instanceof FolderWorkflow) {
final Map<String, Set<String>> prototypes = (Map<String, Set<String>>) workflow.hints().get("prototypes");
代码示例来源:origin: org.onehippo.cms7/hippo-cms-workflow-frontend
@Override
protected void onPopulate() {
List<IModel<Request>> requests = new ArrayList<>();
try {
WorkflowDescriptorModel model = getModel();
Workflow workflow = model.getWorkflow();
if (workflow != null) {
Map<String, Serializable> info = workflow.hints();
if (info.containsKey("requests")) {
Map<String, Map<String, ?>> infoRequests = (Map<String, Map<String, ?>>) info.get("requests");
for (Map.Entry<String, Map<String, ?>> entry : infoRequests.entrySet()) {
requests.add(new RequestModel(entry.getKey(), entry.getValue()));
}
}
}
} catch (RepositoryException | WorkflowException | RemoteException ex) {
log.error(ex.getMessage(), ex);
}
removeAll();
int index = 0;
for (IModel<Request> requestModel : requests) {
Item<Request> item = new Item<>(newChildId(), index++, requestModel);
populateItem(item);
add(item);
}
}
代码示例来源:origin: org.onehippo.cms7/hippo-cms-api
protected void execute(WorkflowDescriptorModel model) throws Exception {
javax.jcr.Session session = UserSession.get().getJcrSession();
session.save();
T workflow = model.getWorkflow();
if (workflow == null) {
throw new MappingException("action no longer valid");
}
String message = execute(workflow);
if (message != null) {
throw new WorkflowException(message);
}
// invalidate all virtual nodes & notify virtual node listeners
session.refresh(false);
UserSession us = UserSession.get();
us.getFacetRootsObserver().broadcastEvents();
}
代码示例来源:origin: org.onehippo.cms7/hippo-cms-workflow-frontend
Session session = frozenNode.getSession();
DocumentWorkflow documentWorkflow = model.getWorkflow();
本文整理了Java中org.hippoecm.addon.workflow.WorkflowDescriptorModel.getObject()方法的一些代码示例,展示了WorkflowDescri
本文整理了Java中org.hippoecm.addon.workflow.WorkflowDescriptorModel.getWorkflow()方法的一些代码示例,展示了WorkflowDesc
本文整理了Java中org.hippoecm.addon.workflow.WorkflowDescriptorModel.getNode()方法的一些代码示例,展示了WorkflowDescript
我是一名优秀的程序员,十分优秀!