Class NotificationContextImpl
- java.lang.Object
-
- org.exoplatform.commons.notification.impl.NotificationContextImpl
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> org.exoplatform.commons.api.notification.NotificationContextappend(org.exoplatform.commons.api.notification.model.ArgumentLiteral<T> argument, Object value)voidclear()org.exoplatform.commons.api.notification.NotificationContextclone()static org.exoplatform.commons.api.notification.NotificationContextcloneInstance()org.exoplatform.commons.api.notification.channel.ChannelManagergetChannelManager()ExceptiongetException()<T> TgetException(Class<T> type)org.exoplatform.commons.api.notification.command.NotificationExecutorgetNotificationExecutor()org.exoplatform.commons.api.notification.model.NotificationInfogetNotificationInfo()List<org.exoplatform.commons.api.notification.model.NotificationInfo>getNotificationInfos()org.exoplatform.commons.api.notification.service.setting.PluginContainergetPluginContainer()org.exoplatform.commons.api.notification.service.setting.PluginSettingServicegetPluginSettingService()booleanisFailed()booleanisWritingProcess()org.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)voidsetException(Throwable t)org.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 Detail
-
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
public Exception getException()
- Specified by:
getExceptionin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
getException
public <T> T getException(Class<T> type)
- Specified by:
getExceptionin interfaceorg.exoplatform.commons.api.notification.NotificationContext
-
setException
public void setException(Throwable t)
- 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
public List<org.exoplatform.commons.api.notification.model.NotificationInfo> 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
-
-