Class NotificationContextImpl
java.lang.Object
org.exoplatform.commons.notification.impl.NotificationContextImpl
- All Implemented Interfaces:
Cloneable,org.exoplatform.commons.api.notification.NotificationContext
public final class NotificationContextImpl
extends Object
implements org.exoplatform.commons.api.notification.NotificationContext
-
Method Summary
Modifier and TypeMethodDescription<T> org.exoplatform.commons.api.notification.NotificationContextvoidclear()org.exoplatform.commons.api.notification.NotificationContextclone()static org.exoplatform.commons.api.notification.NotificationContextorg.exoplatform.commons.api.notification.channel.ChannelManager<T> TgetException(Class<T> type) org.exoplatform.commons.api.notification.command.NotificationExecutororg.exoplatform.commons.api.notification.model.NotificationInfoList<org.exoplatform.commons.api.notification.model.NotificationInfo>org.exoplatform.commons.api.notification.service.setting.PluginContainerorg.exoplatform.commons.api.notification.service.setting.PluginSettingServicebooleanisFailed()booleanorg.exoplatform.commons.api.notification.command.NotificationCommandmakeCommand(org.exoplatform.commons.api.notification.model.PluginKey key) <T> org.exoplatform.commons.api.notification.NotificationContextremove(org.exoplatform.commons.api.notification.model.ArgumentLiteral<T> argument) voidorg.exoplatform.commons.api.notification.NotificationContextsetNotificationInfo(org.exoplatform.commons.api.notification.model.NotificationInfo notification) voidsetNotificationInfos(List<org.exoplatform.commons.api.notification.model.NotificationInfo> notifications) voidsetWritingProcess(boolean writingStatus) <T> Tvalue(org.exoplatform.commons.api.notification.model.ArgumentLiteral<T> argument)
-
Method Details
-
cloneInstance
public static org.exoplatform.commons.api.notification.NotificationContext cloneInstance() -
getNotificationExecutor
public org.exoplatform.commons.api.notification.command.NotificationExecutor getNotificationExecutor()- Specified by:
getNotificationExecutorin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
getPluginContainer
public org.exoplatform.commons.api.notification.service.setting.PluginContainer getPluginContainer()- Specified by:
getPluginContainerin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
getChannelManager
public org.exoplatform.commons.api.notification.channel.ChannelManager getChannelManager()- Specified by:
getChannelManagerin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
getPluginSettingService
public org.exoplatform.commons.api.notification.service.setting.PluginSettingService getPluginSettingService()- Specified by:
getPluginSettingServicein interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
append
public <T> org.exoplatform.commons.api.notification.NotificationContext append(org.exoplatform.commons.api.notification.model.ArgumentLiteral<T> argument, Object value) - Specified by:
appendin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
remove
public <T> org.exoplatform.commons.api.notification.NotificationContext remove(org.exoplatform.commons.api.notification.model.ArgumentLiteral<T> argument) - Specified by:
removein interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
clear
public void clear()- Specified by:
clearin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
value
public <T> T value(org.exoplatform.commons.api.notification.model.ArgumentLiteral<T> argument) - Specified by:
valuein interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
getNotificationInfo
public org.exoplatform.commons.api.notification.model.NotificationInfo getNotificationInfo()- Specified by:
getNotificationInfoin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
setNotificationInfo
public org.exoplatform.commons.api.notification.NotificationContext setNotificationInfo(org.exoplatform.commons.api.notification.model.NotificationInfo notification) - Specified by:
setNotificationInfoin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
getException
- Specified by:
getExceptionin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
getException
- Specified by:
getExceptionin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
setException
- Specified by:
setExceptionin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
isFailed
public boolean isFailed()- Specified by:
isFailedin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
setNotificationInfos
public void setNotificationInfos(List<org.exoplatform.commons.api.notification.model.NotificationInfo> notifications) - Specified by:
setNotificationInfosin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
getNotificationInfos
- Specified by:
getNotificationInfosin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
makeCommand
public org.exoplatform.commons.api.notification.command.NotificationCommand makeCommand(org.exoplatform.commons.api.notification.model.PluginKey key) - Specified by:
makeCommandin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
clone
public org.exoplatform.commons.api.notification.NotificationContext clone() -
isWritingProcess
public boolean isWritingProcess()- Specified by:
isWritingProcessin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
setWritingProcess
public void setWritingProcess(boolean writingStatus) - Specified by:
setWritingProcessin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-