1 22 package javax.xml.registry.infomodel; 23 24 import java.sql.Timestamp ; 25 import javax.xml.registry.JAXRException ; 26 27 31 public interface AuditableEvent 32 extends RegistryObject 33 { 34 public static final int EVENT_TYPE_CREATED=0; 35 public static final int EVENT_TYPE_DELETED=1; 36 public static final int EVENT_TYPE_DEPRECATED=2; 37 public static final int EVENT_TYPE_UNDEPRECATED=5; 38 public static final int EVENT_TYPE_UPDATED=3; 39 public static final int EVENT_TYPE_VERSIONED=4; 40 41 public int getEventType() throws JAXRException ; 42 public RegistryObject getRegistryObject() throws JAXRException ; 43 public Timestamp getTimestamp() throws JAXRException ; 44 public User getUser() throws JAXRException ; 45 } 46 | Popular Tags |