public final class AlertsCore extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
addAlert(Alert alert,
long[] alertGroupIds,
core.tut.pori.users.UserIdentity authenticatedUser) |
static FileDetails |
createFile(java.io.InputStream file) |
static AlertList |
retrieveAlerts(long[] alertGroupIdFilter,
java.util.List<java.lang.String> alertTypeFilter,
core.tut.pori.users.UserIdentity authenticatedUser,
java.util.Set<core.tut.pori.http.parameters.DateIntervalParameter.Interval> createdFilter,
core.tut.pori.http.parameters.DataGroups dataGroups,
core.tut.pori.http.parameters.Limits limits,
Location location,
java.lang.Double range) |
public static AlertList retrieveAlerts(long[] alertGroupIdFilter, java.util.List<java.lang.String> alertTypeFilter, core.tut.pori.users.UserIdentity authenticatedUser, java.util.Set<core.tut.pori.http.parameters.DateIntervalParameter.Interval> createdFilter, core.tut.pori.http.parameters.DataGroups dataGroups, core.tut.pori.http.parameters.Limits limits, Location location, java.lang.Double range)
alertGroupIdFilter
- alertTypeFilter
- authenticatedUser
- createdFilter
- dataGroups
- limits
- location
- range
- public static java.lang.String addAlert(Alert alert, long[] alertGroupIds, core.tut.pori.users.UserIdentity authenticatedUser) throws java.lang.IllegalArgumentException
alert
- alertGroupIds
- authenticatedUser
- java.lang.IllegalArgumentException
- on bad input datapublic static FileDetails createFile(java.io.InputStream file) throws java.lang.IllegalArgumentException
file
- java.lang.IllegalArgumentException
- on bad dataCopyright © 2015-2018 Tampere University of Technology, Pori Department.