Package com.eaglegenomics.simlims.core

Examples of com.eaglegenomics.simlims.core.Note


    else throw new IOException("User " + getCurrentUser().getFullName() + " cannot read SequencerPartitionContainer " + containerId);
  }

  @Override
  public Note getNoteById(long noteId) throws IOException {
    Note o = super.getNoteById(noteId);
    User user = getCurrentUser();
    if (o.getOwner().equals(user) || (o.isInternalOnly() && user.isInternal())) return o;
    else throw new IOException("User " + getCurrentUser().getFullName() + " cannot read Note " + o.getNoteId());
  }
View Full Code Here

TOP

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

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.