Class NotificationImpl
java.lang.Object
ch.tocco.nice2.notificationcenter.impl.NotificationImpl
- All Implemented Interfaces:
Notification
- Direct Known Subclasses:
NotificationWithProgressImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.notificationcenter.api.Notification
Notification.NotificationType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PrimaryKeyprotected final NotificationServiceImplFields inherited from interface ch.tocco.nice2.notificationcenter.api.Notification
ACTION_NAME_KEY, CANCELLED_MESSAGE_KEY, FAILED_MESSAGE_KEY, FAILED_TITLE_KEY, FINISHED_MESSAGE_KEY, SCHEDULING_MESSAGE_KEY, STARTING_MESSAGE_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidamendMessage(String amendMessage) getKey()loadEntity(Context context) voidsetTaskExecution(String taskId) voidupdateMessage(String newMessage) voidvoidupdateResult(ResultBean result) voidupdateTitle(String newTitle)
-
Field Details
-
service
-
key
-
-
Constructor Details
-
NotificationImpl
-
-
Method Details
-
loadEntity
- Specified by:
loadEntityin interfaceNotification
-
updateTitle
- Specified by:
updateTitlein interfaceNotification
-
amendMessage
- Specified by:
amendMessagein interfaceNotification
-
updateMessage
- Specified by:
updateMessagein interfaceNotification
-
updateNotificationType
- Specified by:
updateNotificationTypein interfaceNotification
-
updateResult
- Specified by:
updateResultin interfaceNotification
-
setTaskExecution
- Specified by:
setTaskExecutionin interfaceNotification
-
getKey
- Specified by:
getKeyin interfaceNotification
-