- Common ways to obtain ExperimentListItem
private void myMethod () {ExperimentListItem e =
Object[] array;String name;String parentFolders;Integer chunkNumber;Integer largeScaleSize;new ExperimentListItem(Arrays.asList(array), name, parentFolders, negative, chunkNumber, largeScaleSize)
- Smart code suggestions by Codota
}
public static Collection<Interaction> getInteractionsForExperimentListItem(ExperimentListItem eli) { Integer firstInteraction = null; Integer maxInteractions = null; // if there is pagination, get the first and the max result if (eli.getLargeScaleChunkSize() != null) { firstInteraction = (eli.getChunkNumber() - 1) * eli.getLargeScaleChunkSize(); maxInteractions = eli.getLargeScaleChunkSize(); } Collection<String> experimentLabels = eli.getExperimentLabels(); return IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getInteractionDao() .getInteractionByExperimentShortLabel(experimentLabels.toArray(new String[experimentLabels.size()]), firstInteraction, maxInteractions); }
public static Collection<Interaction> getInteractionsForExperimentListItem(ExperimentListItem eli) { Integer firstInteraction = null; Integer maxInteractions = null; // if there is pagination, get the first and the max result if (eli.getLargeScaleChunkSize() != null) { firstInteraction = (eli.getChunkNumber() - 1) * eli.getLargeScaleChunkSize(); maxInteractions = eli.getLargeScaleChunkSize(); } Collection<String> experimentLabels = eli.getExperimentLabels(); return IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getInteractionDao() .getInteractionByExperimentShortLabel(experimentLabels.toArray(new String[experimentLabels.size()]), firstInteraction, maxInteractions); }
public static Collection<Interaction> getInteractionsForExperimentListItem(ExperimentListItem eli) { Integer firstInteraction = null; Integer maxInteractions = null; // if there is pagination, get the first and the max result if (eli.getLargeScaleChunkSize() != null) { firstInteraction = (eli.getChunkNumber() - 1) * eli.getLargeScaleChunkSize(); maxInteractions = eli.getLargeScaleChunkSize(); } Collection<String> experimentLabels = eli.getExperimentLabels(); return IntactContext.getCurrentInstance().getDataContext().getDaoFactory().getInteractionDao() .getInteractionByExperimentShortLabel(experimentLabels.toArray(new String[experimentLabels.size()]), firstInteraction, maxInteractions); }