Package org.jitterbit.integration.client.server.user

Examples of org.jitterbit.integration.client.server.user.UserId


        ItemPermissions entries = m_permissionsManager.getItemPermissions(entity);

        // User permissions
        for (UserPermission userEntry : entries.getUserPermissions()) {
            UserId userId = userEntry.roleId;
            Permissions permissions = userEntry.permissions;
            List<CPermission> permissionList = m_userPermissions.get(userId);
            if (permissionList == null) {
                permissionList = Lists.newArrayList();
                m_userPermissions.put(userId, permissionList);
View Full Code Here


        }
    }

    private void addMembers(UserGroup assoc, Group group) {
        for (String userId : assoc.getUserIds()) {
            User user = users.get(new UserId(userId));
            if (user != null) {
                group.addMember(user);
            }
        }
    }
View Full Code Here

            throw new IntegrationServerException("Failed to call web service: " + e.getMessage(), e);
        }
  }
 
  private User getIntegrationUser(org.jitterbit.integration.server.implementation.webservice.useradmin.client.User rawUser) {
    UserId userId = new  UserId(rawUser.getUserId());
        String name = rawUser.getLogin();
        User user = new User(userId, name, serverInfo.getGuid());
        user.setFirstName(rawUser.getFirstName());
        user.setLastName(rawUser.getLastName());
        user.setEmail(rawUser.getEmail());
View Full Code Here

    return new ServerGuid(impl.getServerGuid());
  }

    @Override
  public UserId userGuid() {
    return new UserId(impl.getUserGuid());
  }
View Full Code Here

            super(type);
        }

        @Override
        protected UserId parseRoleId(String s) {
            return new UserId(s);
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.server.user.UserId

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.