Class InboxNotification
- java.lang.Object
-
- com.adobe.acs.commons.notifications.InboxNotification
-
- All Implemented Interfaces:
Serializable
@ConsumerType public abstract class InboxNotification extends Object implements Serializable
Represents a Inbox Notification. This is a sub-set of attributes of the generic AEM Task object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InboxNotification()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract StringgetAssignee()abstract StringgetContentPath()abstract StringgetInstructions()abstract StringgetMessage()abstract String[]getNotificationActions()Gets the notification's actions.abstract StringgetTitle()abstract voidsetAssignee(String assignee)Sets the assignee.abstract voidsetContentPath(String contentPath)Sets the content path.abstract voidsetInstructions(String instructions)Sets the notification's instructions.abstract voidsetMessage(String message)Sets the message.abstract voidsetNotificationActions(String... notificationActions)Sets the notification's actions.abstract voidsetTitle(String title)Sets the notification title.
-
-
-
Method Detail
-
getTitle
public abstract String getTitle()
- Returns:
- the notification title.
-
setTitle
public abstract void setTitle(String title)
Sets the notification title.- Parameters:
title- the title
-
getContentPath
public abstract String getContentPath()
- Returns:
- the notifications associated content path.
-
setContentPath
public abstract void setContentPath(String contentPath)
Sets the content path.- Parameters:
contentPath- the content path
-
getAssignee
public abstract String getAssignee()
- Returns:
- the principal name of the notification recipient
-
setAssignee
public abstract void setAssignee(String assignee)
Sets the assignee.- Parameters:
assignee- the principal name of the notification recipient
-
getMessage
public abstract String getMessage()
- Returns:
- the notification message.
-
setMessage
public abstract void setMessage(String message)
Sets the message.- Parameters:
message- the message.
-
getNotificationActions
public abstract String[] getNotificationActions()
Gets the notification's actions.- Returns:
- the notification's actions.
-
setNotificationActions
public abstract void setNotificationActions(String... notificationActions)
Sets the notification's actions.- Parameters:
notificationActions- the notification's actions.
-
getInstructions
public abstract String getInstructions()
- Returns:
- the notification's instructions.
-
setInstructions
public abstract void setInstructions(String instructions)
Sets the notification's instructions.- Parameters:
instructions- the instructions.
-
-