Project

General

Profile

« Previous | Next » 

Revision 7877

Added by Jing Tao almost 11 years ago

Besides the getArchvied() method, the getObsoletedBy method was added to determine if the object is archvied or not.

View differences:

SystemMetadataEventListener.java
215 215
	        action = Event.CREATE.xmlValue();
216 216
            event.setAction(Event.CREATE);
217 217
	    }
218
	    else if(systemMetadata.getArchived()) {
218
	    else if(systemMetadata.getArchived() || systemMetadata.getObsoletedBy() != null) {
219 219
            action = Event.DELETE.xmlValue();
220 220
            event.setAction(Event.DELETE);
221 221
        } else {

Also available in: Unified diff