# WorkAction
Date: 2016-08-11

com.x.processplatform.core.processing.jaxrs.work

## 类 WorkAction

- java.lang.Object
- - com.x.common.core.application.jaxrs.AbstractJaxrsAction
  - - com.x.processplatform.core.processing.jaxrs.work.WorkAction

    @Path(value="work")
    public class WorkAction
    extends com.x.common.core.application.jaxrs.AbstractJaxrsAction

### 构造器概要

构造器
构造器和说明
`WorkAction()`

### 方法概要

All Methods Instance Methods Concrete Methods
`javax.ws.rs.core.Response` `create(java.lang.String processId)`
`javax.ws.rs.core.Response` `delete(javax.servlet.http.HttpServletRequest request, java.lang.String id)`
`javax.ws.rs.core.Response` `processing(java.lang.String id, ProcessingAttributes attributes)`
`javax.ws.rs.core.Response` `retract(javax.servlet.http.HttpServletRequest request, java.lang.String id, java.lang.String workLogId)`

### 从类继承的方法 com.x.common.core.application.jaxrs.AbstractJaxrsAction

`effectivePerson`

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

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

### 构造器详细资料

#### WorkAction

    public WorkAction()

### 方法详细资料

#### create

    @HttpMethodDescribe(value="\u521b\u5efa\u4e00\u4e2a\u5904\u4e8estart\u72b6\u6001\u7684\u5de5\u4f5c.",
                        response=com.x.base.core.http.WrapOutId.class)
     @POST
     @Path(value="process/{processId}")
     @Produces(value="application/json; charset=UTF-8")
     @Consumes(value="application/json")
    public javax.ws.rs.core.Response create(@PathParam(value="processId")
                                                                                                                                                                                                                                                                                                                                                               java.lang.String processId)

#### processing

    @HttpMethodDescribe(value="\u6d41\u8f6c\u4e00\u4e2a\u6d41\u7a0b\u5b9e\u4f8b.",
                        response=com.x.base.core.http.WrapOutId.class)
     @PUT
     @Path(value="{id}")
     @Produces(value="application/json; charset=UTF-8")
     @Consumes(value="application/json")
    public javax.ws.rs.core.Response processing(@PathParam(value="id")
                                                                                                                                                                                                                                                                                                                            java.lang.String id,
                                                                                                                                                                                                                                                                                                                            ProcessingAttributes attributes)

#### delete

    @HttpMethodDescribe(value="\u5220\u9664\u5355\u4e2a\u5de5\u4f5c.",
                        response=com.x.base.core.http.WrapOutId.class)
     @DELETE
     @Path(value="{id}")
     @Produces(value="application/json; charset=UTF-8")
     @Consumes(value="application/json")
    public javax.ws.rs.core.Response delete(@Context
                                                                                                                                                                                                                                                                                                               javax.servlet.http.HttpServletRequest request,
                                                                                                                                                                                                                                                                                                               @PathParam(value="id")
                                                                                                                                                                                                                                                                                                               java.lang.String id)

#### retract

    @HttpMethodDescribe(value="\u53ec\u56de\uff0c\u6587\u4ef6\u5f80\u56de\u64a4\u4e00\u6b65.",
                        response=com.x.base.core.http.WrapOutId.class)
     @PUT
     @Path(value="{id}/retract/worklog/{workLogId}")
     @Produces(value="application/json; charset=UTF-8")
     @Consumes(value="application/json")
    public javax.ws.rs.core.Response retract(@Context
                                                                                                                                                                                                                                                                                                                                                                 javax.servlet.http.HttpServletRequest request,
                                                                                                                                                                                                                                                                                                                                                                 @PathParam(value="id")
                                                                                                                                                                                                                                                                                                                                                                 java.lang.String id,
                                                                                                                                                                                                                                                                                                                                                                 @PathParam(value="workLogId")
                                                                                                                                                                                                                                                                                                                                                                 java.lang.String workLogId)