WorkflowNode.isTaskNode
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.alfresco.service.cmr.workflow.WorkflowNode.isTaskNode(Showing top 4 results out of 315)

origin: Alfresco/community-edition-old

private Map<String, Object> buildWorkflowNode(WorkflowNode workflowNode, WorkflowTask workflowTask)
{
  Map<String, Object> model = new HashMap<String, Object>();
  model.put(WORKFLOW_NODE_NAME, workflowNode.getName());
  model.put(WORKFLOW_NODE_TITLE, workflowNode.getTitle());
  model.put(WORKFLOW_NODE_DESCRIPTION, workflowNode.getDescription());
  model.put(WORKFLOW_NODE_IS_TASK_NODE, workflowNode.isTaskNode());
  List<Map<String, Object>> transitions = new ArrayList<Map<String, Object>>();
  List<?> hiddenTransitions = getHiddenTransitions(workflowTask.getProperties());
  for (WorkflowTransition workflowTransition : workflowNode.getTransitions())
  {
    Map<String, Object> transitionModel = buildTransition(workflowTransition, hiddenTransitions);
    transitions.add(transitionModel);
  }
  model.put(WORKFLOW_NODE_TRANSITIONS, transitions);
  return model;
}
origin: Alfresco/community-edition-old

assertEquals(startNode.getTitle(), node.getString("title"));
assertEquals(startNode.getDescription(), node.getString("description"));
assertEquals(startNode.isTaskNode(), node.getBoolean("isTaskNode"));
origin: Alfresco/community-edition-old

assertEquals(taskNode.getTitle(), actualNode.get(WorkflowModelBuilder.WORKFLOW_NODE_TITLE));
assertEquals(taskNode.getDescription(), actualNode.get(WorkflowModelBuilder.WORKFLOW_NODE_DESCRIPTION));
assertEquals(taskNode.isTaskNode(), actualNode.get(WorkflowModelBuilder.WORKFLOW_NODE_IS_TASK_NODE));
origin: Alfresco/community-edition-old

assertEquals(workflowInstanceId, timer.getPath().getInstance().getId());
assertNotNull(timer.getPath().getNode());
assertTrue(timer.getPath().getNode().isTaskNode());
org.alfresco.service.cmr.workflowWorkflowNodeisTaskNode

Javadoc

Does this Workflow Node represent human interaction?

Popular methods of WorkflowNode

  • getName
  • getTransitions
  • <init>
  • getTitle
  • getDescription
  • toString

Popular classes and methods

  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • putExtra (Intent)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Format (java.text)
    Format is an abstract base class for formatting locale-sensitive information such as dates, messages
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JFrame (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)