public class NotificationService extends Object implements com.edorasware.commons.core.util.service.Service
Constructor and Description |
---|
NotificationService() |
Modifier and Type | Method and Description |
---|---|
void |
documentUploaded(com.edorasware.commons.core.entity.WorkObjectId workObjectId,
String comment,
String filename) |
void |
init() |
static boolean |
isNotificationDisabled() |
void |
modelEdited(com.edorasware.commons.core.entity.WorkObjectId workObjectId,
String comment) |
void |
objectCreated(com.edorasware.commons.core.entity.WorkObjectId workObjectId,
String comment) |
void |
objectDeployed(com.edorasware.commons.core.entity.WorkObjectId workObjectId,
String comment) |
void |
objectDuplicated(com.edorasware.commons.core.entity.WorkObjectId workObjectId,
String sourceObjectName,
String comment) |
void |
objectEdited(com.edorasware.commons.core.entity.WorkObjectId workObjectId,
Set<com.edorasware.commons.core.field.FieldChange> fieldChanges,
boolean allowEmptyNotification,
String comment) |
void |
objectImported(com.edorasware.commons.core.entity.WorkObjectId workObjectId,
String comment) |
void |
objectMigrated(com.edorasware.commons.core.entity.WorkObjectId workObjectId,
String comment) |
void |
objectMoved(com.edorasware.commons.core.entity.WorkObjectId workObjectId,
String oldParentName,
String newParentName,
String comment) |
void |
objectStateChanged(com.edorasware.commons.core.entity.WorkObjectId workObjectId,
com.edorasware.commons.core.entity.State newState,
String comment) |
void |
placeholdersUpdated(com.edorasware.commons.core.entity.WorkObjectId workObjectId,
String comment) |
void |
processInterrupted(com.edorasware.commons.core.entity.WorkObjectId workObjectId,
String comment) |
static <T> T |
runWithNotificationDisabled(Callable<T> callable) |
static void |
runWithNotificationDisabled(Runnable runnable) |
void |
setListeners(List<NotificationListener> listeners) |
public void objectCreated(com.edorasware.commons.core.entity.WorkObjectId workObjectId, String comment)
public void objectStateChanged(com.edorasware.commons.core.entity.WorkObjectId workObjectId, com.edorasware.commons.core.entity.State newState, String comment)
public void objectImported(com.edorasware.commons.core.entity.WorkObjectId workObjectId, String comment)
public void objectDeployed(com.edorasware.commons.core.entity.WorkObjectId workObjectId, String comment)
public void documentUploaded(com.edorasware.commons.core.entity.WorkObjectId workObjectId, String comment, String filename)
public void processInterrupted(com.edorasware.commons.core.entity.WorkObjectId workObjectId, String comment)
public void modelEdited(com.edorasware.commons.core.entity.WorkObjectId workObjectId, String comment)
public void objectEdited(com.edorasware.commons.core.entity.WorkObjectId workObjectId, Set<com.edorasware.commons.core.field.FieldChange> fieldChanges, boolean allowEmptyNotification, String comment)
public void objectDuplicated(com.edorasware.commons.core.entity.WorkObjectId workObjectId, String sourceObjectName, String comment)
public void objectMoved(com.edorasware.commons.core.entity.WorkObjectId workObjectId, String oldParentName, String newParentName, String comment)
public void objectMigrated(com.edorasware.commons.core.entity.WorkObjectId workObjectId, String comment)
public void placeholdersUpdated(com.edorasware.commons.core.entity.WorkObjectId workObjectId, String comment)
public void setListeners(List<NotificationListener> listeners)
public void init()
init
in interface com.edorasware.commons.core.util.service.Service
public static void runWithNotificationDisabled(Runnable runnable)
public static <T> T runWithNotificationDisabled(Callable<T> callable) throws Exception
Exception
public static boolean isNotificationDisabled()
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.