agave-files/files-core/src/main/java/org/iplantc/service/io/manager/FileEventProcessor.java
/**
	 * Publishes a CONTENT_CHANGE event to the parent of a {@link FileEvent#getLogicalFile()}.
	 * This only fires for events satisfying {@link FileEventType#isContentChangeEvent()}
	 * 
	 * @param event
	 * @param json
	 */
Publishes a CONTENT_CHANGE event to the parent of a  FileEvent#getLogicalFile().
This only fires for events satisfying  FileEventType#isContentChangeEvent()

@param event
@param json
Publishes a CONTENT_CHANGE event to the parent of a FileEvent#getLogicalFile () . This only fires for events satisfying FileEventType#isContentChangeEvent () @param event @param json
private void fireParentNotification(FileEvent event, ObjectNode json) {
		if (FileEventType.isContentChangeEvent(event.getStatus()))
		{
            LogicalFile parent = null;
            try {
                parent = LogicalFileDao.findParent(event.getLogicalFile());
                if (parent != null) {
                    NotificationManager.process(parent.getUuid(), "CONTENT_CHANGE", event.getCreatedBy(), json.toString());
                }
            }
            catch (Throwable e) {
                log.error(String.format("Failed to send content change notification "
                        + "to for logical file %s to parent on %s event", 
                        event.getLogicalFile().getUuid(), event.getStatus()), e);
            }
		}
	}
private void fireParentNotification ( FileEvent event , ObjectNode json ) { if ( FileEventType . isContentChangeEvent ( event . getStatus ( ) ) ) { LogicalFile parent = null ; try { parent = LogicalFileDao . findParent ( event . getLogicalFile ( ) ) ; if ( parent != null ) { NotificationManager . process ( parent . getUuid ( ) , "CONTENT_CHANGE" , event . getCreatedBy ( ) , json . toString ( ) ) ; } } catch ( Throwable e ) { log . error ( String . format ( "Failed to send content change notification " + "to for logical file %s to parent on %s event" , event . getLogicalFile ( ) . getUuid ( ) , event . getStatus ( ) ) , e ) ; } } }
Publishes a CONTENT_CHANGE event to the parent of a {@link FileEvent#getLogicalFile()}.
Publishes a CONTENT_CHANGE event to the parent of a { @link FileEvent#getLogicalFile () } .
// notify parent of the changed content