Package org.infoglue.cms.entities.mydesktop

Examples of org.infoglue.cms.entities.mydesktop.WorkflowActionVO


   * use it internally because it requires a cast; it is simpler to just use <code>new</code> to create an instance.
   * @return a new WorkflowActionVO.
   */
  public BaseEntityVO getNewVO()
  {
    return new WorkflowActionVO();
  }
View Full Code Here


        && one.getName().equals(another.getName());
  }

  private static WorkflowActionVO createCreateNews(Long workflowId)
  {
    return new WorkflowActionVO(new Integer(4), workflowId, "Create news content");
  }
View Full Code Here

    return new WorkflowActionVO(new Integer(4), workflowId, "Create news content");
  }

  private static WorkflowActionVO createRegisterUser(Long workflowId)
  {
    return new WorkflowActionVO(new Integer(4), workflowId, "Register Name 1");
  }
View Full Code Here

  {
    assertEquals("Wrong number of actions:", expectedSize, actions.size());

    for (Iterator i = actions.iterator(); i.hasNext();)
    {
      WorkflowActionVO action = (WorkflowActionVO)i.next();
      assertNotNull("Action should have a workflowId", action.getWorkflowId());
      assertNotNull("Action should have a name", action.getName());
    }
  }
View Full Code Here

  private WorkflowActionVO createActionVO(ActionDescriptor actionDescriptor)
  {
    logger.info("Action:" + actionDescriptor.getId() + ':' + actionDescriptor.getName()
          + ':' + actionDescriptor.getParent().getClass());

    WorkflowActionVO actionVO = new WorkflowActionVO(new Integer(actionDescriptor.getId()));
    actionVO.setWorkflowId(new Long(workflowId));
    actionVO.setName(actionDescriptor.getName());
    actionVO.setView(actionDescriptor.getView());
    actionVO.setAutoExecute(actionDescriptor.getAutoExecute());
    actionVO.setMetaAttributes(actionDescriptor.getMetaAttributes());
    return actionVO;
  }
View Full Code Here

            sb.append("    </tr>");
         
            Iterator workflowActionVOIterator = workflowStepVO.getActions().iterator();
            while(workflowActionVOIterator.hasNext())
            {
              WorkflowActionVO workflowActionVO = (WorkflowActionVO)workflowActionVOIterator.next();
 
              sb.append("<tr style=\"background-color: #eeeeee;\">");
              sb.append("  <td style=\"padding-left: 20px; font-size:10px;\">" + workflowActionVO.getName() + "</td>");
              sb.append("    <td style=\"padding-left: 20px; font-size:10px;\"><!--" + workflowActionVO.getView() + "--></td>");
              sb.append("  </tr>");
                 
            }
          }
          sb.append("    </table>");
View Full Code Here

TOP

Related Classes of org.infoglue.cms.entities.mydesktop.WorkflowActionVO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.