Package org.dspace.app.rest.model
Class SystemWideAlertRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<Integer>
-
- org.dspace.app.rest.model.SystemWideAlertRest
-
- All Implemented Interfaces:
Serializable,RestModel
public class SystemWideAlertRest extends BaseObjectRest<Integer>
This class serves as a REST representation for theSystemWideAlertclass- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringNAME-
Fields inherited from class org.dspace.app.rest.model.BaseObjectRest
id
-
Fields 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 Constructor Description SystemWideAlertRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetAlertId()StringgetAllowSessions()StringgetCategory()ClassgetController()DategetCountdownTo()IntegergetId()StringgetMessage()StringgetType()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, setId
-
Methods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
getType
public String getType()
-
getAlertId
public Integer getAlertId()
-
setAlertId
public void setAlertId(Integer alertID)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String message)
-
getAllowSessions
public String getAllowSessions()
-
setAllowSessions
public void setAllowSessions(String allowSessions)
-
getCountdownTo
public Date getCountdownTo()
-
setCountdownTo
public void setCountdownTo(Date countdownTo)
-
isActive
public boolean isActive()
-
setActive
public void setActive(boolean active)
-
getId
public Integer getId()
- Overrides:
getIdin classBaseObjectRest<Integer>
-
-