You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by pa...@apache.org on 2008/12/22 17:37:38 UTC
svn commit: r728722 [5/8] - in /jackrabbit/sandbox/jcr-cmis/server/ws: ./
src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/
src/main/java/org/apache/jackrabbit/
src/main/java/org/apache/jackrabbit/cmis/ src/main/java/org/apache...
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumPropertiesPolicy.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumPropertiesPolicy.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumPropertiesPolicy.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumPropertiesPolicy.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,75 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for enumPropertiesPolicy.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="enumPropertiesPolicy">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="ObjectId"/>
+ * <enumeration value="Uri"/>
+ * <enumeration value="ObjectTypeId"/>
+ * <enumeration value="CreatedBy"/>
+ * <enumeration value="CreationDate"/>
+ * <enumeration value="LastModifiedBy"/>
+ * <enumeration value="LastModificationDate"/>
+ * <enumeration value="ChangeToken"/>
+ * <enumeration value="PolicyName"/>
+ * <enumeration value="PolicyText"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "enumPropertiesPolicy")
+@XmlEnum
+public enum EnumPropertiesPolicy {
+
+ @XmlEnumValue("ObjectId")
+ OBJECT_ID("ObjectId"),
+ @XmlEnumValue("Uri")
+ URI("Uri"),
+ @XmlEnumValue("ObjectTypeId")
+ OBJECT_TYPE_ID("ObjectTypeId"),
+ @XmlEnumValue("CreatedBy")
+ CREATED_BY("CreatedBy"),
+ @XmlEnumValue("CreationDate")
+ CREATION_DATE("CreationDate"),
+ @XmlEnumValue("LastModifiedBy")
+ LAST_MODIFIED_BY("LastModifiedBy"),
+ @XmlEnumValue("LastModificationDate")
+ LAST_MODIFICATION_DATE("LastModificationDate"),
+ @XmlEnumValue("ChangeToken")
+ CHANGE_TOKEN("ChangeToken"),
+ @XmlEnumValue("PolicyName")
+ POLICY_NAME("PolicyName"),
+ @XmlEnumValue("PolicyText")
+ POLICY_TEXT("PolicyText");
+ private final String value;
+
+ EnumPropertiesPolicy(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EnumPropertiesPolicy fromValue(String v) {
+ for (EnumPropertiesPolicy c: EnumPropertiesPolicy.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumPropertiesRelationship.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumPropertiesRelationship.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumPropertiesRelationship.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumPropertiesRelationship.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,75 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for enumPropertiesRelationship.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="enumPropertiesRelationship">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="ObjectId"/>
+ * <enumeration value="Uri"/>
+ * <enumeration value="ObjectTypeId"/>
+ * <enumeration value="CreatedBy"/>
+ * <enumeration value="CreationDate"/>
+ * <enumeration value="LastModifiedBy"/>
+ * <enumeration value="LastModificationDate"/>
+ * <enumeration value="ChangeToken"/>
+ * <enumeration value="SourceId"/>
+ * <enumeration value="TargetId"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "enumPropertiesRelationship")
+@XmlEnum
+public enum EnumPropertiesRelationship {
+
+ @XmlEnumValue("ObjectId")
+ OBJECT_ID("ObjectId"),
+ @XmlEnumValue("Uri")
+ URI("Uri"),
+ @XmlEnumValue("ObjectTypeId")
+ OBJECT_TYPE_ID("ObjectTypeId"),
+ @XmlEnumValue("CreatedBy")
+ CREATED_BY("CreatedBy"),
+ @XmlEnumValue("CreationDate")
+ CREATION_DATE("CreationDate"),
+ @XmlEnumValue("LastModifiedBy")
+ LAST_MODIFIED_BY("LastModifiedBy"),
+ @XmlEnumValue("LastModificationDate")
+ LAST_MODIFICATION_DATE("LastModificationDate"),
+ @XmlEnumValue("ChangeToken")
+ CHANGE_TOKEN("ChangeToken"),
+ @XmlEnumValue("SourceId")
+ SOURCE_ID("SourceId"),
+ @XmlEnumValue("TargetId")
+ TARGET_ID("TargetId");
+ private final String value;
+
+ EnumPropertiesRelationship(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EnumPropertiesRelationship fromValue(String v) {
+ for (EnumPropertiesRelationship c: EnumPropertiesRelationship.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumPropertyType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumPropertyType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumPropertyType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumPropertyType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,72 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for enumPropertyType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="enumPropertyType">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="boolean"/>
+ * <enumeration value="id"/>
+ * <enumeration value="integer"/>
+ * <enumeration value="datetime"/>
+ * <enumeration value="decimal"/>
+ * <enumeration value="html"/>
+ * <enumeration value="string"/>
+ * <enumeration value="uri"/>
+ * <enumeration value="xml"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "enumPropertyType")
+@XmlEnum
+public enum EnumPropertyType {
+
+ @XmlEnumValue("boolean")
+ BOOLEAN("boolean"),
+ @XmlEnumValue("id")
+ ID("id"),
+ @XmlEnumValue("integer")
+ INTEGER("integer"),
+ @XmlEnumValue("datetime")
+ DATETIME("datetime"),
+ @XmlEnumValue("decimal")
+ DECIMAL("decimal"),
+ @XmlEnumValue("html")
+ HTML("html"),
+ @XmlEnumValue("string")
+ STRING("string"),
+ @XmlEnumValue("uri")
+ URI("uri"),
+ @XmlEnumValue("xml")
+ XML("xml");
+ private final String value;
+
+ EnumPropertyType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EnumPropertyType fromValue(String v) {
+ for (EnumPropertyType c: EnumPropertyType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRelationshipDirection.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRelationshipDirection.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRelationshipDirection.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRelationshipDirection.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,54 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for enumRelationshipDirection.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="enumRelationshipDirection">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="source"/>
+ * <enumeration value="target"/>
+ * <enumeration value="both"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "enumRelationshipDirection")
+@XmlEnum
+public enum EnumRelationshipDirection {
+
+ @XmlEnumValue("source")
+ SOURCE("source"),
+ @XmlEnumValue("target")
+ TARGET("target"),
+ @XmlEnumValue("both")
+ BOTH("both");
+ private final String value;
+
+ EnumRelationshipDirection(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EnumRelationshipDirection fromValue(String v) {
+ for (EnumRelationshipDirection c: EnumRelationshipDirection.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRepositoryRelationship.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRepositoryRelationship.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRepositoryRelationship.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRepositoryRelationship.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,63 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for enumRepositoryRelationship.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="enumRepositoryRelationship">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="self"/>
+ * <enumeration value="replica"/>
+ * <enumeration value="peer"/>
+ * <enumeration value="parent"/>
+ * <enumeration value="child"/>
+ * <enumeration value="archive"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "enumRepositoryRelationship")
+@XmlEnum
+public enum EnumRepositoryRelationship {
+
+ @XmlEnumValue("self")
+ SELF("self"),
+ @XmlEnumValue("replica")
+ REPLICA("replica"),
+ @XmlEnumValue("peer")
+ PEER("peer"),
+ @XmlEnumValue("parent")
+ PARENT("parent"),
+ @XmlEnumValue("child")
+ CHILD("child"),
+ @XmlEnumValue("archive")
+ ARCHIVE("archive");
+ private final String value;
+
+ EnumRepositoryRelationship(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EnumRepositoryRelationship fromValue(String v) {
+ for (EnumRepositoryRelationship c: EnumRepositoryRelationship.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRestArguments.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRestArguments.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRestArguments.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRestArguments.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,120 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for enumRestArguments.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="enumRestArguments">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="childTypes"/>
+ * <enumeration value="continueOnFailure"/>
+ * <enumeration value="depth"/>
+ * <enumeration value="direction"/>
+ * <enumeration value="filter"/>
+ * <enumeration value="folderByPath"/>
+ * <enumeration value="includeAllowableActions"/>
+ * <enumeration value="includePropertyDefinitions"/>
+ * <enumeration value="includeRelationships"/>
+ * <enumeration value="includeSubrelationshipTypes"/>
+ * <enumeration value="length"/>
+ * <enumeration value="majorVersion"/>
+ * <enumeration value="maxItems"/>
+ * <enumeration value="offset"/>
+ * <enumeration value="removeFrom"/>
+ * <enumeration value="relationshipType"/>
+ * <enumeration value="repositoryId"/>
+ * <enumeration value="returnToRoot"/>
+ * <enumeration value="returnVersion"/>
+ * <enumeration value="skipCount"/>
+ * <enumeration value="thisVersion"/>
+ * <enumeration value="typeId"/>
+ * <enumeration value="types"/>
+ * <enumeration value="unfileMultiFiledDocuments"/>
+ * <enumeration value="versioningState"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "enumRestArguments")
+@XmlEnum
+public enum EnumRestArguments {
+
+ @XmlEnumValue("childTypes")
+ CHILD_TYPES("childTypes"),
+ @XmlEnumValue("continueOnFailure")
+ CONTINUE_ON_FAILURE("continueOnFailure"),
+ @XmlEnumValue("depth")
+ DEPTH("depth"),
+ @XmlEnumValue("direction")
+ DIRECTION("direction"),
+ @XmlEnumValue("filter")
+ FILTER("filter"),
+ @XmlEnumValue("folderByPath")
+ FOLDER_BY_PATH("folderByPath"),
+ @XmlEnumValue("includeAllowableActions")
+ INCLUDE_ALLOWABLE_ACTIONS("includeAllowableActions"),
+ @XmlEnumValue("includePropertyDefinitions")
+ INCLUDE_PROPERTY_DEFINITIONS("includePropertyDefinitions"),
+ @XmlEnumValue("includeRelationships")
+ INCLUDE_RELATIONSHIPS("includeRelationships"),
+ @XmlEnumValue("includeSubrelationshipTypes")
+ INCLUDE_SUBRELATIONSHIP_TYPES("includeSubrelationshipTypes"),
+ @XmlEnumValue("length")
+ LENGTH("length"),
+ @XmlEnumValue("majorVersion")
+ MAJOR_VERSION("majorVersion"),
+ @XmlEnumValue("maxItems")
+ MAX_ITEMS("maxItems"),
+ @XmlEnumValue("offset")
+ OFFSET("offset"),
+ @XmlEnumValue("removeFrom")
+ REMOVE_FROM("removeFrom"),
+ @XmlEnumValue("relationshipType")
+ RELATIONSHIP_TYPE("relationshipType"),
+ @XmlEnumValue("repositoryId")
+ REPOSITORY_ID("repositoryId"),
+ @XmlEnumValue("returnToRoot")
+ RETURN_TO_ROOT("returnToRoot"),
+ @XmlEnumValue("returnVersion")
+ RETURN_VERSION("returnVersion"),
+ @XmlEnumValue("skipCount")
+ SKIP_COUNT("skipCount"),
+ @XmlEnumValue("thisVersion")
+ THIS_VERSION("thisVersion"),
+ @XmlEnumValue("typeId")
+ TYPE_ID("typeId"),
+ @XmlEnumValue("types")
+ TYPES("types"),
+ @XmlEnumValue("unfileMultiFiledDocuments")
+ UNFILE_MULTI_FILED_DOCUMENTS("unfileMultiFiledDocuments"),
+ @XmlEnumValue("versioningState")
+ VERSIONING_STATE("versioningState");
+ private final String value;
+
+ EnumRestArguments(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EnumRestArguments fromValue(String v) {
+ for (EnumRestArguments c: EnumRestArguments.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRestOutputHeaders.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRestOutputHeaders.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRestOutputHeaders.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumRestOutputHeaders.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,48 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for enumRestOutputHeaders.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="enumRestOutputHeaders">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="contentCopied"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "enumRestOutputHeaders")
+@XmlEnum
+public enum EnumRestOutputHeaders {
+
+ @XmlEnumValue("contentCopied")
+ CONTENT_COPIED("contentCopied");
+ private final String value;
+
+ EnumRestOutputHeaders(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EnumRestOutputHeaders fromValue(String v) {
+ for (EnumRestOutputHeaders c: EnumRestOutputHeaders.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumReturnVersion.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumReturnVersion.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumReturnVersion.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumReturnVersion.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,54 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for enumReturnVersion.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="enumReturnVersion">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="this"/>
+ * <enumeration value="latest"/>
+ * <enumeration value="latestmajor"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "enumReturnVersion")
+@XmlEnum
+public enum EnumReturnVersion {
+
+ @XmlEnumValue("this")
+ THIS("this"),
+ @XmlEnumValue("latest")
+ LATEST("latest"),
+ @XmlEnumValue("latestmajor")
+ LATESTMAJOR("latestmajor");
+ private final String value;
+
+ EnumReturnVersion(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EnumReturnVersion fromValue(String v) {
+ for (EnumReturnVersion c: EnumReturnVersion.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumTypesOfFileableObjects.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumTypesOfFileableObjects.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumTypesOfFileableObjects.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumTypesOfFileableObjects.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,57 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for enumTypesOfFileableObjects.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="enumTypesOfFileableObjects">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="documents"/>
+ * <enumeration value="folders"/>
+ * <enumeration value="policies"/>
+ * <enumeration value="any"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "enumTypesOfFileableObjects")
+@XmlEnum
+public enum EnumTypesOfFileableObjects {
+
+ @XmlEnumValue("documents")
+ DOCUMENTS("documents"),
+ @XmlEnumValue("folders")
+ FOLDERS("folders"),
+ @XmlEnumValue("policies")
+ POLICIES("policies"),
+ @XmlEnumValue("any")
+ ANY("any");
+ private final String value;
+
+ EnumTypesOfFileableObjects(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EnumTypesOfFileableObjects fromValue(String v) {
+ for (EnumTypesOfFileableObjects c: EnumTypesOfFileableObjects.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumUnfileNonfolderObjects.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumUnfileNonfolderObjects.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumUnfileNonfolderObjects.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumUnfileNonfolderObjects.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,54 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for enumUnfileNonfolderObjects.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="enumUnfileNonfolderObjects">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="unfile"/>
+ * <enumeration value="deletesinglefiled"/>
+ * <enumeration value="delete"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "enumUnfileNonfolderObjects")
+@XmlEnum
+public enum EnumUnfileNonfolderObjects {
+
+ @XmlEnumValue("unfile")
+ UNFILE("unfile"),
+ @XmlEnumValue("deletesinglefiled")
+ DELETESINGLEFILED("deletesinglefiled"),
+ @XmlEnumValue("delete")
+ DELETE("delete");
+ private final String value;
+
+ EnumUnfileNonfolderObjects(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EnumUnfileNonfolderObjects fromValue(String v) {
+ for (EnumUnfileNonfolderObjects c: EnumUnfileNonfolderObjects.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumUpdateability.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumUpdateability.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumUpdateability.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumUpdateability.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,54 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for enumUpdateability.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="enumUpdateability">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="readonly"/>
+ * <enumeration value="readwrite"/>
+ * <enumeration value="whencheckedout"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "enumUpdateability")
+@XmlEnum
+public enum EnumUpdateability {
+
+ @XmlEnumValue("readonly")
+ READONLY("readonly"),
+ @XmlEnumValue("readwrite")
+ READWRITE("readwrite"),
+ @XmlEnumValue("whencheckedout")
+ WHENCHECKEDOUT("whencheckedout");
+ private final String value;
+
+ EnumUpdateability(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EnumUpdateability fromValue(String v) {
+ for (EnumUpdateability c: EnumUpdateability.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumVersioningState.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumVersioningState.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumVersioningState.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/EnumVersioningState.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,54 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for enumVersioningState.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * <simpleType name="enumVersioningState">
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * <enumeration value="checkedout"/>
+ * <enumeration value="minor"/>
+ * <enumeration value="major"/>
+ * </restriction>
+ * </simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "enumVersioningState")
+@XmlEnum
+public enum EnumVersioningState {
+
+ @XmlEnumValue("checkedout")
+ CHECKEDOUT("checkedout"),
+ @XmlEnumValue("minor")
+ MINOR("minor"),
+ @XmlEnumValue("major")
+ MAJOR("major");
+ private final String value;
+
+ EnumVersioningState(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static EnumVersioningState fromValue(String v) {
+ for (EnumVersioningState c: EnumVersioningState.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/FilterNotValidExceptionType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/FilterNotValidExceptionType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/FilterNotValidExceptionType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/FilterNotValidExceptionType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,32 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for filterNotValidExceptionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="filterNotValidExceptionType">
+ * <complexContent>
+ * <extension base="{http://www.cmis.org/2008/05}cmisFaultType">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "filterNotValidExceptionType")
+public class FilterNotValidExceptionType
+ extends CmisFaultType
+{
+
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/FolderNotValidExceptionType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/FolderNotValidExceptionType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/FolderNotValidExceptionType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/FolderNotValidExceptionType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,32 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for folderNotValidExceptionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="folderNotValidExceptionType">
+ * <complexContent>
+ * <extension base="{http://www.cmis.org/2008/05}cmisFaultType">
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "folderNotValidExceptionType")
+public class FolderNotValidExceptionType
+ extends CmisFaultType
+{
+
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllVersions.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllVersions.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllVersions.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllVersions.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,178 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="versionSeriesId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="includeRelationships" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "repositoryId",
+ "versionSeriesId",
+ "filter",
+ "includeAllowableActions",
+ "includeRelationships"
+})
+@XmlRootElement(name = "getAllVersions")
+public class GetAllVersions {
+
+ @XmlElement(required = true)
+ protected String repositoryId;
+ @XmlElement(required = true)
+ protected String versionSeriesId;
+ @XmlElementRef(name = "filter", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<String> filter;
+ @XmlElementRef(name = "includeAllowableActions", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<Boolean> includeAllowableActions;
+ @XmlElementRef(name = "includeRelationships", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<Boolean> includeRelationships;
+
+ /**
+ * Gets the value of the repositoryId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepositoryId() {
+ return repositoryId;
+ }
+
+ /**
+ * Sets the value of the repositoryId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepositoryId(String value) {
+ this.repositoryId = value;
+ }
+
+ /**
+ * Gets the value of the versionSeriesId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVersionSeriesId() {
+ return versionSeriesId;
+ }
+
+ /**
+ * Sets the value of the versionSeriesId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVersionSeriesId(String value) {
+ this.versionSeriesId = value;
+ }
+
+ /**
+ * Gets the value of the filter property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getFilter() {
+ return filter;
+ }
+
+ /**
+ * Sets the value of the filter property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setFilter(JAXBElement<String> value) {
+ this.filter = ((JAXBElement<String> ) value);
+ }
+
+ /**
+ * Gets the value of the includeAllowableActions property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public JAXBElement<Boolean> getIncludeAllowableActions() {
+ return includeAllowableActions;
+ }
+
+ /**
+ * Sets the value of the includeAllowableActions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public void setIncludeAllowableActions(JAXBElement<Boolean> value) {
+ this.includeAllowableActions = ((JAXBElement<Boolean> ) value);
+ }
+
+ /**
+ * Gets the value of the includeRelationships property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public JAXBElement<Boolean> getIncludeRelationships() {
+ return includeRelationships;
+ }
+
+ /**
+ * Sets the value of the includeRelationships property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public void setIncludeRelationships(JAXBElement<Boolean> value) {
+ this.includeRelationships = ((JAXBElement<Boolean> ) value);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllVersionsResponse.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllVersionsResponse.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllVersionsResponse.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllVersionsResponse.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,69 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.cmis.org/2008/05}object" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "object"
+})
+@XmlRootElement(name = "getAllVersionsResponse")
+public class GetAllVersionsResponse {
+
+ protected List<CmisObjectType> object;
+
+ /**
+ * Gets the value of the object property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the object property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getObject().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link CmisObjectType }
+ *
+ *
+ */
+ public List<CmisObjectType> getObject() {
+ if (object == null) {
+ object = new ArrayList<CmisObjectType>();
+ }
+ return this.object;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllowableActions.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllowableActions.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllowableActions.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllowableActions.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,92 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "repositoryId",
+ "objectId"
+})
+@XmlRootElement(name = "getAllowableActions")
+public class GetAllowableActions {
+
+ @XmlElement(required = true)
+ protected String repositoryId;
+ @XmlElement(required = true)
+ protected String objectId;
+
+ /**
+ * Gets the value of the repositoryId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepositoryId() {
+ return repositoryId;
+ }
+
+ /**
+ * Sets the value of the repositoryId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepositoryId(String value) {
+ this.repositoryId = value;
+ }
+
+ /**
+ * Gets the value of the objectId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getObjectId() {
+ return objectId;
+ }
+
+ /**
+ * Sets the value of the objectId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setObjectId(String value) {
+ this.objectId = value;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllowableActionsResponse.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllowableActionsResponse.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllowableActionsResponse.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAllowableActionsResponse.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,64 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="allowableActions" type="{http://www.cmis.org/2008/05}cmisAllowableActionsType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "allowableActions"
+})
+@XmlRootElement(name = "getAllowableActionsResponse")
+public class GetAllowableActionsResponse {
+
+ @XmlElement(required = true)
+ protected CmisAllowableActionsType allowableActions;
+
+ /**
+ * Gets the value of the allowableActions property.
+ *
+ * @return
+ * possible object is
+ * {@link CmisAllowableActionsType }
+ *
+ */
+ public CmisAllowableActionsType getAllowableActions() {
+ return allowableActions;
+ }
+
+ /**
+ * Sets the value of the allowableActions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CmisAllowableActionsType }
+ *
+ */
+ public void setAllowableActions(CmisAllowableActionsType value) {
+ this.allowableActions = value;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAppliedPolicies.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAppliedPolicies.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAppliedPolicies.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAppliedPolicies.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,122 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "repositoryId",
+ "objectId",
+ "filter"
+})
+@XmlRootElement(name = "getAppliedPolicies")
+public class GetAppliedPolicies {
+
+ @XmlElement(required = true)
+ protected String repositoryId;
+ @XmlElement(required = true)
+ protected String objectId;
+ @XmlElementRef(name = "filter", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<String> filter;
+
+ /**
+ * Gets the value of the repositoryId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepositoryId() {
+ return repositoryId;
+ }
+
+ /**
+ * Sets the value of the repositoryId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepositoryId(String value) {
+ this.repositoryId = value;
+ }
+
+ /**
+ * Gets the value of the objectId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getObjectId() {
+ return objectId;
+ }
+
+ /**
+ * Sets the value of the objectId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setObjectId(String value) {
+ this.objectId = value;
+ }
+
+ /**
+ * Gets the value of the filter property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getFilter() {
+ return filter;
+ }
+
+ /**
+ * Sets the value of the filter property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setFilter(JAXBElement<String> value) {
+ this.filter = ((JAXBElement<String> ) value);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAppliedPoliciesResponse.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAppliedPoliciesResponse.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAppliedPoliciesResponse.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetAppliedPoliciesResponse.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,69 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.cmis.org/2008/05}object" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "object"
+})
+@XmlRootElement(name = "getAppliedPoliciesResponse")
+public class GetAppliedPoliciesResponse {
+
+ protected List<CmisObjectType> object;
+
+ /**
+ * Gets the value of the object property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the object property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getObject().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link CmisObjectType }
+ *
+ *
+ */
+ public List<CmisObjectType> getObject() {
+ if (object == null) {
+ object = new ArrayList<CmisObjectType>();
+ }
+ return this.object;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetCheckedoutDocs.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetCheckedoutDocs.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetCheckedoutDocs.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetCheckedoutDocs.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,235 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.math.BigInteger;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="folderID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="includeRelationships" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="maxItems" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ * <element name="skipCount" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "repositoryId",
+ "folderID",
+ "filter",
+ "includeAllowableActions",
+ "includeRelationships",
+ "maxItems",
+ "skipCount"
+})
+@XmlRootElement(name = "getCheckedoutDocs")
+public class GetCheckedoutDocs {
+
+ @XmlElement(required = true)
+ protected String repositoryId;
+ @XmlElementRef(name = "folderID", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<String> folderID;
+ @XmlElementRef(name = "filter", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<String> filter;
+ @XmlElementRef(name = "includeAllowableActions", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<Boolean> includeAllowableActions;
+ @XmlElementRef(name = "includeRelationships", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<Boolean> includeRelationships;
+ @XmlElementRef(name = "maxItems", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<BigInteger> maxItems;
+ @XmlElementRef(name = "skipCount", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<BigInteger> skipCount;
+
+ /**
+ * Gets the value of the repositoryId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepositoryId() {
+ return repositoryId;
+ }
+
+ /**
+ * Sets the value of the repositoryId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepositoryId(String value) {
+ this.repositoryId = value;
+ }
+
+ /**
+ * Gets the value of the folderID property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getFolderID() {
+ return folderID;
+ }
+
+ /**
+ * Sets the value of the folderID property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setFolderID(JAXBElement<String> value) {
+ this.folderID = ((JAXBElement<String> ) value);
+ }
+
+ /**
+ * Gets the value of the filter property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getFilter() {
+ return filter;
+ }
+
+ /**
+ * Sets the value of the filter property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setFilter(JAXBElement<String> value) {
+ this.filter = ((JAXBElement<String> ) value);
+ }
+
+ /**
+ * Gets the value of the includeAllowableActions property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public JAXBElement<Boolean> getIncludeAllowableActions() {
+ return includeAllowableActions;
+ }
+
+ /**
+ * Sets the value of the includeAllowableActions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public void setIncludeAllowableActions(JAXBElement<Boolean> value) {
+ this.includeAllowableActions = ((JAXBElement<Boolean> ) value);
+ }
+
+ /**
+ * Gets the value of the includeRelationships property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public JAXBElement<Boolean> getIncludeRelationships() {
+ return includeRelationships;
+ }
+
+ /**
+ * Sets the value of the includeRelationships property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public void setIncludeRelationships(JAXBElement<Boolean> value) {
+ this.includeRelationships = ((JAXBElement<Boolean> ) value);
+ }
+
+ /**
+ * Gets the value of the maxItems property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
+ *
+ */
+ public JAXBElement<BigInteger> getMaxItems() {
+ return maxItems;
+ }
+
+ /**
+ * Sets the value of the maxItems property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
+ *
+ */
+ public void setMaxItems(JAXBElement<BigInteger> value) {
+ this.maxItems = ((JAXBElement<BigInteger> ) value);
+ }
+
+ /**
+ * Gets the value of the skipCount property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
+ *
+ */
+ public JAXBElement<BigInteger> getSkipCount() {
+ return skipCount;
+ }
+
+ /**
+ * Sets the value of the skipCount property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
+ *
+ */
+ public void setSkipCount(JAXBElement<BigInteger> value) {
+ this.skipCount = ((JAXBElement<BigInteger> ) value);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetCheckedoutDocsResponse.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetCheckedoutDocsResponse.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetCheckedoutDocsResponse.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetCheckedoutDocsResponse.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,88 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.cmis.org/2008/05}object" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="hasMoreItems" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "object",
+ "hasMoreItems"
+})
+@XmlRootElement(name = "getCheckedoutDocsResponse")
+public class GetCheckedoutDocsResponse {
+
+ protected List<CmisObjectType> object;
+ protected boolean hasMoreItems;
+
+ /**
+ * Gets the value of the object property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the object property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getObject().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link CmisObjectType }
+ *
+ *
+ */
+ public List<CmisObjectType> getObject() {
+ if (object == null) {
+ object = new ArrayList<CmisObjectType>();
+ }
+ return this.object;
+ }
+
+ /**
+ * Gets the value of the hasMoreItems property.
+ *
+ */
+ public boolean isHasMoreItems() {
+ return hasMoreItems;
+ }
+
+ /**
+ * Sets the value of the hasMoreItems property.
+ *
+ */
+ public void setHasMoreItems(boolean value) {
+ this.hasMoreItems = value;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetChildren.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetChildren.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetChildren.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetChildren.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,263 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.math.BigInteger;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="type" type="{http://www.cmis.org/2008/05}enumTypesOfFileableObjects" minOccurs="0"/>
+ * <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="includeRelationships" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="maxItems" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ * <element name="skipCount" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "repositoryId",
+ "folderId",
+ "type",
+ "filter",
+ "includeAllowableActions",
+ "includeRelationships",
+ "maxItems",
+ "skipCount"
+})
+@XmlRootElement(name = "getChildren")
+public class GetChildren {
+
+ @XmlElement(required = true)
+ protected String repositoryId;
+ @XmlElement(required = true)
+ protected String folderId;
+ @XmlElementRef(name = "type", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<EnumTypesOfFileableObjects> type;
+ @XmlElementRef(name = "filter", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<String> filter;
+ @XmlElementRef(name = "includeAllowableActions", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<Boolean> includeAllowableActions;
+ @XmlElementRef(name = "includeRelationships", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<Boolean> includeRelationships;
+ @XmlElementRef(name = "maxItems", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<BigInteger> maxItems;
+ @XmlElementRef(name = "skipCount", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<BigInteger> skipCount;
+
+ /**
+ * Gets the value of the repositoryId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepositoryId() {
+ return repositoryId;
+ }
+
+ /**
+ * Sets the value of the repositoryId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepositoryId(String value) {
+ this.repositoryId = value;
+ }
+
+ /**
+ * Gets the value of the folderId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFolderId() {
+ return folderId;
+ }
+
+ /**
+ * Sets the value of the folderId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFolderId(String value) {
+ this.folderId = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link EnumTypesOfFileableObjects }{@code >}
+ *
+ */
+ public JAXBElement<EnumTypesOfFileableObjects> getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link EnumTypesOfFileableObjects }{@code >}
+ *
+ */
+ public void setType(JAXBElement<EnumTypesOfFileableObjects> value) {
+ this.type = ((JAXBElement<EnumTypesOfFileableObjects> ) value);
+ }
+
+ /**
+ * Gets the value of the filter property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getFilter() {
+ return filter;
+ }
+
+ /**
+ * Sets the value of the filter property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setFilter(JAXBElement<String> value) {
+ this.filter = ((JAXBElement<String> ) value);
+ }
+
+ /**
+ * Gets the value of the includeAllowableActions property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public JAXBElement<Boolean> getIncludeAllowableActions() {
+ return includeAllowableActions;
+ }
+
+ /**
+ * Sets the value of the includeAllowableActions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public void setIncludeAllowableActions(JAXBElement<Boolean> value) {
+ this.includeAllowableActions = ((JAXBElement<Boolean> ) value);
+ }
+
+ /**
+ * Gets the value of the includeRelationships property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public JAXBElement<Boolean> getIncludeRelationships() {
+ return includeRelationships;
+ }
+
+ /**
+ * Sets the value of the includeRelationships property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public void setIncludeRelationships(JAXBElement<Boolean> value) {
+ this.includeRelationships = ((JAXBElement<Boolean> ) value);
+ }
+
+ /**
+ * Gets the value of the maxItems property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
+ *
+ */
+ public JAXBElement<BigInteger> getMaxItems() {
+ return maxItems;
+ }
+
+ /**
+ * Sets the value of the maxItems property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
+ *
+ */
+ public void setMaxItems(JAXBElement<BigInteger> value) {
+ this.maxItems = ((JAXBElement<BigInteger> ) value);
+ }
+
+ /**
+ * Gets the value of the skipCount property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
+ *
+ */
+ public JAXBElement<BigInteger> getSkipCount() {
+ return skipCount;
+ }
+
+ /**
+ * Sets the value of the skipCount property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
+ *
+ */
+ public void setSkipCount(JAXBElement<BigInteger> value) {
+ this.skipCount = ((JAXBElement<BigInteger> ) value);
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetChildrenResponse.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetChildrenResponse.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetChildrenResponse.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetChildrenResponse.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,88 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element ref="{http://www.cmis.org/2008/05}object" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="hasMoreItems" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "object",
+ "hasMoreItems"
+})
+@XmlRootElement(name = "getChildrenResponse")
+public class GetChildrenResponse {
+
+ protected List<CmisObjectType> object;
+ protected boolean hasMoreItems;
+
+ /**
+ * Gets the value of the object property.
+ *
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the object property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getObject().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link CmisObjectType }
+ *
+ *
+ */
+ public List<CmisObjectType> getObject() {
+ if (object == null) {
+ object = new ArrayList<CmisObjectType>();
+ }
+ return this.object;
+ }
+
+ /**
+ * Gets the value of the hasMoreItems property.
+ *
+ */
+ public boolean isHasMoreItems() {
+ return hasMoreItems;
+ }
+
+ /**
+ * Sets the value of the hasMoreItems property.
+ *
+ */
+ public void setHasMoreItems(boolean value) {
+ this.hasMoreItems = value;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetContentStream.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetContentStream.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetContentStream.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetContentStream.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,92 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "repositoryId",
+ "documentId"
+})
+@XmlRootElement(name = "getContentStream")
+public class GetContentStream {
+
+ @XmlElement(required = true)
+ protected String repositoryId;
+ @XmlElement(required = true)
+ protected String documentId;
+
+ /**
+ * Gets the value of the repositoryId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepositoryId() {
+ return repositoryId;
+ }
+
+ /**
+ * Sets the value of the repositoryId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepositoryId(String value) {
+ this.repositoryId = value;
+ }
+
+ /**
+ * Gets the value of the documentId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getDocumentId() {
+ return documentId;
+ }
+
+ /**
+ * Sets the value of the documentId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setDocumentId(String value) {
+ this.documentId = value;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetContentStreamResponse.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetContentStreamResponse.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetContentStreamResponse.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetContentStreamResponse.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,64 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="contentStream" type="{http://www.cmis.org/2008/05}cmisContentStreamType"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "contentStream"
+})
+@XmlRootElement(name = "getContentStreamResponse")
+public class GetContentStreamResponse {
+
+ @XmlElement(required = true)
+ protected CmisContentStreamType contentStream;
+
+ /**
+ * Gets the value of the contentStream property.
+ *
+ * @return
+ * possible object is
+ * {@link CmisContentStreamType }
+ *
+ */
+ public CmisContentStreamType getContentStream() {
+ return contentStream;
+ }
+
+ /**
+ * Sets the value of the contentStream property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CmisContentStreamType }
+ *
+ */
+ public void setContentStream(CmisContentStreamType value) {
+ this.contentStream = value;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetDescendants.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetDescendants.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetDescendants.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/GetDescendants.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,234 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.math.BigInteger;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType>
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="type" type="{http://www.cmis.org/2008/05}enumTypesOfFileableObjects" minOccurs="0"/>
+ * <element name="depth" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ * <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="includeRelationships" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * </sequence>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "repositoryId",
+ "folderId",
+ "type",
+ "depth",
+ "filter",
+ "includeAllowableActions",
+ "includeRelationships"
+})
+@XmlRootElement(name = "getDescendants")
+public class GetDescendants {
+
+ @XmlElement(required = true)
+ protected String repositoryId;
+ @XmlElement(required = true)
+ protected String folderId;
+ protected EnumTypesOfFileableObjects type;
+ @XmlElementRef(name = "depth", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<BigInteger> depth;
+ @XmlElementRef(name = "filter", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<String> filter;
+ @XmlElementRef(name = "includeAllowableActions", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<Boolean> includeAllowableActions;
+ @XmlElementRef(name = "includeRelationships", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+ protected JAXBElement<Boolean> includeRelationships;
+
+ /**
+ * Gets the value of the repositoryId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepositoryId() {
+ return repositoryId;
+ }
+
+ /**
+ * Sets the value of the repositoryId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepositoryId(String value) {
+ this.repositoryId = value;
+ }
+
+ /**
+ * Gets the value of the folderId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getFolderId() {
+ return folderId;
+ }
+
+ /**
+ * Sets the value of the folderId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setFolderId(String value) {
+ this.folderId = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ *
+ * @return
+ * possible object is
+ * {@link EnumTypesOfFileableObjects }
+ *
+ */
+ public EnumTypesOfFileableObjects getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EnumTypesOfFileableObjects }
+ *
+ */
+ public void setType(EnumTypesOfFileableObjects value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the depth property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
+ *
+ */
+ public JAXBElement<BigInteger> getDepth() {
+ return depth;
+ }
+
+ /**
+ * Sets the value of the depth property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
+ *
+ */
+ public void setDepth(JAXBElement<BigInteger> value) {
+ this.depth = ((JAXBElement<BigInteger> ) value);
+ }
+
+ /**
+ * Gets the value of the filter property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public JAXBElement<String> getFilter() {
+ return filter;
+ }
+
+ /**
+ * Sets the value of the filter property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link String }{@code >}
+ *
+ */
+ public void setFilter(JAXBElement<String> value) {
+ this.filter = ((JAXBElement<String> ) value);
+ }
+
+ /**
+ * Gets the value of the includeAllowableActions property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public JAXBElement<Boolean> getIncludeAllowableActions() {
+ return includeAllowableActions;
+ }
+
+ /**
+ * Sets the value of the includeAllowableActions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public void setIncludeAllowableActions(JAXBElement<Boolean> value) {
+ this.includeAllowableActions = ((JAXBElement<Boolean> ) value);
+ }
+
+ /**
+ * Gets the value of the includeRelationships property.
+ *
+ * @return
+ * possible object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public JAXBElement<Boolean> getIncludeRelationships() {
+ return includeRelationships;
+ }
+
+ /**
+ * Sets the value of the includeRelationships property.
+ *
+ * @param value
+ * allowed object is
+ * {@link JAXBElement }{@code <}{@link Boolean }{@code >}
+ *
+ */
+ public void setIncludeRelationships(JAXBElement<Boolean> value) {
+ this.includeRelationships = ((JAXBElement<Boolean> ) value);
+ }
+
+}