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

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


        }
        if (cmisVersion != CmisVersion.CMIS_1_0 && repositoryInfo.getExtensionFeatures() != null) {
            List<ExtensionFeature> extensionFeatures = repositoryInfo.getExtensionFeatures();

            for (ExtensionFeature feature : extensionFeatures) {
                CmisExtensionFeatureType target = new CmisExtensionFeatureType();

                target.setId(feature.getId());
                target.setUrl(feature.getUrl());
                target.setCommonName(feature.getCommonName());
                target.setVersionLabel(feature.getVersionLabel());
                target.setDescription(feature.getDescription());

                if (feature.getFeatureData() != null) {
                    for (Map.Entry<String, String> entry : feature.getFeatureData().entrySet()) {
                        CmisExtensionFeatureKeyValuePair keyValue = new CmisExtensionFeatureKeyValuePair();
                        keyValue.setKey(entry.getKey());
                        keyValue.setValue(entry.getValue());
                        target.getFeatureData().add(keyValue);
                    }
                }

                convertExtension(feature, target);
View Full Code Here

TOP

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

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.