Package org.apache.ofbiz.service
Class ModelNotification
- java.lang.Object
-
- org.apache.ofbiz.service.ModelNotification
-
public class ModelNotification extends java.lang.Object
ModelNotification
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
java.lang.String
notificationEvent
java.lang.String
notificationGroupName
java.lang.String
notificationMode
-
Constructor Summary
Constructors Constructor Description ModelNotification()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
buildBcc()
java.lang.String
buildCc()
java.util.Map<java.lang.String,java.lang.Object>
buildContext(java.util.Map<java.lang.String,? extends java.lang.Object> context, java.util.Map<java.lang.String,java.lang.Object> result, ModelService model)
java.lang.String
buildFrom()
java.lang.String
buildTo()
void
callNotify(DispatchContext dctx, ModelService model, java.util.Map<java.lang.String,? extends java.lang.Object> context, java.util.Map<java.lang.String,java.lang.Object> result)
static NotificationGroup
getNotificationGroup(java.lang.String group)
java.lang.String
getScreen()
java.lang.String
getService()
java.lang.String
getSubject()
-
-
-
Method Detail
-
callNotify
public void callNotify(DispatchContext dctx, ModelService model, java.util.Map<java.lang.String,? extends java.lang.Object> context, java.util.Map<java.lang.String,java.lang.Object> result)
-
buildContext
public java.util.Map<java.lang.String,java.lang.Object> buildContext(java.util.Map<java.lang.String,? extends java.lang.Object> context, java.util.Map<java.lang.String,java.lang.Object> result, ModelService model) throws GenericServiceException
- Throws:
GenericServiceException
-
buildTo
public java.lang.String buildTo()
-
buildCc
public java.lang.String buildCc()
-
buildBcc
public java.lang.String buildBcc()
-
buildFrom
public java.lang.String buildFrom()
-
getSubject
public java.lang.String getSubject()
-
getScreen
public java.lang.String getScreen()
-
getService
public java.lang.String getService()
-
getNotificationGroup
public static NotificationGroup getNotificationGroup(java.lang.String group) throws GenericConfigException
- Throws:
GenericConfigException
-
-