Uses of Enum Class
org.dspace.alerts.AllowSessionsEnum
Packages that use AllowSessionsEnum
-
Uses of AllowSessionsEnum in org.dspace.alerts
Methods in org.dspace.alerts that return AllowSessionsEnumModifier and TypeMethodDescriptionstatic AllowSessionsEnumAllowSessionsEnum.fromString(String alertAllowSessionType) SystemWideAlert.getAllowSessions()Retrieve what kind of sessions are allowed while the system-wide alert is activestatic AllowSessionsEnumReturns the enum constant of this class with the specified name.static AllowSessionsEnum[]AllowSessionsEnum.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.dspace.alerts with parameters of type AllowSessionsEnumModifier and TypeMethodDescriptionSystemWideAlertServiceImpl.create(Context context, String message, AllowSessionsEnum allowSessionsType, ZonedDateTime countdownTo, boolean active) voidSystemWideAlert.setAllowSessions(AllowSessionsEnum allowSessions) Set what kind of sessions are allowed while the system-wide alert is active -
Uses of AllowSessionsEnum in org.dspace.alerts.service
Methods in org.dspace.alerts.service with parameters of type AllowSessionsEnumModifier and TypeMethodDescriptionSystemWideAlertService.create(Context context, String message, AllowSessionsEnum allowSessionsType, ZonedDateTime countdownTo, boolean active) This method will create a SystemWideAlert object in the database