@RestController @RequestMapping(value="/v1.0") public class EmployeeController extends ApiController
| Modifier and Type | Field and Description |
|---|---|
static String |
EGOV_API_ERROR |
entityManager, fileStoreService, Log| Constructor and Description |
|---|
EmployeeController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<String> |
getForwardDetails(Integer departmentId,
Integer designationId) |
org.springframework.http.ResponseEntity<String> |
getInboxListByWorkFlowType(String workFlowType,
int resultsFrom,
int resultsTo,
String priority) |
List<org.egov.infra.workflow.entity.StateAware> |
getWorkflowItemsByUserAndWFType(Long userId,
List<Long> owners,
String workFlowType,
int resultsFrom,
int resultsTo,
String priority) |
Number |
getWorkflowItemsCountByWFType(Long userId,
List<Long> owners,
String workFlowType,
String priority) |
List<HashMap<String,Object>> |
getWorkflowTypesWithCount(Long userId,
List<Long> ownerPostitions) |
org.springframework.http.ResponseEntity<String> |
getWorkFlowTypesWithItemsCount(javax.servlet.http.HttpServletRequest request) |
org.springframework.http.ResponseEntity<String> |
logout(javax.servlet.http.HttpServletRequest request,
org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
Clear the session
|
apiExceptionHandler, apiExceptionHandler, apiExceptionHandler, apiExceptionHandler, getMessage, getResponseHandlerpublic static final String EGOV_API_ERROR
@RequestMapping(value="/employee/inbox",
method=GET,
produces="text/plain")
public org.springframework.http.ResponseEntity<String> getWorkFlowTypesWithItemsCount(javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="/employee/inbox/{workFlowType}/{resultsFrom}/{resultsTo}",
method=GET,
produces="text/plain")
public org.springframework.http.ResponseEntity<String> getInboxListByWorkFlowType(@PathVariable
String workFlowType,
@PathVariable
int resultsFrom,
@PathVariable
int resultsTo,
@RequestParam(value="priority",required=false)
String priority)
@RequestMapping(value="/employee/logout",
method=POST)
public org.springframework.http.ResponseEntity<String> logout(javax.servlet.http.HttpServletRequest request,
org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
request - @RequestMapping(value="/employee/forwardDetails",
method=GET,
produces="text/plain")
public org.springframework.http.ResponseEntity<String> getForwardDetails(@RequestParam(value="department",required=true)
Integer departmentId,
@RequestParam(value="designation",required=false)
Integer designationId)
public List<org.egov.infra.workflow.entity.StateAware> getWorkflowItemsByUserAndWFType(Long userId, List<Long> owners, String workFlowType, int resultsFrom, int resultsTo, String priority) throws org.hibernate.HibernateException, ClassNotFoundException
org.hibernate.HibernateExceptionClassNotFoundExceptionpublic Number getWorkflowItemsCountByWFType(Long userId, List<Long> owners, String workFlowType, String priority) throws org.hibernate.HibernateException, ClassNotFoundException
org.hibernate.HibernateExceptionClassNotFoundExceptionpublic List<HashMap<String,Object>> getWorkflowTypesWithCount(Long userId, List<Long> ownerPostitions) throws org.hibernate.HibernateException, ClassNotFoundException
org.hibernate.HibernateExceptionClassNotFoundExceptionCopyright © 2015–2017 eGovernments Foundation. All rights reserved.