public abstract class AbstractCollaborationEvent
extends com.seeyon.ctp.event.Event
source
构造器和说明 |
---|
AbstractCollaborationEvent(Object source) |
限定符和类型 | 方法和说明 |
---|---|
protected com.seeyon.apps.collaboration.api.CollaborationApi |
getCollaborationApi()
获取CollaborationApi
|
Long |
getSummaryId()
取得流程Id。
|
String |
getTemplateCode()
返回模板编号
|
protected com.seeyon.ctp.common.template.manager.TemplateManager |
getTemplateManager()
获取TemplateManager
|
boolean |
isFinished()
判断流程是否已结束。
|
boolean |
isTemplate(String templateCode)
当前流程是使用指定模板编号对应的模板发起的。
|
boolean |
isTerminated()
判断流程是否已被终止。
|
void |
setSummaryId(Long summaryId) |
getSource, toString
public AbstractCollaborationEvent(Object source)
public Long getSummaryId()
public void setSummaryId(Long summaryId)
protected com.seeyon.apps.collaboration.api.CollaborationApi getCollaborationApi() throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
protected com.seeyon.ctp.common.template.manager.TemplateManager getTemplateManager() throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
public String getTemplateCode() throws com.seeyon.ctp.common.exceptions.BusinessException
summaryId
- com.seeyon.ctp.common.exceptions.BusinessException
public boolean isFinished() throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
public boolean isTerminated() throws com.seeyon.ctp.common.exceptions.BusinessException
com.seeyon.ctp.common.exceptions.BusinessException
public boolean isTemplate(String templateCode) throws com.seeyon.ctp.common.exceptions.BusinessException
templateCode
- 模板编号。com.seeyon.ctp.common.exceptions.BusinessException
Copyright © 2016–2018. All rights reserved.