Package com.sforce.ws.bind

Examples of com.sforce.ws.bind.CalendarCodec


        if (op.getVersion() != null && storeManager.isEnableOptimisticTransactions()) {
            ConditionalRequestHeader_element ch = new ConditionalRequestHeader_element();
            ch.setIfModifiedBefore((Calendar) op.getVersion());
            connection.__setConditionalRequestHeader(ch);
            if (LOGGER.isDebugEnabled()) {
                LOGGER.debug("Conditional header set to: " + new CalendarCodec().getValueAsString(ch.getIfModifiedBefore()));
            }
        }
        return connection;
    }
View Full Code Here


        if (versions.length > 0 && storeManager.isEnableOptimisticTransactions()) {
            ConditionalRequestHeader_element ch = new ConditionalRequestHeader_element();
            ch.setIfModifiedBeforeArray(versions);
            connection.__setConditionalRequestHeader(ch);
            if (LOGGER.isDebugEnabled()) {
                LOGGER.debug("Conditional header set to: " + toString(ch.getIfModifiedBeforeArray(), false, new CalendarCodec()));
            }
        }
        return connection;
    }
View Full Code Here

TOP

Related Classes of com.sforce.ws.bind.CalendarCodec

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.