# ElementFactory
Date: 2016-08-11

com.x.processplatform.core.processing.factory

## 类 ElementFactory

- java.lang.Object
- - com.x.processplatform.core.processing.AbstractFactory
  - - com.x.processplatform.core.processing.factory.ElementFactory

    public class ElementFactory
    extends AbstractFactory

### 字段概要

### 从类继承的字段 com.x.processplatform.core.processing.AbstractFactory

`business`

### 构造器概要

构造器
构造器和说明
`ElementFactory(Business business)`

### 方法概要

All Methods Instance Methods Concrete Methods
`<T extends com.x.base.core.entity.JpaObject> T` `get(java.lang.String id, java.lang.Class<T> clz)`
`com.x.processplatform.core.entity.element.Begin` `getBeginWithProcess(java.lang.String id)`
`java.util.List<com.x.processplatform.core.entity.element.Route>` `listRouteWithActvity(java.lang.String id, com.x.processplatform.core.entity.element.ActivityType activityType)`
`java.util.List<com.x.processplatform.core.entity.element.Route>` `listRouteWithChoice(java.lang.String id)`
`java.util.List<com.x.processplatform.core.entity.element.Route>` `listRouteWithManual(java.lang.String id)`
`java.util.List<com.x.processplatform.core.entity.element.Route>` `listRouteWithParallel(java.lang.String id)`
`java.util.List<com.x.processplatform.core.entity.element.Script>` `listScriptNestedWithApplicationWithUniqueName(java.lang.String applicationId, java.lang.String uniqueName)`

### 从类继承的方法 com.x.processplatform.core.processing.AbstractFactory

`entityManagerContainer`

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### 构造器详细资料

#### ElementFactory

    public ElementFactory(Business business)
                   throws java.lang.Exception

抛出:
  `java.lang.Exception`

### 方法详细资料

#### get

    public <T extends com.x.base.core.entity.JpaObject> T get(java.lang.String id,
                                                              java.lang.Class<T> clz)
                                                       throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### getBeginWithProcess

    public com.x.processplatform.core.entity.element.Begin getBeginWithProcess(java.lang.String id)
                                                                        throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### listRouteWithChoice

    public java.util.List<com.x.processplatform.core.entity.element.Route> listRouteWithChoice(java.lang.String id)
                                                                                        throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### listRouteWithManual

    public java.util.List<com.x.processplatform.core.entity.element.Route> listRouteWithManual(java.lang.String id)
                                                                                        throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### listRouteWithParallel

    public java.util.List<com.x.processplatform.core.entity.element.Route> listRouteWithParallel(java.lang.String id)
                                                                                          throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### listScriptNestedWithApplicationWithUniqueName

    public java.util.List<com.x.processplatform.core.entity.element.Script> listScriptNestedWithApplicationWithUniqueName(java.lang.String applicationId,
                                                                                                                          java.lang.String uniqueName)
                                                                                                                   throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### listRouteWithActvity

    public java.util.List<com.x.processplatform.core.entity.element.Route> listRouteWithActvity(java.lang.String id,
                                                                                                com.x.processplatform.core.entity.element.ActivityType activityType)
                                                                                         throws java.lang.Exception

抛出:
  `java.lang.Exception`