You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2016/05/13 18:14:21 UTC
[39/50] [abbrv] isis git commit: ISIS-1370: cleaning up the API to
PublisherService,
renaming EnlistedObjectsService to ChangedObjectsService etc.
http://git-wip-us.apache.org/repos/asf/isis/blob/2a891828/core/schema/src/main/resources/org/apache/isis/schema/chg/chg-1.0.xsd
----------------------------------------------------------------------
diff --git a/core/schema/src/main/resources/org/apache/isis/schema/chg/chg-1.0.xsd b/core/schema/src/main/resources/org/apache/isis/schema/chg/chg-1.0.xsd
index 2d48016..e793d71 100644
--- a/core/schema/src/main/resources/org/apache/isis/schema/chg/chg-1.0.xsd
+++ b/core/schema/src/main/resources/org/apache/isis/schema/chg/chg-1.0.xsd
@@ -51,21 +51,9 @@
</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="created" type="com:oidsDto">
+ <xs:element name="completedAt" type="xs:dateTime" minOccurs="0" maxOccurs="1">
<xs:annotation>
- <xs:documentation>The list of objects created within the transaction.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="updated" type="com:oidsDto">
- <xs:annotation>
- <xs:documentation>The list of objects updated within the transaction.
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="deleted" type="com:oidsDto">
- <xs:annotation>
- <xs:documentation>The list of objects deleted within the transaction.
+ <xs:documentation>The point in time that these changes were completed.
</xs:documentation>
</xs:annotation>
</xs:element>
@@ -75,8 +63,35 @@
</xs:documentation>
</xs:annotation>
</xs:element>
+ <xs:element name="objects" type="objectsDto"/>
</xs:sequence>
</xs:complexType>
</xs:element>
+ <xs:complexType name="objectsDto">
+ <xs:annotation>
+ <xs:documentation>A set of changes to domain objects.</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="created" type="com:oidsDto">
+ <xs:annotation>
+ <xs:documentation>The list of objects created within the transaction.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="updated" type="com:oidsDto">
+ <xs:annotation>
+ <xs:documentation>The list of objects updated within the transaction.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="deleted" type="com:oidsDto">
+ <xs:annotation>
+ <xs:documentation>The list of objects deleted within the transaction.
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
</xs:schema>