Package org.apache.chemistry.opencmis.commons.impl.jaxb

Examples of org.apache.chemistry.opencmis.commons.impl.jaxb.CmisBulkUpdateType


            Properties properties, List<String> addSecondaryTypeIds, List<String> removeSecondaryTypeIds) {
        if (objectIdAndChangeTokens == null) {
            return null;
        }

        CmisBulkUpdateType result = new CmisBulkUpdateType();

        for (BulkUpdateObjectIdAndChangeToken idAndToken : objectIdAndChangeTokens) {
            result.getObjectIdAndChangeToken().add(convert(idAndToken));
        }
        result.setProperties(convert(properties));
        if (addSecondaryTypeIds != null) {
            result.getAddSecondaryTypeIds().addAll(addSecondaryTypeIds);
        }
        if (removeSecondaryTypeIds != null) {
            result.getRemoveSecondaryTypeIds().addAll(removeSecondaryTypeIds);
        }

        return result;
    }
View Full Code Here

TOP

Related Classes of org.apache.chemistry.opencmis.commons.impl.jaxb.CmisBulkUpdateType

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.