Package com.sforce.async

Examples of com.sforce.async.OperationEnum


        return this.jobInfo.getId();
    }

    void createJob(Config cfg) throws AsyncApiException {
        JobInfo job = new JobInfo();
        final OperationEnum op = cfg.getOperationInfo().getOperationEnum();
        job.setOperation(op);
        if (op == OperationEnum.upsert) {
            job.setExternalIdFieldName(cfg.getString(Config.EXTERNAL_ID_FIELD));
        }
        job.setObject(cfg.getString(Config.ENTITY));
View Full Code Here

TOP

Related Classes of com.sforce.async.OperationEnum

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.