Class Notification
- java.lang.Object
-
- com.adobe.cq.testing.client.notification.Notification
-
public class Notification extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Datedateprotected Stringidprotected booleanisReadprotected booleanisUserMessageprotected Stringmodificationstatic StringNOTIFICATION_COMMAND_APPROVEstatic StringNOTIFICATION_COMMAND_DELETEprotected Stringpathprotected Stringuser
-
Constructor Summary
Constructors Constructor Description Notification(CQClient client, String id, String modification, String path, Date date, boolean isRead, boolean isUserMessage, String user)Notification(com.fasterxml.jackson.databind.JsonNode jsonNotification)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)DategetDate()StringgetId()StringgetModification()StringgetPath()StringgetUser()inthashCode()booleanisRead()booleanisUserMessage()voidsetDate(Date date)voidsetId(String id)voidsetModification(String modification)voidsetPath(String path)voidsetRead(boolean isRead)voidsetUser(String user)voidsetUserMessage(boolean isUserMessage)
-
-
-
Field Detail
-
NOTIFICATION_COMMAND_APPROVE
public static final String NOTIFICATION_COMMAND_APPROVE
- See Also:
- Constant Field Values
-
NOTIFICATION_COMMAND_DELETE
public static final String NOTIFICATION_COMMAND_DELETE
- See Also:
- Constant Field Values
-
id
protected String id
-
modification
protected String modification
-
path
protected String path
-
date
protected Date date
-
isRead
protected boolean isRead
-
isUserMessage
protected boolean isUserMessage
-
user
protected String user
-
-
Method Detail
-
getId
public String getId()
- Returns:
- the id
-
setId
public void setId(String id)
- Parameters:
id- the id to set
-
getModification
public String getModification()
- Returns:
- the modification
-
setModification
public void setModification(String modification)
- Parameters:
modification- the modification to set
-
getPath
public String getPath()
- Returns:
- the path
-
setPath
public void setPath(String path)
- Parameters:
path- the path to set
-
getDate
public Date getDate()
- Returns:
- the date
-
setDate
public void setDate(Date date)
- Parameters:
date- the date to set
-
isRead
public boolean isRead()
- Returns:
- the isRead
-
setRead
public void setRead(boolean isRead)
- Parameters:
isRead- the isRead to set
-
isUserMessage
public boolean isUserMessage()
- Returns:
- the isUserMessage
-
setUserMessage
public void setUserMessage(boolean isUserMessage)
- Parameters:
isUserMessage- the isUserMessage to set
-
getUser
public String getUser()
- Returns:
- the user
-
setUser
public void setUser(String user)
- Parameters:
user- the user to set
-
-