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, CONTENT_REPORT, CORE, DISCOVER, DUPLICATES, EPERSON, INTEGRATION, LDN, PID, 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(ZonedDateTime 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, setProjection
-
Field Details
-
NAME
- See Also:
-
PLURAL_NAME
- See Also:
-
CATEGORY
- See Also:
-
-
Constructor Details
-
SystemWideAlertRest
public SystemWideAlertRest()
-
-
Method Details
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getType
-
getTypePlural
-
getAlertId
-
setAlertId
-
getMessage
-
setMessage
-
getAllowSessions
-
setAllowSessions
-
getCountdownTo
-
setCountdownTo
-
isActive
public boolean isActive() -
setActive
public void setActive(boolean active) -
getId
- Overrides:
getIdin classBaseObjectRest<Integer>
-