Interface ProjectEventService
-
- All Superinterfaces:
CRUDService<java.lang.Long,ProjectEvent>
- All Known Implementing Classes:
ProjectEventServiceImpl
public interface ProjectEventService extends CRUDService<java.lang.Long,ProjectEvent>
Service for reading and managingProjectEvent
s
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.data.domain.Page<ProjectEvent>
getAllProjectsEvents(org.springframework.data.domain.Pageable pageable)
Get a list of events for all projectsorg.springframework.data.domain.Page<ProjectEvent>
getEventsForProject(Project project, org.springframework.data.domain.Pageable pageable)
Get the events for a given projectorg.springframework.data.domain.Page<ProjectEvent>
getEventsForUser(User user, org.springframework.data.domain.Pageable pageable)
Get the events on all projects for a given userjava.util.List<ProjectEvent>
getEventsForUserAfterDate(User user, java.util.Date beginning)
Get a list of events for aUser
which occurred after the given date.-
Methods inherited from interface ca.corefacility.bioinformatics.irida.service.CRUDService
count, create, delete, exists, findAll, findRevisions, findRevisions, list, list, list, read, readMultiple, search, search, update, updateFields, updateMultiple
-
-
-
-
Method Detail
-
getEventsForProject
org.springframework.data.domain.Page<ProjectEvent> getEventsForProject(Project project, org.springframework.data.domain.Pageable pageable)
Get the events for a given project- Parameters:
project
- The project to get events forpageable
- The page description- Returns:
- A List of
ProjectEvent
s
-
getEventsForUser
org.springframework.data.domain.Page<ProjectEvent> getEventsForUser(User user, org.springframework.data.domain.Pageable pageable)
Get the events on all projects for a given user- Parameters:
user
- TheUser
to get events forpageable
- The page description.- Returns:
- A List of
ProjectEvent
s
-
getEventsForUserAfterDate
java.util.List<ProjectEvent> getEventsForUserAfterDate(User user, java.util.Date beginning)
Get a list of events for aUser
which occurred after the given date.- Parameters:
user
-User
to get events forbeginning
- Get events after this date- Returns:
- List of
ProjectEvent
-
getAllProjectsEvents
org.springframework.data.domain.Page<ProjectEvent> getAllProjectsEvents(org.springframework.data.domain.Pageable pageable)
Get a list of events for all projects- Parameters:
pageable
- The page description.- Returns:
- List of
ProjectEvent
-
-