Package com.adobe.idp.dsc.clientsdk

Examples of com.adobe.idp.dsc.clientsdk.ServiceClientFactory


            if (authentication instanceof MyAuthenticationToken) {
                EntityManager em = MyEntityManagerFactory.getEm(request.getSession());
                LoggedUser user = ((MyAuthenticationToken) authentication).getMyUser();
                LiveCycleService lvService = user.getLiveCycleService();
                ServiceClientFactory clientFactory = lvService.getServiceClientFactory();
                impersonateUserAndSetClientFactory(user.getCanonicalName(), user.getDomainName(), clientFactory,user.getResourceManager());
                TaskManagerQueryService queryManager = TaskManagerClientFactory.getQueryManager(clientFactory);
                TaskManager taskManager = TaskManagerClientFactory.getTaskManager(clientFactory);
                DirectoryManagerServiceClient dirClient = new DirectoryManagerServiceClient(clientFactory);
                PrincipalSearchFilter psf = new PrincipalSearchFilter();
View Full Code Here


        try {
            SecurityContext context = SecurityContextHolder.getContext();
            Authentication authentication = context.getAuthentication();
            LoggedUser user = ((MyAuthenticationToken) authentication).getMyUser();
            LiveCycleService lvService = user.getLiveCycleService();
            ServiceClientFactory serviceClientFactory = lvService.getServiceClientFactory();
            LiveCycleTask.impersonateUserAndSetClientFactory(user.getCanonicalName(), user.getDomainName(), serviceClientFactory, user.getResourceManager());
            TaskManager taskManager = TaskManagerClientFactory.getTaskManager(serviceClientFactory);

            com.adobe.idp.Document myDocument = getDocument(data);
            long taskID = data.getProcess().getId();
View Full Code Here

    }


    private void invokeAndPostDataToLC(Document xmlData, String process, LiveCycleService lvService) {
        try {
            ServiceClientFactory serviceClientFactory = lvService.getServiceClientFactory();
            Map<String, Object> inputParams = new HashMap<String, Object>();
            inputParams.put("formData1", xmlData);
            InvocationRequest request = serviceClientFactory.createInvocationRequest(process, "invoke", inputParams, false);
            serviceClientFactory.getServiceClient().invoke(request);
        } catch (Exception exc) {
            exc.printStackTrace();
        }
    }
View Full Code Here

TOP

Related Classes of com.adobe.idp.dsc.clientsdk.ServiceClientFactory

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.