Package org.jitterbit.integration.client.project.permission

Examples of org.jitterbit.integration.client.project.permission.PermissionsManager.save()


            savingService.submit(new Runnable() {

                @Override
                public void run() {
                    try {
                        mgr.save();
                    } catch (PermissionsStorageException e) {
                        ErrorLog.attention(PermissionsPage.class, Strings.get("Permissions.Page.Save.Error"), e);
                    }
                }
            });
View Full Code Here


    private void copyPermissions(IntegrationEntity original, IntegrationEntity copy, IntegrationProject project) {
        try {
            ManagedProject mp = project.getExtensionObject(ManagedProject.class);
            PermissionsManager perms = mp.getPermissions();
            perms.copyPermissions(original, copy);
            perms.save();
        } catch (PermissionsStorageException e) {
            ErrorLog.attention(getClass(), "The permission settings could not be copied.", e);
        }
    }
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.