public final class AlertsReferenceCore 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 java.lang.String |
createFile(core.tut.pori.users.UserIdentity authenticatedUser,
java.io.InputStream file) |
static Alert |
generateAlert(core.tut.pori.http.parameters.DataGroups dataGroups) |
static AlertList |
generateAlertList(core.tut.pori.http.parameters.DataGroups dataGroups,
core.tut.pori.http.parameters.Limits limits) |
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,
Location location,
java.lang.Double range,
core.tut.pori.http.parameters.Limits limits) |
public static AlertList generateAlertList(core.tut.pori.http.parameters.DataGroups dataGroups, core.tut.pori.http.parameters.Limits limits)
dataGroups
- limits
- public static Alert generateAlert(core.tut.pori.http.parameters.DataGroups dataGroups)
dataGroups
- 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, Location location, java.lang.Double range, core.tut.pori.http.parameters.Limits limits)
alertGroupIdFilter
- alertTypeFilter
- authenticatedUser
- createdFilter
- dataGroups
- location
- range
- limits
- 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 inputpublic static java.lang.String createFile(core.tut.pori.users.UserIdentity authenticatedUser, java.io.InputStream file) throws java.lang.IllegalArgumentException
authenticatedUser
- file
- the contents of the file are simply iterated as raw byte data (all content is discarded)java.lang.IllegalArgumentException
- on bad dataCopyright © 2015-2018 Tampere University of Technology, Pori Department.