Examples of convertProperties()


Examples of org.apache.chemistry.opencmis.client.api.ObjectFactory.convertProperties()

            Set<Updatability> updatebility = new HashSet<Updatability>();
            updatebility.add(Updatability.READWRITE);
            updatebility.add(Updatability.WHENCHECKEDOUT);

            getBinding().getVersioningService().checkIn(getRepositoryId(), objectIdHolder, major,
                    of.convertProperties(properties, getType(), updatebility), of.convertContentStream(contentStream),
                    checkinComment, of.convertPolicies(policies), of.convertAces(addAces), of.convertAces(removeAces),
                    null);

            newObjectId = objectIdHolder.getValue();
        } finally {
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.ObjectFactory.convertProperties()

        ObjectFactory of = getObjectFactory();

        if (objectData != null) {
            // handle properties
            if (objectData.getProperties() != null) {
                this.properties = of.convertProperties(objectType, objectData.getProperties());
                extensions.put(ExtensionLevel.PROPERTIES, objectData.getProperties().getExtensions());
            }

            // handle allowable actions
            if (objectData.getAllowableActions() != null) {
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.ObjectFactory.convertProperties()

                            }
                        }
                    }
                }

                this.properties = of.convertProperties(objectType, secondaryTypes, objectData.getProperties());
                extensions.put(ExtensionLevel.PROPERTIES, objectData.getProperties().getExtensions());
            }

            // handle allowable actions
            if (objectData.getAllowableActions() != null) {
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.ObjectFactory.convertProperties()

        ObjectFactory of = getObjectFactory();

        if (objectData != null) {
            // handle properties
            if (objectData.getProperties() != null) {
                this.properties = of.convertProperties(objectType, objectData.getProperties());
                extensions.put(ExtensionLevel.PROPERTIES, objectData.getProperties().getExtensions());
            }

            // handle allowable actions
            if (objectData.getAllowableActions() != null) {
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.ObjectFactory.convertProperties()

        ObjectFactory of = getObjectFactory();

        if (objectData != null) {
            // handle properties
            if (objectData.getProperties() != null) {
                this.properties = of.convertProperties(objectType, objectData.getProperties());
                extensions.put(ExtensionLevel.PROPERTIES, objectData.getProperties().getExtensions());
            }

            // handle allowable actions
            if (objectData.getAllowableActions() != null) {
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.ObjectFactory.convertProperties()

        String objectId = getObjectId();

        ObjectFactory of = getObjectFactory();

        String newId = getBinding().getObjectService().createDocument(getRepositoryId(),
                of.convertProperties(properties, null, CREATE_UPDATABILITY), objectId,
                of.convertContentStream(contentStream), versioningState, of.convertPolicies(policies),
                of.convertAces(addAces), of.convertAces(removeAces), null);

        // if no context is provided the object will not be fetched
        if ((context == null) || (newId == null)) {
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.ObjectFactory.convertProperties()

        Set<Updatability> updatebility = new HashSet<Updatability>();
        updatebility.add(Updatability.READWRITE);

        String newId = getBinding().getObjectService().createDocumentFromSource(getRepositoryId(), source.getId(),
                of.convertProperties(properties, type, updatebility), objectId, versioningState,
                of.convertPolicies(policies), of.convertAces(addAces), of.convertAces(removeAces), null);

        // if no context is provided the object will not be fetched
        if ((context == null) || (newId == null)) {
            return null;
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.ObjectFactory.convertProperties()

        String objectId = getObjectId();

        ObjectFactory of = getObjectFactory();

        String newId = getBinding().getObjectService().createFolder(getRepositoryId(),
                of.convertProperties(properties, null, CREATE_UPDATABILITY), objectId, of.convertPolicies(policies),
                of.convertAces(addAces), of.convertAces(removeAces), null);

        // if no context is provided the object will not be fetched
        if ((context == null) || (newId == null)) {
            return null;
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.ObjectFactory.convertProperties()

        String objectId = getObjectId();

        ObjectFactory of = getObjectFactory();

        String newId = getBinding().getObjectService().createPolicy(getRepositoryId(),
                of.convertProperties(properties, null, CREATE_UPDATABILITY), objectId, of.convertPolicies(policies),
                of.convertAces(addAces), of.convertAces(removeAces), null);

        // if no context is provided the object will not be fetched
        if ((context == null) || (newId == null)) {
            return null;
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.ObjectFactory.convertProperties()

        updatebility.add(Updatability.READWRITE);
        updatebility.add(Updatability.WHENCHECKEDOUT);

        getBinding().getVersioningService()
                .checkIn(getRepositoryId(), objectIdHolder, major,
                        of.convertProperties(properties, type, updatebility), of.convertContentStream(contentStream),
                        checkinComment, of.convertPolicies(policies), of.convertAces(addAces),
                        of.convertAces(removeAces), null);

        if (objectIdHolder.getValue() == null) {
            return null;
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.