![]() Human Capital Management Apex API Developer Reference
|
vanahcm.CommonServiceglobal with sharing class CommonService
Represents a Common service structure vanahcm.CommonService.ServiceExceptionglobal class ServiceException extends Exception Exception class for exceptions that can be thrown by service vanahcm.CommonService.CustomFieldglobal class CustomField Represents a custom field Properties
MethodsCustomFieldglobal CustomField() Creates a new instance of CustomField Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.CustomField field = new vanahcm.CommonService.CustomField(); CustomFieldglobal CustomField(String fieldName, String value) Creates a new instance of the CustomField class using values passed in parameters Input Parameters
Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.CustomField field = new vanahcm.CommonService.CustomField(vanahcm__Candidate__c.vanahcm__Resume__c.getDescribe().getName(), 'Sample Resume'); vanahcm.CommonService.CommonObjectglobal abstract class CommonObject Represents a common object class Properties
vanahcm.CommonService.LearningCourseglobal class LearningCourse extends CommonObject Represents a learning course This class extends vanahcm.CommonService.CommonObject Properties
MethodsLearningCourseglobal LearningCourse() Creates a new instance of the Learning Course Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.LearningCourse learningCourse = new vanahcm.CommonService.LearningCourse(); vanahcm.CommonService.LearningCatalogglobal class LearningCatalog extends CommonObject Represents a learning catalog This class extends vanahcm.CommonService.CommonObject Properties
MethodsLearningCatalogglobal LearningCatalog() Creates a new instance of the Learning Catalog Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.LearningCatalog catalog = new vanahcm.CommonService.LearningCatalog(); vanahcm.CommonService.LearningTypeglobal class LearningType extends CommonObject Represents a learning type, including their learning catalog This class extends vanahcm.CommonService.CommonObject Properties
MethodsLearningTypeglobal LearningType() Creates a new instance of the LearningType Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.LearningType learningType = new vanahcm.CommonService.LearningType(); vanahcm.CommonService.Workerglobal class Worker extends CommonObject Represents a worker This class extends vanahcm.CommonService.CommonObject Properties
MethodsWorkerglobal Worker() Creates a new instance of the Worker Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.Worker worker = new vanahcm.CommonService.Worker(); vanahcm.CommonService.Phoneglobal class Phone extends CommonObject Represents a worker's phone This class extends vanahcm.CommonService.CommonObject Properties
MethodsPhoneglobal Phone() Creates a new instance of the Phone Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.Phone phone = new vanahcm.CommonService.Phone(); vanahcm.CommonService.WorkAssignmentglobal class WorkAssignment extends CommonObject Represents a worker's work assignment This class extends vanahcm.CommonService.CommonObject Properties
MethodsWorkAssignmentglobal WorkAssignment() Creates a new instance of the WorkAssignment Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.WorkAssignment workAssignment = new vanahcm.CommonService.WorkAssignment(); vanahcm.CommonService.Compensationglobal class Compensation extends CommonObject Represents a worker's compensation This class extends vanahcm.CommonService.CommonObject Properties
MethodsCompensationglobal Compensation() Creates a new instance of the Compensation Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.Compensation compensation = new vanahcm.CommonService.Compensation(); vanahcm.CommonService.NationalIDglobal class NationalID extends CommonObject Represents a worker's national ID This class extends vanahcm.CommonService.CommonObject Properties
MethodsNationalIDglobal NationalID() Creates a new instance of the NationalID Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.NationalID nationalId = new vanahcm.CommonService.NationalID(); vanahcm.CommonService.Addressglobal class Address extends CommonObject Represents a worker's address This class extends vanahcm.CommonService.CommonObject Properties
MethodsAddressglobal Address() Creates a new instance of the Address Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.Address address = new vanahcm.CommonService.Address(); vanahcm.CommonService.EquityPlanglobal class EquityPlan extends CommonObject Represents a worker's equity plan This class extends vanahcm.CommonService.CommonObject Properties
MethodsEquityPlanglobal EquityPlan() Creates a new instance of the EquityPlan Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.EquityPlan equityPlan = new vanahcm.CommonService.EquityPlan(); vanahcm.CommonService.JobApplicationglobal class JobApplication extends CommonObject Represents a job application This class extends vanahcm.CommonService.CommonObject Properties
MethodsJobApplicationglobal JobApplication() Creates a new instance of the Job Application Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.JobApplication jobApplication = new vanahcm.CommonService.JobApplication(); vanahcm.CommonService.CandidateFeedbackglobal class CandidateFeedback extends CommonObject Represents a candidate's feedback This class extends vanahcm.CommonService.CommonObject Properties
MethodsCandidateFeedbackglobal CandidateFeedback() Creates a new instance of the CandidateFeedback Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.CandidateFeedback candidateFeedback = new vanahcm.CommonService.CandidateFeedback(); vanahcm.CommonService.Responseglobal class Response extends CommonObject Represents a response This class extends vanahcm.CommonService.CommonObject Properties
MethodsResponseglobal Response() Creates a new instance of the Response Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.Response response = new vanahcm.CommonService.Response(); vanahcm.CommonService.JobQuestionSetglobal class JobQuestionSet extends CommonObject Represents a job question set, including their questions This class extends vanahcm.CommonService.CommonObject Properties
MethodsJobQuestionSetglobal JobQuestionSet() Creates a new instance of the JobQuestionSet Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.JobQuestionSet jobQuestionSet = new vanahcm.CommonService.JobQuestionSet(); vanahcm.CommonService.JobQuestionglobal class JobQuestion extends CommonObject Represents a job question set's questions This class extends vanahcm.CommonService.CommonObject Properties
MethodsJobQuestionglobal JobQuestion() Creates a new instance of the JobQuestion Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.JobQuestion jobQuestion = new vanahcm.CommonService.JobQuestion(); vanahcm.CommonService.JobRequisitionglobal class JobRequisition extends CommonObject Represents a job requisition This class extends vanahcm.CommonService.CommonObject Properties
MethodsJobRequisitionglobal JobRequisition() Creates a new instance of the JobRequisition Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.JobRequisition jobRequisition = new vanahcm.CommonService.JobRequisition(); vanahcm.CommonService.Candidateglobal class Candidate extends CommonObject Represents a candidate, including their education and work experience This class extends vanahcm.CommonService.CommonObject Properties
MethodsCandidateglobal Candidate() Creates a new instance of the Candidate Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.Candidate candidate = new vanahcm.CommonService.Candidate(); vanahcm.CommonService.CandidateWorkExperienceglobal class CandidateWorkExperience extends CommonObject Represents a candidate's work experience This class extends vanahcm.CommonService.CommonObject Properties
MethodsCandidateWorkExperienceglobal CandidateWorkExperience() Creates a new instance of CandidateWorkExperience Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.CandidateWorkExperience workExperience = new vanahcm.CommonService.CandidateWorkExperience(); vanahcm.CommonService.CandidateEducationglobal class CandidateEducation extends CommonObject Represents a candidate's education This class extends vanahcm.CommonService.CommonObject Properties
MethodsCandidateEducationglobal CandidateEducation() Creates a new instance of CandidateEducation Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.CandidateEducation education = new vanahcm.CommonService.CandidateEducation(); vanahcm.CommonService.NewHireglobal class NewHire extends CommonObject Represents a new hire wizard This class extends vanahcm.CommonService.CommonObject Properties
MethodsNewHireglobal NewHire() Creates a new instance of the NewHire Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. vanahcm.CommonService.NewHire newhire = new vanahcm.CommonService.NewHire(); |