/** * Checks the list of stories to see if the user didn't author them * * @param stories - list of stories to be checked * @return list of non-authored stories */ public Collection<Story> checkIfNotAuthored(Collection<Story> stories) { Collection<Story> authoredStories = new HashSet<Story>(); for (Story story : stories) { if (!m_storyDirector.isAuthored(story.getId())) authoredStories.add(story); } return authoredStories; }