public class

RecruitingModule

extends AbstractWorkdayModule
java.lang.Object
   ↳ org.mule.modules.workday.AbstractWorkdayModule
     ↳ org.mule.modules.workday.recruiting.RecruitingModule
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

The Recruiting Web Service contains operations that expose Workday Human Capital Management Business Services data for integration with Talent Management and Applicant Tracking systems.

Summary

Fields
private RecruitingPort client The client, mainly for mocking purposes.
private String username The Workday account's username
Public Constructors
RecruitingModule()
Public Methods
void connect(String recruitingUser, String recruitingPassword, String recruitingEndpoint, String recruitingWsdlLocation)
Connects to Workday
CreateJobRequisitionResponseType createJobRequisition(CreateRequisitionRequestType requisitionRequest)
Creates a job requisition for a position in a position management supervisory organization.
CreatePositionResponseType createPosition(CreatePositionRequestType createPositionRequest)
Creates/opens a position for a supervisory organization using the position management staffing model.
void disconnect()
Disconnects
EditJobRequisitionResponseType editJobRequisition(EditJobRequisitionRequestType jobRequisition)
Edits an existing job requisition.
EditPositonRestrictionResponseType editPositionRestrictions(EditPositionRestrictionsRequestType editPositionRestrictionsRequest)
Edits an existing position restriction.
GetApplicantsResponseType getApplicants(GetApplicantsRequestType getApplicantsRequest)
Returns information for applicants specified in the request.
RecruitingPort getClient()
String getConnectionIdentifier()
Connection identifier
GetHeadcountsResponseType getHeadcounts(GetHeadcountsRequestType getHeadcountsRequest)
Returns headcount information along with the identification of the workers filling headcount positions.
GetJobRequisitionsResponseType getJobRequisitions(GetJobRequisitionsRequestType jobRequisitionsRequest)
Returns information for job requisitions and provides a reference to the related position.
GetOrganizationsResponseType getOrganizationsRecruiting(GetOrganizationsRequestType getOrganizationsRequest)
Returns organization information for a type of organization.
GetPositionsResponseType getPositions(GetPositionsRequestType getPositionsRequest)
Returns information for position management positions.
ServerTimestampType getServerTimestampRecruiting(ServerTimestampGetType serverTimestampGet)
This operation retrieves Workday's current system datetime.
String getUsername()
PutApplicantResponseType putApplicant(PutApplicantRequestType putApplicantRequest)
Adds a new applicant (or updates an existing applicant) with the information supplied in the request.
void setClient(RecruitingPort client)
void setClient(Object client)
void setUsername(String username)
boolean validateConnection()
Validate connection
[Expand]
Inherited Methods
From class org.mule.modules.workday.AbstractWorkdayModule
From class java.lang.Object

Fields

private RecruitingPort client

The client, mainly for mocking purposes. *

private String username

The Workday account's username

Public Constructors

public RecruitingModule ()

Public Methods

public void connect (String recruitingUser, String recruitingPassword, String recruitingEndpoint, String recruitingWsdlLocation)

Connects to Workday

Parameters
recruitingUser Workday user
recruitingPassword Workday password
recruitingEndpoint Workday endpoint
recruitingWsdlLocation Workday WSDL location
Throws
ConnectionException

public CreateJobRequisitionResponseType createJobRequisition (CreateRequisitionRequestType requisitionRequest)

Creates a job requisition for a position in a position management supervisory organization. The position must not have any open requisitions, and the tenant must have the Enable Job Requisitions flag set to true. Requisitions cannot be reloaded into the system.

Parameters
requisitionRequest Wrapper for Create Job Requisition Web Service
Returns
  • Responds with the event id for the Create Job Requisition Event and the Job Requisition Reference.
Throws
WorkdayException If an error during the operation occurs this exception is thrown

public CreatePositionResponseType createPosition (CreatePositionRequestType createPositionRequest)

Creates/opens a position for a supervisory organization using the position management staffing model. Uses the Create Position business process. There are several sub-operations within this operation. Existing positions cannot be re-loaded into the system. You must use the Edit Position Restrictions operation to change a created position.

Parameters
createPositionRequest The request object for the operation
Returns
  • The response from the operation
Throws
WorkdayException If an error during the operation occurs this exception is thrown

public void disconnect ()

Disconnects

public EditJobRequisitionResponseType editJobRequisition (EditJobRequisitionRequestType jobRequisition)

Edits an existing job requisition. The job requisition must be open.

Parameters
jobRequisition Wrapper for Edit Job Requisition Request
Returns
  • response element
Throws
WorkdayException If an error during the operation occurs this exception is thrown

public EditPositonRestrictionResponseType editPositionRestrictions (EditPositionRestrictionsRequestType editPositionRestrictionsRequest)

Edits an existing position restriction. Uses the Edit Position Restrictions business process.

Parameters
editPositionRestrictionsRequest The request object for the operation
Returns
  • The response from the operation
Throws
WorkdayException If an error during the operation occurs this exception is thrown

public GetApplicantsResponseType getApplicants (GetApplicantsRequestType getApplicantsRequest)

Returns information for applicants specified in the request. If the request does not specify an applicant, this operation returns information for all applicants..

Parameters
getApplicantsRequest The request object for the operation
Returns
  • The response from the operation
Throws
WorkdayException If an error during the operation occurs this exception is thrown

public RecruitingPort getClient ()

public String getConnectionIdentifier ()

Connection identifier

Returns
  • connection identifier

public GetHeadcountsResponseType getHeadcounts (GetHeadcountsRequestType getHeadcountsRequest)

Returns headcount information along with the identification of the workers filling headcount positions.

Parameters
getHeadcountsRequest The request object for the operation
Returns
  • The response from the operation
Throws
WorkdayException If an error during the operation occurs this exception is thrown

public GetJobRequisitionsResponseType getJobRequisitions (GetJobRequisitionsRequestType jobRequisitionsRequest)

Returns information for job requisitions and provides a reference to the related position.

Parameters
jobRequisitionsRequest Request element to get job requisitions and their associated data.
Returns
  • Response element containing instances of Job Requisitions and their associated data.
Throws
WorkdayException If an error during the operation occurs this exception is thrown

public GetOrganizationsResponseType getOrganizationsRecruiting (GetOrganizationsRequestType getOrganizationsRequest)

Returns organization information for a type of organization. If the request does not specify an organization, the operation returns information for all organizations.

Parameters
getOrganizationsRequest The request object for the operation
Returns
  • The response from the operation
Throws
WorkdayException If an error during the operation occurs this exception is thrown

public GetPositionsResponseType getPositions (GetPositionsRequestType getPositionsRequest)

Returns information for position management positions. If a position is filled, identifies the worker filling the position.

Parameters
getPositionsRequest The request object for the operation
Returns
  • The response from the operation
Throws
WorkdayException If an error during the operation occurs this exception is thrown

public ServerTimestampType getServerTimestampRecruiting (ServerTimestampGetType serverTimestampGet)

This operation retrieves Workday's current system datetime.

Parameters
serverTimestampGet The request object for the operation
Returns
  • The response from the operation
Throws
WorkdayException If an error during the operation occurs this exception is thrown

public String getUsername ()

public PutApplicantResponseType putApplicant (PutApplicantRequestType putApplicantRequest)

Adds a new applicant (or updates an existing applicant) with the information supplied in the request.

Parameters
putApplicantRequest The request object for the operation
Returns
  • The response from the operation
Throws
WorkdayException If an error during the operation occurs this exception is thrown

public void setClient (RecruitingPort client)

Parameters
client

public void setClient (Object client)

Parameters
client

public void setUsername (String username)

Parameters
username

public boolean validateConnection ()

Validate connection

Returns
  • true if the connector is connected