@Test public void test_should_return_tenant_id_from_seva_request_map() { final SevaRequest sevaRequest = createSevaRequest(); assertEquals("tenantId", sevaRequest.getTenantId()); }
public String getTenantId() { return (String) getServiceRequest().get(TENANT_ID); }
SevaRequest { public String getTenantId() { return (String) getServiceRequest().get(TENANT_ID); } }
SevaRequest { public String getTenantId() { return (String) getServiceRequest().get(TENANT_ID); } SevaRequest(HashMap<String, Object> sevaRequestMap); }
SevaRequest { public String getTenantId() { return (String) getServiceRequest().get(TENANT_ID); } SevaRequest(HashMap<String, Object> sevaRequestMap); void setEscalationHours(String escalationHours); HashMap<String, Object> getRequestMap(); WorkflowRequest getWorkFlowRequest(); ProcessInstanceRequest getProcessInstanceRequest(); TaskRequest getTaskRequest(); void update(WorkflowResponse workflowResponse); void update(ProcessInstanceResponse processInstanceResponse); void update(TaskResponse taskResponse); void update(Position position); void setEscalationDate(Date date); String getComplaintTypeCode(); String getLocationId(); String getKeyword(); String getServiceName(); String getServiceRequestId(); String getApprovalComments(); String getAction(); String getStatus(); String getSenderName(); String getExtraInfo(); String getDepartmentName(); String getServiceCategoryName(); String getTenantId(); Long getCurrentPositionId(); boolean isCreate(); boolean isWorkflowCreate(); void setDesignation(String designationId); String getDesignation(); void setDepartment(String departmentId); String getDynamicSingleValue(String key); }
SevaRequest { public String getTenantId() { return (String) getServiceRequest().get(TENANT_ID); } SevaRequest(HashMap<String, Object> sevaRequestMap); void setEscalationHours(String escalationHours); HashMap<String, Object> getRequestMap(); WorkflowRequest getWorkFlowRequest(); ProcessInstanceRequest getProcessInstanceRequest(); TaskRequest getTaskRequest(); void update(WorkflowResponse workflowResponse); void update(ProcessInstanceResponse processInstanceResponse); void update(TaskResponse taskResponse); void update(Position position); void setEscalationDate(Date date); String getComplaintTypeCode(); String getLocationId(); String getKeyword(); String getServiceName(); String getServiceRequestId(); String getApprovalComments(); String getAction(); String getStatus(); String getSenderName(); String getExtraInfo(); String getDepartmentName(); String getServiceCategoryName(); String getTenantId(); Long getCurrentPositionId(); boolean isCreate(); boolean isWorkflowCreate(); void setDesignation(String designationId); String getDesignation(); void setDepartment(String departmentId); String getDynamicSingleValue(String key); final static String SERVICE_REQUEST; final static String WF_TYPE_SERVICE_REQUEST; final static String REQUEST_INFO; static final String VALUES_POSITION_ID; static final String STATE_ID; static final String VALUES_STATE_ID; static final String VALUES_DEPARTMENT_ID; static final String VALUES_COMLAINT_TYPE_CODE; static final String BOUNDARY_ID; static final String STATE_DETAILS; static final String STATUS; static final String SERVICE_CODE; static final String SERVICE_NAME; static final String SERVICE_CATEGORY_NAME; static final String VALUES_LOCATION_ID; static final String VALUES_APPROVAL_COMMENT; static final String VALUES_ACTION; static final String VALUES_KEYWORD; static final String VALUES_SENDER_NAME; static final String VALUES_EXTRA_INFO; static final String VALUES_DEPARTMENT_NAME; static final String VALUES_NATUREOFTASK; static final String USER_ROLE; static final String DEPARTMENT_ID; static final String SYSTEM_KEYWORD; }