Examples of updateProperties()


Examples of com.atlassian.crowd.integration.service.soap.client.ClientProperties.updateProperties()

            props.setProperty("application.password", applicationPassword);
            props.setProperty("crowd.server.url", url);
            props.setProperty("session.validationinterval", "5");
            ClientProperties clientProperties = (ClientProperties) crowdConfigContext
                    .getBean("clientProperties");
            clientProperties.updateProperties(props);
        } else {
            log.warn("Client properties are incomplete");
        }

        return new SecurityComponents(findBean(AuthenticationManager.class, context), findBean(
View Full Code Here

Examples of com.atlassian.crowd.integration.service.soap.client.ClientProperties.updateProperties()

            props.setProperty("application.password", applicationPassword);
            props.setProperty("crowd.server.url", url);
            props.setProperty("session.validationinterval", "5");
            ClientProperties clientProperties = (ClientProperties) crowdConfigContext
                    .getBean("clientProperties");
            clientProperties.updateProperties(props);
        } else {
            log.warn("Client properties are incomplete");
        }

        return new SecurityComponents(findBean(AuthenticationManager.class, context), findBean(
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.CmisObject.updateProperties()

                    }
                }

                // finaly execute update action
                if (!updateProperties.isEmpty()) {
                    cmisObject.updateProperties(updateProperties);
                }
                break;
        }
    }
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.CmisObject.updateProperties()

                    updateProperties.put(cmisPropertyName, null);
                }

                // run update action
                if (!updateProperties.isEmpty()) {
                    cmisObject.updateProperties(updateProperties);
                }

                ChildrenChanges childrenChanges = delta.getChildrenChanges();
                Map<String, Name> renamed = new HashMap<>();
                renamed.putAll(childrenChanges.getRenamed());
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.Document.updateProperties()

            // update
            Map<String, Object> properties = new HashMap<String, Object>();
            properties.put(PropertyIds.NAME, NAME2);

            ObjectId newId = workDoc.updateProperties(properties, false);
            Document doc2 = (Document) session.getObject(newId, SELECT_ALL_NO_CACHE_OC);

            addResult(checkObject(session, doc2, getAllProperties(doc2), "Updated document compliance"));

            f = createResult(FAILURE, "Document name doesn't match updated value!");
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.Document.updateProperties()

        String id = document.getId();
        assertNotNull(id);

        // update single property
        ObjectId newId = document.updateProperties(properties);
        assertNotNull(newId);
        assertEquals(id, newId.getId()); // should not be a new version

        session.clear();
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.Document.updateProperties()

            // update
            Map<String, Object> properties = new HashMap<String, Object>();
            properties.put(PropertyIds.NAME, NAME2);

            ObjectId newId = workDoc.updateProperties(properties, false);
            Document doc2 = (Document) session.getObject(newId, SELECT_ALL_NO_CACHE_OC);

            addResult(checkObject(session, doc2, getAllProperties(doc2), "Updated document compliance"));

            f = createResult(FAILURE, "Document name doesn't match updated value!");
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.Document.updateProperties()

            addResult(assertEquals(NAME2, doc2.getName(), null, f));

            // update nothing
            try {
                properties = new HashMap<String, Object>();
                doc2.updateProperties(properties, false);
            } catch (Exception e) {
                addResult(createResult(WARNING,
                        "updateProperties without property changes returned an error: " + e.getMessage(), e, false));
            }
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.Document.updateProperties()

        String id = document.getId();
        assertNotNull(id);

        // update single property
        ObjectId newId = document.updateProperties(properties);
        assertNotNull(newId);
        assertEquals(id, newId.getId()); // should not be a new version

        session.clear();
View Full Code Here

Examples of org.apache.chemistry.opencmis.client.api.Document.updateProperties()

        String id = document.getId();
        assertNotNull(id);

        // update single property
        ObjectId newId = document.updateProperties(properties);
        assertNotNull(newId);
        assertEquals(id, newId.getId()); // should not be a new version

        session.clear();
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.