com.ebmwebsourcing.bpmndiagram.business.domain.util
Class CPatHelper

java.lang.Object
  extended by com.ebmwebsourcing.bpmndiagram.business.domain.util.CPatHelper

public class CPatHelper
extends java.lang.Object

Author:
nfleury

Constructor Summary
CPatHelper(CPat cpat)
           
 
Method Summary
 boolean cpatContainsOnly(java.util.ArrayList<Constants.BPMNObjectType> types)
          Check if cpat contains only the specified types otherwise return false
 java.lang.String determineCPatRelativeUploadPath()
          Returns the relative path where all cpat data (wsdl,bpel etc...)
 boolean everyEventHasProperties()
           
 boolean everyTaskHasAWSDL()
           
 java.util.ArrayList<Constants.BPMNObjectType> getAvailableFlowNodeTypes()
          Gets the availables types in current process
 FlowNode getFlowNodeById(java.lang.String id)
           
 FlowNode getFlowNodeFromCPatSolutionsById(java.lang.String id)
           
 java.util.ArrayList<FlowNode> getFlowNodesByGroup(Constants.BPMNObjectGroup typeGroup)
           
 java.util.ArrayList<FlowNode> getFlowNodesByType(Constants.BPMNObjectType type)
           
 Lane getLaneFromCPatRolesById(java.lang.String id)
           
 Pool getPoolById(java.lang.String id)
           
 FlowNode getProxyFlowNode()
           
 java.util.ArrayList<FlowNode> getProxyFlowNodes()
           
 void printCPat()
           
 java.util.ArrayList<FlowNode> retrieveAllFlowNodes()
           
 java.util.Set<FlowNode> retrieveEndEvents()
           
 java.util.Set<FlowNode> retrieveStartEvents()
           
 void setProxyFlowNode(FlowNode proxyFlowNode)
           
 void setProxyFlowNodes(java.util.ArrayList<FlowNode> proxyFlowNodes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CPatHelper

public CPatHelper(CPat cpat)
Method Detail

getFlowNodeById

public FlowNode getFlowNodeById(java.lang.String id)

getAvailableFlowNodeTypes

public java.util.ArrayList<Constants.BPMNObjectType> getAvailableFlowNodeTypes()
Gets the availables types in current process

Returns:

cpatContainsOnly

public boolean cpatContainsOnly(java.util.ArrayList<Constants.BPMNObjectType> types)
Check if cpat contains only the specified types otherwise return false

Parameters:
types -
Returns:

retrieveAllFlowNodes

public java.util.ArrayList<FlowNode> retrieveAllFlowNodes()

retrieveStartEvents

public java.util.Set<FlowNode> retrieveStartEvents()

retrieveEndEvents

public java.util.Set<FlowNode> retrieveEndEvents()

setProxyFlowNodes

public void setProxyFlowNodes(java.util.ArrayList<FlowNode> proxyFlowNodes)

getProxyFlowNodes

public java.util.ArrayList<FlowNode> getProxyFlowNodes()

setProxyFlowNode

public void setProxyFlowNode(FlowNode proxyFlowNode)

getProxyFlowNode

public FlowNode getProxyFlowNode()

getPoolById

public Pool getPoolById(java.lang.String id)

getLaneFromCPatRolesById

public Lane getLaneFromCPatRolesById(java.lang.String id)

getFlowNodeFromCPatSolutionsById

public FlowNode getFlowNodeFromCPatSolutionsById(java.lang.String id)

determineCPatRelativeUploadPath

public java.lang.String determineCPatRelativeUploadPath()
Returns the relative path where all cpat data (wsdl,bpel etc...)
should be uploaded/downloaded based on the path of the uploaded wsdl for current CPat

Returns:

getFlowNodesByType

public java.util.ArrayList<FlowNode> getFlowNodesByType(Constants.BPMNObjectType type)

getFlowNodesByGroup

public java.util.ArrayList<FlowNode> getFlowNodesByGroup(Constants.BPMNObjectGroup typeGroup)

everyTaskHasAWSDL

public boolean everyTaskHasAWSDL()

everyEventHasProperties

public boolean everyEventHasProperties()

printCPat

public void printCPat()


Copyright © 2010 eBM WebSourcing. All Rights Reserved.