# AbstractBaseProcessor
Date: 2016-08-11

com.x.processplatform.core.processing.processor

## 类 AbstractBaseProcessor

- java.lang.Object
- - com.x.processplatform.core.processing.processor.AbstractBaseProcessor

直接已知子类:
  AbstractExpireProcessor

    public abstract class AbstractBaseProcessor
    extends java.lang.Object

### 字段概要

字段
`protected static java.lang.String` `AAES`
`protected static java.lang.String` `AAEST`
`protected static java.lang.String` `AAS`
`protected static java.lang.String` `AAST`
`protected static java.lang.String` `AES`
`protected static java.lang.String` `AEST`
`protected static java.lang.String` `AIS`
`protected static java.lang.String` `AIST`
`protected static java.lang.String` `BAES`
`protected static java.lang.String` `BAEST`
`protected static java.lang.String` `BAS`
`protected static java.lang.String` `BAST`
`protected static java.lang.String` `BES`
`protected static java.lang.String` `BEST`
`protected static java.lang.String` `Binding_name_route`
`protected static java.lang.String` `Binding_name_routes`
`protected static java.lang.String` `BIS`
`protected static java.lang.String` `BIST`
`protected static java.lang.Integer` `MAX_ERROR_RETRY`

### 构造器概要

构造器
`protected` `AbstractBaseProcessor(com.x.common.core.container.EntityManagerContainer entityManagerContainer)`

### 方法概要

All Methods Instance Methods Concrete Methods
`protected void` `arriveActivity(ActivityProcessingConfigurator activityConfigurator, com.x.processplatform.core.entity.content.Work work, com.x.processplatform.core.entity.element.Activity activity)`
`protected Business` `business()`
`protected void` `connectWorkLog(com.x.processplatform.core.entity.element.Activity activity, com.x.processplatform.core.entity.content.WorkLog workLog, com.x.processplatform.core.entity.content.Work work, java.lang.String token, java.util.Date date)`
`protected com.x.processplatform.core.entity.content.Work` `copyWork(com.x.processplatform.core.entity.content.Work work)`
`protected com.x.processplatform.core.entity.content.Review` `createReview(Business business, java.lang.String identity, com.x.processplatform.core.entity.element.Manual manual, com.x.processplatform.core.entity.content.Work work)`
`protected com.x.processplatform.core.entity.content.WorkLog` `createWorkLog(com.x.processplatform.core.entity.content.Work work, com.x.processplatform.core.entity.element.Activity activity, java.lang.String token, java.util.Date date)`
`protected com.x.common.core.container.EntityManagerContainer` `entityManagerContainer()`
`protected boolean` `hasAfterArrivedExecuteScript(com.x.processplatform.core.entity.element.Activity activity)`
`protected boolean` `hasAfterArriveScript(com.x.processplatform.core.entity.element.Activity activity)`
`protected boolean` `hasAfterExecuteScript(com.x.processplatform.core.entity.element.Activity activity)`
`protected boolean` `hasAfterInquireScript(com.x.processplatform.core.entity.element.Activity activity)`
`protected boolean` `hasArriveScript(com.x.processplatform.core.entity.element.Activity activity)`
`protected boolean` `hasBeforeArrivedExecuteScript(com.x.processplatform.core.entity.element.Activity activity)`
`protected boolean` `hasBeforeArriveScript(com.x.processplatform.core.entity.element.Activity activity)`
`protected boolean` `hasBeforeExecuteScript(com.x.processplatform.core.entity.element.Activity activity)`
`protected boolean` `hasBeforeInquireScript(com.x.processplatform.core.entity.element.Activity activity)`
`protected boolean` `hasExecuteScript(com.x.processplatform.core.entity.element.Activity activity)`
`protected boolean` `hasInquireScript(com.x.processplatform.core.entity.element.Activity activity)`
`protected void` `logProcessingError(java.lang.String workId, java.lang.Exception e)`
`protected com.x.processplatform.core.entity.content.WorkLog` `stampArrivedWorkLog(Business business, com.x.processplatform.core.entity.content.Work work, com.x.processplatform.core.entity.element.Activity activity, java.lang.String token, java.util.Date date)`

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

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

### 字段详细资料

#### MAX_ERROR_RETRY

    protected static java.lang.Integer MAX_ERROR_RETRY

#### BAS

    protected static java.lang.String BAS

#### BAST

    protected static java.lang.String BAST

#### AAS

    protected static java.lang.String AAS

#### AAST

    protected static java.lang.String AAST

#### BES

    protected static java.lang.String BES

#### BEST

    protected static java.lang.String BEST

#### AES

    protected static java.lang.String AES

#### AEST

    protected static java.lang.String AEST

#### BIS

    protected static java.lang.String BIS

#### BIST

    protected static java.lang.String BIST

#### AIS

    protected static java.lang.String AIS

#### AIST

    protected static java.lang.String AIST

#### BAES

    protected static java.lang.String BAES

#### BAEST

    protected static java.lang.String BAEST

#### AAES

    protected static java.lang.String AAES

#### AAEST

    protected static java.lang.String AAEST

#### Binding_name_routes

    protected static java.lang.String Binding_name_routes

#### Binding_name_route

    protected static java.lang.String Binding_name_route

### 构造器详细资料

#### AbstractBaseProcessor

    protected AbstractBaseProcessor(com.x.common.core.container.EntityManagerContainer entityManagerContainer)
                             throws java.lang.Exception

抛出:
  `java.lang.Exception`

### 方法详细资料

#### entityManagerContainer

    protected com.x.common.core.container.EntityManagerContainer entityManagerContainer()

#### business

    protected Business business()

#### arriveActivity

    protected void arriveActivity(ActivityProcessingConfigurator activityConfigurator,
                                  com.x.processplatform.core.entity.content.Work work,
                                  com.x.processplatform.core.entity.element.Activity activity)
                           throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### stampArrivedWorkLog

    protected com.x.processplatform.core.entity.content.WorkLog stampArrivedWorkLog(Business business,
                                                                                    com.x.processplatform.core.entity.content.Work work,
                                                                                    com.x.processplatform.core.entity.element.Activity activity,
                                                                                    java.lang.String token,
                                                                                    java.util.Date date)
                                                                             throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### logProcessingError

    protected void logProcessingError(java.lang.String workId,
                                      java.lang.Exception e)

#### copyWork

    protected com.x.processplatform.core.entity.content.Work copyWork(com.x.processplatform.core.entity.content.Work work)
                                                               throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### createReview

    protected com.x.processplatform.core.entity.content.Review createReview(Business business,
                                                                            java.lang.String identity,
                                                                            com.x.processplatform.core.entity.element.Manual manual,
                                                                            com.x.processplatform.core.entity.content.Work work)
                                                                     throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### hasArriveScript

    protected boolean hasArriveScript(com.x.processplatform.core.entity.element.Activity activity)
                               throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### hasBeforeArriveScript

    protected boolean hasBeforeArriveScript(com.x.processplatform.core.entity.element.Activity activity)
                                     throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### hasAfterArriveScript

    protected boolean hasAfterArriveScript(com.x.processplatform.core.entity.element.Activity activity)
                                    throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### hasExecuteScript

    protected boolean hasExecuteScript(com.x.processplatform.core.entity.element.Activity activity)
                                throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### hasBeforeExecuteScript

    protected boolean hasBeforeExecuteScript(com.x.processplatform.core.entity.element.Activity activity)
                                      throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### hasAfterExecuteScript

    protected boolean hasAfterExecuteScript(com.x.processplatform.core.entity.element.Activity activity)
                                     throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### hasInquireScript

    protected boolean hasInquireScript(com.x.processplatform.core.entity.element.Activity activity)
                                throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### hasBeforeInquireScript

    protected boolean hasBeforeInquireScript(com.x.processplatform.core.entity.element.Activity activity)
                                      throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### hasAfterInquireScript

    protected boolean hasAfterInquireScript(com.x.processplatform.core.entity.element.Activity activity)
                                     throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### hasBeforeArrivedExecuteScript

    protected boolean hasBeforeArrivedExecuteScript(com.x.processplatform.core.entity.element.Activity activity)
                                             throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### hasAfterArrivedExecuteScript

    protected boolean hasAfterArrivedExecuteScript(com.x.processplatform.core.entity.element.Activity activity)
                                            throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### createWorkLog

    protected com.x.processplatform.core.entity.content.WorkLog createWorkLog(com.x.processplatform.core.entity.content.Work work,
                                                                              com.x.processplatform.core.entity.element.Activity activity,
                                                                              java.lang.String token,
                                                                              java.util.Date date)
                                                                       throws java.lang.Exception

抛出:
  `java.lang.Exception`

#### connectWorkLog

    protected void connectWorkLog(com.x.processplatform.core.entity.element.Activity activity,
                                  com.x.processplatform.core.entity.content.WorkLog workLog,
                                  com.x.processplatform.core.entity.content.Work work,
                                  java.lang.String token,
                                  java.util.Date date)
                           throws java.lang.Exception

抛出:
  `java.lang.Exception`