Package com.eaglegenomics.simlims.core

Examples of com.eaglegenomics.simlims.core.SecurityProfile


    if (study.userCanRead(user)) {
      setStudy(study);
      setSecurityProfile(study.getSecurityProfile());
    }
    else {
      setSecurityProfile(new SecurityProfile(user));
    }
  }
View Full Code Here


  /**
   * Construct a new Study with a default empty SecurityProfile
   */
  public StudyImpl() {
    setSecurityProfile(new SecurityProfile());
  }
View Full Code Here

   * Construct a new Study with a SecurityProfile owned by the given User
   *
   * @param user of type User
   */
  public StudyImpl(User user) {
    setSecurityProfile(new SecurityProfile(user));
  }
View Full Code Here

    if (project.userCanRead(user)) {
      setProject(project);
      setSecurityProfile(project.getSecurityProfile());
    }
    else {
      setSecurityProfile(new SecurityProfile(user));
    }
  }
View Full Code Here

  /**
   * Construct a new Library with a default empty SecurityProfile
   */
  public LibraryImpl() {
    setSecurityProfile(new SecurityProfile());
  }
View Full Code Here

   * Construct a new Library with a SecurityProfile owned by the given User
   *
   * @param user of type User
   */
  public LibraryImpl(User user) {
    setSecurityProfile(new SecurityProfile(user));
  }
View Full Code Here

    if (sample.userCanRead(user)) {
      setSample(sample);
      setSecurityProfile(sample.getSecurityProfile());
    }
    else {
      setSecurityProfile(new SecurityProfile(user));
    }
  }
View Full Code Here

  private Set<Pool<Plate<LinkedList<T>, T>>> pools = new HashSet<Pool<Plate<LinkedList<T>, T>>>();

  private int size = 96;

  public PlateImpl() {
    setSecurityProfile(new SecurityProfile());
  }
View Full Code Here

  public PlateImpl() {
    setSecurityProfile(new SecurityProfile());
  }

  public PlateImpl(int size) {
    setSecurityProfile(new SecurityProfile());
    this.size = size;
  }
View Full Code Here

    setSecurityProfile(new SecurityProfile());
    this.size = size;
  }

  public PlateImpl(int size, User user) {
    setSecurityProfile(new SecurityProfile(user));
    this.size = size;
  }
View Full Code Here

TOP

Related Classes of com.eaglegenomics.simlims.core.SecurityProfile

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.