Examples of RoleId


Examples of org.platformlayer.model.RoleId

  public List<RoleId> getRoles() {
    List<RoleId> ret = Lists.newArrayList();
    if (joinedRoles != null) {
      for (String key : Splitter.on(",").split(joinedRoles)) {
        ret.add(new RoleId(key));
      }
    }
    return ret;
  }
View Full Code Here

Examples of org.platformlayer.model.RoleId

    String name = project.getName();
    int projectId = Integer.parseInt(project.getId());

    List<RoleId> roles = Lists.newArrayList();
    for (Role role : project.getRoles()) {
      roles.add(new RoleId(role.getName()));
    }

    CryptoKey projectSecret = FathomdbCrypto.deserializeKey(project.getSecret());
    return new PlatformlayerProjectAuthorization(user, name, projectSecret, roles, projectId);
  }
View Full Code Here

Examples of uk.nhs.interoperability.payloads.commontypes.RoleID

    if (missingFields.hasEntries()) {
      throw missingFields;
    }
    RecipientPersonUniversal template = new RecipientPersonUniversal();
    // ID (NULL)
    template.addId(new RoleID().setNullFlavour(NullFlavour.NA.code));
    // recipientName
    template.setName(recipient.getRecipientName());
    // recipientAddress
    if (recipient.getRecipientAddress() != null) {
      template.setAddress(recipient.getRecipientAddress());
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.