| java.lang.Object |
| ↳ |
org.mule.modules.workday.WorkdayModule |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
Workday is an on-demand financial management and human capital management software vendor. The Human Resources
Web Service contains operations that expose Workday Human Capital Management Business Services data, including Employee,
Contingent Worker and Organization information. This Web Service can be used for integration with enterprise systems
including corporate directories, data analysis tools, email or other provisioning sub-systems, or any other systems
needing Worker and/or Organization data.
Summary
| Public Methods |
|
GetApplicantsResponseType
|
getApplicants(Map<String, Object> employeeReference, List<Map<String, Object>> references, Map<String, Object> filter, Map<String, Object> group)
Gets information for applicants specified in the request or information for
all applicants if no criteria or applicant is specified in the request.
|
|
GetMaintainEmployeeContractsResponseType
|
getMantainEmployeeContracts(List<Map<String, Object>> employeeReference, Map<String, Object> responseFilterType)
This operation will get employee contract information for employees.
|
|
HireEmployeeEventResponseType
|
hireEmployee(Map<String, Object> hireEmployeeData, boolean autoComplete, boolean runNow, Map<String, Object> commentData)
This operation will hire an existing applicant or a new applicant into an
employee position, headcount, or job using the Hire Employee business process
event and its relevant sub business processes.
|
|
void
|
init()
|
|
ApplicantObjectType
|
putApplicant(String applicantId, String workdayId, Map<String, Object> applicant)
This operation adds a new Applicant (or updates an existing Applicant) with
the supplied information.
|
|
void
|
setClient(WorkdayClient client)
|
|
void
|
setEndpoint(String endpoint)
|
|
void
|
setPassword(String password)
|
|
void
|
setUsername(String username)
|
|
void
|
setVersion(String version)
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
The client, mainly for mocking purposes. *
private
String
endpoint
The Workday endpoint.
For example: https://partners-cc.workday.com/ccx/service/developer/Human_Resources/v14
private
MapObjectMapper
mom
private
String
password
The Workday account's password
private
String
username
The Workday account's username
private
String
version
Workday's version. should be 14
Public Constructors
Public Methods
public
GetApplicantsResponseType
getApplicants
(Map<String, Object> employeeReference, List<Map<String, Object>> references, Map<String, Object> filter, Map<String, Object> group)
Gets information for applicants specified in the request or information for
all applicants if no criteria or applicant is specified in the request.
Parameters
| employeeReference
| A string-object map of employee references |
| references
| The list of string-object maps of references |
| filter
| The get-applicants result filter, as an string-object map |
| group
| The group of applicants, as a string-object map |
Returns
- the get-applicants result
public
GetMaintainEmployeeContractsResponseType
getMantainEmployeeContracts
(List<Map<String, Object>> employeeReference, Map<String, Object> responseFilterType)
This operation will get employee contract information for employees.
Parameters
| employeeReference
| A list of string-object maps |
| responseFilterType
| A filter type |
public
HireEmployeeEventResponseType
hireEmployee
(Map<String, Object> hireEmployeeData, boolean autoComplete, boolean runNow, Map<String, Object> commentData)
This operation will hire an existing applicant or a new applicant into an
employee position, headcount, or job using the Hire Employee business process
event and its relevant sub business processes.
Parameters
| hireEmployeeData
| The hire employed request payload |
| autoComplete
| If autocomplete is enabled. Default is false. |
| runNow
| If process should be run now. Defaults is false |
| commentData
| An optional comment |
Returns
- the hire employee operation result
public
ApplicantObjectType
putApplicant
(String applicantId, String workdayId, Map<String, Object> applicant)
This operation adds a new Applicant (or updates an existing Applicant) with
the supplied information.
Parameters
| applicantId
| The optional applicant id. Must be specified if attempting
to update an existing applicant and Workday id is not specified |
| workdayId
| The optional Workday id. Must be specified if attempting
to update an existing applicant and applicant id is not specified |
| applicant
| The new applicant information |
Returns
- the new or updated applicant reference
public
void
setEndpoint
(String endpoint)
public
void
setPassword
(String password)
public
void
setUsername
(String username)
public
void
setVersion
(String version)
Protected Methods
protected
MapObjectMapper
newMapObjectMapper
()