Package org.dspace.app.rest.model
Class SystemWideAlertRest
- All Implemented Interfaces:
Serializable,RestModel
This class serves as a REST representation for the
SystemWideAlert class- See Also:
-
Field Summary
FieldsFields inherited from class org.dspace.app.rest.model.BaseObjectRest
idFields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CORE, DISCOVER, EPERSON, INTEGRATION, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getType()booleanisActive()voidsetActive(boolean active) voidsetAlertId(Integer alertID) voidsetAllowSessions(String allowSessions) voidsetCountdownTo(Date countdownTo) voidsetMessage(String message) Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, setErrors, setIdMethods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
Field Details
-
NAME
- See Also:
-
CATEGORY
- See Also:
-
-
Constructor Details
-
SystemWideAlertRest
public SystemWideAlertRest()
-
-
Method Details
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getType
-
getAlertId
-
setAlertId
-
getMessage
-
setMessage
-
getAllowSessions
-
setAllowSessions
-
getCountdownTo
-
setCountdownTo
-
isActive
public boolean isActive() -
setActive
public void setActive(boolean active) -
getId
- Overrides:
getIdin classBaseObjectRest<Integer>
-