chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fguilla...@apache.org
Subject svn commit: r934729 - /incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ChangeEvent.java
Date Fri, 16 Apr 2010 10:10:22 GMT
Author: fguillaume
Date: Fri Apr 16 10:10:21 2010
New Revision: 934729

URL: http://svn.apache.org/viewvc?rev=934729&view=rev
Log:
Refactor to get rid of duplicate DTOs (and their interfaces): ChangeEvent

Modified:
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ChangeEvent.java

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ChangeEvent.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ChangeEvent.java?rev=934729&r1=934728&r2=934729&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ChangeEvent.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-api/src/main/java/org/apache/chemistry/opencmis/client/api/ChangeEvent.java
Fri Apr 16 10:10:21 2010
@@ -20,29 +20,28 @@ package org.apache.chemistry.opencmis.cl
 
 import java.util.List;
 
+import org.apache.chemistry.opencmis.commons.api.ChangeEventInfoData;
 import org.apache.chemistry.opencmis.commons.enums.TypeOfChanges;
 
 /**
  * Change Event from the change log.
- * 
+ *
  * @see Session#getContentChanges(String, StringBuffer)
- * 
+ *
  *      See CMIS Domain Model - section 2.1.11.
  */
-public interface ChangeEvent {
-
-  String getObjectId();
+public interface ChangeEvent extends ChangeEventInfoData {
 
   /**
-   * Get the type of the change.
-   * 
-   * @return the type of change
+   * Gets the id of the object.
+   *
+   * @return the object ID
    */
-  TypeOfChanges getChangeType();
+  String getObjectId();
 
   /**
    * For change events with change type "updated": The list of properties now applied to
the object.
-   * 
+   *
    * @return the list with the new properties, might be {@code null}
    */
   List<Property<?>> getNewProperties();



Mime
View raw message