Package org.nuxeo.ecm.automation

Examples of org.nuxeo.ecm.automation.OperationContext


    @Test
    public void testOperation() throws Exception {
        List<String> list = socialWorkspace.searchMembers("t%");
        assertEquals(1, list.size());

        OperationContext ctx = new OperationContext(session);
        assertNotNull(ctx);

        OperationChain chain = new OperationChain("fakeChain");
        OperationParameters oParams = new OperationParameters(
                GetSocialWorkspaceMembers.ID);
View Full Code Here


    public void shouldFilterActivitiesBasedOnACLs() throws Exception {
        initializeSomeRelations();
        createDocumentsWithBender();

        try (CoreSession newSession = openSessionAs("Leela")) {
            OperationContext ctx = new OperationContext(newSession);
            assertNotNull(ctx);

            OperationChain chain = new OperationChain(
                    "testUserActivityStreamOperation");
            chain.add(GetActivityStream.ID);
View Full Code Here

TOP

Related Classes of org.nuxeo.ecm.automation.OperationContext

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.