public class StoryDataset extends Object
| Constructor and Description |
|---|
StoryDataset() |
| Modifier and Type | Method and Description |
|---|---|
static List<es.uvigo.esei.dgss.teama.microstories.domain.entities.Story> |
getStoriesSubListByText(String text,
int indexI,
int indexJ) |
static List<es.uvigo.esei.dgss.teama.microstories.domain.entities.Story> |
nullStories() |
static List<es.uvigo.esei.dgss.teama.microstories.domain.entities.Story> |
recentStories() |
static List<es.uvigo.esei.dgss.teama.microstories.domain.entities.Story> |
recentStoriesLess() |
static List<es.uvigo.esei.dgss.teama.microstories.domain.entities.Story> |
recentStoriesSameDate() |
static es.uvigo.esei.dgss.teama.microstories.domain.entities.Story[] |
searchStories(String text) |
static es.uvigo.esei.dgss.teama.microstories.domain.entities.Story[] |
stories() |
static es.uvigo.esei.dgss.teama.microstories.domain.entities.Story[] |
stories(String... logins) |
static es.uvigo.esei.dgss.teama.microstories.domain.entities.Story[] |
storiesLess() |
static es.uvigo.esei.dgss.teama.microstories.domain.entities.Story[] |
storiesSameDate() |
static es.uvigo.esei.dgss.teama.microstories.domain.entities.Story |
storyWithId(int id)
Returns the first story in the list of stories whose id matches with the searched one.
|
public static es.uvigo.esei.dgss.teama.microstories.domain.entities.Story[] stories(String... logins)
public static es.uvigo.esei.dgss.teama.microstories.domain.entities.Story[] stories()
public static es.uvigo.esei.dgss.teama.microstories.domain.entities.Story[] storiesLess()
public static es.uvigo.esei.dgss.teama.microstories.domain.entities.Story[] storiesSameDate()
public static List<es.uvigo.esei.dgss.teama.microstories.domain.entities.Story> recentStories()
public static List<es.uvigo.esei.dgss.teama.microstories.domain.entities.Story> recentStoriesLess()
public static List<es.uvigo.esei.dgss.teama.microstories.domain.entities.Story> recentStoriesSameDate()
public static List<es.uvigo.esei.dgss.teama.microstories.domain.entities.Story> nullStories()
public static List<es.uvigo.esei.dgss.teama.microstories.domain.entities.Story> getStoriesSubListByText(String text, int indexI, int indexJ)
public static es.uvigo.esei.dgss.teama.microstories.domain.entities.Story storyWithId(int id)
id - The id of the story to search.IllegalArgumentException - The exception thrown when the story searched by its id is not found.public static es.uvigo.esei.dgss.teama.microstories.domain.entities.Story[] searchStories(String text)
Copyright © 2022. All rights reserved.