private NodeRef getRootNode() { StoreRef storeRef = repoModelsLocation.getStoreRef(); return nodeService.getRootNode(storeRef); }
private NodeRef getRootNode() { StoreRef storeRef = repoModelsLocation.getStoreRef(); return nodeService.getRootNode(storeRef); }
public List<String> getMessageBundles() StoreRef storeRef = repoMessagesLocation.getStoreRef(); NodeRef rootNode = nodeService.getRootNode(storeRef);
StoreRef store = followingEmailTemplateLocation.getStoreRef(); String xpath = followingEmailTemplateLocation.getPath();
StoreRef storeRef = repositoryLocation.getStoreRef();
StoreRef storeRef = repositoryLocation.getStoreRef();
StoreRef storeRef = repositoryLocation.getStoreRef();
StoreRef store = followingEmailTemplateLocation.getStoreRef(); String xpath = followingEmailTemplateLocation.getPath();
StoreRef storeRef = repositoryLocation.getStoreRef();
+ " (from ["+ modelLocation.getStoreRef() + "]"+ modelLocation.getPath() + ")");
StoreRef store = feedEmailTemplateLocation.getStoreRef(); String xpath = feedEmailTemplateLocation.getPath();
+ " (from ["+ modelLocation.getStoreRef() + "]"+ modelLocation.getPath() + ")");
StoreRef storeRef = repoWorkflowDefsLocation.getStoreRef(); NodeRef rootNode = nodeService.getRootNode(storeRef); List<NodeRef> nodeRefs = searchService.selectNodes(
StoreRef store = feedEmailTemplateLocation.getStoreRef(); String xpath = feedEmailTemplateLocation.getPath();
StoreRef storeRef = repoWorkflowDefsLocation.getStoreRef(); NodeRef rootNode = nodeService.getRootNode(storeRef); List<NodeRef> nodeRefs = searchService.selectNodes(
private NodeRef findWorkflowParent() { RepositoryLocation workflowLocation = (RepositoryLocation) applicationContext.getBean("customWorkflowDefsRepositoryLocation"); NodeRef rootNode = nodeService.getRootNode(workflowLocation.getStoreRef()); List<NodeRef> workflowParents = serviceRegistry.getSearchService().selectNodes( rootNode, workflowLocation.getPath(), null, serviceRegistry.getNamespaceService(), false); if (workflowParents.size() == 0) { throw new IllegalStateException("Unable to find workflow location: "+workflowLocation.getPath()); } if (workflowParents.size() > 1) { throw new IllegalStateException("More than one workflow location? ["+workflowLocation.getPath()+"]"); } return workflowParents.get(0); }
StoreRef storeRef = repoMessagesLocation.getStoreRef();
StoreRef storeRef = repoMessagesLocation.getStoreRef();
StoreRef storeRef = repoMessagesLocation.getStoreRef();
StoreRef storeRef = repoMessagesLocation.getStoreRef();