Examples of CmisTypeMutabilityCapabilitiesType


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

        result.setLocalNamespace(typeDefinition.getLocalNamespace());
        result.setParentTypeId(typeDefinition.getParentId());
        result.setQueryName(typeDefinition.getQueryName());

        if (typeDefinition.getTypeMutability() != null) {
            CmisTypeMutabilityCapabilitiesType typeMutability = typeDefinition.getTypeMutability();
            TypeMutabilityImpl target = new TypeMutabilityImpl();

            target.setCanCreate(typeMutability.isCreate());
            target.setCanUpdate(typeMutability.isUpdate());
            target.setCanDelete(typeMutability.isDelete());

            convertExtension(typeMutability, target);

            result.setTypeMutability(target);
        }
View Full Code Here

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

        result.setQueryable(convertBoolean(typeDefinition.isQueryable(), false));
        result.setQueryName(typeDefinition.getQueryName());

        if (typeDefinition.getTypeMutability() != null) {
            TypeMutability typeMutability = typeDefinition.getTypeMutability();
            CmisTypeMutabilityCapabilitiesType target = new CmisTypeMutabilityCapabilitiesType();

            target.setCreate(typeMutability.canCreate() == null ? true : typeMutability.canCreate());
            target.setUpdate(typeMutability.canUpdate() == null ? true : typeMutability.canUpdate());
            target.setDelete(typeMutability.canDelete() == null ? true : typeMutability.canDelete());

            convertExtension(typeMutability, target);

            result.setTypeMutability(target);
        }
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.