Examples of CmisBulkUpdateType


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
Copyright © 2018 www.massapi.com. 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.