public class

TaleoCxfClientImpl

extends Object
implements TaleoClient
java.lang.Object
   ↳ org.mule.modules.client.core.TaleoCxfClientImpl

Summary

Fields
private String dispatcherUrl
private String endpoint
private IWebAPI rpc
private IWebAPIService serviceClient
private String sessionId
Public Constructors
TaleoCxfClientImpl()
Public Methods
void connect(String username, String password, String companyCode)
String connectionId()
long createAccount(AccountBean account)
long createAttachment(long candidateId, String attachment, String attachmentName, String contentType, ByteArr binaryResume)
long createBackgroundCheck(BackgroundCheckBean backgroundCheck)
long createCandidate(CandidateBean candidate)
long createContact(ContactBean contact)
long createContactLog(ContactLogBean contactLog)
long createDepartment(DepartmentBean department)
long createEmailLog(String email, String subject, String body, GregorianCalendar date)
long createEmailSentLog(String email, String subject, String body, GregorianCalendar date)
long createEmployee(EmployeeBean employee)
long createEntityAttachment(String entityType, long entityId, String description, String fileName, String contentType, ByteArr data)
long createEvent(CalendarEventBean event)
long createInterview(InterviewBean interview)
void createLink(String entityType1, long entityId1, String entityType2, long entityId2)
long createLocation(LocationBean location)
long createOffer(OfferBean offer)
long createReference(ReferenceBean reference)
long createRegion(RegionBean region)
long createRequisition(RequisitionBean requisition)
long createRequisitionTemplate(RequisitionBean requisition)
long createTask(TaskBean task)
long createUser(UserBean user)
long createUserWithPermissions(UserBean user, Map additionalEntities)
void deleteAccount(long accountId)
void deleteAttachment(long attachmentId)
void deleteBackgroundCheck(long backgroundCheckId)
void deleteCandidate(long candidateId)
void deleteContact(long contactId)
void deleteContactLog(long contactLogId)
void deleteDepartment(long departmentId)
void deleteEmployee(long employeeId)
void deleteEmployeeByNumber(String employeeNumber)
void deleteEvent(long eventId)
void deleteInterview(long interviewId)
void deleteLocation(long locationId)
void deleteOffer(long offerId)
void deleteReference(long referenceId)
void deleteRegion(long regionId)
void deleteRequisition(long requisitionId)
void deleteRollingEntity(long rollingEntityId)
void deleteTask(long taskId)
void deleteUser(long userId)
void disconnect()
AccountBean getAccountById(long accountId)
HistoryBeanArr getAccountHistory(long accountId)
LongArr getAssociatedUsers(long requisitionId, String association)
AttachmentBean getAttachment(long attachmentId)
ByteArr getAttachmentData(long attachmentId)
LongArr getAttachments(long candidateId)
BackgroundCheckBean getBackgroundCheckById(long backgroundCheckId)
LongArr getBackgroundChecksByCandidate(long candidateId)
ByteArr getBinaryOffer(long offerId)
ByteArr getBinaryResume(long candidateId)
String getCandReqStatus(long candidateId, long requisitionId)
CandidateBean getCandidateById(long candidateId)
CandidateDetailsBean getCandidateDetailsById(long candidateId, boolean includeRequisitions, boolean includeInterviews, boolean includeReferences, boolean includeHistory, boolean includeAttachments, boolean includeOffers)
HistoryBeanArr getCandidateHistory(long candidateId)
WorkHistoryArr getCandidateWorkHistory(long candidateId)
LongArr getCandidatesByRequisition(long requisitionId)
ContactBean getContactById(long contactId)
HistoryBeanArr getContactHistory(long contactId)
ContactLogBean getContactLogById(long contactLogId)
LongArr getContactLogsByEntity(String entityType, long entityId)
DepartmentBean getDepartmentById(long departmentId)
DepartmentBean getDepartmentByName(String name)
DepartmentArr getDepartments()
String getDispatcherUrl()
EmployeeBean getEmployeeById(long employeeId)
EmployeeBean getEmployeeByNumber(String employeeNumber)
String getEnabledServices()
LongArr getEntityAttachments(String entityType, long entityId)
LongArr getEventByEntity(String entityType, long entityId)
CalendarEventBean getEventById(long eventId)
InterviewBean getInterviewById(long interviewId)
LongArr getInterviewsByCandidate(long candidateId)
LocationBean getLocationById(long locationId)
LocationBean getLocationByName(String locationName)
LocationArr getLocations()
String getLoginToken(String sessionId)
LookupArr getLookup(String fieldName)
MetadataArr getMetadata(EntityTypeEnum entityType)
OfferBean getOfferByID(long offerId)
LongArr getOffers(long candidateId)
LongArr getPublicEvents(GregorianCalendar startDate, GregorianCalendar endDate)
ReferenceBean getReferenceById(long referenceId)
LongArr getReferencesByCandidate(long candidateId)
RegionBean getRegionById(long regionId)
RegionBean getRegionByName(String regionName)
RegionArr getRegions()
RequisitionBean getRequisitionById(long requisitionId)
HistoryBeanArr getRequisitionHistory(long requisitionId)
LongArr getRequisitions(long candidateId)
FlexRollingEntityBeanArr getRollingEntities(String rollingEntityType, String entityType, long entityId)
Map getSystemProps()
LongArr getTaskByEntity(String entityType, long entityId)
TaskBean getTaskById(long taskId)
LongArr getTaskByUser(long userId, GregorianCalendar startDate, GregorianCalendar endDate)
String getUrl(String companyCode)
UserBean getUserById(long userId)
HistoryBeanArr getUserHistory(long userId)
boolean isConnected()
String login(String companyCode, String userId, String password)
String loginPartner(String orgCode, String partnerCode, long currentTimeMillis, String digest)
void logout(String sessionId)
String parseResume(ByteArr binaryAttachment)
CandidateInsertResultBean parseResumeIntoCandidate(ByteArr binaryAttachment, String referredBy, String fileName)
void postRequisition(long requisitionId, long posterId, int formVersion)
void removeAssociatedUser(long requisitionId, String association, long userId)
void removeCandidate(long candidateId, long requisitionId)
void removeLink(String entityType1, long entityId1, String entityType2, long entityId2)
SearchResultArr searchAccount(Map searchParams)
SearchResultArr searchCandidate(Map searchParams)
SearchResultArr searchContact(Map searchParams)
SearchResultArr searchEmployee(Map searchParams)
SearchResultArr searchRequisition(Map searchParameters)
SearchResultArr searchUser(Map searchParams)
void setAssociatedUser(long requisitionId, String association, long userId, int userSequenceNumber)
void setBinaryOffer(long offerId, String fileName, ByteArr content)
void setBinaryResume(long candidateId, String fileName, ByteArr binaryAttachment)
void setDispatcherUrl(String dispatcherUrl)
void submitCandidate(long candidateId, LongArr requisitionIds)
void unpostRequisition(long requisitionId, long posterId)
void updateAccount(AccountBean account)
void updateAttachment(long attachmentId, String description, String name, String contentType, ByteArr binaryResume)
void updateBackgroundCheck(BackgroundCheckBean backgroundCheck)
void updateCandidate(CandidateBean candidate)
void updateContact(ContactBean contact)
void updateContactLog(ContactLogBean contactLog)
void updateEmployee(EmployeeBean employee)
void updateEvent(CalendarEventBean event)
void updateInterview(InterviewBean interview)
void updateOffer(OfferBean offer)
void updateReference(ReferenceBean reference)
void updateRequisition(RequisitionBean requisition)
void updateTask(TaskBean task)
void updateUser(UserBean user)
void upsertCandidateToRequisitions(long candidateId, LongArr requisitionIds, long statusId, long reasonId, boolean doRanking)
long upsertDepartment(DepartmentBean department)
long upsertEmployee(String employeeNumber, EmployeeBean employee)
long upsertLocation(LocationBean location)
long upsertRegion(RegionBean region)
long upsertRollingEntity(FlexRollingEntityBean rollingEntityBean)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.mule.modules.client.core.TaleoClient

Fields

private String dispatcherUrl

private String endpoint

private IWebAPI rpc

private IWebAPIService serviceClient

private String sessionId

Public Constructors

public TaleoCxfClientImpl ()

Public Methods

public void connect (String username, String password, String companyCode)

Parameters
username
password
companyCode
Throws
ConnectionException

public String connectionId ()

public long createAccount (AccountBean account)

Parameters
account

public long createAttachment (long candidateId, String attachment, String attachmentName, String contentType, ByteArr binaryResume)

Parameters
candidateId
attachment
attachmentName
contentType
binaryResume

public long createBackgroundCheck (BackgroundCheckBean backgroundCheck)

Parameters
backgroundCheck

public long createCandidate (CandidateBean candidate)

Parameters
candidate

public long createContact (ContactBean contact)

Parameters
contact

public long createContactLog (ContactLogBean contactLog)

Parameters
contactLog

public long createDepartment (DepartmentBean department)

Parameters
department

public long createEmailLog (String email, String subject, String body, GregorianCalendar date)

Parameters
email
subject
body
date

public long createEmailSentLog (String email, String subject, String body, GregorianCalendar date)

Parameters
email
subject
body
date

public long createEmployee (EmployeeBean employee)

Parameters
employee

public long createEntityAttachment (String entityType, long entityId, String description, String fileName, String contentType, ByteArr data)

Parameters
entityType
entityId
description
fileName
contentType
data

public long createEvent (CalendarEventBean event)

Parameters
event

public long createInterview (InterviewBean interview)

Parameters
interview

public void createLink (String entityType1, long entityId1, String entityType2, long entityId2)

Parameters
entityType1
entityId1
entityType2
entityId2

public long createLocation (LocationBean location)

Parameters
location

public long createOffer (OfferBean offer)

Parameters
offer

public long createReference (ReferenceBean reference)

Parameters
reference

public long createRegion (RegionBean region)

Parameters
region

public long createRequisition (RequisitionBean requisition)

Parameters
requisition

public long createRequisitionTemplate (RequisitionBean requisition)

Parameters
requisition

public long createTask (TaskBean task)

Parameters
task

public long createUser (UserBean user)

Parameters
user

public long createUserWithPermissions (UserBean user, Map additionalEntities)

Parameters
user
additionalEntities

public void deleteAccount (long accountId)

Parameters
accountId

public void deleteAttachment (long attachmentId)

Parameters
attachmentId

public void deleteBackgroundCheck (long backgroundCheckId)

Parameters
backgroundCheckId

public void deleteCandidate (long candidateId)

Parameters
candidateId

public void deleteContact (long contactId)

Parameters
contactId

public void deleteContactLog (long contactLogId)

Parameters
contactLogId

public void deleteDepartment (long departmentId)

Parameters
departmentId

public void deleteEmployee (long employeeId)

Parameters
employeeId

public void deleteEmployeeByNumber (String employeeNumber)

Parameters
employeeNumber

public void deleteEvent (long eventId)

Parameters
eventId

public void deleteInterview (long interviewId)

Parameters
interviewId

public void deleteLocation (long locationId)

Parameters
locationId

public void deleteOffer (long offerId)

Parameters
offerId

public void deleteReference (long referenceId)

Parameters
referenceId

public void deleteRegion (long regionId)

Parameters
regionId

public void deleteRequisition (long requisitionId)

Parameters
requisitionId

public void deleteRollingEntity (long rollingEntityId)

Parameters
rollingEntityId

public void deleteTask (long taskId)

Parameters
taskId

public void deleteUser (long userId)

Parameters
userId

public void disconnect ()

public AccountBean getAccountById (long accountId)

Parameters
accountId

public HistoryBeanArr getAccountHistory (long accountId)

Parameters
accountId

public LongArr getAssociatedUsers (long requisitionId, String association)

Parameters
requisitionId
association

public AttachmentBean getAttachment (long attachmentId)

Parameters
attachmentId

public ByteArr getAttachmentData (long attachmentId)

Parameters
attachmentId

public LongArr getAttachments (long candidateId)

Parameters
candidateId

public BackgroundCheckBean getBackgroundCheckById (long backgroundCheckId)

Parameters
backgroundCheckId

public LongArr getBackgroundChecksByCandidate (long candidateId)

Parameters
candidateId

public ByteArr getBinaryOffer (long offerId)

Parameters
offerId

public ByteArr getBinaryResume (long candidateId)

Parameters
candidateId

public String getCandReqStatus (long candidateId, long requisitionId)

Parameters
candidateId
requisitionId

public CandidateBean getCandidateById (long candidateId)

Parameters
candidateId

public CandidateDetailsBean getCandidateDetailsById (long candidateId, boolean includeRequisitions, boolean includeInterviews, boolean includeReferences, boolean includeHistory, boolean includeAttachments, boolean includeOffers)

Parameters
candidateId
includeRequisitions
includeInterviews
includeReferences
includeHistory
includeAttachments
includeOffers

public HistoryBeanArr getCandidateHistory (long candidateId)

Parameters
candidateId

public WorkHistoryArr getCandidateWorkHistory (long candidateId)

Parameters
candidateId

public LongArr getCandidatesByRequisition (long requisitionId)

Parameters
requisitionId

public ContactBean getContactById (long contactId)

Parameters
contactId

public HistoryBeanArr getContactHistory (long contactId)

Parameters
contactId

public ContactLogBean getContactLogById (long contactLogId)

Parameters
contactLogId

public LongArr getContactLogsByEntity (String entityType, long entityId)

Parameters
entityType
entityId

public DepartmentBean getDepartmentById (long departmentId)

Parameters
departmentId

public DepartmentBean getDepartmentByName (String name)

Parameters
name

public DepartmentArr getDepartments ()

public String getDispatcherUrl ()

public EmployeeBean getEmployeeById (long employeeId)

Parameters
employeeId

public EmployeeBean getEmployeeByNumber (String employeeNumber)

Parameters
employeeNumber

public String getEnabledServices ()

public LongArr getEntityAttachments (String entityType, long entityId)

Parameters
entityType
entityId

public LongArr getEventByEntity (String entityType, long entityId)

Parameters
entityType
entityId

public CalendarEventBean getEventById (long eventId)

Parameters
eventId

public InterviewBean getInterviewById (long interviewId)

Parameters
interviewId

public LongArr getInterviewsByCandidate (long candidateId)

Parameters
candidateId

public LocationBean getLocationById (long locationId)

Parameters
locationId

public LocationBean getLocationByName (String locationName)

Parameters
locationName

public LocationArr getLocations ()

public String getLoginToken (String sessionId)

Parameters
sessionId

public LookupArr getLookup (String fieldName)

Parameters
fieldName

public MetadataArr getMetadata (EntityTypeEnum entityType)

Parameters
entityType

public OfferBean getOfferByID (long offerId)

Parameters
offerId

public LongArr getOffers (long candidateId)

Parameters
candidateId

public LongArr getPublicEvents (GregorianCalendar startDate, GregorianCalendar endDate)

Parameters
startDate
endDate

public ReferenceBean getReferenceById (long referenceId)

Parameters
referenceId

public LongArr getReferencesByCandidate (long candidateId)

Parameters
candidateId

public RegionBean getRegionById (long regionId)

Parameters
regionId

public RegionBean getRegionByName (String regionName)

Parameters
regionName

public RegionArr getRegions ()

public RequisitionBean getRequisitionById (long requisitionId)

Parameters
requisitionId

public HistoryBeanArr getRequisitionHistory (long requisitionId)

Parameters
requisitionId

public LongArr getRequisitions (long candidateId)

Parameters
candidateId

public FlexRollingEntityBeanArr getRollingEntities (String rollingEntityType, String entityType, long entityId)

Parameters
rollingEntityType
entityType
entityId

public Map getSystemProps ()

public LongArr getTaskByEntity (String entityType, long entityId)

Parameters
entityType
entityId

public TaskBean getTaskById (long taskId)

Parameters
taskId

public LongArr getTaskByUser (long userId, GregorianCalendar startDate, GregorianCalendar endDate)

Parameters
userId
startDate
endDate

public String getUrl (String companyCode)

Parameters
companyCode

public UserBean getUserById (long userId)

Parameters
userId

public HistoryBeanArr getUserHistory (long userId)

Parameters
userId

public boolean isConnected ()

public String login (String companyCode, String userId, String password)

Parameters
companyCode
userId
password

public String loginPartner (String orgCode, String partnerCode, long currentTimeMillis, String digest)

Parameters
orgCode
partnerCode
currentTimeMillis
digest

public void logout (String sessionId)

Parameters
sessionId

public String parseResume (ByteArr binaryAttachment)

Parameters
binaryAttachment

public CandidateInsertResultBean parseResumeIntoCandidate (ByteArr binaryAttachment, String referredBy, String fileName)

Parameters
binaryAttachment
referredBy
fileName

public void postRequisition (long requisitionId, long posterId, int formVersion)

Parameters
requisitionId
posterId
formVersion

public void removeAssociatedUser (long requisitionId, String association, long userId)

Parameters
requisitionId
association
userId

public void removeCandidate (long candidateId, long requisitionId)

Parameters
candidateId
requisitionId

public void removeLink (String entityType1, long entityId1, String entityType2, long entityId2)

Parameters
entityType1
entityId1
entityType2
entityId2

public SearchResultArr searchAccount (Map searchParams)

Parameters
searchParams

public SearchResultArr searchCandidate (Map searchParams)

Parameters
searchParams

public SearchResultArr searchContact (Map searchParams)

Parameters
searchParams

public SearchResultArr searchEmployee (Map searchParams)

Parameters
searchParams

public SearchResultArr searchRequisition (Map searchParameters)

Parameters
searchParameters

public SearchResultArr searchUser (Map searchParams)

Parameters
searchParams

public void setAssociatedUser (long requisitionId, String association, long userId, int userSequenceNumber)

Parameters
requisitionId
association
userId
userSequenceNumber

public void setBinaryOffer (long offerId, String fileName, ByteArr content)

Parameters
offerId
fileName
content

public void setBinaryResume (long candidateId, String fileName, ByteArr binaryAttachment)

Parameters
candidateId
fileName
binaryAttachment

public void setDispatcherUrl (String dispatcherUrl)

Parameters
dispatcherUrl

public void submitCandidate (long candidateId, LongArr requisitionIds)

Parameters
candidateId
requisitionIds

public void unpostRequisition (long requisitionId, long posterId)

Parameters
requisitionId
posterId

public void updateAccount (AccountBean account)

Parameters
account

public void updateAttachment (long attachmentId, String description, String name, String contentType, ByteArr binaryResume)

Parameters
attachmentId
description
name
contentType
binaryResume

public void updateBackgroundCheck (BackgroundCheckBean backgroundCheck)

Parameters
backgroundCheck

public void updateCandidate (CandidateBean candidate)

Parameters
candidate

public void updateContact (ContactBean contact)

Parameters
contact

public void updateContactLog (ContactLogBean contactLog)

Parameters
contactLog

public void updateEmployee (EmployeeBean employee)

Parameters
employee

public void updateEvent (CalendarEventBean event)

Parameters
event

public void updateInterview (InterviewBean interview)

Parameters
interview

public void updateOffer (OfferBean offer)

Parameters
offer

public void updateReference (ReferenceBean reference)

Parameters
reference

public void updateRequisition (RequisitionBean requisition)

Parameters
requisition

public void updateTask (TaskBean task)

Parameters
task

public void updateUser (UserBean user)

Parameters
user

public void upsertCandidateToRequisitions (long candidateId, LongArr requisitionIds, long statusId, long reasonId, boolean doRanking)

Parameters
candidateId
requisitionIds
statusId
reasonId
doRanking

public long upsertDepartment (DepartmentBean department)

Parameters
department

public long upsertEmployee (String employeeNumber, EmployeeBean employee)

Parameters
employeeNumber
employee

public long upsertLocation (LocationBean location)

Parameters
location

public long upsertRegion (RegionBean region)

Parameters
region

public long upsertRollingEntity (FlexRollingEntityBean rollingEntityBean)

Parameters
rollingEntityBean