@GrailsCompileStatic@grails.compiler.GrailsCompileStatic class BroBpmPullService extends Object
BroBPM 的拉数据服务
def app = bropen.workbench.app.WorkbenchApplication.get(702774)
// 增量抓所有
def tasks = ctx.broBpmPullService.incrementPullAll(app, new Date()-100, new Date()-98)
// 增量抓单个用户
def tasks = ctx.broBpmPullService.incrementPullUser(app, '00002141', DateUtils.parse('2013-07-17'), DateUtils.parse('2013-07-18'))
println tasks.updatedTasks*.properties*.toString().join("n")
| Type | Name and description |
|---|---|
bropen.bpm.services.workbench.tasks.WorkbenchSyncEndpoint |
broBpmWorkbenchClient |
org.apache.cxf.transports.http.configuration.HTTPClientPolicy |
httpClientPolicy |
org.grails.cxf.client.WebServiceClientFactory |
webServiceClientFactoryWeb服务客户端 |
| Type | Name and description |
|---|---|
Integer |
completeToread(WorkbenchApplication app, String taskIds)@see bropen.workbench.WorkbenchPullService#completeToread |
Integer |
completeToreadByUser(WorkbenchApplication app, String username)@see bropen.workbench.WorkbenchPullService#completeToreadByUser |
Integer |
deleteDraft(WorkbenchApplication app, String taskIds)@see bropen.workbench.WorkbenchPullService#deleteDraft |
Tasks |
incrementPullAll(WorkbenchApplication app, Date startTime, Date endTime)@see bropen.workbench.WorkbenchPullService#incrementPullAll |
Tasks |
incrementPullUser(WorkbenchApplication app, String user, Date startTime, Date endTime)@see bropen.workbench.WorkbenchPullService#incrementPullUser |
Tasks |
incrementPullUserByType(WorkbenchApplication app, String user, TaskType taskType, Date startTime, Date endTime)@see bropen.workbench.WorkbenchPullService#incrementPullUserByType |
Integer |
sendToread(WorkbenchApplication app, String docIds, String taskIds, String sender, String receivers)@see bropen.workbench.WorkbenchPullService#sendToread |
| Methods inherited from class | Name |
|---|---|
class Object |
Object#wait(long, int), Object#wait(long), Object#wait(), Object#equals(Object), Object#toString(), Object#hashCode(), Object#getClass(), Object#notify(), Object#notifyAll() |
Web服务客户端