diff --git a/config/alfresco/cmis-ws-context.xml b/config/alfresco/cmis-ws-context.xml index 0bfc015095..ea0e9b93a3 100644 --- a/config/alfresco/cmis-ws-context.xml +++ b/config/alfresco/cmis-ws-context.xml @@ -310,7 +310,6 @@ - @@ -337,6 +336,7 @@ + diff --git a/source/generated/org/alfresco/repo/cmis/ws/ACLService.java b/source/generated/org/alfresco/repo/cmis/ws/ACLService.java index 0016d2f228..c8b85c41a1 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/ACLService.java +++ b/source/generated/org/alfresco/repo/cmis/ws/ACLService.java @@ -15,26 +15,26 @@ import javax.xml.ws.WebServiceFeature; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:27 EEST 2009 + * Mon Oct 12 11:20:37 EEST 2009 * Generated source version: 2.1.2 * */ @WebServiceClient(name = "ACLService", - wsdlLocation = "file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl", - targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901") + wsdlLocation = "file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl", + targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/") public class ACLService extends Service { public final static URL WSDL_LOCATION; - public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "ACLService"); - public final static QName ACLServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "ACLServicePort"); + public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "ACLService"); + public final static QName ACLServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "ACLServicePort"); static { URL url = null; try { - url = new URL("file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + url = new URL("file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + System.err.println("Can not initialize the default wsdl from file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); // e.printStackTrace(); } WSDL_LOCATION = url; diff --git a/source/generated/org/alfresco/repo/cmis/ws/ACLServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/ACLServicePort.java index 58d8adf095..43d381521e 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/ACLServicePort.java +++ b/source/generated/org/alfresco/repo/cmis/ws/ACLServicePort.java @@ -2,7 +2,6 @@ package org.alfresco.repo.cmis.ws; import javax.jws.WebMethod; import javax.jws.WebParam; -import javax.jws.WebParam.Mode; import javax.jws.WebResult; import javax.jws.WebService; import javax.xml.bind.annotation.XmlSeeAlso; @@ -11,45 +10,46 @@ import javax.xml.ws.ResponseWrapper; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:27 EEST 2009 + * Mon Oct 12 11:20:37 EEST 2009 * Generated source version: 2.1.2 * */ -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", name = "ACLServicePort") +@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "ACLServicePort") @XmlSeeAlso({ObjectFactory.class}) public interface ACLServicePort { - @ResponseWrapper(localName = "getACLResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetACLResponse") - @RequestWrapper(localName = "getACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetACL") - @WebResult(name = "acl", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "getACLResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetACLResponse") + @RequestWrapper(localName = "getACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetACL") + @WebResult(name = "ACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod - public org.alfresco.repo.cmis.ws.CmisAccessControlListType getACL( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + public org.alfresco.repo.cmis.ws.CmisACLType getACL( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String objectId, - @WebParam(name = "onlyBasicPermissions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - boolean onlyBasicPermissions + @WebParam(name = "onlyBasicPermissions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean onlyBasicPermissions, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; - @ResponseWrapper(localName = "applyACLResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.ApplyACLResponse") - @RequestWrapper(localName = "applyACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.ApplyACL") + @ResponseWrapper(localName = "applyACLResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.ApplyACLResponse") + @RequestWrapper(localName = "applyACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.ApplyACL") + @WebResult(name = "ACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod - public void applyACL( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + public org.alfresco.repo.cmis.ws.CmisACLType applyACL( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String objectId, - @WebParam(name = "addACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "addACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") org.alfresco.repo.cmis.ws.CmisAccessControlListType addACEs, - @WebParam(name = "removeACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "removeACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") org.alfresco.repo.cmis.ws.CmisAccessControlListType removeACEs, - @WebParam(name = "propogationType", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.EnumACLPropagation propogationType, - @WebParam(mode = WebParam.Mode.OUT, name = "ACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - javax.xml.ws.Holder> acl, - @WebParam(mode = WebParam.Mode.OUT, name = "exact", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - javax.xml.ws.Holder exact + @WebParam(name = "ACLPropagation", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.EnumACLPropagation aclPropagation, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; } diff --git a/source/generated/org/alfresco/repo/cmis/ws/AddObjectToFolder.java b/source/generated/org/alfresco/repo/cmis/ws/AddObjectToFolder.java index 47a8b1c1df..14598f3e39 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/AddObjectToFolder.java +++ b/source/generated/org/alfresco/repo/cmis/ws/AddObjectToFolder.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -21,6 +23,8 @@ import javax.xml.bind.annotation.XmlType; * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="allVersions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -33,7 +37,9 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "", propOrder = { "repositoryId", "objectId", - "folderId" + "folderId", + "allVersions", + "extension" }) @XmlRootElement(name = "addObjectToFolder") public class AddObjectToFolder { @@ -44,6 +50,9 @@ public class AddObjectToFolder { protected String objectId; @XmlElement(required = true) protected String folderId; + protected Boolean allVersions; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -117,4 +126,52 @@ public class AddObjectToFolder { this.folderId = value; } + /** + * Gets the value of the allVersions property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isAllVersions() { + return allVersions; + } + + /** + * Sets the value of the allVersions property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setAllVersions(Boolean value) { + this.allVersions = value; + } + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/AddObjectToFolderResponse.java b/source/generated/org/alfresco/repo/cmis/ws/AddObjectToFolderResponse.java index c58d9317e6..9f8284e225 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/AddObjectToFolderResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/AddObjectToFolderResponse.java @@ -1,8 +1,10 @@ package org.alfresco.repo.cmis.ws; +import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @@ -17,6 +19,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -26,9 +29,37 @@ import javax.xml.bind.annotation.XmlType; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "") +@XmlType(name = "", propOrder = { + "extension" +}) @XmlRootElement(name = "addObjectToFolderResponse") public class AddObjectToFolderResponse { + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/ApplyACL.java b/source/generated/org/alfresco/repo/cmis/ws/ApplyACL.java index 5b0ee3b077..f5b01e2d14 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/ApplyACL.java +++ b/source/generated/org/alfresco/repo/cmis/ws/ApplyACL.java @@ -22,9 +22,10 @@ import javax.xml.bind.annotation.XmlType; * <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="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType"/> - * <element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType"/> - * <element name="propogationType" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumACLPropagation" minOccurs="0"/> + * <element name="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/> + * <element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/> + * <element name="ACLPropagation" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumACLPropagation" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -39,7 +40,8 @@ import javax.xml.bind.annotation.XmlType; "objectId", "addACEs", "removeACEs", - "propogationType" + "aclPropagation", + "extension" }) @XmlRootElement(name = "applyACL") public class ApplyACL { @@ -48,12 +50,12 @@ public class ApplyACL { protected String repositoryId; @XmlElement(required = true) protected String objectId; - @XmlElement(required = true) protected CmisAccessControlListType addACEs; - @XmlElement(required = true) protected CmisAccessControlListType removeACEs; - @XmlElementRef(name = "propogationType", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) - protected JAXBElement propogationType; + @XmlElementRef(name = "ACLPropagation", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement aclPropagation; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -152,27 +154,51 @@ public class ApplyACL { } /** - * Gets the value of the propogationType property. + * Gets the value of the aclPropagation property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link EnumACLPropagation }{@code >} * */ - public JAXBElement getPropogationType() { - return propogationType; + public JAXBElement getACLPropagation() { + return aclPropagation; } /** - * Sets the value of the propogationType property. + * Sets the value of the aclPropagation property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link EnumACLPropagation }{@code >} * */ - public void setPropogationType(JAXBElement value) { - this.propogationType = ((JAXBElement ) value); + public void setACLPropagation(JAXBElement value) { + this.aclPropagation = ((JAXBElement ) value); + } + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/ApplyACLResponse.java b/source/generated/org/alfresco/repo/cmis/ws/ApplyACLResponse.java index afa654997c..980fb5e4e3 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/ApplyACLResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/ApplyACLResponse.java @@ -1,8 +1,6 @@ package org.alfresco.repo.cmis.ws; -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.XmlElement; @@ -20,8 +18,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="ACL" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType" maxOccurs="unbounded"/> - * <element name="exact" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="ACL" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisACLType"/> * </sequence> * </restriction> * </complexContent> @@ -32,59 +29,36 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "acl", - "exact" + "acl" }) @XmlRootElement(name = "applyACLResponse") public class ApplyACLResponse { @XmlElement(name = "ACL", required = true) - protected List acl; - protected boolean exact; + protected CmisACLType acl; /** * Gets the value of the acl property. * - *

- * 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 set method for the acl property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getACL().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link CmisAccessControlListType } - * - * + * @return + * possible object is + * {@link CmisACLType } + * */ - public List getACL() { - if (acl == null) { - acl = new ArrayList(); - } - return this.acl; + public CmisACLType getACL() { + return acl; } /** - * Gets the value of the exact property. + * Sets the value of the acl property. * + * @param value + * allowed object is + * {@link CmisACLType } + * */ - public boolean isExact() { - return exact; - } - - /** - * Sets the value of the exact property. - * - */ - public void setExact(boolean value) { - this.exact = value; + public void setACL(CmisACLType value) { + this.acl = value; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/ApplyPolicy.java b/source/generated/org/alfresco/repo/cmis/ws/ApplyPolicy.java index f501613084..7751a54c23 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/ApplyPolicy.java +++ b/source/generated/org/alfresco/repo/cmis/ws/ApplyPolicy.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -21,6 +23,7 @@ import javax.xml.bind.annotation.XmlType; * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="policyId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -33,7 +36,8 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "", propOrder = { "repositoryId", "policyId", - "objectId" + "objectId", + "extension" }) @XmlRootElement(name = "applyPolicy") public class ApplyPolicy { @@ -44,6 +48,8 @@ public class ApplyPolicy { protected String policyId; @XmlElement(required = true) protected String objectId; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -117,4 +123,28 @@ public class ApplyPolicy { this.objectId = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/ApplyPolicyResponse.java b/source/generated/org/alfresco/repo/cmis/ws/ApplyPolicyResponse.java index 3030447791..cd2fd144d2 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/ApplyPolicyResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/ApplyPolicyResponse.java @@ -1,8 +1,10 @@ package org.alfresco.repo.cmis.ws; +import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @@ -17,6 +19,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -26,9 +29,37 @@ import javax.xml.bind.annotation.XmlType; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "") +@XmlType(name = "", propOrder = { + "extension" +}) @XmlRootElement(name = "applyPolicyResponse") public class ApplyPolicyResponse { + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CancelCheckOut.java b/source/generated/org/alfresco/repo/cmis/ws/CancelCheckOut.java index 3864081ab3..633d6ed155 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/CancelCheckOut.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CancelCheckOut.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -20,6 +22,7 @@ import javax.xml.bind.annotation.XmlType; * <sequence> * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -31,7 +34,8 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "repositoryId", - "documentId" + "documentId", + "extension" }) @XmlRootElement(name = "cancelCheckOut") public class CancelCheckOut { @@ -40,6 +44,8 @@ public class CancelCheckOut { protected String repositoryId; @XmlElement(required = true) protected String documentId; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -89,4 +95,28 @@ public class CancelCheckOut { this.documentId = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CancelCheckOutResponse.java b/source/generated/org/alfresco/repo/cmis/ws/CancelCheckOutResponse.java index 950f4bb137..f917492022 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/CancelCheckOutResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CancelCheckOutResponse.java @@ -1,8 +1,10 @@ package org.alfresco.repo.cmis.ws; +import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @@ -17,6 +19,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -26,9 +29,37 @@ import javax.xml.bind.annotation.XmlType; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "") +@XmlType(name = "", propOrder = { + "extension" +}) @XmlRootElement(name = "cancelCheckOutResponse") public class CancelCheckOutResponse { + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CheckIn.java b/source/generated/org/alfresco/repo/cmis/ws/CheckIn.java index becf5d1bac..29035182a1 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/CheckIn.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CheckIn.java @@ -25,12 +25,13 @@ import javax.xml.bind.annotation.XmlType; * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="major" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> - * <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType" minOccurs="0"/> - * <element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/messaging/200901}cmisContentStreamType" minOccurs="0"/> + * <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertiesType" minOccurs="0"/> + * <element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisContentStreamType" minOccurs="0"/> * <element name="checkinComment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="applyPolicies" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> - * <element name="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType" minOccurs="0"/> - * <element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType" minOccurs="0"/> + * <element name="policies" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/> + * <element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -47,9 +48,10 @@ import javax.xml.bind.annotation.XmlType; "properties", "contentStream", "checkinComment", - "applyPolicies", + "policies", "addACEs", - "removeACEs" + "removeACEs", + "extension" }) @XmlRootElement(name = "checkIn") public class CheckIn { @@ -58,20 +60,22 @@ public class CheckIn { protected String repositoryId; @XmlElement(required = true) protected String documentId; - @XmlElementRef(name = "major", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "major", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement major; - @XmlElementRef(name = "properties", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "properties", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement properties; - @XmlElementRef(name = "contentStream", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "contentStream", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement contentStream; - @XmlElementRef(name = "checkinComment", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "checkinComment", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement checkinComment; @XmlElement(nillable = true) - protected List applyPolicies; - @XmlElementRef(name = "addACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + protected List policies; + @XmlElementRef(name = "addACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement addACEs; - @XmlElementRef(name = "removeACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "removeACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement removeACEs; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -218,18 +222,18 @@ public class CheckIn { } /** - * Gets the value of the applyPolicies property. + * Gets the value of the policies property. * *

* 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 set method for the applyPolicies property. + * This is why there is not a set method for the policies property. * *

* For example, to add a new item, do as follows: *

-     *    getApplyPolicies().add(newItem);
+     *    getPolicies().add(newItem);
      * 
* * @@ -239,11 +243,11 @@ public class CheckIn { * * */ - public List getApplyPolicies() { - if (applyPolicies == null) { - applyPolicies = new ArrayList(); + public List getPolicies() { + if (policies == null) { + policies = new ArrayList(); } - return this.applyPolicies; + return this.policies; } /** @@ -294,4 +298,28 @@ public class CheckIn { this.removeACEs = ((JAXBElement ) value); } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CheckInResponse.java b/source/generated/org/alfresco/repo/cmis/ws/CheckInResponse.java index 7b4e0054bd..39d1298945 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/CheckInResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CheckInResponse.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -19,6 +21,7 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -29,13 +32,16 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "documentId" + "documentId", + "extension" }) @XmlRootElement(name = "checkInResponse") public class CheckInResponse { @XmlElement(required = true) protected String documentId; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the documentId property. @@ -61,4 +67,28 @@ public class CheckInResponse { this.documentId = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CheckOut.java b/source/generated/org/alfresco/repo/cmis/ws/CheckOut.java index f3a3f9059e..fd9fd11b37 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/CheckOut.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CheckOut.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -20,6 +22,7 @@ import javax.xml.bind.annotation.XmlType; * <sequence> * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -31,7 +34,8 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "repositoryId", - "documentId" + "documentId", + "extension" }) @XmlRootElement(name = "checkOut") public class CheckOut { @@ -40,6 +44,8 @@ public class CheckOut { protected String repositoryId; @XmlElement(required = true) protected String documentId; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -89,4 +95,28 @@ public class CheckOut { this.documentId = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CheckOutResponse.java b/source/generated/org/alfresco/repo/cmis/ws/CheckOutResponse.java index 416e6ff4d9..7a5394267f 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/CheckOutResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CheckOutResponse.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -20,6 +22,7 @@ import javax.xml.bind.annotation.XmlType; * <sequence> * <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="contentCopied" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -31,7 +34,8 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "documentId", - "contentCopied" + "contentCopied", + "extension" }) @XmlRootElement(name = "checkOutResponse") public class CheckOutResponse { @@ -39,6 +43,8 @@ public class CheckOutResponse { @XmlElement(required = true) protected String documentId; protected boolean contentCopied; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the documentId property. @@ -80,4 +86,28 @@ public class CheckOutResponse { this.contentCopied = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisACLCapabilityType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisACLCapabilityType.java index b7c3885bae..448de78bdc 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisACLCapabilityType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisACLCapabilityType.java @@ -19,9 +19,9 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="setType" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumACLPropagation"/> - * <element name="permissions" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPermissionDefinition" maxOccurs="unbounded"/> - * <element name="mapping" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPermissionMapping" maxOccurs="unbounded" minOccurs="0"/> + * <element name="propagation" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumACLPropagation"/> + * <element name="permissions" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPermissionDefinition" maxOccurs="unbounded"/> + * <element name="mapping" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPermissionMapping" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -31,41 +31,41 @@ import javax.xml.bind.annotation.XmlType; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisACLCapabilityType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = { - "setType", +@XmlType(name = "cmisACLCapabilityType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { + "propagation", "permissions", "mapping" }) public class CmisACLCapabilityType { @XmlElement(required = true) - protected EnumACLPropagation setType; + protected EnumACLPropagation propagation; @XmlElement(required = true) protected List permissions; protected List mapping; /** - * Gets the value of the setType property. + * Gets the value of the propagation property. * * @return * possible object is * {@link EnumACLPropagation } * */ - public EnumACLPropagation getSetType() { - return setType; + public EnumACLPropagation getPropagation() { + return propagation; } /** - * Sets the value of the setType property. + * Sets the value of the propagation property. * * @param value * allowed object is * {@link EnumACLPropagation } * */ - public void setSetType(EnumACLPropagation value) { - this.setType = value; + public void setPropagation(EnumACLPropagation value) { + this.propagation = value; } /** diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlEntryType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlEntryType.java index 3ae30ed016..4b6f6d50b0 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlEntryType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlEntryType.java @@ -8,6 +8,7 @@ import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; /** @@ -20,8 +21,8 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="principal" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlPrincipalType"/> - * <element name="permission" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="principal" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlPrincipalType"/> + * <element name="permission" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> * <element name="direct" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * <any/> * </sequence> @@ -33,7 +34,7 @@ import javax.xml.bind.annotation.XmlType; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisAccessControlEntryType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = { +@XmlType(name = "cmisAccessControlEntryType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { "principal", "permission", "direct", @@ -44,7 +45,7 @@ public class CmisAccessControlEntryType { @XmlElement(required = true) protected CmisAccessControlPrincipalType principal; @XmlElement(required = true) - protected String permission; + protected List permission; protected boolean direct; @XmlAnyElement(lax = true) protected List any; @@ -76,25 +77,30 @@ public class CmisAccessControlEntryType { /** * Gets the value of the permission property. * - * @return - * possible object is - * {@link String } - * - */ - public String getPermission() { - return permission; - } - - /** - * Sets the value of the permission property. + *

+ * 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 set method for the permission property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getPermission().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * * - * @param value - * allowed object is - * {@link String } - * */ - public void setPermission(String value) { - this.permission = value; + public List getPermission() { + if (permission == null) { + permission = new ArrayList(); + } + return this.permission; } /** @@ -127,12 +133,13 @@ public class CmisAccessControlEntryType { *

      *    getAny().add(newItem);
      * 
- * + * * *

* Objects of the following type(s) are allowed in the list - * {@link Object } - * + * {@link Element } + * {@link Object } + * * */ public List getAny() { diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlListType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlListType.java index 151111fb50..7312a33abe 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlListType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlListType.java @@ -8,6 +8,7 @@ import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; /** @@ -20,7 +21,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="permission" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlEntryType" maxOccurs="unbounded"/> + * <element name="permission" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlEntryType" maxOccurs="unbounded"/> * <any/> * </sequence> * </restriction> @@ -31,7 +32,7 @@ import javax.xml.bind.annotation.XmlType; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisAccessControlListType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = { +@XmlType(name = "cmisAccessControlListType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { "permission", "any" }) @@ -56,12 +57,12 @@ public class CmisAccessControlListType { *
      *    getPermission().add(newItem);
      * 
- * + * * *

* Objects of the following type(s) are allowed in the list - * {@link CmisAccessControlEntryType } - * + * {@link CmisAccessControlEntryType } + * * */ public List getPermission() { @@ -85,12 +86,13 @@ public class CmisAccessControlListType { *

      *    getAny().add(newItem);
      * 
- * + * * *

* Objects of the following type(s) are allowed in the list - * {@link Object } - * + * {@link Element } + * {@link Object } + * * */ public List getAny() { diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlPrincipalType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlPrincipalType.java index 3923e52304..2a199a695b 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlPrincipalType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlPrincipalType.java @@ -8,6 +8,7 @@ import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; /** @@ -31,7 +32,7 @@ import javax.xml.bind.annotation.XmlType; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisAccessControlPrincipalType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = { +@XmlType(name = "cmisAccessControlPrincipalType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { "principalId", "any" }) @@ -80,12 +81,13 @@ public class CmisAccessControlPrincipalType { *
      *    getAny().add(newItem);
      * 
- * + * * *

* Objects of the following type(s) are allowed in the list - * {@link Object } - * + * {@link Element } + * {@link Object } + * * */ public List getAny() { diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisAllowableActionsType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisAllowableActionsType.java index 4a0e1a318e..bdd5c38aac 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisAllowableActionsType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisAllowableActionsType.java @@ -27,7 +27,7 @@ import org.w3c.dom.Element; * <element name="canDeleteObject" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="canUpdateProperties" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="canGetProperties" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> - * <element name="canGetRelationships" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="canGetObjectRelationships" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="canGetObjectParents" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="canGetFolderParent" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="canGetDescendants" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> @@ -55,7 +55,7 @@ import org.w3c.dom.Element; * <element name="canApplyACL" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <any/> * </sequence> - * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/> + * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/> * </restriction> * </complexContent> * </complexType> @@ -64,11 +64,11 @@ import org.w3c.dom.Element; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisAllowableActionsType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = { +@XmlType(name = "cmisAllowableActionsType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { "canDeleteObject", "canUpdateProperties", "canGetProperties", - "canGetRelationships", + "canGetObjectRelationships", "canGetObjectParents", "canGetFolderParent", "canGetDescendants", @@ -101,7 +101,7 @@ public class CmisAllowableActionsType { protected Boolean canDeleteObject; protected Boolean canUpdateProperties; protected Boolean canGetProperties; - protected Boolean canGetRelationships; + protected Boolean canGetObjectRelationships; protected Boolean canGetObjectParents; protected Boolean canGetFolderParent; protected Boolean canGetDescendants; @@ -205,27 +205,27 @@ public class CmisAllowableActionsType { } /** - * Gets the value of the canGetRelationships property. + * Gets the value of the canGetObjectRelationships property. * * @return * possible object is * {@link Boolean } * */ - public Boolean isCanGetRelationships() { - return canGetRelationships; + public Boolean isCanGetObjectRelationships() { + return canGetObjectRelationships; } /** - * Sets the value of the canGetRelationships property. + * Sets the value of the canGetObjectRelationships property. * * @param value * allowed object is * {@link Boolean } * */ - public void setCanGetRelationships(Boolean value) { - this.canGetRelationships = value; + public void setCanGetObjectRelationships(Boolean value) { + this.canGetObjectRelationships = value; } /** diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisChangeEventType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisChangeEventType.java index 57b780067e..8cb28b90b3 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChangeEventType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisChangeEventType.java @@ -23,7 +23,7 @@ import org.w3c.dom.Element; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="changeType" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumTypeOfChanges"/> + * <element name="changeType" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumTypeOfChanges"/> * <element name="changeTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/> * <any/> * </sequence> @@ -35,7 +35,7 @@ import org.w3c.dom.Element; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisChangeEventType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = { +@XmlType(name = "cmisChangeEventType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { "changeType", "changeTime", "any" diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisChoice.java b/source/generated/org/alfresco/repo/cmis/ws/CmisChoice.java index 8310fe7233..770d771314 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoice.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisChoice.java @@ -22,7 +22,7 @@ import javax.xml.namespace.QName; * <complexType name="cmisChoice"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/> + * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/> * <attribute name="displayName" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> * </restriction> * </complexContent> @@ -32,15 +32,13 @@ import javax.xml.namespace.QName; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisChoice", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "cmisChoice", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlSeeAlso({ CmisChoiceId.class, CmisChoiceDateTime.class, CmisChoiceDecimal.class, CmisChoiceBoolean.class, - CmisChoiceXml.class, CmisChoiceHtml.class, - CmisChoiceXhtml.class, CmisChoiceUri.class, CmisChoiceInteger.class, CmisChoiceString.class diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceBoolean.java b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceBoolean.java index 2bffb7d8c8..125dccaee9 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceBoolean.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceBoolean.java @@ -17,9 +17,10 @@ import javax.xml.bind.annotation.XmlType; *
  * <complexType name="cmisChoiceBoolean">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoice">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoice">
  *       <sequence>
  *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}boolean" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceBoolean" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -29,8 +30,9 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisChoiceBoolean", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
-    "value"
+@XmlType(name = "cmisChoiceBoolean", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
+    "value",
+    "choice"
 })
 public class CmisChoiceBoolean
     extends CmisChoice
@@ -38,6 +40,7 @@ public class CmisChoiceBoolean
 
     @XmlElement(type = Boolean.class)
     protected List value;
+    protected List choice;
 
     /**
      * Gets the value of the value property.
@@ -68,4 +71,33 @@ public class CmisChoiceBoolean
         return this.value;
     }
 
+    /**
+     * Gets the value of the choice property.
+     * 
+     * 

+ * 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 set method for the choice property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getChoice().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link CmisChoiceBoolean } + * + * + */ + public List getChoice() { + if (choice == null) { + choice = new ArrayList(); + } + return this.choice; + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceDateTime.java b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceDateTime.java index 94b8d87947..cdbf46c13d 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceDateTime.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceDateTime.java @@ -18,9 +18,10 @@ import javax.xml.datatype.XMLGregorianCalendar; *

  * <complexType name="cmisChoiceDateTime">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoice">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoice">
  *       <sequence>
  *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}dateTime" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceDateTime" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -30,8 +31,9 @@ import javax.xml.datatype.XMLGregorianCalendar;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisChoiceDateTime", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
-    "value"
+@XmlType(name = "cmisChoiceDateTime", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
+    "value",
+    "choice"
 })
 public class CmisChoiceDateTime
     extends CmisChoice
@@ -39,6 +41,7 @@ public class CmisChoiceDateTime
 
     @XmlSchemaType(name = "dateTime")
     protected List value;
+    protected List choice;
 
     /**
      * Gets the value of the value property.
@@ -69,4 +72,33 @@ public class CmisChoiceDateTime
         return this.value;
     }
 
+    /**
+     * Gets the value of the choice property.
+     * 
+     * 

+ * 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 set method for the choice property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getChoice().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link CmisChoiceDateTime } + * + * + */ + public List getChoice() { + if (choice == null) { + choice = new ArrayList(); + } + return this.choice; + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceDecimal.java b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceDecimal.java index c0f161f4f7..835def4bd2 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceDecimal.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceDecimal.java @@ -17,9 +17,10 @@ import javax.xml.bind.annotation.XmlType; *

  * <complexType name="cmisChoiceDecimal">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoice">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoice">
  *       <sequence>
  *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}decimal" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceDecimal" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -29,14 +30,16 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisChoiceDecimal", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
-    "value"
+@XmlType(name = "cmisChoiceDecimal", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
+    "value",
+    "choice"
 })
 public class CmisChoiceDecimal
     extends CmisChoice
 {
 
     protected List value;
+    protected List choice;
 
     /**
      * Gets the value of the value property.
@@ -67,4 +70,33 @@ public class CmisChoiceDecimal
         return this.value;
     }
 
+    /**
+     * Gets the value of the choice property.
+     * 
+     * 

+ * 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 set method for the choice property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getChoice().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link CmisChoiceDecimal } + * + * + */ + public List getChoice() { + if (choice == null) { + choice = new ArrayList(); + } + return this.choice; + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceHtml.java b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceHtml.java index 8512737b9a..2a7f506470 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceHtml.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceHtml.java @@ -5,9 +5,7 @@ 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.XmlAnyElement; import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; /** @@ -18,19 +16,10 @@ import org.w3c.dom.Element; *

  * <complexType name="cmisChoiceHtml">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoice">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoice">
  *       <sequence>
- *         <element name="value" maxOccurs="unbounded" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <any/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
+ *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceHtml" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -40,14 +29,16 @@ import org.w3c.dom.Element;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisChoiceHtml", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
-    "value"
+@XmlType(name = "cmisChoiceHtml", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
+    "value",
+    "choice"
 })
 public class CmisChoiceHtml
     extends CmisChoice
 {
 
-    protected List value;
+    protected List value;
+    protected List choice;
 
     /**
      * Gets the value of the value property.
@@ -67,76 +58,44 @@ public class CmisChoiceHtml
      * 
      * 

* Objects of the following type(s) are allowed in the list - * {@link CmisChoiceHtml.Value } + * {@link String } * * */ - public List getValue() { + public List getValue() { if (value == null) { - value = new ArrayList(); + value = new ArrayList(); } return this.value; } - /** - *

Java class for anonymous complex type. + * Gets the value of the choice property. * - *

The following schema fragment specifies the expected content contained within this class. + *

+ * 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 set method for the choice property. * + *

+ * For example, to add a new item, do as follows: *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <any/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
+     *    getChoice().add(newItem);
      * 
* * + *

+ * Objects of the following type(s) are allowed in the list + * {@link CmisChoiceHtml } + * + * */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "any" - }) - public static class Value { - - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the any property. - * - *

- * 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 set method for the any property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getAny().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link Element } - * {@link Object } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; + public List getChoice() { + if (choice == null) { + choice = new ArrayList(); } - + return this.choice; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceId.java b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceId.java index 102f27a5da..602c261c52 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceId.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceId.java @@ -5,8 +5,6 @@ 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.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; @@ -18,11 +16,11 @@ import javax.xml.bind.annotation.XmlType; *
  * <complexType name="cmisChoiceId">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoice">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoice">
  *       <sequence>
  *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceId" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
- *       <attribute ref="{http://docs.oasis-open.org/ns/cmis/core/200901}href"/>
  *     </extension>
  *   </complexContent>
  * </complexType>
@@ -31,17 +29,16 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisChoiceId", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
-    "value"
+@XmlType(name = "cmisChoiceId", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
+    "value",
+    "choice"
 })
 public class CmisChoiceId
     extends CmisChoice
 {
 
     protected List value;
-    @XmlAttribute(namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
-    @XmlSchemaType(name = "anyURI")
-    protected String href;
+    protected List choice;
 
     /**
      * Gets the value of the value property.
@@ -73,27 +70,32 @@ public class CmisChoiceId
     }
 
     /**
-     * Gets the value of the href property.
+     * Gets the value of the choice property.
+     * 
+     * 

+ * 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 set method for the choice property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getChoice().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link CmisChoiceId } * - * @return - * possible object is - * {@link String } - * - */ - public String getHref() { - return href; - } - - /** - * Sets the value of the href property. * - * @param value - * allowed object is - * {@link String } - * */ - public void setHref(String value) { - this.href = value; + public List getChoice() { + if (choice == null) { + choice = new ArrayList(); + } + return this.choice; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceInteger.java b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceInteger.java index 0a7c828764..cf873ec04a 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceInteger.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceInteger.java @@ -17,9 +17,10 @@ import javax.xml.bind.annotation.XmlType; *

  * <complexType name="cmisChoiceInteger">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoice">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoice">
  *       <sequence>
  *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceInteger" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -29,14 +30,16 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisChoiceInteger", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
-    "value"
+@XmlType(name = "cmisChoiceInteger", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
+    "value",
+    "choice"
 })
 public class CmisChoiceInteger
     extends CmisChoice
 {
 
     protected List value;
+    protected List choice;
 
     /**
      * Gets the value of the value property.
@@ -67,4 +70,33 @@ public class CmisChoiceInteger
         return this.value;
     }
 
+    /**
+     * Gets the value of the choice property.
+     * 
+     * 

+ * 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 set method for the choice property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getChoice().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link CmisChoiceInteger } + * + * + */ + public List getChoice() { + if (choice == null) { + choice = new ArrayList(); + } + return this.choice; + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceString.java b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceString.java index bb0e8e55c0..50d2f3e1b2 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceString.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceString.java @@ -16,9 +16,10 @@ import javax.xml.bind.annotation.XmlType; *

  * <complexType name="cmisChoiceString">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoice">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoice">
  *       <sequence>
  *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceString" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -28,14 +29,16 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisChoiceString", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
-    "value"
+@XmlType(name = "cmisChoiceString", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
+    "value",
+    "choice"
 })
 public class CmisChoiceString
     extends CmisChoice
 {
 
     protected List value;
+    protected List choice;
 
     /**
      * Gets the value of the value property.
@@ -66,4 +69,33 @@ public class CmisChoiceString
         return this.value;
     }
 
+    /**
+     * Gets the value of the choice property.
+     * 
+     * 

+ * 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 set method for the choice property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getChoice().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link CmisChoiceString } + * + * + */ + public List getChoice() { + if (choice == null) { + choice = new ArrayList(); + } + return this.choice; + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceUri.java b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceUri.java index 27a1160ab7..756c72adc8 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceUri.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceUri.java @@ -17,9 +17,10 @@ import javax.xml.bind.annotation.XmlType; *

  * <complexType name="cmisChoiceUri">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoice">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoice">
  *       <sequence>
  *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceUri" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -29,8 +30,9 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisChoiceUri", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
-    "value"
+@XmlType(name = "cmisChoiceUri", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
+    "value",
+    "choice"
 })
 public class CmisChoiceUri
     extends CmisChoice
@@ -38,6 +40,7 @@ public class CmisChoiceUri
 
     @XmlSchemaType(name = "anyURI")
     protected List value;
+    protected List choice;
 
     /**
      * Gets the value of the value property.
@@ -68,4 +71,33 @@ public class CmisChoiceUri
         return this.value;
     }
 
+    /**
+     * Gets the value of the choice property.
+     * 
+     * 

+ * 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 set method for the choice property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getChoice().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link CmisChoiceUri } + * + * + */ + public List getChoice() { + if (choice == null) { + choice = new ArrayList(); + } + return this.choice; + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisContentStreamType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisContentStreamType.java index 5518bb4fba..5558f59dc6 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisContentStreamType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisContentStreamType.java @@ -13,7 +13,6 @@ import javax.xml.bind.annotation.XmlAnyAttribute; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlMimeType; -import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.namespace.QName; import org.w3c.dom.Element; @@ -29,14 +28,13 @@ import org.w3c.dom.Element; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="length" type="{http://www.w3.org/2001/XMLSchema}integer"/> + * <element name="length" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> * <element name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="filename" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> * <element name="stream" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/> * <any/> * </sequence> - * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/> + * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/> * </restriction> * </complexContent> * </complexType> @@ -49,18 +47,14 @@ import org.w3c.dom.Element; "length", "mimeType", "filename", - "uri", "stream", "any" }) public class CmisContentStreamType { - @XmlElement(required = true) protected BigInteger length; protected String mimeType; protected String filename; - @XmlSchemaType(name = "anyURI") - protected String uri; @XmlElement(required = true) @XmlMimeType("application/octet-stream") protected DataHandler stream; @@ -141,30 +135,6 @@ public class CmisContentStreamType { this.filename = value; } - /** - * Gets the value of the uri property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getUri() { - return uri; - } - - /** - * Sets the value of the uri property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setUri(String value) { - this.uri = value; - } - /** * Gets the value of the stream property. * diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisException.java b/source/generated/org/alfresco/repo/cmis/ws/CmisException.java index 5536e47ad0..c0994b54d7 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisException.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisException.java @@ -6,14 +6,14 @@ import javax.xml.ws.WebFault; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:28 EEST 2009 + * Mon Oct 12 11:20:37 EEST 2009 * Generated source version: 2.1.2 * */ -@WebFault(name = "cmisFault", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") +@WebFault(name = "cmisFault", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") public class CmisException extends Exception { - public static final long serialVersionUID = 20090724095828L; + public static final long serialVersionUID = 20091012112037L; private org.alfresco.repo.cmis.ws.CmisFaultType cmisFault; diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisFaultType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisFaultType.java index 8589d2e6e1..31cc2ced85 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisFaultType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisFaultType.java @@ -21,7 +21,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="type" type="{http://docs.oasis-open.org/ns/cmis/messaging/200901}enumServiceException"/> + * <element name="type" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}enumServiceException"/> * <element name="code" type="{http://www.w3.org/2001/XMLSchema}integer"/> * <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/> * <any/> diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisObjectType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisObjectType.java index c74e3094b8..ab5a356afe 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisObjectType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisObjectType.java @@ -24,17 +24,17 @@ import org.w3c.dom.Element; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType" minOccurs="0"/> - * <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}allowableActions" minOccurs="0"/> - * <element name="relationship" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/> - * <element name="child" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/> - * <element name="changeEventInfo" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChangeEventType" minOccurs="0"/> - * <element name="acl" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType" minOccurs="0"/> + * <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertiesType" minOccurs="0"/> + * <element name="allowableActions" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAllowableActionsType" minOccurs="0"/> + * <element name="relationship" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="changeEventInfo" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChangeEventType" minOccurs="0"/> + * <element name="acl" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/> * <element name="exactACL" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> - * <element name="rendition" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisRenditionType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="policyIds" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisListOfIdsType" minOccurs="0"/> + * <element name="rendition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisRenditionType" maxOccurs="unbounded" minOccurs="0"/> * <any/> * </sequence> - * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/> + * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/> * </restriction> * </complexContent> * </complexType> @@ -43,14 +43,14 @@ import org.w3c.dom.Element; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisObjectType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = { +@XmlType(name = "cmisObjectType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { "properties", "allowableActions", "relationship", - "child", "changeEventInfo", "acl", "exactACL", + "policyIds", "rendition", "any" }) @@ -59,10 +59,10 @@ public class CmisObjectType { protected CmisPropertiesType properties; protected CmisAllowableActionsType allowableActions; protected List relationship; - protected List child; protected CmisChangeEventType changeEventInfo; protected CmisAccessControlListType acl; protected Boolean exactACL; + protected CmisListOfIdsType policyIds; protected List rendition; @XmlAnyElement(lax = true) protected List any; @@ -146,35 +146,6 @@ public class CmisObjectType { return this.relationship; } - /** - * Gets the value of the child property. - * - *

- * 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 set method for the child property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getChild().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link CmisObjectType } - * - * - */ - public List getChild() { - if (child == null) { - child = new ArrayList(); - } - return this.child; - } - /** * Gets the value of the changeEventInfo property. * @@ -247,6 +218,30 @@ public class CmisObjectType { this.exactACL = value; } + /** + * Gets the value of the policyIds property. + * + * @return + * possible object is + * {@link CmisListOfIdsType } + * + */ + public CmisListOfIdsType getPolicyIds() { + return policyIds; + } + + /** + * Sets the value of the policyIds property. + * + * @param value + * allowed object is + * {@link CmisListOfIdsType } + * + */ + public void setPolicyIds(CmisListOfIdsType value) { + this.policyIds = value; + } + /** * Gets the value of the rendition property. * diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPermissionDefinition.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPermissionDefinition.java index 07b5dcad40..15d5cf0f8b 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPermissionDefinition.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPermissionDefinition.java @@ -33,7 +33,7 @@ import org.w3c.dom.Element; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPermissionDefinition", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = { +@XmlType(name = "cmisPermissionDefinition", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { "permission", "description", "any" diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPermissionMapping.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPermissionMapping.java index f6b0a0e578..e5f208a86b 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPermissionMapping.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPermissionMapping.java @@ -1,11 +1,14 @@ package org.alfresco.repo.cmis.ws; +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.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; /** @@ -18,8 +21,8 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="key" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumAllowableActionsKey"/> - * <element name="permission" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="key" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumAllowableActionsKey"/> + * <element name="permission" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> * <any/> * </sequence> * </restriction> @@ -30,7 +33,7 @@ import javax.xml.bind.annotation.XmlType; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPermissionMapping", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = { +@XmlType(name = "cmisPermissionMapping", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { "key", "permission", "any" @@ -40,9 +43,9 @@ public class CmisPermissionMapping { @XmlElement(required = true) protected EnumAllowableActionsKey key; @XmlElement(required = true) - protected String permission; + protected List permission; @XmlAnyElement(lax = true) - protected Object any; + protected List any; /** * Gets the value of the key property. @@ -71,49 +74,60 @@ public class CmisPermissionMapping { /** * Gets the value of the permission property. * - * @return - * possible object is - * {@link String } - * - */ - public String getPermission() { - return permission; - } - - /** - * Sets the value of the permission property. + *

+ * 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 set method for the permission property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getPermission().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * * - * @param value - * allowed object is - * {@link String } - * */ - public void setPermission(String value) { - this.permission = value; + public List getPermission() { + if (permission == null) { + permission = new ArrayList(); + } + return this.permission; } /** * Gets the value of the any property. * - * @return - * possible object is - * {@link Object } - * - */ - public Object getAny() { - return any; - } - - /** - * Sets the value of the any property. + *

+ * 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 set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAny().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * * - * @param value - * allowed object is - * {@link Object } - * */ - public void setAny(Object value) { - this.any = value; + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertiesType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertiesType.java index 0f814dfef9..8b3249ee25 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertiesType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertiesType.java @@ -27,20 +27,18 @@ import org.w3c.dom.Element; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="propertyBoolean" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyBoolean"/> - * <element name="propertyId" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyId"/> - * <element name="propertyInteger" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyInteger"/> - * <element name="propertyDateTime" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDateTime"/> - * <element name="propertyDecimal" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDecimal"/> - * <element name="propertyHtml" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyHtml"/> - * <element name="propertyXhtml" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyXhtml"/> - * <element name="propertyString" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyString"/> - * <element name="propertyUri" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyUri"/> - * <element name="propertyXml" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyXml"/> + * <element name="propertyBoolean" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyBoolean"/> + * <element name="propertyId" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyId"/> + * <element name="propertyInteger" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyInteger"/> + * <element name="propertyDateTime" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDateTime"/> + * <element name="propertyDecimal" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDecimal"/> + * <element name="propertyHtml" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyHtml"/> + * <element name="propertyString" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyString"/> + * <element name="propertyUri" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyUri"/> * </choice> * <any/> * </sequence> - * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/> + * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/> * </restriction> * </complexContent> * </complexType> @@ -49,23 +47,21 @@ import org.w3c.dom.Element; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertiesType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = { +@XmlType(name = "cmisPropertiesType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { "property", "any" }) public class CmisPropertiesType { @XmlElements({ - @XmlElement(name = "propertyXhtml", type = CmisPropertyXhtml.class, nillable = true), - @XmlElement(name = "propertyHtml", type = CmisPropertyHtml.class, nillable = true), - @XmlElement(name = "propertyInteger", type = CmisPropertyInteger.class, nillable = true), - @XmlElement(name = "propertyString", type = CmisPropertyString.class, nillable = true), - @XmlElement(name = "propertyUri", type = CmisPropertyUri.class, nillable = true), @XmlElement(name = "propertyId", type = CmisPropertyId.class, nillable = true), - @XmlElement(name = "propertyDateTime", type = CmisPropertyDateTime.class, nillable = true), - @XmlElement(name = "propertyXml", type = CmisPropertyXml.class, nillable = true), + @XmlElement(name = "propertyUri", type = CmisPropertyUri.class, nillable = true), + @XmlElement(name = "propertyInteger", type = CmisPropertyInteger.class, nillable = true), @XmlElement(name = "propertyDecimal", type = CmisPropertyDecimal.class, nillable = true), - @XmlElement(name = "propertyBoolean", type = CmisPropertyBoolean.class, nillable = true) + @XmlElement(name = "propertyBoolean", type = CmisPropertyBoolean.class, nillable = true), + @XmlElement(name = "propertyHtml", type = CmisPropertyHtml.class, nillable = true), + @XmlElement(name = "propertyDateTime", type = CmisPropertyDateTime.class, nillable = true), + @XmlElement(name = "propertyString", type = CmisPropertyString.class, nillable = true) }) protected List property; @XmlAnyElement(lax = true) @@ -91,16 +87,14 @@ public class CmisPropertiesType { * *

* Objects of the following type(s) are allowed in the list - * {@link CmisPropertyXhtml } - * {@link CmisPropertyHtml } - * {@link CmisPropertyInteger } - * {@link CmisPropertyString } - * {@link CmisPropertyUri } * {@link CmisPropertyId } - * {@link CmisPropertyDateTime } - * {@link CmisPropertyXml } + * {@link CmisPropertyUri } + * {@link CmisPropertyInteger } * {@link CmisPropertyDecimal } * {@link CmisPropertyBoolean } + * {@link CmisPropertyHtml } + * {@link CmisPropertyDateTime } + * {@link CmisPropertyString } * * */ diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisProperty.java b/source/generated/org/alfresco/repo/cmis/ws/CmisProperty.java index 0bbe21f49c..a1ca6baebf 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisProperty.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisProperty.java @@ -22,10 +22,11 @@ import javax.xml.namespace.QName; * <complexType name="cmisProperty"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> - * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/> - * <attribute name="pdid" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> - * <attribute name="localname" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> - * <attribute name="displayname" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/> + * <attribute name="propertyDefinitionId" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * <attribute name="localName" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * <attribute name="displayName" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> + * <attribute name="queryName" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> * </restriction> * </complexContent> * </complexType> @@ -34,14 +35,12 @@ import javax.xml.namespace.QName; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisProperty", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "cmisProperty", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlSeeAlso({ CmisPropertyDecimal.class, CmisPropertyInteger.class, - CmisPropertyXhtml.class, CmisPropertyDateTime.class, CmisPropertyUri.class, - CmisPropertyXml.class, CmisPropertyHtml.class, CmisPropertyBoolean.class, CmisPropertyString.class, @@ -49,88 +48,115 @@ import javax.xml.namespace.QName; }) public class CmisProperty { - @XmlAttribute(required = true) - @XmlSchemaType(name = "anySimpleType") - protected String pdid; @XmlAttribute @XmlSchemaType(name = "anySimpleType") - protected String localname; + protected String propertyDefinitionId; @XmlAttribute @XmlSchemaType(name = "anySimpleType") - protected String displayname; + protected String localName; + @XmlAttribute + @XmlSchemaType(name = "anySimpleType") + protected String displayName; + @XmlAttribute + @XmlSchemaType(name = "anySimpleType") + protected String queryName; @XmlAnyAttribute private Map otherAttributes = new HashMap(); /** - * Gets the value of the pdid property. + * Gets the value of the propertyDefinitionId property. * * @return * possible object is * {@link String } * */ - public String getPdid() { - return pdid; + public String getPropertyDefinitionId() { + return propertyDefinitionId; } /** - * Sets the value of the pdid property. + * Sets the value of the propertyDefinitionId property. * * @param value * allowed object is * {@link String } * */ - public void setPdid(String value) { - this.pdid = value; + public void setPropertyDefinitionId(String value) { + this.propertyDefinitionId = value; } /** - * Gets the value of the localname property. + * Gets the value of the localName property. * * @return * possible object is * {@link String } * */ - public String getLocalname() { - return localname; + public String getLocalName() { + return localName; } /** - * Sets the value of the localname property. + * Sets the value of the localName property. * * @param value * allowed object is * {@link String } * */ - public void setLocalname(String value) { - this.localname = value; + public void setLocalName(String value) { + this.localName = value; } /** - * Gets the value of the displayname property. + * Gets the value of the displayName property. * * @return * possible object is * {@link String } * */ - public String getDisplayname() { - return displayname; + public String getDisplayName() { + return displayName; } /** - * Sets the value of the displayname property. + * Sets the value of the displayName property. * * @param value * allowed object is * {@link String } * */ - public void setDisplayname(String value) { - this.displayname = value; + public void setDisplayName(String value) { + this.displayName = value; + } + + /** + * Gets the value of the queryName property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getQueryName() { + return queryName; + } + + /** + * Sets the value of the queryName property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setQueryName(String value) { + this.queryName = value; } /** diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyBoolean.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyBoolean.java index da46187a59..95a8739381 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyBoolean.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyBoolean.java @@ -17,7 +17,7 @@ import javax.xml.bind.annotation.XmlType; *

  * <complexType name="cmisPropertyBoolean">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisProperty">
  *       <sequence>
  *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}boolean" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
@@ -29,7 +29,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyBoolean", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyBoolean", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "value"
 })
 public class CmisPropertyBoolean
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyBooleanDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyBooleanDefinitionType.java
index ce8bb53124..e4c7b0988f 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyBooleanDefinitionType.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyBooleanDefinitionType.java
@@ -16,10 +16,10 @@ import javax.xml.bind.annotation.XmlType;
  * 
  * <complexType name="cmisPropertyBooleanDefinitionType">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDefinitionType">
  *       <sequence>
- *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyBoolean" minOccurs="0"/>
- *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceBoolean" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyBoolean" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceBoolean" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -29,7 +29,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyBooleanDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyBooleanDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "defaultValue",
     "choice"
 })
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDateTime.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDateTime.java
index 4ff1e3bd86..07e6d60e44 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDateTime.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDateTime.java
@@ -18,7 +18,7 @@ import javax.xml.datatype.XMLGregorianCalendar;
  * 
  * <complexType name="cmisPropertyDateTime">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisProperty">
  *       <sequence>
  *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}dateTime" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
@@ -30,7 +30,7 @@ import javax.xml.datatype.XMLGregorianCalendar;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyDateTime", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyDateTime", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "value"
 })
 public class CmisPropertyDateTime
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDateTimeDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDateTimeDefinitionType.java
index 85ffa72d67..9147e8150e 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDateTimeDefinitionType.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDateTimeDefinitionType.java
@@ -16,10 +16,10 @@ import javax.xml.bind.annotation.XmlType;
  * 
  * <complexType name="cmisPropertyDateTimeDefinitionType">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDefinitionType">
  *       <sequence>
- *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDateTime" minOccurs="0"/>
- *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceDateTime" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDateTime" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceDateTime" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -29,7 +29,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyDateTimeDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyDateTimeDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "defaultValue",
     "choice"
 })
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDecimal.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDecimal.java
index bc8f8c6f58..602f057f90 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDecimal.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDecimal.java
@@ -17,7 +17,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  * <complexType name="cmisPropertyDecimal">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisProperty">
  *       <sequence>
  *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}decimal" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
@@ -29,7 +29,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyDecimal", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyDecimal", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "value"
 })
 public class CmisPropertyDecimal
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDecimalDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDecimalDefinitionType.java
index be31641d59..4c2afb585e 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDecimalDefinitionType.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDecimalDefinitionType.java
@@ -18,13 +18,13 @@ import javax.xml.bind.annotation.XmlType;
  * 
  * <complexType name="cmisPropertyDecimalDefinitionType">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDefinitionType">
  *       <sequence>
- *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDecimal" minOccurs="0"/>
+ *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDecimal" minOccurs="0"/>
  *         <element name="maxValue" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
  *         <element name="minValue" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
- *         <element name="precision" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumDecimalPrecision" minOccurs="0"/>
- *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceDecimal" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="precision" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumDecimalPrecision" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceDecimal" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -34,7 +34,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyDecimalDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyDecimalDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "defaultValue",
     "maxValue",
     "minValue",
@@ -81,7 +81,7 @@ public class CmisPropertyDecimalDefinitionType
      * @return
      *     possible object is
      *     {@link BigDecimal }
-     * 
+     *     
      */
     public BigDecimal getMaxValue() {
         return maxValue;
@@ -93,7 +93,7 @@ public class CmisPropertyDecimalDefinitionType
      * @param value
      *     allowed object is
      *     {@link BigDecimal }
-     * 
+     *     
      */
     public void setMaxValue(BigDecimal value) {
         this.maxValue = value;
@@ -105,11 +105,11 @@ public class CmisPropertyDecimalDefinitionType
      * @return
      *     possible object is
      *     {@link BigDecimal }
-     * 
+     *     
      */
     public BigDecimal getMinValue() {
         return minValue;
-        }
+    }
 
     /**
      * Sets the value of the minValue property.
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDefinitionType.java
index 423a607cfd..04d4e78436 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDefinitionType.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDefinitionType.java
@@ -33,9 +33,9 @@ import org.w3c.dom.Element;
  *         <element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="queryName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="propertyType" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumPropertyType"/>
- *         <element name="cardinality" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCardinality"/>
- *         <element name="updatability" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumUpdatability"/>
+ *         <element name="propertyType" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumPropertyType"/>
+ *         <element name="cardinality" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumCardinality"/>
+ *         <element name="updatability" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumUpdatability"/>
  *         <element name="inherited" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
  *         <element name="required" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
  *         <element name="queryable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
@@ -43,7 +43,7 @@ import org.w3c.dom.Element;
  *         <element name="openChoice" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
  *         <any/>
  *       </sequence>
- *       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
+ *       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
  *     </restriction>
  *   </complexContent>
  * </complexType>
@@ -52,7 +52,7 @@ import org.w3c.dom.Element;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "id",
     "localName",
     "localNamespace",
@@ -70,12 +70,10 @@ import org.w3c.dom.Element;
     "any"
 })
 @XmlSeeAlso({
-    CmisPropertyXhtmlDefinitionType.class,
     CmisPropertyHtmlDefinitionType.class,
     CmisPropertyUriDefinitionType.class,
     CmisPropertyIdDefinitionType.class,
     CmisPropertyBooleanDefinitionType.class,
-    CmisPropertyXmlDefinitionType.class,
     CmisPropertyIntegerDefinitionType.class,
     CmisPropertyDateTimeDefinitionType.class,
     CmisPropertyDecimalDefinitionType.class,
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyHtml.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyHtml.java
index 1a036633c2..b9dbd7bf3d 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyHtml.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyHtml.java
@@ -5,9 +5,7 @@ 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.XmlAnyElement;
 import javax.xml.bind.annotation.XmlType;
-import org.w3c.dom.Element;
 
 
 /**
@@ -18,19 +16,9 @@ import org.w3c.dom.Element;
  * 
  * <complexType name="cmisPropertyHtml">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisProperty">
  *       <sequence>
- *         <element name="value" maxOccurs="unbounded" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <any/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
+ *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -40,14 +28,14 @@ import org.w3c.dom.Element;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyHtml", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyHtml", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "value"
 })
 public class CmisPropertyHtml
     extends CmisProperty
 {
 
-    protected List value;
+    protected List value;
 
     /**
      * Gets the value of the value property.
@@ -67,76 +55,15 @@ public class CmisPropertyHtml
      * 
      * 

* Objects of the following type(s) are allowed in the list - * {@link CmisPropertyHtml.Value } + * {@link String } * * */ - public List getValue() { + public List getValue() { if (value == null) { - value = new ArrayList(); + value = new ArrayList(); } return this.value; } - - /** - *

Java class for anonymous complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <any/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "any" - }) - public static class Value { - - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the any property. - * - *

- * 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 set method for the any property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getAny().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link Element } - * {@link Object } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - - } - } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyHtmlDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyHtmlDefinitionType.java index fb61bdf74d..ac9d0b13d5 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyHtmlDefinitionType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyHtmlDefinitionType.java @@ -16,10 +16,10 @@ import javax.xml.bind.annotation.XmlType; *
  * <complexType name="cmisPropertyHtmlDefinitionType">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDefinitionType">
  *       <sequence>
- *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyHtml" minOccurs="0"/>
- *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceHtml" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyHtml" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceHtml" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -29,7 +29,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyHtmlDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyHtmlDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "defaultValue",
     "choice"
 })
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyId.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyId.java
index 5b536b998a..3298d00820 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyId.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyId.java
@@ -5,8 +5,6 @@ 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.XmlAttribute;
-import javax.xml.bind.annotation.XmlSchemaType;
 import javax.xml.bind.annotation.XmlType;
 
 
@@ -18,11 +16,10 @@ import javax.xml.bind.annotation.XmlType;
  * 
  * <complexType name="cmisPropertyId">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisProperty">
  *       <sequence>
  *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
- *       <attribute ref="{http://docs.oasis-open.org/ns/cmis/core/200901}href"/>
  *     </extension>
  *   </complexContent>
  * </complexType>
@@ -31,7 +28,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyId", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyId", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "value"
 })
 public class CmisPropertyId
@@ -39,9 +36,6 @@ public class CmisPropertyId
 {
 
     protected List value;
-    @XmlAttribute(namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
-    @XmlSchemaType(name = "anyURI")
-    protected String href;
 
     /**
      * Gets the value of the value property.
@@ -72,28 +66,4 @@ public class CmisPropertyId
         return this.value;
     }
 
-    /**
-     * Gets the value of the href property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getHref() {
-        return href;
-    }
-
-    /**
-     * Sets the value of the href property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setHref(String value) {
-        this.href = value;
-    }
-
 }
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyIdDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyIdDefinitionType.java
index 1af5e1dfe7..7814a8499e 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyIdDefinitionType.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyIdDefinitionType.java
@@ -16,10 +16,10 @@ import javax.xml.bind.annotation.XmlType;
  * 
  * <complexType name="cmisPropertyIdDefinitionType">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDefinitionType">
  *       <sequence>
- *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyId" minOccurs="0"/>
- *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceId" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyId" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceId" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -29,7 +29,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyIdDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyIdDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "defaultValue",
     "choice"
 })
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyInteger.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyInteger.java
index df347f0f0b..724490edb6 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyInteger.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyInteger.java
@@ -17,7 +17,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  * <complexType name="cmisPropertyInteger">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisProperty">
  *       <sequence>
  *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
@@ -29,7 +29,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyInteger", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyInteger", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "value"
 })
 public class CmisPropertyInteger
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyIntegerDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyIntegerDefinitionType.java
index 5736bcdcaa..8211ddea6e 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyIntegerDefinitionType.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyIntegerDefinitionType.java
@@ -17,12 +17,12 @@ import javax.xml.bind.annotation.XmlType;
  * 
  * <complexType name="cmisPropertyIntegerDefinitionType">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDefinitionType">
  *       <sequence>
- *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyInteger" minOccurs="0"/>
+ *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyInteger" minOccurs="0"/>
  *         <element name="maxValue" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
  *         <element name="minValue" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
- *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceInteger" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceInteger" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -32,7 +32,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyIntegerDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyIntegerDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "defaultValue",
     "maxValue",
     "minValue",
@@ -53,7 +53,7 @@ public class CmisPropertyIntegerDefinitionType
      * @return
      *     possible object is
      *     {@link CmisPropertyInteger }
-     * 
+     *     
      */
     public CmisPropertyInteger getDefaultValue() {
         return defaultValue;
@@ -65,7 +65,7 @@ public class CmisPropertyIntegerDefinitionType
      * @param value
      *     allowed object is
      *     {@link CmisPropertyInteger }
-     * 
+     *     
      */
     public void setDefaultValue(CmisPropertyInteger value) {
         this.defaultValue = value;
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyString.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyString.java
index d8f5b1a8b2..c105ec1127 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyString.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyString.java
@@ -16,7 +16,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  * <complexType name="cmisPropertyString">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisProperty">
  *       <sequence>
  *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
@@ -28,7 +28,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyString", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyString", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "value"
 })
 public class CmisPropertyString
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyStringDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyStringDefinitionType.java
index e4ce4cd8b9..eab7b805f5 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyStringDefinitionType.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyStringDefinitionType.java
@@ -17,11 +17,11 @@ import javax.xml.bind.annotation.XmlType;
  * 
  * <complexType name="cmisPropertyStringDefinitionType">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDefinitionType">
  *       <sequence>
- *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyString" minOccurs="0"/>
+ *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyString" minOccurs="0"/>
  *         <element name="maxLength" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
- *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceString" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceString" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -31,7 +31,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyStringDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyStringDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "defaultValue",
     "maxLength",
     "choice"
@@ -50,7 +50,7 @@ public class CmisPropertyStringDefinitionType
      * @return
      *     possible object is
      *     {@link CmisPropertyString }
-     * 
+     *     
      */
     public CmisPropertyString getDefaultValue() {
         return defaultValue;
@@ -62,7 +62,7 @@ public class CmisPropertyStringDefinitionType
      * @param value
      *     allowed object is
      *     {@link CmisPropertyString }
-     * 
+     *     
      */
     public void setDefaultValue(CmisPropertyString value) {
         this.defaultValue = value;
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyUri.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyUri.java
index e555c7844f..48397afa39 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyUri.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyUri.java
@@ -17,7 +17,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  * <complexType name="cmisPropertyUri">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisProperty">
  *       <sequence>
  *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
@@ -29,7 +29,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyUri", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyUri", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "value"
 })
 public class CmisPropertyUri
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyUriDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyUriDefinitionType.java
index 2680ff6840..3edd03f990 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyUriDefinitionType.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyUriDefinitionType.java
@@ -16,10 +16,10 @@ import javax.xml.bind.annotation.XmlType;
  * 
  * <complexType name="cmisPropertyUriDefinitionType">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDefinitionType">
  *       <sequence>
- *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyUri" minOccurs="0"/>
- *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceUri" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyUri" minOccurs="0"/>
+ *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceUri" maxOccurs="unbounded" minOccurs="0"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -29,7 +29,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisPropertyUriDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisPropertyUriDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "defaultValue",
     "choice"
 })
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisQueryType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisQueryType.java
index 8d02dd29ee..c563b9ebfe 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisQueryType.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisQueryType.java
@@ -6,13 +6,11 @@ import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
-import javax.xml.bind.JAXBElement;
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlAnyAttribute;
 import javax.xml.bind.annotation.XmlAnyElement;
 import javax.xml.bind.annotation.XmlElement;
-import javax.xml.bind.annotation.XmlElementRef;
 import javax.xml.bind.annotation.XmlType;
 import javax.xml.namespace.QName;
 import org.w3c.dom.Element;
@@ -31,14 +29,14 @@ import org.w3c.dom.Element;
  *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="statement" type="{http://www.w3.org/2001/XMLSchema}string"/>
  *         <element name="searchAllVersions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         <element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         <element name="includeRelationships" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumIncludeRelationships" minOccurs="0"/>
+ *         <element name="renditionFilter" type="{http://www.w3.org/2001/XMLSchema}string" 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"/>
- *         <element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="includeRelationships" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumIncludeRelationships" minOccurs="0"/>
- *         <element name="includeRenditions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
  *         <any/>
  *       </sequence>
- *       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
+ *       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
  *     </restriction>
  *   </complexContent>
  * </complexType>
@@ -47,15 +45,15 @@ import org.w3c.dom.Element;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisQueryType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisQueryType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "repositoryId",
     "statement",
     "searchAllVersions",
-    "maxItems",
-    "skipCount",
     "includeAllowableActions",
     "includeRelationships",
-    "includeRenditions",
+    "renditionFilter",
+    "maxItems",
+    "skipCount",
     "any"
 })
 public class CmisQueryType {
@@ -64,14 +62,11 @@ public class CmisQueryType {
     @XmlElement(required = true)
     protected String statement;
     protected Boolean searchAllVersions;
+    protected Boolean includeAllowableActions;
+    protected EnumIncludeRelationships includeRelationships;
+    protected String renditionFilter;
     protected BigInteger maxItems;
     protected BigInteger skipCount;
-    @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", type = JAXBElement.class)
-    protected JAXBElement includeAllowableActions;
-    @XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", type = JAXBElement.class)
-    protected JAXBElement includeRelationships;
-    @XmlElementRef(name = "includeRenditions", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", type = JAXBElement.class)
-    protected JAXBElement includeRenditions;
     @XmlAnyElement(lax = true)
     protected List any;
     @XmlAnyAttribute
@@ -149,6 +144,78 @@ public class CmisQueryType {
         this.searchAllVersions = value;
     }
 
+    /**
+     * Gets the value of the includeAllowableActions property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Boolean }
+     *     
+     */
+    public Boolean isIncludeAllowableActions() {
+        return includeAllowableActions;
+    }
+
+    /**
+     * Sets the value of the includeAllowableActions property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Boolean }
+     *     
+     */
+    public void setIncludeAllowableActions(Boolean value) {
+        this.includeAllowableActions = value;
+    }
+
+    /**
+     * Gets the value of the includeRelationships property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link EnumIncludeRelationships }
+     *     
+     */
+    public EnumIncludeRelationships getIncludeRelationships() {
+        return includeRelationships;
+    }
+
+    /**
+     * Sets the value of the includeRelationships property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link EnumIncludeRelationships }
+     *     
+     */
+    public void setIncludeRelationships(EnumIncludeRelationships value) {
+        this.includeRelationships = value;
+    }
+
+    /**
+     * Gets the value of the renditionFilter property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getRenditionFilter() {
+        return renditionFilter;
+    }
+
+    /**
+     * Sets the value of the renditionFilter property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setRenditionFilter(String value) {
+        this.renditionFilter = value;
+    }
+
     /**
      * Gets the value of the maxItems property.
      * 
@@ -197,78 +264,6 @@ public class CmisQueryType {
         this.skipCount = value;
     }
 
-    /**
-     * Gets the value of the includeAllowableActions property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
-     *     
-     */
-    public JAXBElement 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 value) {
-        this.includeAllowableActions = ((JAXBElement ) value);
-    }
-
-    /**
-     * Gets the value of the includeRelationships property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}
-     *     
-     */
-    public JAXBElement getIncludeRelationships() {
-        return includeRelationships;
-    }
-
-    /**
-     * Sets the value of the includeRelationships property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}
-     *     
-     */
-    public void setIncludeRelationships(JAXBElement value) {
-        this.includeRelationships = ((JAXBElement ) value);
-    }
-
-    /**
-     * Gets the value of the includeRenditions property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
-     *     
-     */
-    public JAXBElement getIncludeRenditions() {
-        return includeRenditions;
-    }
-
-    /**
-     * Sets the value of the includeRenditions property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
-     *     
-     */
-    public void setIncludeRenditions(JAXBElement value) {
-        this.includeRenditions = ((JAXBElement ) value);
-    }
-
     /**
      * Gets the value of the any property.
      * 
@@ -290,7 +285,7 @@ public class CmisQueryType {
      * {@link Element }
      * {@link Object }
      * 
-     *     
+     * 
      */
     public List getAny() {
         if (any == null) {
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisRenditionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisRenditionType.java
index fae1b5ea11..de3adeea63 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisRenditionType.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisRenditionType.java
@@ -2,11 +2,14 @@
 package org.alfresco.repo.cmis.ws;
 
 import java.math.BigInteger;
+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.XmlAnyElement;
 import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlType;
+import org.w3c.dom.Element;
 
 
 /**
@@ -20,10 +23,10 @@ import javax.xml.bind.annotation.XmlType;
  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
  *         <element name="streamId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="mimetype" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="length" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ *         <element name="mimetype" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         <element name="length" type="{http://www.w3.org/2001/XMLSchema}integer"/>
+ *         <element name="kind" type="{http://www.w3.org/2001/XMLSchema}string"/>
  *         <element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="kind" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
  *         <element name="height" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
  *         <element name="width" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
  *         <element name="renditionDocumentId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
@@ -37,12 +40,12 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisRenditionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisRenditionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "streamId",
     "mimetype",
     "length",
-    "title",
     "kind",
+    "title",
     "height",
     "width",
     "renditionDocumentId",
@@ -52,15 +55,18 @@ public class CmisRenditionType {
 
     @XmlElement(required = true)
     protected String streamId;
+    @XmlElement(required = true)
     protected String mimetype;
+    @XmlElement(required = true)
     protected BigInteger length;
-    protected String title;
+    @XmlElement(required = true)
     protected String kind;
+    protected String title;
     protected BigInteger height;
     protected BigInteger width;
     protected String renditionDocumentId;
     @XmlAnyElement(lax = true)
-    protected Object any;
+    protected List any;
 
     /**
      * Gets the value of the streamId property.
@@ -134,30 +140,6 @@ public class CmisRenditionType {
         this.length = value;
     }
 
-    /**
-     * Gets the value of the title property.
-     * 
-     * @return
-     *     possible object is
-     *     {@link String }
-     *     
-     */
-    public String getTitle() {
-        return title;
-    }
-
-    /**
-     * Sets the value of the title property.
-     * 
-     * @param value
-     *     allowed object is
-     *     {@link String }
-     *     
-     */
-    public void setTitle(String value) {
-        this.title = value;
-    }
-
     /**
      * Gets the value of the kind property.
      * 
@@ -182,6 +164,30 @@ public class CmisRenditionType {
         this.kind = value;
     }
 
+    /**
+     * Gets the value of the title property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getTitle() {
+        return title;
+    }
+
+    /**
+     * Sets the value of the title property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setTitle(String value) {
+        this.title = value;
+    }
+
     /**
      * Gets the value of the height property.
      * 
@@ -257,25 +263,31 @@ public class CmisRenditionType {
     /**
      * Gets the value of the any property.
      * 
-     * @return
-     *     possible object is
-     *     {@link Object }
-     *     
-     */
-    public Object getAny() {
-        return any;
-    }
-
-    /**
-     * Sets the value of the any property.
+     * 

+ * 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 set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAny().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * * - * @param value - * allowed object is - * {@link Object } - * */ - public void setAny(Object value) { - this.any = value; + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryCapabilitiesType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryCapabilitiesType.java index ecf347f77f..d1198df11d 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryCapabilitiesType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryCapabilitiesType.java @@ -25,23 +25,23 @@ import org.w3c.dom.Element; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="capabilityACL" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCapabilityACL" minOccurs="0"/> + * <element name="capabilityACL" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumCapabilityACL"/> * <element name="capabilityAllVersionsSearchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/> - * <element name="capabilityChanges" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCapabilityChanges"/> - * <element name="capabilityChangesOnType" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumBaseObjectTypeIds" maxOccurs="unbounded"/> - * <element name="capabilityContentStreamUpdatability" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCapabilityContentStreamUpdates"/> + * <element name="capabilityChanges" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumCapabilityChanges"/> + * <element name="capabilityContentStreamUpdatability" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumCapabilityContentStreamUpdates"/> * <element name="capabilityGetDescendants" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="capabilityGetFolderTree" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * <element name="capabilityMultifiling" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * <element name="capabilityPWCSearchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/> - * <element name="capabilityPWCUpdateable" type="{http://www.w3.org/2001/XMLSchema}boolean"/> - * <element name="capabilityQuery" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCapabilityQuery"/> - * <element name="capabilityRenditions" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCapabilityRendition"/> + * <element name="capabilityPWCUpdatable" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="capabilityQuery" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumCapabilityQuery"/> + * <element name="capabilityRenditions" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumCapabilityRendition"/> * <element name="capabilityUnfiling" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * <element name="capabilityVersionSpecificFiling" type="{http://www.w3.org/2001/XMLSchema}boolean"/> - * <element name="capabilityJoin" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCapabilityJoin"/> + * <element name="capabilityJoin" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumCapabilityJoin"/> * <any/> * </sequence> - * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/> + * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/> * </restriction> * </complexContent> * </complexType> @@ -50,16 +50,16 @@ import org.w3c.dom.Element; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisRepositoryCapabilitiesType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = { +@XmlType(name = "cmisRepositoryCapabilitiesType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { "capabilityACL", "capabilityAllVersionsSearchable", "capabilityChanges", - "capabilityChangesOnType", "capabilityContentStreamUpdatability", "capabilityGetDescendants", + "capabilityGetFolderTree", "capabilityMultifiling", "capabilityPWCSearchable", - "capabilityPWCUpdateable", + "capabilityPWCUpdatable", "capabilityQuery", "capabilityRenditions", "capabilityUnfiling", @@ -69,18 +69,18 @@ import org.w3c.dom.Element; }) public class CmisRepositoryCapabilitiesType { + @XmlElement(required = true) protected EnumCapabilityACL capabilityACL; protected boolean capabilityAllVersionsSearchable; @XmlElement(required = true) protected EnumCapabilityChanges capabilityChanges; @XmlElement(required = true) - protected List capabilityChangesOnType; - @XmlElement(required = true) protected EnumCapabilityContentStreamUpdates capabilityContentStreamUpdatability; protected boolean capabilityGetDescendants; + protected boolean capabilityGetFolderTree; protected boolean capabilityMultifiling; protected boolean capabilityPWCSearchable; - protected boolean capabilityPWCUpdateable; + protected boolean capabilityPWCUpdatable; @XmlElement(required = true) protected EnumCapabilityQuery capabilityQuery; @XmlElement(required = true) @@ -152,48 +152,19 @@ public class CmisRepositoryCapabilitiesType { * @param value * allowed object is * {@link EnumCapabilityChanges } - * + * */ public void setCapabilityChanges(EnumCapabilityChanges value) { this.capabilityChanges = value; } - /** - * Gets the value of the capabilityChangesOnType property. - * - *

- * 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 set method for the capabilityChangesOnType property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getCapabilityChangesOnType().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link EnumBaseObjectTypeIds } - * - * - */ - public List getCapabilityChangesOnType() { - if (capabilityChangesOnType == null) { - capabilityChangesOnType = new ArrayList(); - } - return this.capabilityChangesOnType; - } - /** * Gets the value of the capabilityContentStreamUpdatability property. * * @return * possible object is * {@link EnumCapabilityContentStreamUpdates } - * + * */ public EnumCapabilityContentStreamUpdates getCapabilityContentStreamUpdatability() { return capabilityContentStreamUpdatability; @@ -205,7 +176,7 @@ public class CmisRepositoryCapabilitiesType { * @param value * allowed object is * {@link EnumCapabilityContentStreamUpdates } - * + * */ public void setCapabilityContentStreamUpdatability(EnumCapabilityContentStreamUpdates value) { this.capabilityContentStreamUpdatability = value; @@ -227,6 +198,22 @@ public class CmisRepositoryCapabilitiesType { this.capabilityGetDescendants = value; } + /** + * Gets the value of the capabilityGetFolderTree property. + * + */ + public boolean isCapabilityGetFolderTree() { + return capabilityGetFolderTree; + } + + /** + * Sets the value of the capabilityGetFolderTree property. + * + */ + public void setCapabilityGetFolderTree(boolean value) { + this.capabilityGetFolderTree = value; + } + /** * Gets the value of the capabilityMultifiling property. * @@ -260,19 +247,19 @@ public class CmisRepositoryCapabilitiesType { } /** - * Gets the value of the capabilityPWCUpdateable property. + * Gets the value of the capabilityPWCUpdatable property. * */ - public boolean isCapabilityPWCUpdateable() { - return capabilityPWCUpdateable; + public boolean isCapabilityPWCUpdatable() { + return capabilityPWCUpdatable; } /** - * Sets the value of the capabilityPWCUpdateable property. + * Sets the value of the capabilityPWCUpdatable property. * */ - public void setCapabilityPWCUpdateable(boolean value) { - this.capabilityPWCUpdateable = value; + public void setCapabilityPWCUpdatable(boolean value) { + this.capabilityPWCUpdatable = value; } /** @@ -341,7 +328,7 @@ public class CmisRepositoryCapabilitiesType { /** * Gets the value of the capabilityVersionSpecificFiling property. - * + * */ public boolean isCapabilityVersionSpecificFiling() { return capabilityVersionSpecificFiling; @@ -349,7 +336,7 @@ public class CmisRepositoryCapabilitiesType { /** * Sets the value of the capabilityVersionSpecificFiling property. - * + * */ public void setCapabilityVersionSpecificFiling(boolean value) { this.capabilityVersionSpecificFiling = value; @@ -373,7 +360,7 @@ public class CmisRepositoryCapabilitiesType { * @param value * allowed object is * {@link EnumCapabilityJoin } - * + * */ public void setCapabilityJoin(EnumCapabilityJoin value) { this.capabilityJoin = value; diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryEntryType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryEntryType.java index 5a0ca542fb..11913dcd67 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryEntryType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryEntryType.java @@ -10,7 +10,6 @@ import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyAttribute; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.namespace.QName; import org.w3c.dom.Element; @@ -26,13 +25,11 @@ import org.w3c.dom.Element; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="relationship" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="thinClientURI" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="repositoryName" type="{http://www.w3.org/2001/XMLSchema}string"/> * <any/> * </sequence> - * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/> + * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/> * </restriction> * </complexContent> * </complexType> @@ -42,120 +39,67 @@ import org.w3c.dom.Element; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "cmisRepositoryEntryType", propOrder = { - "id", - "name", - "relationship", - "thinClientURI", + "repositoryId", + "repositoryName", "any" }) public class CmisRepositoryEntryType { @XmlElement(required = true) - protected String id; + protected String repositoryId; @XmlElement(required = true) - protected String name; - protected String relationship; - @XmlSchemaType(name = "anyURI") - protected String thinClientURI; + protected String repositoryName; @XmlAnyElement(lax = true) protected List any; @XmlAnyAttribute private Map otherAttributes = new HashMap(); /** - * Gets the value of the id property. + * Gets the value of the repositoryId property. * * @return * possible object is * {@link String } * */ - public String getId() { - return id; + public String getRepositoryId() { + return repositoryId; } /** - * Sets the value of the id property. + * Sets the value of the repositoryId property. * * @param value * allowed object is * {@link String } * */ - public void setId(String value) { - this.id = value; + public void setRepositoryId(String value) { + this.repositoryId = value; } /** - * Gets the value of the name property. + * Gets the value of the repositoryName property. * * @return * possible object is * {@link String } * */ - public String getName() { - return name; + public String getRepositoryName() { + return repositoryName; } /** - * Sets the value of the name property. + * Sets the value of the repositoryName property. * * @param value * allowed object is * {@link String } * */ - public void setName(String value) { - this.name = value; - } - - /** - * Gets the value of the relationship property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRelationship() { - return relationship; - } - - /** - * Sets the value of the relationship property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRelationship(String value) { - this.relationship = value; - } - - /** - * Gets the value of the thinClientURI property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getThinClientURI() { - return thinClientURI; - } - - /** - * Sets the value of the thinClientURI property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setThinClientURI(String value) { - this.thinClientURI = value; + public void setRepositoryName(String value) { + this.repositoryName = value; } /** diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryInfoType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryInfoType.java index 638382998e..05e62d089d 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryInfoType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryInfoType.java @@ -29,21 +29,23 @@ import org.w3c.dom.Element; * <sequence> * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="repositoryName" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="repositoryRelationship" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="repositoryDescription" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="vendorName" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="productName" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="productVersion" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="rootFolderId" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="latestChangeToken" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="capabilities" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisRepositoryCapabilitiesType"/> - * <element name="aclCapability" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisACLCapabilityType" minOccurs="0"/> + * <element name="latestChangeLogToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="capabilities" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisRepositoryCapabilitiesType"/> + * <element name="aclCapability" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisACLCapabilityType" minOccurs="0"/> * <element name="cmisVersionSupported" type="{http://www.w3.org/2001/XMLSchema}decimal"/> * <element name="thinClientURI" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> * <element name="changesIncomplete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="changesOnType" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumBaseObjectTypeIds" maxOccurs="unbounded" minOccurs="0"/> + * <element name="principalAnonymous" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="principalAnyone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <any/> * </sequence> - * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/> + * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/> * </restriction> * </complexContent> * </complexType> @@ -52,21 +54,23 @@ import org.w3c.dom.Element; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisRepositoryInfoType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = { +@XmlType(name = "cmisRepositoryInfoType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { "repositoryId", "repositoryName", - "repositoryRelationship", "repositoryDescription", "vendorName", "productName", "productVersion", "rootFolderId", - "latestChangeToken", + "latestChangeLogToken", "capabilities", "aclCapability", "cmisVersionSupported", "thinClientURI", "changesIncomplete", + "changesOnType", + "principalAnonymous", + "principalAnyone", "any" }) public class CmisRepositoryInfoType { @@ -76,8 +80,6 @@ public class CmisRepositoryInfoType { @XmlElement(required = true) protected String repositoryName; @XmlElement(required = true) - protected String repositoryRelationship; - @XmlElement(required = true) protected String repositoryDescription; @XmlElement(required = true) protected String vendorName; @@ -87,8 +89,7 @@ public class CmisRepositoryInfoType { protected String productVersion; @XmlElement(required = true) protected String rootFolderId; - @XmlElement(required = true) - protected String latestChangeToken; + protected String latestChangeLogToken; @XmlElement(required = true) protected CmisRepositoryCapabilitiesType capabilities; protected CmisACLCapabilityType aclCapability; @@ -97,6 +98,9 @@ public class CmisRepositoryInfoType { @XmlSchemaType(name = "anyURI") protected String thinClientURI; protected Boolean changesIncomplete; + protected List changesOnType; + protected String principalAnonymous; + protected String principalAnyone; @XmlAnyElement(lax = true) protected List any; @XmlAnyAttribute @@ -150,30 +154,6 @@ public class CmisRepositoryInfoType { this.repositoryName = value; } - /** - * Gets the value of the repositoryRelationship property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryRelationship() { - return repositoryRelationship; - } - - /** - * Sets the value of the repositoryRelationship property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryRelationship(String value) { - this.repositoryRelationship = value; - } - /** * Gets the value of the repositoryDescription property. * @@ -295,27 +275,27 @@ public class CmisRepositoryInfoType { } /** - * Gets the value of the latestChangeToken property. + * Gets the value of the latestChangeLogToken property. * * @return * possible object is * {@link String } * */ - public String getLatestChangeToken() { - return latestChangeToken; + public String getLatestChangeLogToken() { + return latestChangeLogToken; } /** - * Sets the value of the latestChangeToken property. + * Sets the value of the latestChangeLogToken property. * * @param value * allowed object is * {@link String } * */ - public void setLatestChangeToken(String value) { - this.latestChangeToken = value; + public void setLatestChangeLogToken(String value) { + this.latestChangeLogToken = value; } /** @@ -438,6 +418,83 @@ public class CmisRepositoryInfoType { this.changesIncomplete = value; } + /** + * Gets the value of the changesOnType property. + * + *

+ * 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 set method for the changesOnType property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getChangesOnType().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link EnumBaseObjectTypeIds } + * + * + */ + public List getChangesOnType() { + if (changesOnType == null) { + changesOnType = new ArrayList(); + } + return this.changesOnType; + } + + /** + * Gets the value of the principalAnonymous property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrincipalAnonymous() { + return principalAnonymous; + } + + /** + * Sets the value of the principalAnonymous property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrincipalAnonymous(String value) { + this.principalAnonymous = value; + } + + /** + * Gets the value of the principalAnyone property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPrincipalAnyone() { + return principalAnyone; + } + + /** + * Sets the value of the principalAnyone property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPrincipalAnyone(String value) { + this.principalAnyone = value; + } + /** * Gets the value of the any property. * diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeContainer.java b/source/generated/org/alfresco/repo/cmis/ws/CmisTypeContainer.java index 909059d4f0..6f920312bd 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeContainer.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisTypeContainer.java @@ -2,11 +2,17 @@ package org.alfresco.repo.cmis.ws; import java.util.ArrayList; +import java.util.HashMap; import java.util.List; +import java.util.Map; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAnyAttribute; +import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; +import javax.xml.namespace.QName; +import org.w3c.dom.Element; /** @@ -19,9 +25,11 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="type" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisTypeDefinitionType"/> - * <element name="children" type="{http://docs.oasis-open.org/ns/cmis/messaging/200901}cmisTypeContainer" maxOccurs="unbounded" minOccurs="0"/> + * <element name="type" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisTypeDefinitionType"/> + * <element name="children" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisTypeContainer" maxOccurs="unbounded" minOccurs="0"/> + * <any/> * </sequence> + * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/> * </restriction> * </complexContent> * </complexType> @@ -32,13 +40,18 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "cmisTypeContainer", propOrder = { "type", - "children" + "children", + "any" }) public class CmisTypeContainer { @XmlElement(required = true) protected CmisTypeDefinitionType type; protected List children; + @XmlAnyElement(lax = true) + protected List any; + @XmlAnyAttribute + private Map otherAttributes = new HashMap(); /** * Gets the value of the type property. @@ -93,4 +106,52 @@ public class CmisTypeContainer { return this.children; } + /** + * Gets the value of the any property. + * + *

+ * 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 set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getAny().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; + } + + /** + * Gets a map that contains attributes that aren't bound to any typed property on this class. + * + *

+ * the map is keyed by the name of the attribute and + * the value is the string value of the attribute. + * + * the map returned by this method is live, and you can add new attribute + * by updating the map directly. Because of this design, there's no setter. + * + * + * @return + * always non-null + */ + public Map getOtherAttributes() { + return otherAttributes; + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisTypeDefinitionType.java index 26eb355d1a..9ff00d673d 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeDefinitionType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisTypeDefinitionType.java @@ -30,34 +30,32 @@ import org.w3c.dom.Element; * <sequence> * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="localName" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="localNamespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/> + * <element name="localNamespace" type="{http://www.w3.org/2001/XMLSchema}anyURI"/> * <element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="queryName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="baseTypeId" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumBaseObjectTypeIds"/> + * <element name="baseId" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumBaseObjectTypeIds"/> * <element name="parentId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="creatable" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * <element name="fileable" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * <element name="queryable" type="{http://www.w3.org/2001/XMLSchema}boolean"/> - * <element name="fulltextindexed" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="fulltextIndexed" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * <element name="includedInSupertypeQuery" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * <element name="controllablePolicy" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * <element name="controllableACL" type="{http://www.w3.org/2001/XMLSchema}boolean"/> * <choice maxOccurs="unbounded" minOccurs="0"> - * <element name="propertyBooleanDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyBooleanDefinitionType"/> - * <element name="propertyDateTimeDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDateTimeDefinitionType"/> - * <element name="propertyDecimalDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDecimalDefinitionType"/> - * <element name="propertyIdDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyIdDefinitionType"/> - * <element name="propertyIntegerDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyIntegerDefinitionType"/> - * <element name="propertyHtmlDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyHtmlDefinitionType"/> - * <element name="propertyXhtmlDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyXhtmlDefinitionType"/> - * <element name="propertyStringDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyStringDefinitionType"/> - * <element name="propertyXmlDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyXmlDefinitionType"/> - * <element name="propertyUriDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyUriDefinitionType"/> + * <element name="propertyBooleanDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyBooleanDefinitionType"/> + * <element name="propertyDateTimeDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDateTimeDefinitionType"/> + * <element name="propertyDecimalDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDecimalDefinitionType"/> + * <element name="propertyIdDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyIdDefinitionType"/> + * <element name="propertyIntegerDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyIntegerDefinitionType"/> + * <element name="propertyHtmlDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyHtmlDefinitionType"/> + * <element name="propertyStringDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyStringDefinitionType"/> + * <element name="propertyUriDefinition" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyUriDefinitionType"/> * </choice> * <any/> * </sequence> - * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/> + * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/> * </restriction> * </complexContent> * </complexType> @@ -66,19 +64,19 @@ import org.w3c.dom.Element; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisTypeDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = { +@XmlType(name = "cmisTypeDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { "id", "localName", "localNamespace", "displayName", "queryName", "description", - "baseTypeId", + "baseId", "parentId", "creatable", "fileable", "queryable", - "fulltextindexed", + "fulltextIndexed", "includedInSupertypeQuery", "controllablePolicy", "controllableACL", @@ -97,33 +95,32 @@ public class CmisTypeDefinitionType { protected String id; @XmlElement(required = true) protected String localName; + @XmlElement(required = true, nillable = true) @XmlSchemaType(name = "anyURI") protected String localNamespace; protected String displayName; protected String queryName; protected String description; @XmlElement(required = true) - protected EnumBaseObjectTypeIds baseTypeId; + protected EnumBaseObjectTypeIds baseId; protected String parentId; protected boolean creatable; protected boolean fileable; protected boolean queryable; - protected boolean fulltextindexed; + protected boolean fulltextIndexed; @XmlElement(defaultValue = "true") protected boolean includedInSupertypeQuery; protected boolean controllablePolicy; protected boolean controllableACL; @XmlElements({ - @XmlElement(name = "propertyHtmlDefinition", type = CmisPropertyHtmlDefinitionType.class), - @XmlElement(name = "propertyXmlDefinition", type = CmisPropertyXmlDefinitionType.class), + @XmlElement(name = "propertyBooleanDefinition", type = CmisPropertyBooleanDefinitionType.class), @XmlElement(name = "propertyDateTimeDefinition", type = CmisPropertyDateTimeDefinitionType.class), @XmlElement(name = "propertyUriDefinition", type = CmisPropertyUriDefinitionType.class), @XmlElement(name = "propertyStringDefinition", type = CmisPropertyStringDefinitionType.class), @XmlElement(name = "propertyIntegerDefinition", type = CmisPropertyIntegerDefinitionType.class), - @XmlElement(name = "propertyIdDefinition", type = CmisPropertyIdDefinitionType.class), - @XmlElement(name = "propertyXhtmlDefinition", type = CmisPropertyXhtmlDefinitionType.class), + @XmlElement(name = "propertyHtmlDefinition", type = CmisPropertyHtmlDefinitionType.class), @XmlElement(name = "propertyDecimalDefinition", type = CmisPropertyDecimalDefinitionType.class), - @XmlElement(name = "propertyBooleanDefinition", type = CmisPropertyBooleanDefinitionType.class) + @XmlElement(name = "propertyIdDefinition", type = CmisPropertyIdDefinitionType.class) }) protected List propertyDefinition; @XmlAnyElement(lax = true) @@ -276,27 +273,27 @@ public class CmisTypeDefinitionType { } /** - * Gets the value of the baseTypeId property. + * Gets the value of the baseId property. * * @return * possible object is * {@link EnumBaseObjectTypeIds } * */ - public EnumBaseObjectTypeIds getBaseTypeId() { - return baseTypeId; + public EnumBaseObjectTypeIds getBaseId() { + return baseId; } /** - * Sets the value of the baseTypeId property. + * Sets the value of the baseId property. * * @param value * allowed object is * {@link EnumBaseObjectTypeIds } * */ - public void setBaseTypeId(EnumBaseObjectTypeIds value) { - this.baseTypeId = value; + public void setBaseId(EnumBaseObjectTypeIds value) { + this.baseId = value; } /** @@ -372,19 +369,19 @@ public class CmisTypeDefinitionType { } /** - * Gets the value of the fulltextindexed property. + * Gets the value of the fulltextIndexed property. * */ - public boolean isFulltextindexed() { - return fulltextindexed; + public boolean isFulltextIndexed() { + return fulltextIndexed; } /** - * Sets the value of the fulltextindexed property. + * Sets the value of the fulltextIndexed property. * */ - public void setFulltextindexed(boolean value) { - this.fulltextindexed = value; + public void setFulltextIndexed(boolean value) { + this.fulltextIndexed = value; } /** @@ -453,16 +450,14 @@ public class CmisTypeDefinitionType { * *

* Objects of the following type(s) are allowed in the list - * {@link CmisPropertyHtmlDefinitionType } - * {@link CmisPropertyXmlDefinitionType } + * {@link CmisPropertyBooleanDefinitionType } * {@link CmisPropertyDateTimeDefinitionType } * {@link CmisPropertyUriDefinitionType } * {@link CmisPropertyStringDefinitionType } * {@link CmisPropertyIntegerDefinitionType } - * {@link CmisPropertyIdDefinitionType } - * {@link CmisPropertyXhtmlDefinitionType } + * {@link CmisPropertyHtmlDefinitionType } * {@link CmisPropertyDecimalDefinitionType } - * {@link CmisPropertyBooleanDefinitionType } + * {@link CmisPropertyIdDefinitionType } * * */ diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeDocumentDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisTypeDocumentDefinitionType.java index 42ab8d3564..bd0f19c049 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeDocumentDefinitionType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CmisTypeDocumentDefinitionType.java @@ -15,10 +15,10 @@ import javax.xml.bind.annotation.XmlType; *

  * <complexType name="cmisTypeDocumentDefinitionType">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisTypeDefinitionType">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisTypeDefinitionType">
  *       <sequence>
  *         <element name="versionable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
- *         <element name="contentStreamAllowed" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumContentStreamAllowed"/>
+ *         <element name="contentStreamAllowed" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumContentStreamAllowed"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -28,7 +28,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisTypeDocumentDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisTypeDocumentDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "versionable",
     "contentStreamAllowed"
 })
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeFolderDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisTypeFolderDefinitionType.java
index 2b73169d79..54dd4ccbde 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeFolderDefinitionType.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisTypeFolderDefinitionType.java
@@ -14,7 +14,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  * <complexType name="cmisTypeFolderDefinitionType">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisTypeDefinitionType">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisTypeDefinitionType">
  *       <sequence>
  *       </sequence>
  *     </extension>
@@ -25,7 +25,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisTypeFolderDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
+@XmlType(name = "cmisTypeFolderDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")
 public class CmisTypeFolderDefinitionType
     extends CmisTypeDefinitionType
 {
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisTypePolicyDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisTypePolicyDefinitionType.java
index b89ec089f9..a6e36898bb 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisTypePolicyDefinitionType.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisTypePolicyDefinitionType.java
@@ -14,7 +14,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  * <complexType name="cmisTypePolicyDefinitionType">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisTypeDefinitionType">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisTypeDefinitionType">
  *       <sequence>
  *       </sequence>
  *     </extension>
@@ -25,7 +25,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisTypePolicyDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
+@XmlType(name = "cmisTypePolicyDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")
 public class CmisTypePolicyDefinitionType
     extends CmisTypeDefinitionType
 {
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeRelationshipDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisTypeRelationshipDefinitionType.java
index e4e15ee34a..872736cf96 100755
--- a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeRelationshipDefinitionType.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CmisTypeRelationshipDefinitionType.java
@@ -5,6 +5,7 @@ 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.XmlElement;
 import javax.xml.bind.annotation.XmlType;
 
 
@@ -16,10 +17,10 @@ import javax.xml.bind.annotation.XmlType;
  * 
  * <complexType name="cmisTypeRelationshipDefinitionType">
  *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisTypeDefinitionType">
+ *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisTypeDefinitionType">
  *       <sequence>
- *         <element name="allowedSourceTypes" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="allowedTargetTypes" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="allowedSourceTypes" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
+ *         <element name="allowedTargetTypes" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
  *       </sequence>
  *     </extension>
  *   </complexContent>
@@ -29,7 +30,7 @@ import javax.xml.bind.annotation.XmlType;
  * 
  */
 @XmlAccessorType(XmlAccessType.FIELD)
-@XmlType(name = "cmisTypeRelationshipDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
+@XmlType(name = "cmisTypeRelationshipDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = {
     "allowedSourceTypes",
     "allowedTargetTypes"
 })
@@ -37,7 +38,9 @@ public class CmisTypeRelationshipDefinitionType
     extends CmisTypeDefinitionType
 {
 
+    @XmlElement(required = true)
     protected List allowedSourceTypes;
+    @XmlElement(required = true)
     protected List allowedTargetTypes;
 
     /**
diff --git a/source/generated/org/alfresco/repo/cmis/ws/CreateDocument.java b/source/generated/org/alfresco/repo/cmis/ws/CreateDocument.java
index 70ecdf70bb..4a124822a0 100644
--- a/source/generated/org/alfresco/repo/cmis/ws/CreateDocument.java
+++ b/source/generated/org/alfresco/repo/cmis/ws/CreateDocument.java
@@ -23,13 +23,14 @@ import javax.xml.bind.annotation.XmlType;
  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  *       <sequence>
  *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType"/>
+ *         <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertiesType"/>
  *         <element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/messaging/200901}cmisContentStreamType" minOccurs="0"/>
- *         <element name="versioningState" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumVersioningState" minOccurs="0"/>
- *         <element name="applyPolicies" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType" minOccurs="0"/>
- *         <element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType" minOccurs="0"/>
+ *         <element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisContentStreamType" minOccurs="0"/>
+ *         <element name="versioningState" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumVersioningState" minOccurs="0"/>
+ *         <element name="policies" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/>
+ *         <element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/>
+ *         <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
  *       </sequence>
  *     </restriction>
  *   </complexContent>
@@ -45,9 +46,10 @@ import javax.xml.bind.annotation.XmlType;
     "folderId",
     "contentStream",
     "versioningState",
-    "applyPolicies",
+    "policies",
     "addACEs",
-    "removeACEs"
+    "removeACEs",
+    "extension"
 })
 @XmlRootElement(name = "createDocument")
 public class CreateDocument {
@@ -56,17 +58,20 @@ public class CreateDocument {
     protected String repositoryId;
     @XmlElement(required = true)
     protected CmisPropertiesType properties;
-    protected String folderId;
-    @XmlElementRef(name = "contentStream", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
+    @XmlElementRef(name = "folderId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
+    protected JAXBElement folderId;
+    @XmlElementRef(name = "contentStream", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
     protected JAXBElement contentStream;
-    @XmlElementRef(name = "versioningState", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
+    @XmlElementRef(name = "versioningState", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
     protected JAXBElement versioningState;
     @XmlElement(nillable = true)
-    protected List applyPolicies;
-    @XmlElementRef(name = "addACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
+    protected List policies;
+    @XmlElementRef(name = "addACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
     protected JAXBElement addACEs;
-    @XmlElementRef(name = "removeACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
+    @XmlElementRef(name = "removeACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
     protected JAXBElement removeACEs;
+    @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
+    protected JAXBElement extension;
 
     /**
      * Gets the value of the repositoryId property.
@@ -121,10 +126,10 @@ public class CreateDocument {
      * 
      * @return
      *     possible object is
-     *     {@link String }
+     *     {@link JAXBElement }{@code <}{@link String }{@code >}
      *     
      */
-    public String getFolderId() {
+    public JAXBElement getFolderId() {
         return folderId;
     }
 
@@ -133,11 +138,11 @@ public class CreateDocument {
      * 
      * @param value
      *     allowed object is
-     *     {@link String }
+     *     {@link JAXBElement }{@code <}{@link String }{@code >}
      *     
      */
-    public void setFolderId(String value) {
-        this.folderId = value;
+    public void setFolderId(JAXBElement value) {
+        this.folderId = ((JAXBElement ) value);
     }
 
     /**
@@ -189,18 +194,18 @@ public class CreateDocument {
     }
 
     /**
-     * Gets the value of the applyPolicies property.
+     * Gets the value of the policies property.
      * 
      * 

* 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 set method for the applyPolicies property. + * This is why there is not a set method for the policies property. * *

* For example, to add a new item, do as follows: *

-     *    getApplyPolicies().add(newItem);
+     *    getPolicies().add(newItem);
      * 
* * @@ -210,11 +215,11 @@ public class CreateDocument { * * */ - public List getApplyPolicies() { - if (applyPolicies == null) { - applyPolicies = new ArrayList(); + public List getPolicies() { + if (policies == null) { + policies = new ArrayList(); } - return this.applyPolicies; + return this.policies; } /** @@ -265,4 +270,28 @@ public class CreateDocument { this.removeACEs = ((JAXBElement ) value); } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CreateDocumentResponse.java b/source/generated/org/alfresco/repo/cmis/ws/CreateDocumentResponse.java index ab22df87a4..9db3ac91e1 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/CreateDocumentResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CreateDocumentResponse.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -19,6 +21,7 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -29,13 +32,16 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "objectId" + "objectId", + "extension" }) @XmlRootElement(name = "createDocumentResponse") public class CreateDocumentResponse { @XmlElement(required = true) protected String objectId; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the objectId property. @@ -61,4 +67,28 @@ public class CreateDocumentResponse { this.objectId = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CreateFolder.java b/source/generated/org/alfresco/repo/cmis/ws/CreateFolder.java index de17768e21..cd9e3c985e 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/CreateFolder.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CreateFolder.java @@ -23,11 +23,12 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType"/> + * <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertiesType"/> * <element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="applyPolicies" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> - * <element name="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType" minOccurs="0"/> - * <element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType" minOccurs="0"/> + * <element name="policies" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/> + * <element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -41,9 +42,10 @@ import javax.xml.bind.annotation.XmlType; "repositoryId", "properties", "folderId", - "applyPolicies", + "policies", "addACEs", - "removeACEs" + "removeACEs", + "extension" }) @XmlRootElement(name = "createFolder") public class CreateFolder { @@ -55,11 +57,13 @@ public class CreateFolder { @XmlElement(required = true) protected String folderId; @XmlElement(nillable = true) - protected List applyPolicies; - @XmlElementRef(name = "addACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + protected List policies; + @XmlElementRef(name = "addACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement addACEs; - @XmlElementRef(name = "removeACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "removeACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement removeACEs; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -134,18 +138,18 @@ public class CreateFolder { } /** - * Gets the value of the applyPolicies property. + * Gets the value of the policies property. * *

* 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 set method for the applyPolicies property. + * This is why there is not a set method for the policies property. * *

* For example, to add a new item, do as follows: *

-     *    getApplyPolicies().add(newItem);
+     *    getPolicies().add(newItem);
      * 
* * @@ -155,11 +159,11 @@ public class CreateFolder { * * */ - public List getApplyPolicies() { - if (applyPolicies == null) { - applyPolicies = new ArrayList(); + public List getPolicies() { + if (policies == null) { + policies = new ArrayList(); } - return this.applyPolicies; + return this.policies; } /** @@ -210,4 +214,28 @@ public class CreateFolder { this.removeACEs = ((JAXBElement ) value); } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CreateFolderResponse.java b/source/generated/org/alfresco/repo/cmis/ws/CreateFolderResponse.java index c014473a86..2f3ef6b4b3 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/CreateFolderResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CreateFolderResponse.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -19,6 +21,7 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -29,13 +32,16 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "objectId" + "objectId", + "extension" }) @XmlRootElement(name = "createFolderResponse") public class CreateFolderResponse { @XmlElement(required = true) protected String objectId; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the objectId property. @@ -61,4 +67,28 @@ public class CreateFolderResponse { this.objectId = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CreatePolicy.java b/source/generated/org/alfresco/repo/cmis/ws/CreatePolicy.java index cc83ecd976..a6ea22a9fa 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CreatePolicy.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CreatePolicy.java @@ -1,6 +1,8 @@ package org.alfresco.repo.cmis.ws; +import java.util.ArrayList; +import java.util.List; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; @@ -21,8 +23,12 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType"/> + * <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertiesType"/> * <element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="policies" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/> + * <element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -35,7 +41,11 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "", propOrder = { "repositoryId", "properties", - "folderId" + "folderId", + "policies", + "addACEs", + "removeACEs", + "extension" }) @XmlRootElement(name = "createPolicy") public class CreatePolicy { @@ -44,8 +54,16 @@ public class CreatePolicy { protected String repositoryId; @XmlElement(required = true) protected CmisPropertiesType properties; - @XmlElementRef(name = "folderId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "folderId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement folderId; + @XmlElement(nillable = true) + protected List policies; + @XmlElementRef(name = "addACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement addACEs; + @XmlElementRef(name = "removeACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement removeACEs; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -119,4 +137,105 @@ public class CreatePolicy { this.folderId = ((JAXBElement ) value); } + /** + * Gets the value of the policies property. + * + *

+ * 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 set method for the policies property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getPolicies().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link String } + * + * + */ + public List getPolicies() { + if (policies == null) { + policies = new ArrayList(); + } + return this.policies; + } + + /** + * Gets the value of the addACEs property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >} + * + */ + public JAXBElement getAddACEs() { + return addACEs; + } + + /** + * Sets the value of the addACEs property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >} + * + */ + public void setAddACEs(JAXBElement value) { + this.addACEs = ((JAXBElement ) value); + } + + /** + * Gets the value of the removeACEs property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >} + * + */ + public JAXBElement getRemoveACEs() { + return removeACEs; + } + + /** + * Sets the value of the removeACEs property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >} + * + */ + public void setRemoveACEs(JAXBElement value) { + this.removeACEs = ((JAXBElement ) value); + } + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CreatePolicyResponse.java b/source/generated/org/alfresco/repo/cmis/ws/CreatePolicyResponse.java index d5f2da8e00..c4bfed0208 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/CreatePolicyResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CreatePolicyResponse.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -19,6 +21,7 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -29,13 +32,16 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "objectId" + "objectId", + "extension" }) @XmlRootElement(name = "createPolicyResponse") public class CreatePolicyResponse { @XmlElement(required = true) protected String objectId; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the objectId property. @@ -61,4 +67,28 @@ public class CreatePolicyResponse { this.objectId = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CreateRelationship.java b/source/generated/org/alfresco/repo/cmis/ws/CreateRelationship.java index f52bf13815..307f98c3b4 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/CreateRelationship.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CreateRelationship.java @@ -23,12 +23,11 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType"/> - * <element name="sourceObjectId" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="targetObjectId" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="applyPolicies" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> - * <element name="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType" minOccurs="0"/> - * <element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType" minOccurs="0"/> + * <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertiesType"/> + * <element name="policies" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/> + * <element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -41,11 +40,10 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "", propOrder = { "repositoryId", "properties", - "sourceObjectId", - "targetObjectId", - "applyPolicies", + "policies", "addACEs", - "removeACEs" + "removeACEs", + "extension" }) @XmlRootElement(name = "createRelationship") public class CreateRelationship { @@ -54,16 +52,14 @@ public class CreateRelationship { protected String repositoryId; @XmlElement(required = true) protected CmisPropertiesType properties; - @XmlElement(required = true) - protected String sourceObjectId; - @XmlElement(required = true) - protected String targetObjectId; @XmlElement(nillable = true) - protected List applyPolicies; - @XmlElementRef(name = "addACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + protected List policies; + @XmlElementRef(name = "addACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement addACEs; - @XmlElementRef(name = "removeACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "removeACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement removeACEs; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -114,66 +110,18 @@ public class CreateRelationship { } /** - * Gets the value of the sourceObjectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getSourceObjectId() { - return sourceObjectId; - } - - /** - * Sets the value of the sourceObjectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSourceObjectId(String value) { - this.sourceObjectId = value; - } - - /** - * Gets the value of the targetObjectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getTargetObjectId() { - return targetObjectId; - } - - /** - * Sets the value of the targetObjectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setTargetObjectId(String value) { - this.targetObjectId = value; - } - - /** - * Gets the value of the applyPolicies property. + * Gets the value of the policies property. * *

* 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 set method for the applyPolicies property. + * This is why there is not a set method for the policies property. * *

* For example, to add a new item, do as follows: *

-     *    getApplyPolicies().add(newItem);
+     *    getPolicies().add(newItem);
      * 
* * @@ -183,11 +131,11 @@ public class CreateRelationship { * * */ - public List getApplyPolicies() { - if (applyPolicies == null) { - applyPolicies = new ArrayList(); + public List getPolicies() { + if (policies == null) { + policies = new ArrayList(); } - return this.applyPolicies; + return this.policies; } /** @@ -238,4 +186,28 @@ public class CreateRelationship { this.removeACEs = ((JAXBElement ) value); } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/CreateRelationshipResponse.java b/source/generated/org/alfresco/repo/cmis/ws/CreateRelationshipResponse.java index c053735a56..4bd3e5b0f0 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/CreateRelationshipResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/CreateRelationshipResponse.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -19,6 +21,7 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -29,13 +32,16 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "objectId" + "objectId", + "extension" }) @XmlRootElement(name = "createRelationshipResponse") public class CreateRelationshipResponse { @XmlElement(required = true) protected String objectId; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the objectId property. @@ -61,4 +67,28 @@ public class CreateRelationshipResponse { this.objectId = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/DeleteContentStream.java b/source/generated/org/alfresco/repo/cmis/ws/DeleteContentStream.java index ef78f916eb..a61da7a234 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/DeleteContentStream.java +++ b/source/generated/org/alfresco/repo/cmis/ws/DeleteContentStream.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -21,6 +23,7 @@ import javax.xml.bind.annotation.XmlType; * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="changeToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -33,7 +36,8 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "", propOrder = { "repositoryId", "documentId", - "changeToken" + "changeToken", + "extension" }) @XmlRootElement(name = "deleteContentStream") public class DeleteContentStream { @@ -43,6 +47,8 @@ public class DeleteContentStream { @XmlElement(required = true) protected String documentId; protected String changeToken; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -116,4 +122,28 @@ public class DeleteContentStream { this.changeToken = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/DeleteContentStreamResponse.java b/source/generated/org/alfresco/repo/cmis/ws/DeleteContentStreamResponse.java index 94fc3d1ff8..672a987bfd 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/DeleteContentStreamResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/DeleteContentStreamResponse.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -19,6 +21,8 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="changeToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -29,13 +33,18 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "documentId" + "documentId", + "changeToken", + "extension" }) @XmlRootElement(name = "deleteContentStreamResponse") public class DeleteContentStreamResponse { @XmlElement(required = true) protected String documentId; + protected String changeToken; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the documentId property. @@ -61,4 +70,52 @@ public class DeleteContentStreamResponse { this.documentId = value; } + /** + * Gets the value of the changeToken property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChangeToken() { + return changeToken; + } + + /** + * Sets the value of the changeToken property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChangeToken(String value) { + this.changeToken = value; + } + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/DeleteObject.java b/source/generated/org/alfresco/repo/cmis/ws/DeleteObject.java index 0829f3bbce..aa3249323d 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/DeleteObject.java +++ b/source/generated/org/alfresco/repo/cmis/ws/DeleteObject.java @@ -23,6 +23,7 @@ import javax.xml.bind.annotation.XmlType; * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="allVersions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -35,7 +36,8 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "", propOrder = { "repositoryId", "objectId", - "allVersions" + "allVersions", + "extension" }) @XmlRootElement(name = "deleteObject") public class DeleteObject { @@ -44,8 +46,10 @@ public class DeleteObject { protected String repositoryId; @XmlElement(required = true) protected String objectId; - @XmlElementRef(name = "allVersions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "allVersions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement allVersions; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -119,4 +123,28 @@ public class DeleteObject { this.allVersions = ((JAXBElement ) value); } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/DeleteObjectResponse.java b/source/generated/org/alfresco/repo/cmis/ws/DeleteObjectResponse.java index 7b5514c3d4..fa394858f0 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/DeleteObjectResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/DeleteObjectResponse.java @@ -1,8 +1,10 @@ package org.alfresco.repo.cmis.ws; +import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @@ -17,6 +19,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -26,9 +29,37 @@ import javax.xml.bind.annotation.XmlType; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "") +@XmlType(name = "", propOrder = { + "extension" +}) @XmlRootElement(name = "deleteObjectResponse") public class DeleteObjectResponse { + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/DeleteTree.java b/source/generated/org/alfresco/repo/cmis/ws/DeleteTree.java index bba2a813a0..63f85e5e8c 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/DeleteTree.java +++ b/source/generated/org/alfresco/repo/cmis/ws/DeleteTree.java @@ -22,8 +22,10 @@ import javax.xml.bind.annotation.XmlType; * <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="unfileObject" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumUnfileObject"/> + * <element name="allVersions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="unfileObject" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumUnfileObject" minOccurs="0"/> * <element name="continueOnFailure" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -36,8 +38,10 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "", propOrder = { "repositoryId", "folderId", + "allVersions", "unfileObject", - "continueOnFailure" + "continueOnFailure", + "extension" }) @XmlRootElement(name = "deleteTree") public class DeleteTree { @@ -46,10 +50,14 @@ public class DeleteTree { protected String repositoryId; @XmlElement(required = true) protected String folderId; - @XmlElement(required = true) - protected EnumUnfileObject unfileObject; - @XmlElementRef(name = "continueOnFailure", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "allVersions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement allVersions; + @XmlElementRef(name = "unfileObject", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement unfileObject; + @XmlElementRef(name = "continueOnFailure", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement continueOnFailure; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -99,15 +107,39 @@ public class DeleteTree { this.folderId = value; } + /** + * Gets the value of the allVersions property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * + */ + public JAXBElement getAllVersions() { + return allVersions; + } + + /** + * Sets the value of the allVersions property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * + */ + public void setAllVersions(JAXBElement value) { + this.allVersions = ((JAXBElement ) value); + } + /** * Gets the value of the unfileObject property. * * @return * possible object is - * {@link EnumUnfileObject } + * {@link JAXBElement }{@code <}{@link EnumUnfileObject }{@code >} * */ - public EnumUnfileObject getUnfileObject() { + public JAXBElement getUnfileObject() { return unfileObject; } @@ -116,11 +148,11 @@ public class DeleteTree { * * @param value * allowed object is - * {@link EnumUnfileObject } + * {@link JAXBElement }{@code <}{@link EnumUnfileObject }{@code >} * */ - public void setUnfileObject(EnumUnfileObject value) { - this.unfileObject = value; + public void setUnfileObject(JAXBElement value) { + this.unfileObject = ((JAXBElement ) value); } /** @@ -147,4 +179,28 @@ public class DeleteTree { this.continueOnFailure = ((JAXBElement ) value); } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/DeleteTreeResponse.java b/source/generated/org/alfresco/repo/cmis/ws/DeleteTreeResponse.java index 0d9f82d46d..c569190e80 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/DeleteTreeResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/DeleteTreeResponse.java @@ -5,9 +5,11 @@ 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.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; +import org.w3c.dom.Element; /** @@ -25,7 +27,8 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="objectIds" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <any/> * </sequence> * </restriction> * </complexContent> @@ -84,7 +87,8 @@ public class DeleteTreeResponse { * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <element name="objectIds" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> + * <any/> * </sequence> * </restriction> * </complexContent> @@ -95,25 +99,28 @@ public class DeleteTreeResponse { */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "objectId" + "objectIds", + "any" }) public static class FailedToDelete { - protected List objectId; + protected List objectIds; + @XmlAnyElement(lax = true) + protected List any; /** - * Gets the value of the objectId property. + * Gets the value of the objectIds property. * *

* 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 set method for the objectId property. + * This is why there is not a set method for the objectIds property. * *

* For example, to add a new item, do as follows: *

-         *    getObjectId().add(newItem);
+         *    getObjectIds().add(newItem);
          * 
* * @@ -123,11 +130,41 @@ public class DeleteTreeResponse { * * */ - public List getObjectId() { - if (objectId == null) { - objectId = new ArrayList(); + public List getObjectIds() { + if (objectIds == null) { + objectIds = new ArrayList(); } - return this.objectId; + return this.objectIds; + } + + /** + * Gets the value of the any property. + * + *

+ * 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 set method for the any property. + * + *

+ * For example, to add a new item, do as follows: + *

+         *    getAny().add(newItem);
+         * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Element } + * {@link Object } + * + * + */ + public List getAny() { + if (any == null) { + any = new ArrayList(); + } + return this.any; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/DiscoveryService.java b/source/generated/org/alfresco/repo/cmis/ws/DiscoveryService.java index 3d89bf5a6e..fe2d265673 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/DiscoveryService.java +++ b/source/generated/org/alfresco/repo/cmis/ws/DiscoveryService.java @@ -15,26 +15,26 @@ import javax.xml.ws.WebServiceFeature; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:28 EEST 2009 + * Mon Oct 12 11:20:37 EEST 2009 * Generated source version: 2.1.2 * */ @WebServiceClient(name = "DiscoveryService", - wsdlLocation = "file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl", - targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901") + wsdlLocation = "file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl", + targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/") public class DiscoveryService extends Service { public final static URL WSDL_LOCATION; - public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "DiscoveryService"); - public final static QName DiscoveryServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "DiscoveryServicePort"); + public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "DiscoveryService"); + public final static QName DiscoveryServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "DiscoveryServicePort"); static { URL url = null; try { - url = new URL("file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + url = new URL("file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + System.err.println("Can not initialize the default wsdl from file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); // e.printStackTrace(); } WSDL_LOCATION = url; diff --git a/source/generated/org/alfresco/repo/cmis/ws/DiscoveryServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/DiscoveryServicePort.java index 4b7d635292..4be8801af3 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/DiscoveryServicePort.java +++ b/source/generated/org/alfresco/repo/cmis/ws/DiscoveryServicePort.java @@ -13,40 +13,44 @@ import javax.xml.ws.ResponseWrapper; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:28 EEST 2009 + * Mon Oct 12 11:20:37 EEST 2009 * Generated source version: 2.1.2 * */ -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", name = "DiscoveryServicePort") +@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "DiscoveryServicePort") @XmlSeeAlso({ObjectFactory.class}) public interface DiscoveryServicePort { @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) - @WebResult(name = "queryResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", partName = "parameters") + @WebResult(name = "queryResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", partName = "parameters") @WebMethod public QueryResponse query( - @WebParam(partName = "parameters", name = "query", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(partName = "parameters", name = "query", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") Query parameters ) throws CmisException; - @ResponseWrapper(localName = "getContentChangesResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetContentChangesResponse") - @RequestWrapper(localName = "getContentChanges", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetContentChanges") + @ResponseWrapper(localName = "getContentChangesResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetContentChangesResponse") + @RequestWrapper(localName = "getContentChanges", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetContentChanges") @WebMethod public void getContentChanges( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(mode = WebParam.Mode.INOUT, name = "changeToken", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - javax.xml.ws.Holder changeToken, - @WebParam(name = "maxItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.math.BigInteger maxItems, - @WebParam(name = "includeACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.Boolean includeACL, - @WebParam(name = "includeProperties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(mode = WebParam.Mode.INOUT, name = "changeLogToken", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder changeLogToken, + @WebParam(name = "includeProperties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.Boolean includeProperties, - @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String filter, - @WebParam(mode = WebParam.Mode.OUT, name = "changedObject", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - javax.xml.ws.Holder> changedObject + @WebParam(name = "includePolicyIds", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includePolicyIds, + @WebParam(name = "includeACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includeACL, + @WebParam(name = "maxItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.math.BigInteger maxItems, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension, + @WebParam(mode = WebParam.Mode.OUT, name = "objects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder objects ) throws CmisException; } diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumACLPropagation.java b/source/generated/org/alfresco/repo/cmis/ws/EnumACLPropagation.java index 491cf4dfe1..6f9804a4f8 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumACLPropagation.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumACLPropagation.java @@ -14,22 +14,22 @@ import javax.xml.bind.annotation.XmlType; *
  * <simpleType name="enumACLPropagation">
  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="repository-determined"/>
- *     <enumeration value="object-only"/>
+ *     <enumeration value="repositorydetermined"/>
+ *     <enumeration value="objectonly"/>
  *     <enumeration value="propagate"/>
  *   </restriction>
  * </simpleType>
  * 
* */ -@XmlType(name = "enumACLPropagation", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumACLPropagation", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumACLPropagation { - @XmlEnumValue("repository-determined") - REPOSITORY_DETERMINED("repository-determined"), - @XmlEnumValue("object-only") - OBJECT_ONLY("object-only"), + @XmlEnumValue("repositorydetermined") + REPOSITORYDETERMINED("repositorydetermined"), + @XmlEnumValue("objectonly") + OBJECTONLY("objectonly"), @XmlEnumValue("propagate") PROPAGATE("propagate"); private final String value; diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumAllowableActionsKey.java b/source/generated/org/alfresco/repo/cmis/ws/EnumAllowableActionsKey.java index e8ad4b90f8..031c496090 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumAllowableActionsKey.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumAllowableActionsKey.java @@ -44,7 +44,7 @@ import javax.xml.bind.annotation.XmlType; * <enumeration value="canCancelCheckout.Document"/> * <enumeration value="canCheckin.Document"/> * <enumeration value="canGetAllVersions.VersionSeries"/> - * <enumeration value="canGetRelationship.Object"/> + * <enumeration value="canGetObjectRelationships.Object"/> * <enumeration value="canAddPolicy.Object"/> * <enumeration value="canAddPolicy.Policy"/> * <enumeration value="canRemovePolicy.Object"/> @@ -57,7 +57,7 @@ import javax.xml.bind.annotation.XmlType; * * */ -@XmlType(name = "enumAllowableActionsKey", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumAllowableActionsKey", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumAllowableActionsKey { @@ -121,8 +121,8 @@ public enum EnumAllowableActionsKey { CAN_CHECKIN_DOCUMENT("canCheckin.Document"), @XmlEnumValue("canGetAllVersions.VersionSeries") CAN_GET_ALL_VERSIONS_VERSION_SERIES("canGetAllVersions.VersionSeries"), - @XmlEnumValue("canGetRelationship.Object") - CAN_GET_RELATIONSHIP_OBJECT("canGetRelationship.Object"), + @XmlEnumValue("canGetObjectRelationships.Object") + CAN_GET_OBJECT_RELATIONSHIPS_OBJECT("canGetObjectRelationships.Object"), @XmlEnumValue("canAddPolicy.Object") CAN_ADD_POLICY_OBJECT("canAddPolicy.Object"), @XmlEnumValue("canAddPolicy.Policy") diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumBaseObjectTypeIds.java b/source/generated/org/alfresco/repo/cmis/ws/EnumBaseObjectTypeIds.java index 26a671ca6f..0859d4e60f 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumBaseObjectTypeIds.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumBaseObjectTypeIds.java @@ -23,7 +23,7 @@ import javax.xml.bind.annotation.XmlType; * * */ -@XmlType(name = "enumBaseObjectTypeIds", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumBaseObjectTypeIds", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumBaseObjectTypeIds { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumBasicPermissions.java b/source/generated/org/alfresco/repo/cmis/ws/EnumBasicPermissions.java index 12a71f33d2..14169bc084 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumBasicPermissions.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumBasicPermissions.java @@ -16,14 +16,13 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="cmis:read"/> * <enumeration value="cmis:write"/> - * <enumeration value="cmis:delete"/> * <enumeration value="cmis:all"/> * </restriction> * </simpleType> * * */ -@XmlType(name = "enumBasicPermissions", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumBasicPermissions", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumBasicPermissions { @@ -31,8 +30,6 @@ public enum EnumBasicPermissions { CMIS_READ("cmis:read"), @XmlEnumValue("cmis:write") CMIS_WRITE("cmis:write"), - @XmlEnumValue("cmis:delete") - CMIS_DELETE("cmis:delete"), @XmlEnumValue("cmis:all") CMIS_ALL("cmis:all"); private final String value; diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityACL.java b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityACL.java index 3cf6580548..4433712a06 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityACL.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityACL.java @@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlType; * * */ -@XmlType(name = "enumCapabilityACL", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumCapabilityACL", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumCapabilityACL { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityChanges.java b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityChanges.java index 0afd4fc22d..1d0c7e430d 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityChanges.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityChanges.java @@ -15,7 +15,7 @@ import javax.xml.bind.annotation.XmlType; * <simpleType name="enumCapabilityChanges"> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="none"/> - * <enumeration value="objectIdsOnly"/> + * <enumeration value="objectidsonly"/> * <enumeration value="properties"/> * <enumeration value="all"/> * </restriction> @@ -23,14 +23,14 @@ import javax.xml.bind.annotation.XmlType; * * */ -@XmlType(name = "enumCapabilityChanges", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumCapabilityChanges", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumCapabilityChanges { @XmlEnumValue("none") NONE("none"), - @XmlEnumValue("objectIdsOnly") - OBJECT_IDS_ONLY("objectIdsOnly"), + @XmlEnumValue("objectidsonly") + OBJECTIDSONLY("objectidsonly"), @XmlEnumValue("properties") PROPERTIES("properties"), @XmlEnumValue("all") diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityContentStreamUpdates.java b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityContentStreamUpdates.java index 27f82365a5..9b03dc2a53 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityContentStreamUpdates.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityContentStreamUpdates.java @@ -15,20 +15,23 @@ import javax.xml.bind.annotation.XmlType; * <simpleType name="enumCapabilityContentStreamUpdates"> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="anytime"/> - * <enumeration value="pwc-only"/> + * <enumeration value="pwconly"/> + * <enumeration value="none"/> * </restriction> * </simpleType> * * */ -@XmlType(name = "enumCapabilityContentStreamUpdates", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumCapabilityContentStreamUpdates", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumCapabilityContentStreamUpdates { @XmlEnumValue("anytime") ANYTIME("anytime"), - @XmlEnumValue("pwc-only") - PWC_ONLY("pwc-only"); + @XmlEnumValue("pwconly") + PWCONLY("pwconly"), + @XmlEnumValue("none") + NONE("none"); private final String value; EnumCapabilityContentStreamUpdates(String v) { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityJoin.java b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityJoin.java index 60ea348691..36b4213314 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityJoin.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityJoin.java @@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlType; * * */ -@XmlType(name = "enumCapabilityJoin", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumCapabilityJoin", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumCapabilityJoin { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityQuery.java b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityQuery.java index a4e86cb2e7..85a39b4ece 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityQuery.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityQuery.java @@ -24,7 +24,7 @@ import javax.xml.bind.annotation.XmlType; * * */ -@XmlType(name = "enumCapabilityQuery", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumCapabilityQuery", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumCapabilityQuery { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityRendition.java b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityRendition.java index c4d0f82897..698da9e1a0 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityRendition.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityRendition.java @@ -21,7 +21,7 @@ import javax.xml.bind.annotation.XmlType; * * */ -@XmlType(name = "enumCapabilityRendition", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumCapabilityRendition", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumCapabilityRendition { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumCardinality.java b/source/generated/org/alfresco/repo/cmis/ws/EnumCardinality.java index c9b1f3d3f3..4475a93757 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumCardinality.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumCardinality.java @@ -21,7 +21,7 @@ import javax.xml.bind.annotation.XmlType; * * */ -@XmlType(name = "enumCardinality", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumCardinality", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumCardinality { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumContentStreamAllowed.java b/source/generated/org/alfresco/repo/cmis/ws/EnumContentStreamAllowed.java index 739a85d259..065aacb992 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumContentStreamAllowed.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumContentStreamAllowed.java @@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlType; * * */ -@XmlType(name = "enumContentStreamAllowed", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumContentStreamAllowed", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumContentStreamAllowed { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumIncludeRelationships.java b/source/generated/org/alfresco/repo/cmis/ws/EnumIncludeRelationships.java index 10aa84dfdc..1b0a7cd195 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumIncludeRelationships.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumIncludeRelationships.java @@ -23,7 +23,7 @@ import javax.xml.bind.annotation.XmlType; * * */ -@XmlType(name = "enumIncludeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumIncludeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumIncludeRelationships { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesBase.java b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesBase.java index 40703bd5c6..46678a3f13 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesBase.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesBase.java @@ -14,42 +14,42 @@ import javax.xml.bind.annotation.XmlType; *
  * <simpleType name="enumPropertiesBase">
  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="cmis:Name"/>
- *     <enumeration value="cmis:ObjectId"/>
- *     <enumeration value="cmis:ObjectTypeId"/>
- *     <enumeration value="cmis:BaseTypeId"/>
- *     <enumeration value="cmis:CreatedBy"/>
- *     <enumeration value="cmis:CreationDate"/>
- *     <enumeration value="cmis:LastModifiedBy"/>
- *     <enumeration value="cmis:LastModificationDate"/>
- *     <enumeration value="cmis:ChangeToken"/>
+ *     <enumeration value="cmis:name"/>
+ *     <enumeration value="cmis:objectId"/>
+ *     <enumeration value="cmis:objectTypeId"/>
+ *     <enumeration value="cmis:baseTypeId"/>
+ *     <enumeration value="cmis:createdBy"/>
+ *     <enumeration value="cmis:creationDate"/>
+ *     <enumeration value="cmis:lastModifiedBy"/>
+ *     <enumeration value="cmis:lastModificationDate"/>
+ *     <enumeration value="cmis:changeToken"/>
  *   </restriction>
  * </simpleType>
  * 
* */ -@XmlType(name = "enumPropertiesBase", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumPropertiesBase", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumPropertiesBase { - @XmlEnumValue("cmis:Name") - CMIS_NAME("cmis:Name"), - @XmlEnumValue("cmis:ObjectId") - CMIS_OBJECT_ID("cmis:ObjectId"), - @XmlEnumValue("cmis:ObjectTypeId") - CMIS_OBJECT_TYPE_ID("cmis:ObjectTypeId"), - @XmlEnumValue("cmis:BaseTypeId") - CMIS_BASE_TYPE_ID("cmis:BaseTypeId"), - @XmlEnumValue("cmis:CreatedBy") - CMIS_CREATED_BY("cmis:CreatedBy"), - @XmlEnumValue("cmis:CreationDate") - CMIS_CREATION_DATE("cmis:CreationDate"), - @XmlEnumValue("cmis:LastModifiedBy") - CMIS_LAST_MODIFIED_BY("cmis:LastModifiedBy"), - @XmlEnumValue("cmis:LastModificationDate") - CMIS_LAST_MODIFICATION_DATE("cmis:LastModificationDate"), - @XmlEnumValue("cmis:ChangeToken") - CMIS_CHANGE_TOKEN("cmis:ChangeToken"); + @XmlEnumValue("cmis:name") + CMIS_NAME("cmis:name"), + @XmlEnumValue("cmis:objectId") + CMIS_OBJECT_ID("cmis:objectId"), + @XmlEnumValue("cmis:objectTypeId") + CMIS_OBJECT_TYPE_ID("cmis:objectTypeId"), + @XmlEnumValue("cmis:baseTypeId") + CMIS_BASE_TYPE_ID("cmis:baseTypeId"), + @XmlEnumValue("cmis:createdBy") + CMIS_CREATED_BY("cmis:createdBy"), + @XmlEnumValue("cmis:creationDate") + CMIS_CREATION_DATE("cmis:creationDate"), + @XmlEnumValue("cmis:lastModifiedBy") + CMIS_LAST_MODIFIED_BY("cmis:lastModifiedBy"), + @XmlEnumValue("cmis:lastModificationDate") + CMIS_LAST_MODIFICATION_DATE("cmis:lastModificationDate"), + @XmlEnumValue("cmis:changeToken") + CMIS_CHANGE_TOKEN("cmis:changeToken"); private final String value; EnumPropertiesBase(String v) { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesDocument.java b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesDocument.java index c89c8639f5..1cd76da4d1 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesDocument.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesDocument.java @@ -14,57 +14,57 @@ import javax.xml.bind.annotation.XmlType; *
  * <simpleType name="enumPropertiesDocument">
  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="cmis:IsImmutable"/>
- *     <enumeration value="cmis:IsLatestVersion"/>
- *     <enumeration value="cmis:IsMajorVersion"/>
- *     <enumeration value="cmis:IsLatestMajorVersion"/>
- *     <enumeration value="cmis:VersionLabel"/>
- *     <enumeration value="cmis:VersionSeriesId"/>
- *     <enumeration value="cmis:IsVersionSeriesCheckedOut"/>
- *     <enumeration value="cmis:VersionSeriesCheckedOutBy"/>
- *     <enumeration value="cmis:VersionSeriesCheckedOutId"/>
- *     <enumeration value="cmis:CheckinComment"/>
- *     <enumeration value="cmis:ContentStreamLength"/>
- *     <enumeration value="cmis:ContentStreamMimeType"/>
- *     <enumeration value="cmis:ContentStreamFileName"/>
- *     <enumeration value="cmis:ContentStreamId"/>
+ *     <enumeration value="cmis:isImmutable"/>
+ *     <enumeration value="cmis:isLatestVersion"/>
+ *     <enumeration value="cmis:isMajorVersion"/>
+ *     <enumeration value="cmis:isLatestMajorVersion"/>
+ *     <enumeration value="cmis:versionLabel"/>
+ *     <enumeration value="cmis:versionSeriesId"/>
+ *     <enumeration value="cmis:isVersionSeriesCheckedOut"/>
+ *     <enumeration value="cmis:versionSeriesCheckedOutBy"/>
+ *     <enumeration value="cmis:versionSeriesCheckedOutId"/>
+ *     <enumeration value="cmis:checkinComment"/>
+ *     <enumeration value="cmis:contentStreamLength"/>
+ *     <enumeration value="cmis:contentStreamMimeType"/>
+ *     <enumeration value="cmis:contentStreamFileName"/>
+ *     <enumeration value="cmis:contentStreamId"/>
  *   </restriction>
  * </simpleType>
  * 
* */ -@XmlType(name = "enumPropertiesDocument", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumPropertiesDocument", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumPropertiesDocument { - @XmlEnumValue("cmis:IsImmutable") - CMIS_IS_IMMUTABLE("cmis:IsImmutable"), - @XmlEnumValue("cmis:IsLatestVersion") - CMIS_IS_LATEST_VERSION("cmis:IsLatestVersion"), - @XmlEnumValue("cmis:IsMajorVersion") - CMIS_IS_MAJOR_VERSION("cmis:IsMajorVersion"), - @XmlEnumValue("cmis:IsLatestMajorVersion") - CMIS_IS_LATEST_MAJOR_VERSION("cmis:IsLatestMajorVersion"), - @XmlEnumValue("cmis:VersionLabel") - CMIS_VERSION_LABEL("cmis:VersionLabel"), - @XmlEnumValue("cmis:VersionSeriesId") - CMIS_VERSION_SERIES_ID("cmis:VersionSeriesId"), - @XmlEnumValue("cmis:IsVersionSeriesCheckedOut") - CMIS_IS_VERSION_SERIES_CHECKED_OUT("cmis:IsVersionSeriesCheckedOut"), - @XmlEnumValue("cmis:VersionSeriesCheckedOutBy") - CMIS_VERSION_SERIES_CHECKED_OUT_BY("cmis:VersionSeriesCheckedOutBy"), - @XmlEnumValue("cmis:VersionSeriesCheckedOutId") - CMIS_VERSION_SERIES_CHECKED_OUT_ID("cmis:VersionSeriesCheckedOutId"), - @XmlEnumValue("cmis:CheckinComment") - CMIS_CHECKIN_COMMENT("cmis:CheckinComment"), - @XmlEnumValue("cmis:ContentStreamLength") - CMIS_CONTENT_STREAM_LENGTH("cmis:ContentStreamLength"), - @XmlEnumValue("cmis:ContentStreamMimeType") - CMIS_CONTENT_STREAM_MIME_TYPE("cmis:ContentStreamMimeType"), - @XmlEnumValue("cmis:ContentStreamFileName") - CMIS_CONTENT_STREAM_FILE_NAME("cmis:ContentStreamFileName"), - @XmlEnumValue("cmis:ContentStreamId") - CMIS_CONTENT_STREAM_ID("cmis:ContentStreamId"); + @XmlEnumValue("cmis:isImmutable") + CMIS_IS_IMMUTABLE("cmis:isImmutable"), + @XmlEnumValue("cmis:isLatestVersion") + CMIS_IS_LATEST_VERSION("cmis:isLatestVersion"), + @XmlEnumValue("cmis:isMajorVersion") + CMIS_IS_MAJOR_VERSION("cmis:isMajorVersion"), + @XmlEnumValue("cmis:isLatestMajorVersion") + CMIS_IS_LATEST_MAJOR_VERSION("cmis:isLatestMajorVersion"), + @XmlEnumValue("cmis:versionLabel") + CMIS_VERSION_LABEL("cmis:versionLabel"), + @XmlEnumValue("cmis:versionSeriesId") + CMIS_VERSION_SERIES_ID("cmis:versionSeriesId"), + @XmlEnumValue("cmis:isVersionSeriesCheckedOut") + CMIS_IS_VERSION_SERIES_CHECKED_OUT("cmis:isVersionSeriesCheckedOut"), + @XmlEnumValue("cmis:versionSeriesCheckedOutBy") + CMIS_VERSION_SERIES_CHECKED_OUT_BY("cmis:versionSeriesCheckedOutBy"), + @XmlEnumValue("cmis:versionSeriesCheckedOutId") + CMIS_VERSION_SERIES_CHECKED_OUT_ID("cmis:versionSeriesCheckedOutId"), + @XmlEnumValue("cmis:checkinComment") + CMIS_CHECKIN_COMMENT("cmis:checkinComment"), + @XmlEnumValue("cmis:contentStreamLength") + CMIS_CONTENT_STREAM_LENGTH("cmis:contentStreamLength"), + @XmlEnumValue("cmis:contentStreamMimeType") + CMIS_CONTENT_STREAM_MIME_TYPE("cmis:contentStreamMimeType"), + @XmlEnumValue("cmis:contentStreamFileName") + CMIS_CONTENT_STREAM_FILE_NAME("cmis:contentStreamFileName"), + @XmlEnumValue("cmis:contentStreamId") + CMIS_CONTENT_STREAM_ID("cmis:contentStreamId"); private final String value; EnumPropertiesDocument(String v) { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesFolder.java b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesFolder.java index 098841a4ee..03ed2c086d 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesFolder.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesFolder.java @@ -14,21 +14,24 @@ import javax.xml.bind.annotation.XmlType; *
  * <simpleType name="enumPropertiesFolder">
  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="cmis:ParentId"/>
- *     <enumeration value="cmis:AllowedChildObjectTypeNames"/>
+ *     <enumeration value="cmis:parentId"/>
+ *     <enumeration value="cmis:allowedChildObjectTypeIds"/>
+ *     <enumeration value="cmis:path"/>
  *   </restriction>
  * </simpleType>
  * 
* */ -@XmlType(name = "enumPropertiesFolder", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumPropertiesFolder", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumPropertiesFolder { - @XmlEnumValue("cmis:ParentId") - CMIS_PARENT_ID("cmis:ParentId"), - @XmlEnumValue("cmis:AllowedChildObjectTypeNames") - CMIS_ALLOWED_CHILD_OBJECT_TYPE_NAMES("cmis:AllowedChildObjectTypeNames"); + @XmlEnumValue("cmis:parentId") + CMIS_PARENT_ID("cmis:parentId"), + @XmlEnumValue("cmis:allowedChildObjectTypeIds") + CMIS_ALLOWED_CHILD_OBJECT_TYPE_IDS("cmis:allowedChildObjectTypeIds"), + @XmlEnumValue("cmis:path") + CMIS_PATH("cmis:path"); private final String value; EnumPropertiesFolder(String v) { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesPolicy.java b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesPolicy.java index 9d390b4952..25890e1ef4 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesPolicy.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesPolicy.java @@ -14,18 +14,18 @@ import javax.xml.bind.annotation.XmlType; *
  * <simpleType name="enumPropertiesPolicy">
  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="cmis:PolicyText"/>
+ *     <enumeration value="cmis:policyText"/>
  *   </restriction>
  * </simpleType>
  * 
* */ -@XmlType(name = "enumPropertiesPolicy", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumPropertiesPolicy", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumPropertiesPolicy { - @XmlEnumValue("cmis:PolicyText") - CMIS_POLICY_TEXT("cmis:PolicyText"); + @XmlEnumValue("cmis:policyText") + CMIS_POLICY_TEXT("cmis:policyText"); private final String value; EnumPropertiesPolicy(String v) { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesRelationship.java b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesRelationship.java index 9c749fe948..0e24170701 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesRelationship.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesRelationship.java @@ -14,21 +14,21 @@ import javax.xml.bind.annotation.XmlType; *
  * <simpleType name="enumPropertiesRelationship">
  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="cmis:SourceId"/>
- *     <enumeration value="cmis:TargetId"/>
+ *     <enumeration value="cmis:sourceId"/>
+ *     <enumeration value="cmis:targetId"/>
  *   </restriction>
  * </simpleType>
  * 
* */ -@XmlType(name = "enumPropertiesRelationship", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumPropertiesRelationship", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumPropertiesRelationship { - @XmlEnumValue("cmis:SourceId") - CMIS_SOURCE_ID("cmis:SourceId"), - @XmlEnumValue("cmis:TargetId") - CMIS_TARGET_ID("cmis:TargetId"); + @XmlEnumValue("cmis:sourceId") + CMIS_SOURCE_ID("cmis:sourceId"), + @XmlEnumValue("cmis:targetId") + CMIS_TARGET_ID("cmis:targetId"); private final String value; EnumPropertiesRelationship(String v) { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertyType.java b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertyType.java index f86513dc9f..aa46df496f 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertyType.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertyType.java @@ -20,16 +20,14 @@ import javax.xml.bind.annotation.XmlType; * <enumeration value="datetime"/> * <enumeration value="decimal"/> * <enumeration value="html"/> - * <enumeration value="xhtml"/> * <enumeration value="string"/> * <enumeration value="uri"/> - * <enumeration value="xml"/> * </restriction> * </simpleType> * * */ -@XmlType(name = "enumPropertyType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumPropertyType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumPropertyType { @@ -45,14 +43,10 @@ public enum EnumPropertyType { DECIMAL("decimal"), @XmlEnumValue("html") HTML("html"), - @XmlEnumValue("xhtml") - XHTML("xhtml"), @XmlEnumValue("string") STRING("string"), @XmlEnumValue("uri") - URI("uri"), - @XmlEnumValue("xml") - XML("xml"); + URI("uri"); private final String value; EnumPropertyType(String v) { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumRelationshipDirection.java b/source/generated/org/alfresco/repo/cmis/ws/EnumRelationshipDirection.java index bb9604e6af..9865004c93 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumRelationshipDirection.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumRelationshipDirection.java @@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlType; * * */ -@XmlType(name = "enumRelationshipDirection", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumRelationshipDirection", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumRelationshipDirection { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumRenditionKind.java b/source/generated/org/alfresco/repo/cmis/ws/EnumRenditionKind.java index d2e7ced637..5b9f7d57ee 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumRenditionKind.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumRenditionKind.java @@ -20,7 +20,7 @@ import javax.xml.bind.annotation.XmlType; * * */ -@XmlType(name = "enumRenditionKind", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumRenditionKind", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumRenditionKind { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumServiceException.java b/source/generated/org/alfresco/repo/cmis/ws/EnumServiceException.java index 51ccb696d0..ed2d0ba77d 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumServiceException.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumServiceException.java @@ -15,6 +15,7 @@ import javax.xml.bind.annotation.XmlType; * <simpleType name="enumServiceException"> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="constraint"/> + * <enumeration value="nameConstraintViolation"/> * <enumeration value="contentAlreadyExists"/> * <enumeration value="filterNotValid"/> * <enumeration value="invalidArgument"/> @@ -24,7 +25,6 @@ import javax.xml.bind.annotation.XmlType; * <enumeration value="runtime"/> * <enumeration value="storage"/> * <enumeration value="streamNotSupported"/> - * <enumeration value="type"/> * <enumeration value="updateConflict"/> * <enumeration value="versioning"/> * </restriction> @@ -38,6 +38,8 @@ public enum EnumServiceException { @XmlEnumValue("constraint") CONSTRAINT("constraint"), + @XmlEnumValue("nameConstraintViolation") + NAME_CONSTRAINT_VIOLATION("nameConstraintViolation"), @XmlEnumValue("contentAlreadyExists") CONTENT_ALREADY_EXISTS("contentAlreadyExists"), @XmlEnumValue("filterNotValid") @@ -56,8 +58,6 @@ public enum EnumServiceException { STORAGE("storage"), @XmlEnumValue("streamNotSupported") STREAM_NOT_SUPPORTED("streamNotSupported"), - @XmlEnumValue("type") - TYPE("type"), @XmlEnumValue("updateConflict") UPDATE_CONFLICT("updateConflict"), @XmlEnumValue("versioning") diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumTypeOfChanges.java b/source/generated/org/alfresco/repo/cmis/ws/EnumTypeOfChanges.java index 04e5ac2b10..e25d98c13e 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumTypeOfChanges.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumTypeOfChanges.java @@ -23,7 +23,7 @@ import javax.xml.bind.annotation.XmlType; * * */ -@XmlType(name = "enumTypeOfChanges", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumTypeOfChanges", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumTypeOfChanges { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumUnfileObject.java b/source/generated/org/alfresco/repo/cmis/ws/EnumUnfileObject.java index c8c128f254..7ecf2e415e 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumUnfileObject.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumUnfileObject.java @@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlType; * * */ -@XmlType(name = "enumUnfileObject", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumUnfileObject", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumUnfileObject { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumUpdatability.java b/source/generated/org/alfresco/repo/cmis/ws/EnumUpdatability.java index 563cedc176..0b72e939c6 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumUpdatability.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumUpdatability.java @@ -17,12 +17,13 @@ import javax.xml.bind.annotation.XmlType; * <enumeration value="readonly"/> * <enumeration value="readwrite"/> * <enumeration value="whencheckedout"/> + * <enumeration value="oncreate"/> * </restriction> * </simpleType> * * */ -@XmlType(name = "enumUpdatability", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumUpdatability", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumUpdatability { @@ -31,7 +32,9 @@ public enum EnumUpdatability { @XmlEnumValue("readwrite") READWRITE("readwrite"), @XmlEnumValue("whencheckedout") - WHENCHECKEDOUT("whencheckedout"); + WHENCHECKEDOUT("whencheckedout"), + @XmlEnumValue("oncreate") + ONCREATE("oncreate"); private final String value; EnumUpdatability(String v) { diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumVersioningState.java b/source/generated/org/alfresco/repo/cmis/ws/EnumVersioningState.java index 495b8ca089..7d1f58230f 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumVersioningState.java +++ b/source/generated/org/alfresco/repo/cmis/ws/EnumVersioningState.java @@ -14,6 +14,7 @@ import javax.xml.bind.annotation.XmlType; *
  * <simpleType name="enumVersioningState">
  *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *     <enumeration value="none"/>
  *     <enumeration value="checkedout"/>
  *     <enumeration value="minor"/>
  *     <enumeration value="major"/>
@@ -22,10 +23,12 @@ import javax.xml.bind.annotation.XmlType;
  * 
* */ -@XmlType(name = "enumVersioningState", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901") +@XmlType(name = "enumVersioningState", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") @XmlEnum public enum EnumVersioningState { + @XmlEnumValue("none") + NONE("none"), @XmlEnumValue("checkedout") CHECKEDOUT("checkedout"), @XmlEnumValue("minor") diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetACL.java b/source/generated/org/alfresco/repo/cmis/ws/GetACL.java index 003fea1afb..ec111eefce 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetACL.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetACL.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -20,7 +22,8 @@ import javax.xml.bind.annotation.XmlType; * <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="onlyBasicPermissions" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="onlyBasicPermissions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -33,7 +36,8 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "", propOrder = { "repositoryId", "objectId", - "onlyBasicPermissions" + "onlyBasicPermissions", + "extension" }) @XmlRootElement(name = "getACL") public class GetACL { @@ -42,7 +46,10 @@ public class GetACL { protected String repositoryId; @XmlElement(required = true) protected String objectId; - protected boolean onlyBasicPermissions; + @XmlElementRef(name = "onlyBasicPermissions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement onlyBasicPermissions; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -95,17 +102,49 @@ public class GetACL { /** * Gets the value of the onlyBasicPermissions property. * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * */ - public boolean isOnlyBasicPermissions() { + public JAXBElement getOnlyBasicPermissions() { return onlyBasicPermissions; } /** * Sets the value of the onlyBasicPermissions property. * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * */ - public void setOnlyBasicPermissions(boolean value) { - this.onlyBasicPermissions = value; + public void setOnlyBasicPermissions(JAXBElement value) { + this.onlyBasicPermissions = ((JAXBElement ) value); + } + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetACLResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetACLResponse.java index 055bc0ef76..f6870811ab 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetACLResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetACLResponse.java @@ -18,7 +18,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="acl" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType"/> + * <element name="ACL" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisACLType"/> * </sequence> * </restriction> * </complexContent> @@ -34,18 +34,18 @@ import javax.xml.bind.annotation.XmlType; @XmlRootElement(name = "getACLResponse") public class GetACLResponse { - @XmlElement(required = true) - protected CmisAccessControlListType acl; + @XmlElement(name = "ACL", required = true) + protected CmisACLType acl; /** * Gets the value of the acl property. * * @return * possible object is - * {@link CmisAccessControlListType } + * {@link CmisACLType } * */ - public CmisAccessControlListType getAcl() { + public CmisACLType getACL() { return acl; } @@ -54,10 +54,10 @@ public class GetACLResponse { * * @param value * allowed object is - * {@link CmisAccessControlListType } + * {@link CmisACLType } * */ - public void setAcl(CmisAccessControlListType value) { + public void setACL(CmisACLType value) { this.acl = value; } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetAllVersions.java b/source/generated/org/alfresco/repo/cmis/ws/GetAllVersions.java index fd462cb7b7..11629e01cb 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetAllVersions.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetAllVersions.java @@ -21,10 +21,10 @@ import javax.xml.bind.annotation.XmlType; * <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="objectId" 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://docs.oasis-open.org/ns/cmis/core/200901}enumIncludeRelationships" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -36,10 +36,10 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "repositoryId", - "versionSeriesId", + "objectId", "filter", "includeAllowableActions", - "includeRelationships" + "extension" }) @XmlRootElement(name = "getAllVersions") public class GetAllVersions { @@ -47,13 +47,13 @@ public class GetAllVersions { @XmlElement(required = true) protected String repositoryId; @XmlElement(required = true) - protected String versionSeriesId; - @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + protected String objectId; + @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement filter; - @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement includeAllowableActions; - @XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) - protected JAXBElement includeRelationships; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -80,27 +80,27 @@ public class GetAllVersions { } /** - * Gets the value of the versionSeriesId property. + * Gets the value of the objectId property. * * @return * possible object is * {@link String } * */ - public String getVersionSeriesId() { - return versionSeriesId; + public String getObjectId() { + return objectId; } /** - * Sets the value of the versionSeriesId property. + * Sets the value of the objectId property. * * @param value * allowed object is * {@link String } * */ - public void setVersionSeriesId(String value) { - this.versionSeriesId = value; + public void setObjectId(String value) { + this.objectId = value; } /** @@ -152,27 +152,27 @@ public class GetAllVersions { } /** - * Gets the value of the includeRelationships property. + * Gets the value of the extension property. * * @return * possible object is - * {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >} + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} * */ - public JAXBElement getIncludeRelationships() { - return includeRelationships; + public JAXBElement getExtension() { + return extension; } /** - * Sets the value of the includeRelationships property. + * Sets the value of the extension property. * * @param value * allowed object is - * {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >} + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} * */ - public void setIncludeRelationships(JAXBElement value) { - this.includeRelationships = ((JAXBElement ) value); + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetAllVersionsResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetAllVersionsResponse.java index 6adebaa627..5f4fa47197 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetAllVersionsResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetAllVersionsResponse.java @@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -30,26 +30,26 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "object" + "objects" }) @XmlRootElement(name = "getAllVersionsResponse") public class GetAllVersionsResponse { - protected List object; + protected List objects; /** - * Gets the value of the object property. + * Gets the value of the objects property. * *

* 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 set method for the object property. + * This is why there is not a set method for the objects property. * *

* For example, to add a new item, do as follows: *

-     *    getObject().add(newItem);
+     *    getObjects().add(newItem);
      * 
* * @@ -59,11 +59,11 @@ public class GetAllVersionsResponse { * * */ - public List getObject() { - if (object == null) { - object = new ArrayList(); + public List getObjects() { + if (objects == null) { + objects = new ArrayList(); } - return this.object; + return this.objects; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetAllowableActions.java b/source/generated/org/alfresco/repo/cmis/ws/GetAllowableActions.java index d200cf8391..4f6d3eccec 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetAllowableActions.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetAllowableActions.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -20,6 +22,7 @@ import javax.xml.bind.annotation.XmlType; * <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="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -31,7 +34,8 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "repositoryId", - "objectId" + "objectId", + "extension" }) @XmlRootElement(name = "getAllowableActions") public class GetAllowableActions { @@ -40,6 +44,8 @@ public class GetAllowableActions { protected String repositoryId; @XmlElement(required = true) protected String objectId; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -89,4 +95,28 @@ public class GetAllowableActions { this.objectId = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetAllowableActionsResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetAllowableActionsResponse.java index 9d0f1306ca..20feb4d70e 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetAllowableActionsResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetAllowableActionsResponse.java @@ -18,7 +18,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="allowableActions" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAllowableActionsType"/> + * <element name="allowableActions" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAllowableActionsType"/> * </sequence> * </restriction> * </complexContent> diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetAppliedPolicies.java b/source/generated/org/alfresco/repo/cmis/ws/GetAppliedPolicies.java index 7a3b7d7bc7..ee0604897f 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetAppliedPolicies.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetAppliedPolicies.java @@ -23,6 +23,7 @@ import javax.xml.bind.annotation.XmlType; * <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"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -35,7 +36,8 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "", propOrder = { "repositoryId", "objectId", - "filter" + "filter", + "extension" }) @XmlRootElement(name = "getAppliedPolicies") public class GetAppliedPolicies { @@ -44,8 +46,10 @@ public class GetAppliedPolicies { protected String repositoryId; @XmlElement(required = true) protected String objectId; - @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement filter; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -119,4 +123,28 @@ public class GetAppliedPolicies { this.filter = ((JAXBElement ) value); } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetAppliedPoliciesResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetAppliedPoliciesResponse.java index f65c9ae0b2..dd631fe3df 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetAppliedPoliciesResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetAppliedPoliciesResponse.java @@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -30,26 +30,26 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "object" + "objects" }) @XmlRootElement(name = "getAppliedPoliciesResponse") public class GetAppliedPoliciesResponse { - protected List object; + protected List objects; /** - * Gets the value of the object property. + * Gets the value of the objects property. * *

* 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 set method for the object property. + * This is why there is not a set method for the objects property. * *

* For example, to add a new item, do as follows: *

-     *    getObject().add(newItem);
+     *    getObjects().add(newItem);
      * 
* * @@ -59,11 +59,11 @@ public class GetAppliedPoliciesResponse { * * */ - public List getObject() { - if (object == null) { - object = new ArrayList(); + public List getObjects() { + if (objects == null) { + objects = new ArrayList(); } - return this.object; + return this.objects; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetCheckedOutDocs.java b/source/generated/org/alfresco/repo/cmis/ws/GetCheckedOutDocs.java index 3bd9c86f56..cc953b97dd 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetCheckedOutDocs.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetCheckedOutDocs.java @@ -26,9 +26,11 @@ import javax.xml.bind.annotation.XmlType; * <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="orderBy" 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://docs.oasis-open.org/ns/cmis/core/200901}enumIncludeRelationships" minOccurs="0"/> + * <element name="includeRelationships" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumIncludeRelationships" minOccurs="0"/> + * <element name="renditionFilter" type="{http://www.w3.org/2001/XMLSchema}string" 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"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -45,28 +47,34 @@ import javax.xml.bind.annotation.XmlType; "orderBy", "includeAllowableActions", "includeRelationships", + "renditionFilter", "maxItems", - "skipCount" + "skipCount", + "extension" }) @XmlRootElement(name = "getCheckedOutDocs") public class GetCheckedOutDocs { @XmlElement(required = true) protected String repositoryId; - @XmlElementRef(name = "folderId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "folderId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement folderId; - @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement filter; - @XmlElementRef(name = "orderBy", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "orderBy", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement orderBy; - @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement includeAllowableActions; - @XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement includeRelationships; - @XmlElementRef(name = "maxItems", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "renditionFilter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement renditionFilter; + @XmlElementRef(name = "maxItems", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement maxItems; - @XmlElementRef(name = "skipCount", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "skipCount", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement skipCount; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -212,6 +220,30 @@ public class GetCheckedOutDocs { this.includeRelationships = ((JAXBElement ) value); } + /** + * Gets the value of the renditionFilter property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + */ + public JAXBElement getRenditionFilter() { + return renditionFilter; + } + + /** + * Sets the value of the renditionFilter property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + */ + public void setRenditionFilter(JAXBElement value) { + this.renditionFilter = ((JAXBElement ) value); + } + /** * Gets the value of the maxItems property. * @@ -260,4 +292,28 @@ public class GetCheckedOutDocs { this.skipCount = ((JAXBElement ) value); } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetCheckedOutDocsResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetCheckedOutDocsResponse.java index 8fd072ce74..a946a15825 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetCheckedOutDocsResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetCheckedOutDocsResponse.java @@ -1,10 +1,9 @@ package org.alfresco.repo.cmis.ws; -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.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @@ -19,8 +18,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/> - * <element name="hasMoreItems" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectListType"/> * </sequence> * </restriction> * </complexContent> @@ -31,58 +29,36 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "object", - "hasMoreItems" + "objects" }) @XmlRootElement(name = "getCheckedOutDocsResponse") public class GetCheckedOutDocsResponse { - protected List object; - protected boolean hasMoreItems; + @XmlElement(required = true) + protected CmisObjectListType objects; /** - * Gets the value of the object property. - * - *

- * 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 set method for the object property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getObject().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link CmisObjectType } - * + * Gets the value of the objects property. * + * @return + * possible object is + * {@link CmisObjectListType } + * */ - public List getObject() { - if (object == null) { - object = new ArrayList(); - } - return this.object; + public CmisObjectListType getObjects() { + return objects; } /** - * Gets the value of the hasMoreItems property. + * Sets the value of the objects property. * + * @param value + * allowed object is + * {@link CmisObjectListType } + * */ - public boolean isHasMoreItems() { - return hasMoreItems; - } - - /** - * Sets the value of the hasMoreItems property. - * - */ - public void setHasMoreItems(boolean value) { - this.hasMoreItems = value; + public void setObjects(CmisObjectListType value) { + this.objects = value; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetChildren.java b/source/generated/org/alfresco/repo/cmis/ws/GetChildren.java index 184764abb3..8ddf56d23a 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetChildren.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetChildren.java @@ -24,13 +24,14 @@ import javax.xml.bind.annotation.XmlType; * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="orderBy" 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://docs.oasis-open.org/ns/cmis/core/200901}enumIncludeRelationships" minOccurs="0"/> - * <element name="includeRenditions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> - * <element name="includeACL" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="includeRelationships" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumIncludeRelationships" minOccurs="0"/> + * <element name="renditionFilter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="includePathSegments" 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"/> - * <element name="orderBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -44,13 +45,14 @@ import javax.xml.bind.annotation.XmlType; "repositoryId", "folderId", "filter", + "orderBy", "includeAllowableActions", "includeRelationships", - "includeRenditions", - "includeACL", + "renditionFilter", + "includePathSegments", "maxItems", "skipCount", - "orderBy" + "extension" }) @XmlRootElement(name = "getChildren") public class GetChildren { @@ -59,21 +61,24 @@ public class GetChildren { protected String repositoryId; @XmlElement(required = true) protected String folderId; - @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement filter; - @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "orderBy", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement orderBy; + @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement includeAllowableActions; - @XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement includeRelationships; - @XmlElementRef(name = "includeRenditions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) - protected JAXBElement includeRenditions; - @XmlElementRef(name = "includeACL", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) - protected JAXBElement includeACL; - @XmlElementRef(name = "maxItems", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "renditionFilter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement renditionFilter; + @XmlElementRef(name = "includePathSegments", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement includePathSegments; + @XmlElementRef(name = "maxItems", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement maxItems; - @XmlElementRef(name = "skipCount", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "skipCount", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement skipCount; - protected String orderBy; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -147,6 +152,30 @@ public class GetChildren { this.filter = ((JAXBElement ) value); } + /** + * Gets the value of the orderBy property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + */ + public JAXBElement getOrderBy() { + return orderBy; + } + + /** + * Sets the value of the orderBy property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + */ + public void setOrderBy(JAXBElement value) { + this.orderBy = ((JAXBElement ) value); + } + /** * Gets the value of the includeAllowableActions property. * @@ -196,51 +225,51 @@ public class GetChildren { } /** - * Gets the value of the includeRenditions property. + * Gets the value of the renditionFilter property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + */ + public JAXBElement getRenditionFilter() { + return renditionFilter; + } + + /** + * Sets the value of the renditionFilter property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + */ + public void setRenditionFilter(JAXBElement value) { + this.renditionFilter = ((JAXBElement ) value); + } + + /** + * Gets the value of the includePathSegments property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link Boolean }{@code >} * */ - public JAXBElement getIncludeRenditions() { - return includeRenditions; + public JAXBElement getIncludePathSegments() { + return includePathSegments; } /** - * Sets the value of the includeRenditions property. + * Sets the value of the includePathSegments property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link Boolean }{@code >} * */ - public void setIncludeRenditions(JAXBElement value) { - this.includeRenditions = ((JAXBElement ) value); - } - - /** - * Gets the value of the includeACL property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public JAXBElement getIncludeACL() { - return includeACL; - } - - /** - * Sets the value of the includeACL property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public void setIncludeACL(JAXBElement value) { - this.includeACL = ((JAXBElement ) value); + public void setIncludePathSegments(JAXBElement value) { + this.includePathSegments = ((JAXBElement ) value); } /** @@ -292,27 +321,27 @@ public class GetChildren { } /** - * Gets the value of the orderBy property. + * Gets the value of the extension property. * * @return * possible object is - * {@link String } + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} * */ - public String getOrderBy() { - return orderBy; + public JAXBElement getExtension() { + return extension; } /** - * Sets the value of the orderBy property. + * Sets the value of the extension property. * * @param value * allowed object is - * {@link String } + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} * */ - public void setOrderBy(String value) { - this.orderBy = value; + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetChildrenResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetChildrenResponse.java index 7dc528de63..9cdf0116b8 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetChildrenResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetChildrenResponse.java @@ -1,10 +1,9 @@ package org.alfresco.repo.cmis.ws; -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.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @@ -19,8 +18,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/> - * <element name="hasMoreItems" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectInFolderListType"/> * </sequence> * </restriction> * </complexContent> @@ -31,58 +29,36 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "object", - "hasMoreItems" + "objects" }) @XmlRootElement(name = "getChildrenResponse") public class GetChildrenResponse { - protected List object; - protected boolean hasMoreItems; + @XmlElement(required = true) + protected CmisObjectInFolderListType objects; /** - * Gets the value of the object property. - * - *

- * 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 set method for the object property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getObject().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link CmisObjectType } - * + * Gets the value of the objects property. * + * @return + * possible object is + * {@link CmisObjectInFolderListType } + * */ - public List getObject() { - if (object == null) { - object = new ArrayList(); - } - return this.object; + public CmisObjectInFolderListType getObjects() { + return objects; } /** - * Gets the value of the hasMoreItems property. + * Sets the value of the objects property. * + * @param value + * allowed object is + * {@link CmisObjectInFolderListType } + * */ - public boolean isHasMoreItems() { - return hasMoreItems; - } - - /** - * Sets the value of the hasMoreItems property. - * - */ - public void setHasMoreItems(boolean value) { - this.hasMoreItems = value; + public void setObjects(CmisObjectInFolderListType value) { + this.objects = value; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetContentChanges.java b/source/generated/org/alfresco/repo/cmis/ws/GetContentChanges.java index 0f68b2084d..1fcc7e0df5 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetContentChanges.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetContentChanges.java @@ -22,11 +22,13 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> - * <element name="changeToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="maxItems" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> - * <element name="includeACL" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="changeLogToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="includeProperties" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="includePolicyIds" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="includeACL" 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="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -38,25 +40,33 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "repositoryId", - "changeToken", - "maxItems", - "includeACL", + "changeLogToken", "includeProperties", - "filter" + "filter", + "includePolicyIds", + "includeACL", + "maxItems", + "extension" }) @XmlRootElement(name = "getContentChanges") public class GetContentChanges { @XmlElement(required = true) protected String repositoryId; - protected String changeToken; - @XmlElementRef(name = "maxItems", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) - protected JAXBElement maxItems; - @XmlElementRef(name = "includeACL", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) - protected JAXBElement includeACL; - @XmlElementRef(name = "includeProperties", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "changeLogToken", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement changeLogToken; + @XmlElementRef(name = "includeProperties", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement includeProperties; - protected String filter; + @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement filter; + @XmlElementRef(name = "includePolicyIds", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement includePolicyIds; + @XmlElementRef(name = "includeACL", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement includeACL; + @XmlElementRef(name = "maxItems", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement maxItems; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -83,75 +93,27 @@ public class GetContentChanges { } /** - * Gets the value of the changeToken property. + * Gets the value of the changeLogToken property. * * @return * possible object is - * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} * */ - public String getChangeToken() { - return changeToken; + public JAXBElement getChangeLogToken() { + return changeLogToken; } /** - * Sets the value of the changeToken property. + * Sets the value of the changeLogToken property. * * @param value * allowed object is - * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} * */ - public void setChangeToken(String value) { - this.changeToken = value; - } - - /** - * Gets the value of the maxItems property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} - * - */ - public JAXBElement 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 value) { - this.maxItems = ((JAXBElement ) value); - } - - /** - * Gets the value of the includeACL property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public JAXBElement getIncludeACL() { - return includeACL; - } - - /** - * Sets the value of the includeACL property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public void setIncludeACL(JAXBElement value) { - this.includeACL = ((JAXBElement ) value); + public void setChangeLogToken(JAXBElement value) { + this.changeLogToken = ((JAXBElement ) value); } /** @@ -183,10 +145,10 @@ public class GetContentChanges { * * @return * possible object is - * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} * */ - public String getFilter() { + public JAXBElement getFilter() { return filter; } @@ -195,11 +157,107 @@ public class GetContentChanges { * * @param value * allowed object is - * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} * */ - public void setFilter(String value) { - this.filter = value; + public void setFilter(JAXBElement value) { + this.filter = ((JAXBElement ) value); + } + + /** + * Gets the value of the includePolicyIds property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * + */ + public JAXBElement getIncludePolicyIds() { + return includePolicyIds; + } + + /** + * Sets the value of the includePolicyIds property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * + */ + public void setIncludePolicyIds(JAXBElement value) { + this.includePolicyIds = ((JAXBElement ) value); + } + + /** + * Gets the value of the includeACL property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * + */ + public JAXBElement getIncludeACL() { + return includeACL; + } + + /** + * Sets the value of the includeACL property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * + */ + public void setIncludeACL(JAXBElement value) { + this.includeACL = ((JAXBElement ) value); + } + + /** + * Gets the value of the maxItems property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * + */ + public JAXBElement 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 value) { + this.maxItems = ((JAXBElement ) value); + } + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetContentChangesResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetContentChangesResponse.java index e6730708b7..d8b7e06086 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetContentChangesResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetContentChangesResponse.java @@ -1,8 +1,6 @@ package org.alfresco.repo.cmis.ws; -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.XmlElement; @@ -20,8 +18,8 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="changedObject" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/> - * <element name="changeToken" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectListType"/> + * <element name="changeLogToken" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> @@ -32,68 +30,63 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "changedObject", - "changeToken" + "objects", + "changeLogToken" }) @XmlRootElement(name = "getContentChangesResponse") public class GetContentChangesResponse { - @XmlElement(nillable = true) - protected List changedObject; @XmlElement(required = true) - protected String changeToken; + protected CmisObjectListType objects; + @XmlElement(required = true) + protected String changeLogToken; /** - * Gets the value of the changedObject property. - * - *

- * 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 set method for the changedObject property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getChangedObject().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link CmisObjectType } - * + * Gets the value of the objects property. * + * @return + * possible object is + * {@link CmisObjectListType } + * */ - public List getChangedObject() { - if (changedObject == null) { - changedObject = new ArrayList(); - } - return this.changedObject; + public CmisObjectListType getObjects() { + return objects; } /** - * Gets the value of the changeToken property. + * Sets the value of the objects property. + * + * @param value + * allowed object is + * {@link CmisObjectListType } + * + */ + public void setObjects(CmisObjectListType value) { + this.objects = value; + } + + /** + * Gets the value of the changeLogToken property. * * @return * possible object is * {@link String } * */ - public String getChangeToken() { - return changeToken; + public String getChangeLogToken() { + return changeLogToken; } /** - * Sets the value of the changeToken property. + * Sets the value of the changeLogToken property. * * @param value * allowed object is * {@link String } * */ - public void setChangeToken(String value) { - this.changeToken = value; + public void setChangeLogToken(String value) { + this.changeLogToken = value; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetContentStream.java b/source/generated/org/alfresco/repo/cmis/ws/GetContentStream.java index 5d23dce444..b01223e112 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetContentStream.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetContentStream.java @@ -1,9 +1,12 @@ package org.alfresco.repo.cmis.ws; +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; @@ -19,8 +22,11 @@ import javax.xml.bind.annotation.XmlType; * <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"/> + * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="streamId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="offset" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> + * <element name="length" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -32,8 +38,11 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "repositoryId", - "documentId", - "streamId" + "objectId", + "streamId", + "offset", + "length", + "extension" }) @XmlRootElement(name = "getContentStream") public class GetContentStream { @@ -41,8 +50,15 @@ public class GetContentStream { @XmlElement(required = true) protected String repositoryId; @XmlElement(required = true) - protected String documentId; - protected String streamId; + protected String objectId; + @XmlElementRef(name = "streamId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement streamId; + @XmlElementRef(name = "offset", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement offset; + @XmlElementRef(name = "length", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement length; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -69,27 +85,27 @@ public class GetContentStream { } /** - * Gets the value of the documentId property. + * Gets the value of the objectId property. * * @return * possible object is * {@link String } * */ - public String getDocumentId() { - return documentId; + public String getObjectId() { + return objectId; } /** - * Sets the value of the documentId property. + * Sets the value of the objectId property. * * @param value * allowed object is * {@link String } * */ - public void setDocumentId(String value) { - this.documentId = value; + public void setObjectId(String value) { + this.objectId = value; } /** @@ -97,10 +113,10 @@ public class GetContentStream { * * @return * possible object is - * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} * */ - public String getStreamId() { + public JAXBElement getStreamId() { return streamId; } @@ -109,11 +125,83 @@ public class GetContentStream { * * @param value * allowed object is - * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} * */ - public void setStreamId(String value) { - this.streamId = value; + public void setStreamId(JAXBElement value) { + this.streamId = ((JAXBElement ) value); + } + + /** + * Gets the value of the offset property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * + */ + public JAXBElement getOffset() { + return offset; + } + + /** + * Sets the value of the offset property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * + */ + public void setOffset(JAXBElement value) { + this.offset = ((JAXBElement ) value); + } + + /** + * Gets the value of the length property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * + */ + public JAXBElement getLength() { + return length; + } + + /** + * Sets the value of the length property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * + */ + public void setLength(JAXBElement value) { + this.length = ((JAXBElement ) value); + } + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetContentStreamResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetContentStreamResponse.java index cbf7b3a5ac..4aa726d83a 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetContentStreamResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetContentStreamResponse.java @@ -18,7 +18,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/messaging/200901}cmisContentStreamType"/> + * <element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisContentStreamType"/> * </sequence> * </restriction> * </complexContent> diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetDescendants.java b/source/generated/org/alfresco/repo/cmis/ws/GetDescendants.java index 0d3094ff3c..fe6609f891 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetDescendants.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetDescendants.java @@ -26,9 +26,10 @@ import javax.xml.bind.annotation.XmlType; * <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://docs.oasis-open.org/ns/cmis/core/200901}enumIncludeRelationships" minOccurs="0"/> - * <element name="includeRenditions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> - * <element name="orderBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="includeRelationships" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumIncludeRelationships" minOccurs="0"/> + * <element name="renditionFilter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="includePathSegments" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -45,8 +46,9 @@ import javax.xml.bind.annotation.XmlType; "filter", "includeAllowableActions", "includeRelationships", - "includeRenditions", - "orderBy" + "renditionFilter", + "includePathSegments", + "extension" }) @XmlRootElement(name = "getDescendants") public class GetDescendants { @@ -55,17 +57,20 @@ public class GetDescendants { protected String repositoryId; @XmlElement(required = true) protected String folderId; - @XmlElementRef(name = "depth", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "depth", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement depth; - @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement filter; - @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement includeAllowableActions; - @XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement includeRelationships; - @XmlElementRef(name = "includeRenditions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) - protected JAXBElement includeRenditions; - protected String orderBy; + @XmlElementRef(name = "renditionFilter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement renditionFilter; + @XmlElementRef(name = "includePathSegments", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement includePathSegments; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -212,51 +217,75 @@ public class GetDescendants { } /** - * Gets the value of the includeRenditions property. + * Gets the value of the renditionFilter property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + */ + public JAXBElement getRenditionFilter() { + return renditionFilter; + } + + /** + * Sets the value of the renditionFilter property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + */ + public void setRenditionFilter(JAXBElement value) { + this.renditionFilter = ((JAXBElement ) value); + } + + /** + * Gets the value of the includePathSegments property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link Boolean }{@code >} * */ - public JAXBElement getIncludeRenditions() { - return includeRenditions; + public JAXBElement getIncludePathSegments() { + return includePathSegments; } /** - * Sets the value of the includeRenditions property. + * Sets the value of the includePathSegments property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link Boolean }{@code >} * */ - public void setIncludeRenditions(JAXBElement value) { - this.includeRenditions = ((JAXBElement ) value); + public void setIncludePathSegments(JAXBElement value) { + this.includePathSegments = ((JAXBElement ) value); } /** - * Gets the value of the orderBy property. + * Gets the value of the extension property. * * @return * possible object is - * {@link String } + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} * */ - public String getOrderBy() { - return orderBy; + public JAXBElement getExtension() { + return extension; } /** - * Sets the value of the orderBy property. + * Sets the value of the extension property. * * @param value * allowed object is - * {@link String } + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} * */ - public void setOrderBy(String value) { - this.orderBy = value; + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetDescendantsResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetDescendantsResponse.java index 4313baa543..50c8aea20b 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetDescendantsResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetDescendantsResponse.java @@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectInFolderContainerType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -30,40 +30,40 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "object" + "objects" }) @XmlRootElement(name = "getDescendantsResponse") public class GetDescendantsResponse { - protected List object; + protected List objects; /** - * Gets the value of the object property. + * Gets the value of the objects property. * *

* 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 set method for the object property. + * This is why there is not a set method for the objects property. * *

* For example, to add a new item, do as follows: *

-     *    getObject().add(newItem);
+     *    getObjects().add(newItem);
      * 
* * *

* Objects of the following type(s) are allowed in the list - * {@link CmisObjectType } + * {@link CmisObjectInFolderContainerType } * * */ - public List getObject() { - if (object == null) { - object = new ArrayList(); + public List getObjects() { + if (objects == null) { + objects = new ArrayList(); } - return this.object; + return this.objects; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetFolderParent.java b/source/generated/org/alfresco/repo/cmis/ws/GetFolderParent.java index 338a2b91d6..bb873fc09e 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetFolderParent.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetFolderParent.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -21,6 +23,7 @@ import javax.xml.bind.annotation.XmlType; * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -33,7 +36,8 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "", propOrder = { "repositoryId", "folderId", - "filter" + "filter", + "extension" }) @XmlRootElement(name = "getFolderParent") public class GetFolderParent { @@ -43,6 +47,8 @@ public class GetFolderParent { @XmlElement(required = true) protected String folderId; protected String filter; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -116,4 +122,28 @@ public class GetFolderParent { this.filter = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetFolderParentResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetFolderParentResponse.java index e87d0101a9..2c91f9e30c 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetFolderParentResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetFolderParentResponse.java @@ -3,6 +3,7 @@ package org.alfresco.repo.cmis.ws; 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; @@ -17,7 +18,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" minOccurs="0"/> + * <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisObjectType"/> * </sequence> * </restriction> * </complexContent> @@ -33,6 +34,7 @@ import javax.xml.bind.annotation.XmlType; @XmlRootElement(name = "getFolderParentResponse") public class GetFolderParentResponse { + @XmlElement(required = true) protected CmisObjectType object; /** @@ -41,7 +43,7 @@ public class GetFolderParentResponse { * @return * possible object is * {@link CmisObjectType } - * + * */ public CmisObjectType getObject() { return object; @@ -52,8 +54,8 @@ public class GetFolderParentResponse { * * @param value * allowed object is - * {@link CmisObjectType } - * + * {@link CmisObjectType } + * */ public void setObject(CmisObjectType value) { this.object = value; diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetFolderTree.java b/source/generated/org/alfresco/repo/cmis/ws/GetFolderTree.java index c26b38c6ce..fc42bf08a2 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetFolderTree.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetFolderTree.java @@ -23,10 +23,13 @@ import javax.xml.bind.annotation.XmlType; * <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="filter" type="{http://www.w3.org/2001/XMLSchema}string" 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://docs.oasis-open.org/ns/cmis/core/200901}enumIncludeRelationships" minOccurs="0"/> + * <element name="includeRelationships" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumIncludeRelationships" minOccurs="0"/> + * <element name="renditionFilter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="includePathSegments" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -39,10 +42,13 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "", propOrder = { "repositoryId", "folderId", - "filter", "depth", + "filter", "includeAllowableActions", - "includeRelationships" + "includeRelationships", + "renditionFilter", + "includePathSegments", + "extension" }) @XmlRootElement(name = "getFolderTree") public class GetFolderTree { @@ -51,14 +57,20 @@ public class GetFolderTree { protected String repositoryId; @XmlElement(required = true) protected String folderId; - @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) - protected JAXBElement filter; - @XmlElementRef(name = "depth", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "depth", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement depth; - @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement filter; + @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement includeAllowableActions; - @XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement includeRelationships; + @XmlElementRef(name = "renditionFilter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement renditionFilter; + @XmlElementRef(name = "includePathSegments", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement includePathSegments; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -108,30 +120,6 @@ public class GetFolderTree { this.folderId = value; } - /** - * Gets the value of the filter property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement 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 value) { - this.filter = ((JAXBElement ) value); - } - /** * Gets the value of the depth property. * @@ -156,6 +144,30 @@ public class GetFolderTree { this.depth = ((JAXBElement ) value); } + /** + * Gets the value of the filter property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + */ + public JAXBElement 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 value) { + this.filter = ((JAXBElement ) value); + } + /** * Gets the value of the includeAllowableActions property. * @@ -204,4 +216,76 @@ public class GetFolderTree { this.includeRelationships = ((JAXBElement ) value); } + /** + * Gets the value of the renditionFilter property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + */ + public JAXBElement getRenditionFilter() { + return renditionFilter; + } + + /** + * Sets the value of the renditionFilter property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + */ + public void setRenditionFilter(JAXBElement value) { + this.renditionFilter = ((JAXBElement ) value); + } + + /** + * Gets the value of the includePathSegments property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * + */ + public JAXBElement getIncludePathSegments() { + return includePathSegments; + } + + /** + * Sets the value of the includePathSegments property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * + */ + public void setIncludePathSegments(JAXBElement value) { + this.includePathSegments = ((JAXBElement ) value); + } + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetFolderTreeResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetFolderTreeResponse.java index d23a06ddda..ca937df552 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetFolderTreeResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetFolderTreeResponse.java @@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectInFolderContainerType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -30,40 +30,40 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "object" + "objects" }) @XmlRootElement(name = "getFolderTreeResponse") public class GetFolderTreeResponse { - protected List object; + protected List objects; /** - * Gets the value of the object property. + * Gets the value of the objects property. * *

* 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 set method for the object property. + * This is why there is not a set method for the objects property. * *

* For example, to add a new item, do as follows: *

-     *    getObject().add(newItem);
+     *    getObjects().add(newItem);
      * 
* * *

* Objects of the following type(s) are allowed in the list - * {@link CmisObjectType } + * {@link CmisObjectInFolderContainerType } * * */ - public List getObject() { - if (object == null) { - object = new ArrayList(); + public List getObjects() { + if (objects == null) { + objects = new ArrayList(); } - return this.object; + return this.objects; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetObjectParents.java b/source/generated/org/alfresco/repo/cmis/ws/GetObjectParents.java index 8736b14c59..bbc15427fe 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetObjectParents.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetObjectParents.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -21,6 +23,11 @@ import javax.xml.bind.annotation.XmlType; * <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"/> + * <element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="includeRelationships" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumIncludeRelationships" minOccurs="0"/> + * <element name="renditionFilter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="includeRelativePathSegment" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -33,7 +40,12 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "", propOrder = { "repositoryId", "objectId", - "filter" + "filter", + "includeAllowableActions", + "includeRelationships", + "renditionFilter", + "includeRelativePathSegment", + "extension" }) @XmlRootElement(name = "getObjectParents") public class GetObjectParents { @@ -42,7 +54,18 @@ public class GetObjectParents { protected String repositoryId; @XmlElement(required = true) protected String objectId; - protected String filter; + @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement filter; + @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement includeAllowableActions; + @XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement includeRelationships; + @XmlElementRef(name = "renditionFilter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement renditionFilter; + @XmlElementRef(name = "includeRelativePathSegment", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement includeRelativePathSegment; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -97,10 +120,10 @@ public class GetObjectParents { * * @return * possible object is - * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} * */ - public String getFilter() { + public JAXBElement getFilter() { return filter; } @@ -109,11 +132,131 @@ public class GetObjectParents { * * @param value * allowed object is - * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} * */ - public void setFilter(String value) { - this.filter = value; + public void setFilter(JAXBElement value) { + this.filter = ((JAXBElement ) value); + } + + /** + * Gets the value of the includeAllowableActions property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * + */ + public JAXBElement 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 value) { + this.includeAllowableActions = ((JAXBElement ) value); + } + + /** + * Gets the value of the includeRelationships property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >} + * + */ + public JAXBElement getIncludeRelationships() { + return includeRelationships; + } + + /** + * Sets the value of the includeRelationships property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >} + * + */ + public void setIncludeRelationships(JAXBElement value) { + this.includeRelationships = ((JAXBElement ) value); + } + + /** + * Gets the value of the renditionFilter property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + */ + public JAXBElement getRenditionFilter() { + return renditionFilter; + } + + /** + * Sets the value of the renditionFilter property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link String }{@code >} + * + */ + public void setRenditionFilter(JAXBElement value) { + this.renditionFilter = ((JAXBElement ) value); + } + + /** + * Gets the value of the includeRelativePathSegment property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * + */ + public JAXBElement getIncludeRelativePathSegment() { + return includeRelativePathSegment; + } + + /** + * Sets the value of the includeRelativePathSegment property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * + */ + public void setIncludeRelativePathSegment(JAXBElement value) { + this.includeRelativePathSegment = ((JAXBElement ) value); + } + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetObjectParentsResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetObjectParentsResponse.java index a485b43387..ae5a7f3c3b 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetObjectParentsResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetObjectParentsResponse.java @@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="parents" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectParentsType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -30,40 +30,40 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "object" + "parents" }) @XmlRootElement(name = "getObjectParentsResponse") public class GetObjectParentsResponse { - protected List object; + protected List parents; /** - * Gets the value of the object property. + * Gets the value of the parents property. * *

* 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 set method for the object property. + * This is why there is not a set method for the parents property. * *

* For example, to add a new item, do as follows: *

-     *    getObject().add(newItem);
+     *    getParents().add(newItem);
      * 
* * *

* Objects of the following type(s) are allowed in the list - * {@link CmisObjectType } + * {@link CmisObjectParentsType } * * */ - public List getObject() { - if (object == null) { - object = new ArrayList(); + public List getParents() { + if (parents == null) { + parents = new ArrayList(); } - return this.object; + return this.parents; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetProperties.java b/source/generated/org/alfresco/repo/cmis/ws/GetProperties.java index 58b7a3ad5c..10a4aa6540 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetProperties.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetProperties.java @@ -23,9 +23,7 @@ import javax.xml.bind.annotation.XmlType; * <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"/> - * <element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> - * <element name="includeRelationships" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumIncludeRelationships" minOccurs="0"/> - * <element name="includeACL" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -39,9 +37,7 @@ import javax.xml.bind.annotation.XmlType; "repositoryId", "objectId", "filter", - "includeAllowableActions", - "includeRelationships", - "includeACL" + "extension" }) @XmlRootElement(name = "getProperties") public class GetProperties { @@ -50,14 +46,10 @@ public class GetProperties { protected String repositoryId; @XmlElement(required = true) protected String objectId; - @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement filter; - @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) - protected JAXBElement includeAllowableActions; - @XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) - protected JAXBElement includeRelationships; - @XmlElementRef(name = "includeACL", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) - protected JAXBElement includeACL; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -132,75 +124,27 @@ public class GetProperties { } /** - * Gets the value of the includeAllowableActions property. + * Gets the value of the extension property. * * @return * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} * */ - public JAXBElement getIncludeAllowableActions() { - return includeAllowableActions; + public JAXBElement getExtension() { + return extension; } /** - * Sets the value of the includeAllowableActions property. + * Sets the value of the extension property. * * @param value * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} * */ - public void setIncludeAllowableActions(JAXBElement value) { - this.includeAllowableActions = ((JAXBElement ) value); - } - - /** - * Gets the value of the includeRelationships property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >} - * - */ - public JAXBElement getIncludeRelationships() { - return includeRelationships; - } - - /** - * Sets the value of the includeRelationships property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >} - * - */ - public void setIncludeRelationships(JAXBElement value) { - this.includeRelationships = ((JAXBElement ) value); - } - - /** - * Gets the value of the includeACL property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public JAXBElement getIncludeACL() { - return includeACL; - } - - /** - * Sets the value of the includeACL property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public void setIncludeACL(JAXBElement value) { - this.includeACL = ((JAXBElement ) value); + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesOfLatestVersion.java b/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesOfLatestVersion.java index b926c6a23f..0a10fd4bf3 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesOfLatestVersion.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesOfLatestVersion.java @@ -21,10 +21,10 @@ import javax.xml.bind.annotation.XmlType; * <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="major" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="major" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="includeACL" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -36,10 +36,10 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "repositoryId", - "versionSeriesId", + "objectId", "major", "filter", - "includeACL" + "extension" }) @XmlRootElement(name = "getPropertiesOfLatestVersion") public class GetPropertiesOfLatestVersion { @@ -47,12 +47,12 @@ public class GetPropertiesOfLatestVersion { @XmlElement(required = true) protected String repositoryId; @XmlElement(required = true) - protected String versionSeriesId; - protected boolean major; - @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + protected String objectId; + protected Boolean major; + @XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement filter; - @XmlElementRef(name = "includeACL", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) - protected JAXBElement includeACL; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -79,42 +79,50 @@ public class GetPropertiesOfLatestVersion { } /** - * Gets the value of the versionSeriesId property. + * Gets the value of the objectId property. * * @return * possible object is * {@link String } * */ - public String getVersionSeriesId() { - return versionSeriesId; + public String getObjectId() { + return objectId; } /** - * Sets the value of the versionSeriesId property. + * Sets the value of the objectId property. * * @param value * allowed object is * {@link String } * */ - public void setVersionSeriesId(String value) { - this.versionSeriesId = value; + public void setObjectId(String value) { + this.objectId = value; } /** * Gets the value of the major property. * + * @return + * possible object is + * {@link Boolean } + * */ - public boolean isMajor() { + public Boolean isMajor() { return major; } /** * Sets the value of the major property. * + * @param value + * allowed object is + * {@link Boolean } + * */ - public void setMajor(boolean value) { + public void setMajor(Boolean value) { this.major = value; } @@ -143,27 +151,27 @@ public class GetPropertiesOfLatestVersion { } /** - * Gets the value of the includeACL property. + * Gets the value of the extension property. * * @return * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} * */ - public JAXBElement getIncludeACL() { - return includeACL; + public JAXBElement getExtension() { + return extension; } /** - * Sets the value of the includeACL property. + * Sets the value of the extension property. * * @param value * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} * */ - public void setIncludeACL(JAXBElement value) { - this.includeACL = ((JAXBElement ) value); + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesOfLatestVersionResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesOfLatestVersionResponse.java index d3b7bc011d..85dcfd4433 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesOfLatestVersionResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesOfLatestVersionResponse.java @@ -18,7 +18,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType"/> + * <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertiesType"/> * </sequence> * </restriction> * </complexContent> @@ -29,36 +29,36 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "object" + "properties" }) @XmlRootElement(name = "getPropertiesOfLatestVersionResponse") public class GetPropertiesOfLatestVersionResponse { @XmlElement(required = true) - protected CmisObjectType object; + protected CmisPropertiesType properties; /** - * Gets the value of the object property. + * Gets the value of the properties property. * * @return * possible object is - * {@link CmisObjectType } + * {@link CmisPropertiesType } * */ - public CmisObjectType getObject() { - return object; + public CmisPropertiesType getProperties() { + return properties; } /** - * Sets the value of the object property. + * Sets the value of the properties property. * * @param value * allowed object is - * {@link CmisObjectType } + * {@link CmisPropertiesType } * */ - public void setObject(CmisObjectType value) { - this.object = value; + public void setProperties(CmisPropertiesType value) { + this.properties = value; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesResponse.java index 5bd839779e..65997203dc 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesResponse.java @@ -18,7 +18,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType"/> + * <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertiesType"/> * </sequence> * </restriction> * </complexContent> @@ -29,36 +29,36 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "object" + "properties" }) @XmlRootElement(name = "getPropertiesResponse") public class GetPropertiesResponse { @XmlElement(required = true) - protected CmisObjectType object; + protected CmisPropertiesType properties; /** - * Gets the value of the object property. + * Gets the value of the properties property. * * @return * possible object is - * {@link CmisObjectType } + * {@link CmisPropertiesType } * */ - public CmisObjectType getObject() { - return object; + public CmisPropertiesType getProperties() { + return properties; } /** - * Sets the value of the object property. + * Sets the value of the properties property. * * @param value * allowed object is - * {@link CmisObjectType } + * {@link CmisPropertiesType } * */ - public void setObject(CmisObjectType value) { - this.object = value; + public void setProperties(CmisPropertiesType value) { + this.properties = value; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetRenditions.java b/source/generated/org/alfresco/repo/cmis/ws/GetRenditions.java index 174965026e..eacac6cea1 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetRenditions.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetRenditions.java @@ -26,6 +26,7 @@ import javax.xml.bind.annotation.XmlType; * <element name="renditionFilter" type="{http://www.w3.org/2001/XMLSchema}string" 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"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -40,7 +41,8 @@ import javax.xml.bind.annotation.XmlType; "objectId", "renditionFilter", "maxItems", - "skipCount" + "skipCount", + "extension" }) @XmlRootElement(name = "getRenditions") public class GetRenditions { @@ -49,11 +51,14 @@ public class GetRenditions { protected String repositoryId; @XmlElement(required = true) protected String objectId; - protected String renditionFilter; - @XmlElementRef(name = "maxItems", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "renditionFilter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement renditionFilter; + @XmlElementRef(name = "maxItems", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement maxItems; - @XmlElementRef(name = "skipCount", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "skipCount", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement skipCount; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -108,10 +113,10 @@ public class GetRenditions { * * @return * possible object is - * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} * */ - public String getRenditionFilter() { + public JAXBElement getRenditionFilter() { return renditionFilter; } @@ -120,11 +125,11 @@ public class GetRenditions { * * @param value * allowed object is - * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} * */ - public void setRenditionFilter(String value) { - this.renditionFilter = value; + public void setRenditionFilter(JAXBElement value) { + this.renditionFilter = ((JAXBElement ) value); } /** @@ -175,4 +180,28 @@ public class GetRenditions { this.skipCount = ((JAXBElement ) value); } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetRenditionsResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetRenditionsResponse.java index 970b3dc1dc..95e817756f 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetRenditionsResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetRenditionsResponse.java @@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="rendition" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisRenditionType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="renditions" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisRenditionType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -30,26 +30,26 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "rendition" + "renditions" }) @XmlRootElement(name = "getRenditionsResponse") public class GetRenditionsResponse { - protected List rendition; + protected List renditions; /** - * Gets the value of the rendition property. + * Gets the value of the renditions property. * *

* 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 set method for the rendition property. + * This is why there is not a set method for the renditions property. * *

* For example, to add a new item, do as follows: *

-     *    getRendition().add(newItem);
+     *    getRenditions().add(newItem);
      * 
* * @@ -59,11 +59,11 @@ public class GetRenditionsResponse { * * */ - public List getRendition() { - if (rendition == null) { - rendition = new ArrayList(); + public List getRenditions() { + if (renditions == null) { + renditions = new ArrayList(); } - return this.rendition; + return this.renditions; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetRepositories.java b/source/generated/org/alfresco/repo/cmis/ws/GetRepositories.java index ccf38cb3ef..ce278fc3c0 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetRepositories.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetRepositories.java @@ -1,8 +1,10 @@ package org.alfresco.repo.cmis.ws; +import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @@ -17,6 +19,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -26,9 +29,37 @@ import javax.xml.bind.annotation.XmlType; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "") +@XmlType(name = "", propOrder = { + "extension" +}) @XmlRootElement(name = "getRepositories") public class GetRepositories { + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetRepositoriesResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetRepositoriesResponse.java index 315dec6cff..f03cf751bf 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetRepositoriesResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetRepositoriesResponse.java @@ -20,7 +20,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="repository" type="{http://docs.oasis-open.org/ns/cmis/messaging/200901}cmisRepositoryEntryType" maxOccurs="unbounded" minOccurs="0"/> + * <element name="repositories" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisRepositoryEntryType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -31,27 +31,27 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "repository" + "repositories" }) @XmlRootElement(name = "getRepositoriesResponse") public class GetRepositoriesResponse { @XmlElement(nillable = true) - protected List repository; + protected List repositories; /** - * Gets the value of the repository property. + * Gets the value of the repositories property. * *

* 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 set method for the repository property. + * This is why there is not a set method for the repositories property. * *

* For example, to add a new item, do as follows: *

-     *    getRepository().add(newItem);
+     *    getRepositories().add(newItem);
      * 
* * @@ -61,11 +61,11 @@ public class GetRepositoriesResponse { * * */ - public List getRepository() { - if (repository == null) { - repository = new ArrayList(); + public List getRepositories() { + if (repositories == null) { + repositories = new ArrayList(); } - return this.repository; + return this.repositories; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetRepositoryInfo.java b/source/generated/org/alfresco/repo/cmis/ws/GetRepositoryInfo.java index 65341b7d1b..f55a603978 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetRepositoryInfo.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetRepositoryInfo.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -19,6 +21,7 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -29,13 +32,16 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "repositoryId" + "repositoryId", + "extension" }) @XmlRootElement(name = "getRepositoryInfo") public class GetRepositoryInfo { @XmlElement(required = true) protected String repositoryId; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -61,4 +67,28 @@ public class GetRepositoryInfo { this.repositoryId = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetRepositoryInfoResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetRepositoryInfoResponse.java index 8962c4d091..086857a85c 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetRepositoryInfoResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetRepositoryInfoResponse.java @@ -18,7 +18,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="repositoryInfo" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisRepositoryInfoType"/> + * <element name="repositoryInfo" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisRepositoryInfoType"/> * </sequence> * </restriction> * </complexContent> diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetTypeChildren.java b/source/generated/org/alfresco/repo/cmis/ws/GetTypeChildren.java index 16b60c0fe1..0669c64fbc 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetTypeChildren.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetTypeChildren.java @@ -26,6 +26,7 @@ import javax.xml.bind.annotation.XmlType; * <element name="includePropertyDefinitions" 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"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -40,21 +41,24 @@ import javax.xml.bind.annotation.XmlType; "typeId", "includePropertyDefinitions", "maxItems", - "skipCount" + "skipCount", + "extension" }) @XmlRootElement(name = "getTypeChildren") public class GetTypeChildren { @XmlElement(required = true) protected String repositoryId; - @XmlElementRef(name = "typeId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "typeId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement typeId; - @XmlElementRef(name = "includePropertyDefinitions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "includePropertyDefinitions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement includePropertyDefinitions; - @XmlElementRef(name = "maxItems", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "maxItems", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement maxItems; - @XmlElementRef(name = "skipCount", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "skipCount", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement skipCount; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -176,4 +180,28 @@ public class GetTypeChildren { this.skipCount = ((JAXBElement ) value); } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetTypeChildrenResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetTypeChildrenResponse.java index 2b2d0b9ff4..1618aa4d25 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetTypeChildrenResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetTypeChildrenResponse.java @@ -1,10 +1,9 @@ package org.alfresco.repo.cmis.ws; -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.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @@ -19,8 +18,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="type" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisTypeDefinitionType" maxOccurs="unbounded" minOccurs="0"/> - * <element name="hasMoreItems" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="types" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisTypeDefinitionListType"/> * </sequence> * </restriction> * </complexContent> @@ -31,58 +29,36 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "type", - "hasMoreItems" + "types" }) @XmlRootElement(name = "getTypeChildrenResponse") public class GetTypeChildrenResponse { - protected List type; - protected boolean hasMoreItems; + @XmlElement(required = true) + protected CmisTypeDefinitionListType types; /** - * Gets the value of the type property. - * - *

- * 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 set method for the type property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getType().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link CmisTypeDefinitionType } - * + * Gets the value of the types property. * + * @return + * possible object is + * {@link CmisTypeDefinitionListType } + * */ - public List getType() { - if (type == null) { - type = new ArrayList(); - } - return this.type; + public CmisTypeDefinitionListType getTypes() { + return types; } /** - * Gets the value of the hasMoreItems property. + * Sets the value of the types property. * + * @param value + * allowed object is + * {@link CmisTypeDefinitionListType } + * */ - public boolean isHasMoreItems() { - return hasMoreItems; - } - - /** - * Sets the value of the hasMoreItems property. - * - */ - public void setHasMoreItems(boolean value) { - this.hasMoreItems = value; + public void setTypes(CmisTypeDefinitionListType value) { + this.types = value; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetTypeDefinition.java b/source/generated/org/alfresco/repo/cmis/ws/GetTypeDefinition.java index db099df100..0bae642c56 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetTypeDefinition.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetTypeDefinition.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -20,6 +22,7 @@ import javax.xml.bind.annotation.XmlType; * <sequence> * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -31,7 +34,8 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "repositoryId", - "typeId" + "typeId", + "extension" }) @XmlRootElement(name = "getTypeDefinition") public class GetTypeDefinition { @@ -40,6 +44,8 @@ public class GetTypeDefinition { protected String repositoryId; @XmlElement(required = true) protected String typeId; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -89,4 +95,28 @@ public class GetTypeDefinition { this.typeId = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetTypeDefinitionResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetTypeDefinitionResponse.java index d27e7416f0..e30001491c 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/GetTypeDefinitionResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetTypeDefinitionResponse.java @@ -17,7 +17,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="type" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisTypeDefinitionType" minOccurs="0"/> + * <element name="type" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisTypeDefinitionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetTypeDescendants.java b/source/generated/org/alfresco/repo/cmis/ws/GetTypeDescendants.java index 65601e1c2d..061e214611 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetTypeDescendants.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetTypeDescendants.java @@ -25,6 +25,7 @@ import javax.xml.bind.annotation.XmlType; * <element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="depth" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> * <element name="includePropertyDefinitions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -38,19 +39,22 @@ import javax.xml.bind.annotation.XmlType; "repositoryId", "typeId", "depth", - "includePropertyDefinitions" + "includePropertyDefinitions", + "extension" }) @XmlRootElement(name = "getTypeDescendants") public class GetTypeDescendants { @XmlElement(required = true) protected String repositoryId; - @XmlElementRef(name = "typeId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "typeId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement typeId; - @XmlElementRef(name = "depth", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "depth", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement depth; - @XmlElementRef(name = "includePropertyDefinitions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "includePropertyDefinitions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement includePropertyDefinitions; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -148,4 +152,28 @@ public class GetTypeDescendants { this.includePropertyDefinitions = ((JAXBElement ) value); } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetTypeDescendantsResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetTypeDescendantsResponse.java index 631da91d22..4d76de5f4e 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/GetTypeDescendantsResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/GetTypeDescendantsResponse.java @@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="type" type="{http://docs.oasis-open.org/ns/cmis/messaging/200901}cmisTypeContainer" maxOccurs="unbounded" minOccurs="0"/> + * <element name="types" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisTypeContainer" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -30,26 +30,26 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "type" + "types" }) @XmlRootElement(name = "getTypeDescendantsResponse") public class GetTypeDescendantsResponse { - protected List type; + protected List types; /** - * Gets the value of the type property. + * Gets the value of the types property. * *

* 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 set method for the type property. + * This is why there is not a set method for the types property. * *

* For example, to add a new item, do as follows: *

-     *    getType().add(newItem);
+     *    getTypes().add(newItem);
      * 
* * @@ -59,11 +59,11 @@ public class GetTypeDescendantsResponse { * * */ - public List getType() { - if (type == null) { - type = new ArrayList(); + public List getTypes() { + if (types == null) { + types = new ArrayList(); } - return this.type; + return this.types; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/MoveObject.java b/source/generated/org/alfresco/repo/cmis/ws/MoveObject.java index ac19414d98..bb8b2f4633 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/MoveObject.java +++ b/source/generated/org/alfresco/repo/cmis/ws/MoveObject.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -22,6 +24,7 @@ import javax.xml.bind.annotation.XmlType; * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="targetFolderId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="sourceFolderId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -35,7 +38,8 @@ import javax.xml.bind.annotation.XmlType; "repositoryId", "objectId", "targetFolderId", - "sourceFolderId" + "sourceFolderId", + "extension" }) @XmlRootElement(name = "moveObject") public class MoveObject { @@ -48,6 +52,8 @@ public class MoveObject { protected String targetFolderId; @XmlElement(required = true) protected String sourceFolderId; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -145,4 +151,28 @@ public class MoveObject { this.sourceFolderId = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/MoveObjectResponse.java b/source/generated/org/alfresco/repo/cmis/ws/MoveObjectResponse.java index 34afe3b2b8..7c8a84438c 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/MoveObjectResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/MoveObjectResponse.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -19,6 +21,7 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -29,13 +32,16 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "objectId" + "objectId", + "extension" }) @XmlRootElement(name = "moveObjectResponse") public class MoveObjectResponse { @XmlElement(required = true) protected String objectId; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the objectId property. @@ -61,4 +67,28 @@ public class MoveObjectResponse { this.objectId = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/MultiFilingService.java b/source/generated/org/alfresco/repo/cmis/ws/MultiFilingService.java index 45305f9a0a..4e15d93cea 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/MultiFilingService.java +++ b/source/generated/org/alfresco/repo/cmis/ws/MultiFilingService.java @@ -15,26 +15,26 @@ import javax.xml.ws.WebServiceFeature; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:27 EEST 2009 + * Mon Oct 12 11:20:36 EEST 2009 * Generated source version: 2.1.2 * */ @WebServiceClient(name = "MultiFilingService", - wsdlLocation = "file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl", - targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901") + wsdlLocation = "file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl", + targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/") public class MultiFilingService extends Service { public final static URL WSDL_LOCATION; - public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "MultiFilingService"); - public final static QName MultiFilingServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "MultiFilingServicePort"); + public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "MultiFilingService"); + public final static QName MultiFilingServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "MultiFilingServicePort"); static { URL url = null; try { - url = new URL("file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + url = new URL("file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + System.err.println("Can not initialize the default wsdl from file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); // e.printStackTrace(); } WSDL_LOCATION = url; diff --git a/source/generated/org/alfresco/repo/cmis/ws/MultiFilingServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/MultiFilingServicePort.java index cda8253ca2..336663d81e 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/MultiFilingServicePort.java +++ b/source/generated/org/alfresco/repo/cmis/ws/MultiFilingServicePort.java @@ -9,36 +9,42 @@ import javax.xml.ws.ResponseWrapper; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:27 EEST 2009 + * Mon Oct 12 11:20:36 EEST 2009 * Generated source version: 2.1.2 * */ -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", name = "MultiFilingServicePort") +@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "MultiFilingServicePort") @XmlSeeAlso({ObjectFactory.class}) public interface MultiFilingServicePort { - @ResponseWrapper(localName = "addObjectToFolderResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.AddObjectToFolderResponse") - @RequestWrapper(localName = "addObjectToFolder", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.AddObjectToFolder") + @ResponseWrapper(localName = "addObjectToFolderResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.AddObjectToFolderResponse") + @RequestWrapper(localName = "addObjectToFolder", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.AddObjectToFolder") @WebMethod public void addObjectToFolder( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String objectId, - @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String folderId + @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String folderId, + @WebParam(name = "allVersions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean allVersions, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension ) throws CmisException; - @ResponseWrapper(localName = "removeObjectFromFolderResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.RemoveObjectFromFolderResponse") - @RequestWrapper(localName = "removeObjectFromFolder", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.RemoveObjectFromFolder") + @ResponseWrapper(localName = "removeObjectFromFolderResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.RemoveObjectFromFolderResponse") + @RequestWrapper(localName = "removeObjectFromFolder", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.RemoveObjectFromFolder") @WebMethod public void removeObjectFromFolder( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String objectId, - @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String folderId + @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String folderId, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension ) throws CmisException; } diff --git a/source/generated/org/alfresco/repo/cmis/ws/NavigationService.java b/source/generated/org/alfresco/repo/cmis/ws/NavigationService.java index f18ef693d6..1bf0f6649e 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/NavigationService.java +++ b/source/generated/org/alfresco/repo/cmis/ws/NavigationService.java @@ -15,26 +15,26 @@ import javax.xml.ws.WebServiceFeature; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:27 EEST 2009 + * Mon Oct 12 11:20:37 EEST 2009 * Generated source version: 2.1.2 * */ @WebServiceClient(name = "NavigationService", - wsdlLocation = "file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl", - targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901") + wsdlLocation = "file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl", + targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/") public class NavigationService extends Service { public final static URL WSDL_LOCATION; - public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "NavigationService"); - public final static QName NavigationServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "NavigationServicePort"); + public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "NavigationService"); + public final static QName NavigationServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "NavigationServicePort"); static { URL url = null; try { - url = new URL("file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + url = new URL("file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + System.err.println("Can not initialize the default wsdl from file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); // e.printStackTrace(); } WSDL_LOCATION = url; diff --git a/source/generated/org/alfresco/repo/cmis/ws/NavigationServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/NavigationServicePort.java index 713412c61f..dc9dfd56ca 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/NavigationServicePort.java +++ b/source/generated/org/alfresco/repo/cmis/ws/NavigationServicePort.java @@ -2,7 +2,6 @@ package org.alfresco.repo.cmis.ws; import javax.jws.WebMethod; import javax.jws.WebParam; -import javax.jws.WebParam.Mode; import javax.jws.WebResult; import javax.jws.WebService; import javax.xml.bind.annotation.XmlSeeAlso; @@ -11,136 +10,156 @@ import javax.xml.ws.ResponseWrapper; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:27 EEST 2009 + * Mon Oct 12 11:20:37 EEST 2009 * Generated source version: 2.1.2 * */ -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", name = "NavigationServicePort") +@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "NavigationServicePort") @XmlSeeAlso({ObjectFactory.class}) public interface NavigationServicePort { - @ResponseWrapper(localName = "getObjectParentsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetObjectParentsResponse") - @RequestWrapper(localName = "getObjectParents", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetObjectParents") - @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "getDescendantsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetDescendantsResponse") + @RequestWrapper(localName = "getDescendants", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetDescendants") + @WebResult(name = "objects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod - public java.util.List getObjectParents( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + public java.util.List getDescendants( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String folderId, + @WebParam(name = "depth", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.math.BigInteger depth, + @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String filter, + @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includeAllowableActions, + @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships, + @WebParam(name = "renditionFilter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String renditionFilter, + @WebParam(name = "includePathSegments", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includePathSegments, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension + ) throws CmisException; + + @ResponseWrapper(localName = "getObjectParentsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectParentsResponse") + @RequestWrapper(localName = "getObjectParents", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectParents") + @WebResult(name = "parents", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + @WebMethod + public java.util.List getObjectParents( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String repositoryId, + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String objectId, - @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String filter + @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String filter, + @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includeAllowableActions, + @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships, + @WebParam(name = "renditionFilter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String renditionFilter, + @WebParam(name = "includeRelativePathSegment", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includeRelativePathSegment, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; - @ResponseWrapper(localName = "getChildrenResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetChildrenResponse") - @RequestWrapper(localName = "getChildren", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetChildren") + @ResponseWrapper(localName = "getChildrenResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetChildrenResponse") + @RequestWrapper(localName = "getChildren", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetChildren") + @WebResult(name = "objects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod - public void getChildren( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + public org.alfresco.repo.cmis.ws.CmisObjectInFolderListType getChildren( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String folderId, - @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String filter, - @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.Boolean includeAllowableActions, - @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships, - @WebParam(name = "includeRenditions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.Boolean includeRenditions, - @WebParam(name = "includeACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.Boolean includeACL, - @WebParam(name = "maxItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.math.BigInteger maxItems, - @WebParam(name = "skipCount", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.math.BigInteger skipCount, - @WebParam(name = "orderBy", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "orderBy", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String orderBy, - @WebParam(mode = WebParam.Mode.OUT, name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - javax.xml.ws.Holder> object, - @WebParam(mode = WebParam.Mode.OUT, name = "hasMoreItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - javax.xml.ws.Holder hasMoreItems - ) throws CmisException; - - @ResponseWrapper(localName = "getDescendantsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetDescendantsResponse") - @RequestWrapper(localName = "getDescendants", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetDescendants") - @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - @WebMethod - public java.util.List getDescendants( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String repositoryId, - @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String folderId, - @WebParam(name = "depth", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.math.BigInteger depth, - @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String filter, - @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.Boolean includeAllowableActions, - @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships, - @WebParam(name = "includeRenditions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.Boolean includeRenditions, - @WebParam(name = "orderBy", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String orderBy + @WebParam(name = "renditionFilter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String renditionFilter, + @WebParam(name = "includePathSegments", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includePathSegments, + @WebParam(name = "maxItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.math.BigInteger maxItems, + @WebParam(name = "skipCount", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.math.BigInteger skipCount, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; - @ResponseWrapper(localName = "getFolderTreeResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetFolderTreeResponse") - @RequestWrapper(localName = "getFolderTree", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetFolderTree") - @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "getFolderTreeResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetFolderTreeResponse") + @RequestWrapper(localName = "getFolderTree", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetFolderTree") + @WebResult(name = "objects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod - public java.util.List getFolderTree( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + public java.util.List getFolderTree( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String folderId, - @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String filter, - @WebParam(name = "depth", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "depth", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.math.BigInteger depth, - @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String filter, + @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.Boolean includeAllowableActions, - @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships + @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships, + @WebParam(name = "renditionFilter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String renditionFilter, + @WebParam(name = "includePathSegments", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includePathSegments, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; - @ResponseWrapper(localName = "getFolderParentResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetFolderParentResponse") - @RequestWrapper(localName = "getFolderParent", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetFolderParent") - @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "getFolderParentResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetFolderParentResponse") + @RequestWrapper(localName = "getFolderParent", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetFolderParent") + @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod public org.alfresco.repo.cmis.ws.CmisObjectType getFolderParent( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String folderId, - @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String filter + @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String filter, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; - @ResponseWrapper(localName = "getCheckedOutDocsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetCheckedOutDocsResponse") - @RequestWrapper(localName = "getCheckedOutDocs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetCheckedOutDocs") + @ResponseWrapper(localName = "getCheckedOutDocsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetCheckedOutDocsResponse") + @RequestWrapper(localName = "getCheckedOutDocs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetCheckedOutDocs") + @WebResult(name = "objects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod - public void getCheckedOutDocs( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + public org.alfresco.repo.cmis.ws.CmisObjectListType getCheckedOutDocs( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String folderId, - @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String filter, - @WebParam(name = "orderBy", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "orderBy", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String orderBy, - @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.Boolean includeAllowableActions, - @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships, - @WebParam(name = "maxItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "renditionFilter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String renditionFilter, + @WebParam(name = "maxItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.math.BigInteger maxItems, - @WebParam(name = "skipCount", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "skipCount", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.math.BigInteger skipCount, - @WebParam(mode = WebParam.Mode.OUT, name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - javax.xml.ws.Holder> object, - @WebParam(mode = WebParam.Mode.OUT, name = "hasMoreItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - javax.xml.ws.Holder hasMoreItems + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; } diff --git a/source/generated/org/alfresco/repo/cmis/ws/ObjectFactory.java b/source/generated/org/alfresco/repo/cmis/ws/ObjectFactory.java index 666a3af818..8ee3f14d2e 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/ObjectFactory.java +++ b/source/generated/org/alfresco/repo/cmis/ws/ObjectFactory.java @@ -25,40 +25,47 @@ import javax.xml.namespace.QName; @XmlRegistry public class ObjectFactory { - private final static QName _GetDescendantsIncludeRelationships_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "includeRelationships"); - private final static QName _GetDescendantsIncludeAllowableActions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "includeAllowableActions"); - private final static QName _GetDescendantsFilter_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "filter"); - private final static QName _GetDescendantsIncludeRenditions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "includeRenditions"); - private final static QName _GetDescendantsDepth_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "depth"); - private final static QName _GetCheckedOutDocsFolderId_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "folderId"); - private final static QName _GetCheckedOutDocsSkipCount_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "skipCount"); - private final static QName _GetCheckedOutDocsOrderBy_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "orderBy"); - private final static QName _GetCheckedOutDocsMaxItems_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "maxItems"); - private final static QName _GetChildrenIncludeACL_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "includeACL"); - private final static QName _UpdatePropertiesChangeToken_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "changeToken"); - private final static QName _GetTypeChildrenTypeId_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "typeId"); - private final static QName _GetTypeChildrenIncludePropertyDefinitions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "includePropertyDefinitions"); - private final static QName _SetContentStreamOverwriteFlag_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "overwriteFlag"); - private final static QName _CreateRelationshipRemoveACEs_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "removeACEs"); - private final static QName _CreateRelationshipAddACEs_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "addACEs"); - private final static QName _CmisQueryTypeIncludeAllowableActions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/core/200901", "includeAllowableActions"); - private final static QName _CmisQueryTypeIncludeRenditions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/core/200901", "includeRenditions"); - private final static QName _CmisQueryTypeIncludeRelationships_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/core/200901", "includeRelationships"); - private final static QName _DeleteObjectAllVersions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "allVersions"); - private final static QName _CreateDocumentContentStream_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "contentStream"); - private final static QName _CreateDocumentVersioningState_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "versioningState"); - private final static QName _GetRelationshipsIncludeSubRelationshipTypes_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "includeSubRelationshipTypes"); - private final static QName _GetRelationshipsDirection_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "direction"); - private final static QName _GetContentChangesIncludeProperties_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "includeProperties"); - private final static QName _AllowableActions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/core/200901", "allowableActions"); - private final static QName _CmisFault_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "cmisFault"); - private final static QName _Acl_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/core/200901", "acl"); - private final static QName _Query_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/core/200901", "query"); - private final static QName _CheckInCheckinComment_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "checkinComment"); - private final static QName _CheckInProperties_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "properties"); - private final static QName _CheckInMajor_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "major"); - private final static QName _DeleteTreeContinueOnFailure_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "continueOnFailure"); - private final static QName _ApplyACLPropogationType_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200901", "propogationType"); + private final static QName _UpdatePropertiesResponseExtension_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "extension"); + private final static QName _GetObjectByPathIncludeRelationships_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "includeRelationships"); + private final static QName _GetObjectByPathIncludeAllowableActions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "includeAllowableActions"); + private final static QName _GetObjectByPathIncludePolicyIds_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "includePolicyIds"); + private final static QName _GetObjectByPathIncludeACL_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "includeACL"); + private final static QName _GetObjectByPathFilter_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "filter"); + private final static QName _GetObjectByPathRenditionFilter_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "renditionFilter"); + private final static QName _CreateDocumentVersioningState_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "versioningState"); + private final static QName _CreateDocumentAddACEs_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "addACEs"); + private final static QName _CreateDocumentFolderId_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "folderId"); + private final static QName _CreateDocumentRemoveACEs_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "removeACEs"); + private final static QName _CreateDocumentContentStream_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "contentStream"); + private final static QName _DeleteTreeUnfileObject_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "unfileObject"); + private final static QName _DeleteTreeContinueOnFailure_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "continueOnFailure"); + private final static QName _DeleteTreeAllVersions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "allVersions"); + private final static QName _GetDescendantsIncludePathSegments_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "includePathSegments"); + private final static QName _GetDescendantsDepth_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "depth"); + private final static QName _ApplyACLACLPropagation_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "ACLPropagation"); + private final static QName _GetContentStreamOffset_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "offset"); + private final static QName _GetContentStreamStreamId_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "streamId"); + private final static QName _GetContentStreamLength_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "length"); + private final static QName _GetCheckedOutDocsSkipCount_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "skipCount"); + private final static QName _GetCheckedOutDocsOrderBy_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "orderBy"); + private final static QName _GetCheckedOutDocsMaxItems_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "maxItems"); + private final static QName _GetTypeChildrenTypeId_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "typeId"); + private final static QName _GetTypeChildrenIncludePropertyDefinitions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "includePropertyDefinitions"); + private final static QName _QuerySearchAllVersions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "searchAllVersions"); + private final static QName _Query_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/core/200908/", "query"); + private final static QName _AllowableActions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/core/200908/", "allowableActions"); + private final static QName _Acl_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/core/200908/", "acl"); + private final static QName _CmisFault_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "cmisFault"); + private final static QName _GetObjectRelationshipsRelationshipDirection_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "relationshipDirection"); + private final static QName _UpdatePropertiesChangeToken_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "changeToken"); + private final static QName _GetACLOnlyBasicPermissions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "onlyBasicPermissions"); + private final static QName _GetContentChangesIncludeProperties_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "includeProperties"); + private final static QName _GetContentChangesChangeLogToken_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "changeLogToken"); + private final static QName _SetContentStreamOverwriteFlag_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "overwriteFlag"); + private final static QName _CheckInMajor_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "major"); + private final static QName _CheckInCheckinComment_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "checkinComment"); + private final static QName _CheckInProperties_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "properties"); + private final static QName _GetObjectParentsIncludeRelativePathSegment_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "includeRelativePathSegment"); /** * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.alfresco.repo.cmis.ws @@ -68,683 +75,11 @@ public class ObjectFactory { } /** - * Create an instance of {@link DeleteContentStreamResponse } + * Create an instance of {@link GetObjectByPath } * */ - public DeleteContentStreamResponse createDeleteContentStreamResponse() { - return new DeleteContentStreamResponse(); - } - - /** - * Create an instance of {@link CmisChoiceDecimal } - * - */ - public CmisChoiceDecimal createCmisChoiceDecimal() { - return new CmisChoiceDecimal(); - } - - /** - * Create an instance of {@link CmisPropertyDefinitionType } - * - */ - public CmisPropertyDefinitionType createCmisPropertyDefinitionType() { - return new CmisPropertyDefinitionType(); - } - - /** - * Create an instance of {@link CmisTypeFolderDefinitionType } - * - */ - public CmisTypeFolderDefinitionType createCmisTypeFolderDefinitionType() { - return new CmisTypeFolderDefinitionType(); - } - - /** - * Create an instance of {@link CmisPropertiesType } - * - */ - public CmisPropertiesType createCmisPropertiesType() { - return new CmisPropertiesType(); - } - - /** - * Create an instance of {@link CmisPermissionDefinition } - * - */ - public CmisPermissionDefinition createCmisPermissionDefinition() { - return new CmisPermissionDefinition(); - } - - /** - * Create an instance of {@link UpdateProperties } - * - */ - public UpdateProperties createUpdateProperties() { - return new UpdateProperties(); - } - - /** - * Create an instance of {@link GetChildren } - * - */ - public GetChildren createGetChildren() { - return new GetChildren(); - } - - /** - * Create an instance of {@link SetContentStream } - * - */ - public SetContentStream createSetContentStream() { - return new SetContentStream(); - } - - /** - * Create an instance of {@link CancelCheckOut } - * - */ - public CancelCheckOut createCancelCheckOut() { - return new CancelCheckOut(); - } - - /** - * Create an instance of {@link DeleteContentStream } - * - */ - public DeleteContentStream createDeleteContentStream() { - return new DeleteContentStream(); - } - - /** - * Create an instance of {@link GetChildrenResponse } - * - */ - public GetChildrenResponse createGetChildrenResponse() { - return new GetChildrenResponse(); - } - - /** - * Create an instance of {@link RemoveObjectFromFolderResponse } - * - */ - public RemoveObjectFromFolderResponse createRemoveObjectFromFolderResponse() { - return new RemoveObjectFromFolderResponse(); - } - - /** - * Create an instance of {@link GetContentChangesResponse } - * - */ - public GetContentChangesResponse createGetContentChangesResponse() { - return new GetContentChangesResponse(); - } - - /** - * Create an instance of {@link GetAllVersionsResponse } - * - */ - public GetAllVersionsResponse createGetAllVersionsResponse() { - return new GetAllVersionsResponse(); - } - - /** - * Create an instance of {@link CmisACLCapabilityType } - * - */ - public CmisACLCapabilityType createCmisACLCapabilityType() { - return new CmisACLCapabilityType(); - } - - /** - * Create an instance of {@link GetCheckedOutDocsResponse } - * - */ - public GetCheckedOutDocsResponse createGetCheckedOutDocsResponse() { - return new GetCheckedOutDocsResponse(); - } - - /** - * Create an instance of {@link DeleteObject } - * - */ - public DeleteObject createDeleteObject() { - return new DeleteObject(); - } - - /** - * Create an instance of {@link CmisTypeDefinitionType } - * - */ - public CmisTypeDefinitionType createCmisTypeDefinitionType() { - return new CmisTypeDefinitionType(); - } - - /** - * Create an instance of {@link GetTypeDescendants } - * - */ - public GetTypeDescendants createGetTypeDescendants() { - return new GetTypeDescendants(); - } - - /** - * Create an instance of {@link GetTypeChildrenResponse } - * - */ - public GetTypeChildrenResponse createGetTypeChildrenResponse() { - return new GetTypeChildrenResponse(); - } - - /** - * Create an instance of {@link DeleteTreeResponse.FailedToDelete } - * - */ - public DeleteTreeResponse.FailedToDelete createDeleteTreeResponseFailedToDelete() { - return new DeleteTreeResponse.FailedToDelete(); - } - - /** - * Create an instance of {@link CmisChangeEventType } - * - */ - public CmisChangeEventType createCmisChangeEventType() { - return new CmisChangeEventType(); - } - - /** - * Create an instance of {@link GetAllVersions } - * - */ - public GetAllVersions createGetAllVersions() { - return new GetAllVersions(); - } - - /** - * Create an instance of {@link CreatePolicyResponse } - * - */ - public CreatePolicyResponse createCreatePolicyResponse() { - return new CreatePolicyResponse(); - } - - /** - * Create an instance of {@link CmisPropertyDecimalDefinitionType } - * - */ - public CmisPropertyDecimalDefinitionType createCmisPropertyDecimalDefinitionType() { - return new CmisPropertyDecimalDefinitionType(); - } - - /** - * Create an instance of {@link GetContentChanges } - * - */ - public GetContentChanges createGetContentChanges() { - return new GetContentChanges(); - } - - /** - * Create an instance of {@link CmisPropertyXml } - * - */ - public CmisPropertyXml createCmisPropertyXml() { - return new CmisPropertyXml(); - } - - /** - * Create an instance of {@link CmisPropertyXhtml } - * - */ - public CmisPropertyXhtml createCmisPropertyXhtml() { - return new CmisPropertyXhtml(); - } - - /** - * Create an instance of {@link CmisPropertyInteger } - * - */ - public CmisPropertyInteger createCmisPropertyInteger() { - return new CmisPropertyInteger(); - } - - /** - * Create an instance of {@link GetPropertiesOfLatestVersionResponse } - * - */ - public GetPropertiesOfLatestVersionResponse createGetPropertiesOfLatestVersionResponse() { - return new GetPropertiesOfLatestVersionResponse(); - } - - /** - * Create an instance of {@link DeleteTreeResponse } - * - */ - public DeleteTreeResponse createDeleteTreeResponse() { - return new DeleteTreeResponse(); - } - - /** - * Create an instance of {@link CmisPropertyIdDefinitionType } - * - */ - public CmisPropertyIdDefinitionType createCmisPropertyIdDefinitionType() { - return new CmisPropertyIdDefinitionType(); - } - - /** - * Create an instance of {@link GetContentStreamResponse } - * - */ - public GetContentStreamResponse createGetContentStreamResponse() { - return new GetContentStreamResponse(); - } - - /** - * Create an instance of {@link RemovePolicy } - * - */ - public RemovePolicy createRemovePolicy() { - return new RemovePolicy(); - } - - /** - * Create an instance of {@link CmisChoiceUri } - * - */ - public CmisChoiceUri createCmisChoiceUri() { - return new CmisChoiceUri(); - } - - /** - * Create an instance of {@link CmisRepositoryInfoType } - * - */ - public CmisRepositoryInfoType createCmisRepositoryInfoType() { - return new CmisRepositoryInfoType(); - } - - /** - * Create an instance of {@link GetDescendants } - * - */ - public GetDescendants createGetDescendants() { - return new GetDescendants(); - } - - /** - * Create an instance of {@link CheckInResponse } - * - */ - public CheckInResponse createCheckInResponse() { - return new CheckInResponse(); - } - - /** - * Create an instance of {@link CmisChoiceXhtml } - * - */ - public CmisChoiceXhtml createCmisChoiceXhtml() { - return new CmisChoiceXhtml(); - } - - /** - * Create an instance of {@link CmisChoiceXml.Value } - * - */ - public CmisChoiceXml.Value createCmisChoiceXmlValue() { - return new CmisChoiceXml.Value(); - } - - /** - * Create an instance of {@link CmisPropertyUriDefinitionType } - * - */ - public CmisPropertyUriDefinitionType createCmisPropertyUriDefinitionType() { - return new CmisPropertyUriDefinitionType(); - } - - /** - * Create an instance of {@link CmisPropertyXml.Value } - * - */ - public CmisPropertyXml.Value createCmisPropertyXmlValue() { - return new CmisPropertyXml.Value(); - } - - /** - * Create an instance of {@link UpdatePropertiesResponse } - * - */ - public UpdatePropertiesResponse createUpdatePropertiesResponse() { - return new UpdatePropertiesResponse(); - } - - /** - * Create an instance of {@link MoveObject } - * - */ - public MoveObject createMoveObject() { - return new MoveObject(); - } - - /** - * Create an instance of {@link ApplyPolicy } - * - */ - public ApplyPolicy createApplyPolicy() { - return new ApplyPolicy(); - } - - /** - * Create an instance of {@link CmisChoiceHtml.Value } - * - */ - public CmisChoiceHtml.Value createCmisChoiceHtmlValue() { - return new CmisChoiceHtml.Value(); - } - - /** - * Create an instance of {@link DeleteObjectResponse } - * - */ - public DeleteObjectResponse createDeleteObjectResponse() { - return new DeleteObjectResponse(); - } - - /** - * Create an instance of {@link CreateRelationship } - * - */ - public CreateRelationship createCreateRelationship() { - return new CreateRelationship(); - } - - /** - * Create an instance of {@link GetRepositoriesResponse } - * - */ - public GetRepositoriesResponse createGetRepositoriesResponse() { - return new GetRepositoriesResponse(); - } - - /** - * Create an instance of {@link GetAppliedPolicies } - * - */ - public GetAppliedPolicies createGetAppliedPolicies() { - return new GetAppliedPolicies(); - } - - /** - * Create an instance of {@link CmisAccessControlEntryType } - * - */ - public CmisAccessControlEntryType createCmisAccessControlEntryType() { - return new CmisAccessControlEntryType(); - } - - /** - * Create an instance of {@link GetRenditionsResponse } - * - */ - public GetRenditionsResponse createGetRenditionsResponse() { - return new GetRenditionsResponse(); - } - - /** - * Create an instance of {@link GetRelationshipsResponse } - * - */ - public GetRelationshipsResponse createGetRelationshipsResponse() { - return new GetRelationshipsResponse(); - } - - /** - * Create an instance of {@link GetProperties } - * - */ - public GetProperties createGetProperties() { - return new GetProperties(); - } - - /** - * Create an instance of {@link CmisContentStreamType } - * - */ - public CmisContentStreamType createCmisContentStreamType() { - return new CmisContentStreamType(); - } - - /** - * Create an instance of {@link GetTypeDefinition } - * - */ - public GetTypeDefinition createGetTypeDefinition() { - return new GetTypeDefinition(); - } - - /** - * Create an instance of {@link CheckOut } - * - */ - public CheckOut createCheckOut() { - return new CheckOut(); - } - - /** - * Create an instance of {@link GetAllowableActions } - * - */ - public GetAllowableActions createGetAllowableActions() { - return new GetAllowableActions(); - } - - /** - * Create an instance of {@link CmisAccessControlListType } - * - */ - public CmisAccessControlListType createCmisAccessControlListType() { - return new CmisAccessControlListType(); - } - - /** - * Create an instance of {@link CheckOutResponse } - * - */ - public CheckOutResponse createCheckOutResponse() { - return new CheckOutResponse(); - } - - /** - * Create an instance of {@link AddObjectToFolder } - * - */ - public AddObjectToFolder createAddObjectToFolder() { - return new AddObjectToFolder(); - } - - /** - * Create an instance of {@link GetTypeDescendantsResponse } - * - */ - public GetTypeDescendantsResponse createGetTypeDescendantsResponse() { - return new GetTypeDescendantsResponse(); - } - - /** - * Create an instance of {@link CmisTypePolicyDefinitionType } - * - */ - public CmisTypePolicyDefinitionType createCmisTypePolicyDefinitionType() { - return new CmisTypePolicyDefinitionType(); - } - - /** - * Create an instance of {@link MoveObjectResponse } - * - */ - public MoveObjectResponse createMoveObjectResponse() { - return new MoveObjectResponse(); - } - - /** - * Create an instance of {@link GetPropertiesOfLatestVersion } - * - */ - public GetPropertiesOfLatestVersion createGetPropertiesOfLatestVersion() { - return new GetPropertiesOfLatestVersion(); - } - - /** - * Create an instance of {@link CmisRepositoryEntryType } - * - */ - public CmisRepositoryEntryType createCmisRepositoryEntryType() { - return new CmisRepositoryEntryType(); - } - - /** - * Create an instance of {@link CheckIn } - * - */ - public CheckIn createCheckIn() { - return new CheckIn(); - } - - /** - * Create an instance of {@link GetFolderParentResponse } - * - */ - public GetFolderParentResponse createGetFolderParentResponse() { - return new GetFolderParentResponse(); - } - - /** - * Create an instance of {@link CmisPropertyDateTimeDefinitionType } - * - */ - public CmisPropertyDateTimeDefinitionType createCmisPropertyDateTimeDefinitionType() { - return new CmisPropertyDateTimeDefinitionType(); - } - - /** - * Create an instance of {@link CmisPropertyBooleanDefinitionType } - * - */ - public CmisPropertyBooleanDefinitionType createCmisPropertyBooleanDefinitionType() { - return new CmisPropertyBooleanDefinitionType(); - } - - /** - * Create an instance of {@link CmisPropertyHtml } - * - */ - public CmisPropertyHtml createCmisPropertyHtml() { - return new CmisPropertyHtml(); - } - - /** - * Create an instance of {@link CancelCheckOutResponse } - * - */ - public CancelCheckOutResponse createCancelCheckOutResponse() { - return new CancelCheckOutResponse(); - } - - /** - * Create an instance of {@link CmisChoiceBoolean } - * - */ - public CmisChoiceBoolean createCmisChoiceBoolean() { - return new CmisChoiceBoolean(); - } - - /** - * Create an instance of {@link CmisPropertyId } - * - */ - public CmisPropertyId createCmisPropertyId() { - return new CmisPropertyId(); - } - - /** - * Create an instance of {@link CmisFaultType } - * - */ - public CmisFaultType createCmisFaultType() { - return new CmisFaultType(); - } - - /** - * Create an instance of {@link GetRepositoryInfoResponse } - * - */ - public GetRepositoryInfoResponse createGetRepositoryInfoResponse() { - return new GetRepositoryInfoResponse(); - } - - /** - * Create an instance of {@link GetObjectParents } - * - */ - public GetObjectParents createGetObjectParents() { - return new GetObjectParents(); - } - - /** - * Create an instance of {@link CmisAllowableActionsType } - * - */ - public CmisAllowableActionsType createCmisAllowableActionsType() { - return new CmisAllowableActionsType(); - } - - /** - * Create an instance of {@link CmisPropertyDecimal } - * - */ - public CmisPropertyDecimal createCmisPropertyDecimal() { - return new CmisPropertyDecimal(); - } - - /** - * Create an instance of {@link GetRenditions } - * - */ - public GetRenditions createGetRenditions() { - return new GetRenditions(); - } - - /** - * Create an instance of {@link GetFolderTreeResponse } - * - */ - public GetFolderTreeResponse createGetFolderTreeResponse() { - return new GetFolderTreeResponse(); - } - - /** - * Create an instance of {@link CmisChoiceString } - * - */ - public CmisChoiceString createCmisChoiceString() { - return new CmisChoiceString(); - } - - /** - * Create an instance of {@link CmisChoiceId } - * - */ - public CmisChoiceId createCmisChoiceId() { - return new CmisChoiceId(); - } - - /** - * Create an instance of {@link GetFolderByPathResponse } - * - */ - public GetFolderByPathResponse createGetFolderByPathResponse() { - return new GetFolderByPathResponse(); + public GetObjectByPath createGetObjectByPath() { + return new GetObjectByPath(); } /** @@ -756,179 +91,11 @@ public class ObjectFactory { } /** - * Create an instance of {@link GetFolderTree } + * Create an instance of {@link GetAllVersionsResponse } * */ - public GetFolderTree createGetFolderTree() { - return new GetFolderTree(); - } - - /** - * Create an instance of {@link CmisChoiceXhtml.Value } - * - */ - public CmisChoiceXhtml.Value createCmisChoiceXhtmlValue() { - return new CmisChoiceXhtml.Value(); - } - - /** - * Create an instance of {@link CmisPropertyDateTime } - * - */ - public CmisPropertyDateTime createCmisPropertyDateTime() { - return new CmisPropertyDateTime(); - } - - /** - * Create an instance of {@link CreatePolicy } - * - */ - public CreatePolicy createCreatePolicy() { - return new CreatePolicy(); - } - - /** - * Create an instance of {@link SetContentStreamResponse } - * - */ - public SetContentStreamResponse createSetContentStreamResponse() { - return new SetContentStreamResponse(); - } - - /** - * Create an instance of {@link CmisPropertyHtmlDefinitionType } - * - */ - public CmisPropertyHtmlDefinitionType createCmisPropertyHtmlDefinitionType() { - return new CmisPropertyHtmlDefinitionType(); - } - - /** - * Create an instance of {@link CmisChoiceXml } - * - */ - public CmisChoiceXml createCmisChoiceXml() { - return new CmisChoiceXml(); - } - - /** - * Create an instance of {@link GetRelationships } - * - */ - public GetRelationships createGetRelationships() { - return new GetRelationships(); - } - - /** - * Create an instance of {@link CmisAccessControlPrincipalType } - * - */ - public CmisAccessControlPrincipalType createCmisAccessControlPrincipalType() { - return new CmisAccessControlPrincipalType(); - } - - /** - * Create an instance of {@link ApplyACLResponse } - * - */ - public ApplyACLResponse createApplyACLResponse() { - return new ApplyACLResponse(); - } - - /** - * Create an instance of {@link CmisPropertyStringDefinitionType } - * - */ - public CmisPropertyStringDefinitionType createCmisPropertyStringDefinitionType() { - return new CmisPropertyStringDefinitionType(); - } - - /** - * Create an instance of {@link GetAllowableActionsResponse } - * - */ - public GetAllowableActionsResponse createGetAllowableActionsResponse() { - return new GetAllowableActionsResponse(); - } - - /** - * Create an instance of {@link CmisChoiceDateTime } - * - */ - public CmisChoiceDateTime createCmisChoiceDateTime() { - return new CmisChoiceDateTime(); - } - - /** - * Create an instance of {@link CmisProperty } - * - */ - public CmisProperty createCmisProperty() { - return new CmisProperty(); - } - - /** - * Create an instance of {@link GetRepositories } - * - */ - public GetRepositories createGetRepositories() { - return new GetRepositories(); - } - - /** - * Create an instance of {@link GetObjectParentsResponse } - * - */ - public GetObjectParentsResponse createGetObjectParentsResponse() { - return new GetObjectParentsResponse(); - } - - /** - * Create an instance of {@link CmisTypeRelationshipDefinitionType } - * - */ - public CmisTypeRelationshipDefinitionType createCmisTypeRelationshipDefinitionType() { - return new CmisTypeRelationshipDefinitionType(); - } - - /** - * Create an instance of {@link CreateFolderResponse } - * - */ - public CreateFolderResponse createCreateFolderResponse() { - return new CreateFolderResponse(); - } - - /** - * Create an instance of {@link CreateRelationshipResponse } - * - */ - public CreateRelationshipResponse createCreateRelationshipResponse() { - return new CreateRelationshipResponse(); - } - - /** - * Create an instance of {@link GetContentStream } - * - */ - public GetContentStream createGetContentStream() { - return new GetContentStream(); - } - - /** - * Create an instance of {@link GetACL } - * - */ - public GetACL createGetACL() { - return new GetACL(); - } - - /** - * Create an instance of {@link ApplyACL } - * - */ - public ApplyACL createApplyACL() { - return new ApplyACL(); + public GetAllVersionsResponse createGetAllVersionsResponse() { + return new GetAllVersionsResponse(); } /** @@ -939,158 +106,6 @@ public class ObjectFactory { return new GetFolderParent(); } - /** - * Create an instance of {@link GetFolderByPath } - * - */ - public GetFolderByPath createGetFolderByPath() { - return new GetFolderByPath(); - } - - /** - * Create an instance of {@link Query } - * - */ - public Query createQuery() { - return new Query(); - } - - /** - * Create an instance of {@link CmisPropertyString } - * - */ - public CmisPropertyString createCmisPropertyString() { - return new CmisPropertyString(); - } - - /** - * Create an instance of {@link CmisPropertyBoolean } - * - */ - public CmisPropertyBoolean createCmisPropertyBoolean() { - return new CmisPropertyBoolean(); - } - - /** - * Create an instance of {@link GetAppliedPoliciesResponse } - * - */ - public GetAppliedPoliciesResponse createGetAppliedPoliciesResponse() { - return new GetAppliedPoliciesResponse(); - } - - /** - * Create an instance of {@link CmisPropertyXhtmlDefinitionType } - * - */ - public CmisPropertyXhtmlDefinitionType createCmisPropertyXhtmlDefinitionType() { - return new CmisPropertyXhtmlDefinitionType(); - } - - /** - * Create an instance of {@link GetTypeDefinitionResponse } - * - */ - public GetTypeDefinitionResponse createGetTypeDefinitionResponse() { - return new GetTypeDefinitionResponse(); - } - - /** - * Create an instance of {@link GetCheckedOutDocs } - * - */ - public GetCheckedOutDocs createGetCheckedOutDocs() { - return new GetCheckedOutDocs(); - } - - /** - * Create an instance of {@link ApplyPolicyResponse } - * - */ - public ApplyPolicyResponse createApplyPolicyResponse() { - return new ApplyPolicyResponse(); - } - - /** - * Create an instance of {@link CreateDocumentResponse } - * - */ - public CreateDocumentResponse createCreateDocumentResponse() { - return new CreateDocumentResponse(); - } - - /** - * Create an instance of {@link GetTypeChildren } - * - */ - public GetTypeChildren createGetTypeChildren() { - return new GetTypeChildren(); - } - - /** - * Create an instance of {@link CmisPropertyIntegerDefinitionType } - * - */ - public CmisPropertyIntegerDefinitionType createCmisPropertyIntegerDefinitionType() { - return new CmisPropertyIntegerDefinitionType(); - } - - /** - * Create an instance of {@link CmisQueryType } - * - */ - public CmisQueryType createCmisQueryType() { - return new CmisQueryType(); - } - - /** - * Create an instance of {@link CmisPropertyXhtml.Value } - * - */ - public CmisPropertyXhtml.Value createCmisPropertyXhtmlValue() { - return new CmisPropertyXhtml.Value(); - } - - /** - * Create an instance of {@link RemoveObjectFromFolder } - * - */ - public RemoveObjectFromFolder createRemoveObjectFromFolder() { - return new RemoveObjectFromFolder(); - } - - /** - * Create an instance of {@link CmisAnyXml } - * - */ - public CmisAnyXml createCmisAnyXml() { - return new CmisAnyXml(); - } - - /** - * Create an instance of {@link GetACLResponse } - * - */ - public GetACLResponse createGetACLResponse() { - return new GetACLResponse(); - } - - /** - * Create an instance of {@link GetDescendantsResponse } - * - */ - public GetDescendantsResponse createGetDescendantsResponse() { - return new GetDescendantsResponse(); - } - - /** - * Create an instance of {@link CmisPermissionMapping } - * - */ - public CmisPermissionMapping createCmisPermissionMapping() { - return new CmisPermissionMapping(); - } - /** * Create an instance of {@link CmisRenditionType } * @@ -1100,35 +115,139 @@ public class ObjectFactory { } /** - * Create an instance of {@link CmisChoiceHtml } + * Create an instance of {@link GetAllowableActionsResponse } * */ - public CmisChoiceHtml createCmisChoiceHtml() { - return new CmisChoiceHtml(); + public GetAllowableActionsResponse createGetAllowableActionsResponse() { + return new GetAllowableActionsResponse(); } /** - * Create an instance of {@link CmisPropertyHtml.Value } + * Create an instance of {@link GetObjectOfLatestVersionResponse } * */ - public CmisPropertyHtml.Value createCmisPropertyHtmlValue() { - return new CmisPropertyHtml.Value(); + public GetObjectOfLatestVersionResponse createGetObjectOfLatestVersionResponse() { + return new GetObjectOfLatestVersionResponse(); } /** - * Create an instance of {@link GetPropertiesResponse } + * Create an instance of {@link CmisPropertyInteger } * */ - public GetPropertiesResponse createGetPropertiesResponse() { - return new GetPropertiesResponse(); + public CmisPropertyInteger createCmisPropertyInteger() { + return new CmisPropertyInteger(); } /** - * Create an instance of {@link CmisPropertyXmlDefinitionType } + * Create an instance of {@link CmisObjectInFolderContainerType } * */ - public CmisPropertyXmlDefinitionType createCmisPropertyXmlDefinitionType() { - return new CmisPropertyXmlDefinitionType(); + public CmisObjectInFolderContainerType createCmisObjectInFolderContainerType() { + return new CmisObjectInFolderContainerType(); + } + + /** + * Create an instance of {@link GetAppliedPolicies } + * + */ + public GetAppliedPolicies createGetAppliedPolicies() { + return new GetAppliedPolicies(); + } + + /** + * Create an instance of {@link CmisTypeDefinitionListType } + * + */ + public CmisTypeDefinitionListType createCmisTypeDefinitionListType() { + return new CmisTypeDefinitionListType(); + } + + /** + * Create an instance of {@link CmisACLCapabilityType } + * + */ + public CmisACLCapabilityType createCmisACLCapabilityType() { + return new CmisACLCapabilityType(); + } + + /** + * Create an instance of {@link CmisPropertiesType } + * + */ + public CmisPropertiesType createCmisPropertiesType() { + return new CmisPropertiesType(); + } + + /** + * Create an instance of {@link GetDescendants } + * + */ + public GetDescendants createGetDescendants() { + return new GetDescendants(); + } + + /** + * Create an instance of {@link CmisPropertyDecimalDefinitionType } + * + */ + public CmisPropertyDecimalDefinitionType createCmisPropertyDecimalDefinitionType() { + return new CmisPropertyDecimalDefinitionType(); + } + + /** + * Create an instance of {@link ApplyACL } + * + */ + public ApplyACL createApplyACL() { + return new ApplyACL(); + } + + /** + * Create an instance of {@link CheckOut } + * + */ + public CheckOut createCheckOut() { + return new CheckOut(); + } + + /** + * Create an instance of {@link CmisAllowableActionsType } + * + */ + public CmisAllowableActionsType createCmisAllowableActionsType() { + return new CmisAllowableActionsType(); + } + + /** + * Create an instance of {@link CreateRelationshipResponse } + * + */ + public CreateRelationshipResponse createCreateRelationshipResponse() { + return new CreateRelationshipResponse(); + } + + /** + * Create an instance of {@link GetObjectResponse } + * + */ + public GetObjectResponse createGetObjectResponse() { + return new GetObjectResponse(); + } + + /** + * Create an instance of {@link CmisExtensionType } + * + */ + public CmisExtensionType createCmisExtensionType() { + return new CmisExtensionType(); + } + + /** + * Create an instance of {@link RemoveObjectFromFolderResponse } + * + */ + public RemoveObjectFromFolderResponse createRemoveObjectFromFolderResponse() { + return new RemoveObjectFromFolderResponse(); } /** @@ -1140,51 +259,107 @@ public class ObjectFactory { } /** - * Create an instance of {@link CmisChoice } + * Create an instance of {@link CmisPropertyDecimal } * */ - public CmisChoice createCmisChoice() { - return new CmisChoice(); + public CmisPropertyDecimal createCmisPropertyDecimal() { + return new CmisPropertyDecimal(); } /** - * Create an instance of {@link AddObjectToFolderResponse } + * Create an instance of {@link GetCheckedOutDocs } * */ - public AddObjectToFolderResponse createAddObjectToFolderResponse() { - return new AddObjectToFolderResponse(); + public GetCheckedOutDocs createGetCheckedOutDocs() { + return new GetCheckedOutDocs(); } /** - * Create an instance of {@link CmisObjectType } + * Create an instance of {@link GetFolderTreeResponse } * */ - public CmisObjectType createCmisObjectType() { - return new CmisObjectType(); + public GetFolderTreeResponse createGetFolderTreeResponse() { + return new GetFolderTreeResponse(); } /** - * Create an instance of {@link QueryResponse } + * Create an instance of {@link CmisPropertyString } * */ - public QueryResponse createQueryResponse() { - return new QueryResponse(); + public CmisPropertyString createCmisPropertyString() { + return new CmisPropertyString(); } /** - * Create an instance of {@link CmisRepositoryCapabilitiesType } + * Create an instance of {@link CmisQueryType } * */ - public CmisRepositoryCapabilitiesType createCmisRepositoryCapabilitiesType() { - return new CmisRepositoryCapabilitiesType(); + public CmisQueryType createCmisQueryType() { + return new CmisQueryType(); } /** - * Create an instance of {@link CmisPropertyUri } + * Create an instance of {@link GetObjectParentsResponse } * */ - public CmisPropertyUri createCmisPropertyUri() { - return new CmisPropertyUri(); + public GetObjectParentsResponse createGetObjectParentsResponse() { + return new GetObjectParentsResponse(); + } + + /** + * Create an instance of {@link GetRepositories } + * + */ + public GetRepositories createGetRepositories() { + return new GetRepositories(); + } + + /** + * Create an instance of {@link CmisPermissionMapping } + * + */ + public CmisPermissionMapping createCmisPermissionMapping() { + return new CmisPermissionMapping(); + } + + /** + * Create an instance of {@link CmisProperty } + * + */ + public CmisProperty createCmisProperty() { + return new CmisProperty(); + } + + /** + * Create an instance of {@link CreateRelationship } + * + */ + public CreateRelationship createCreateRelationship() { + return new CreateRelationship(); + } + + /** + * Create an instance of {@link CmisRepositoryEntryType } + * + */ + public CmisRepositoryEntryType createCmisRepositoryEntryType() { + return new CmisRepositoryEntryType(); + } + + /** + * Create an instance of {@link GetRepositoryInfoResponse } + * + */ + public GetRepositoryInfoResponse createGetRepositoryInfoResponse() { + return new GetRepositoryInfoResponse(); + } + + /** + * Create an instance of {@link CmisTypeFolderDefinitionType } + * + */ + public CmisTypeFolderDefinitionType createCmisTypeFolderDefinitionType() { + return new CmisTypeFolderDefinitionType(); } /** @@ -1195,6 +370,102 @@ public class ObjectFactory { return new RemovePolicyResponse(); } + /** + * Create an instance of {@link CmisPropertyIntegerDefinitionType } + * + */ + public CmisPropertyIntegerDefinitionType createCmisPropertyIntegerDefinitionType() { + return new CmisPropertyIntegerDefinitionType(); + } + + /** + * Create an instance of {@link CheckOutResponse } + * + */ + public CheckOutResponse createCheckOutResponse() { + return new CheckOutResponse(); + } + + /** + * Create an instance of {@link CancelCheckOut } + * + */ + public CancelCheckOut createCancelCheckOut() { + return new CancelCheckOut(); + } + + /** + * Create an instance of {@link GetTypeDefinitionResponse } + * + */ + public GetTypeDefinitionResponse createGetTypeDefinitionResponse() { + return new GetTypeDefinitionResponse(); + } + + /** + * Create an instance of {@link DeleteObjectResponse } + * + */ + public DeleteObjectResponse createDeleteObjectResponse() { + return new DeleteObjectResponse(); + } + + /** + * Create an instance of {@link GetObjectRelationships } + * + */ + public GetObjectRelationships createGetObjectRelationships() { + return new GetObjectRelationships(); + } + + /** + * Create an instance of {@link GetContentChangesResponse } + * + */ + public GetContentChangesResponse createGetContentChangesResponse() { + return new GetContentChangesResponse(); + } + + /** + * Create an instance of {@link CmisRepositoryCapabilitiesType } + * + */ + public CmisRepositoryCapabilitiesType createCmisRepositoryCapabilitiesType() { + return new CmisRepositoryCapabilitiesType(); + } + + /** + * Create an instance of {@link UpdateProperties } + * + */ + public UpdateProperties createUpdateProperties() { + return new UpdateProperties(); + } + + /** + * Create an instance of {@link CmisChoice } + * + */ + public CmisChoice createCmisChoice() { + return new CmisChoice(); + } + + /** + * Create an instance of {@link CmisPropertyDateTime } + * + */ + public CmisPropertyDateTime createCmisPropertyDateTime() { + return new CmisPropertyDateTime(); + } + + /** + * Create an instance of {@link GetObjectByPathResponse } + * + */ + public GetObjectByPathResponse createGetObjectByPathResponse() { + return new GetObjectByPathResponse(); + } + /** * Create an instance of {@link CmisTypeDocumentDefinitionType } * @@ -1203,6 +474,190 @@ public class ObjectFactory { return new CmisTypeDocumentDefinitionType(); } + /** + * Create an instance of {@link CreatePolicy } + * + */ + public CreatePolicy createCreatePolicy() { + return new CreatePolicy(); + } + + /** + * Create an instance of {@link CreateDocumentResponse } + * + */ + public CreateDocumentResponse createCreateDocumentResponse() { + return new CreateDocumentResponse(); + } + + /** + * Create an instance of {@link SetContentStream } + * + */ + public SetContentStream createSetContentStream() { + return new SetContentStream(); + } + + /** + * Create an instance of {@link DeleteTreeResponse } + * + */ + public DeleteTreeResponse createDeleteTreeResponse() { + return new DeleteTreeResponse(); + } + + /** + * Create an instance of {@link GetPropertiesResponse } + * + */ + public GetPropertiesResponse createGetPropertiesResponse() { + return new GetPropertiesResponse(); + } + + /** + * Create an instance of {@link GetFolderTree } + * + */ + public GetFolderTree createGetFolderTree() { + return new GetFolderTree(); + } + + /** + * Create an instance of {@link ApplyPolicyResponse } + * + */ + public ApplyPolicyResponse createApplyPolicyResponse() { + return new ApplyPolicyResponse(); + } + + /** + * Create an instance of {@link CmisPropertyHtmlDefinitionType } + * + */ + public CmisPropertyHtmlDefinitionType createCmisPropertyHtmlDefinitionType() { + return new CmisPropertyHtmlDefinitionType(); + } + + /** + * Create an instance of {@link CmisChoiceUri } + * + */ + public CmisChoiceUri createCmisChoiceUri() { + return new CmisChoiceUri(); + } + + /** + * Create an instance of {@link GetTypeDescendantsResponse } + * + */ + public GetTypeDescendantsResponse createGetTypeDescendantsResponse() { + return new GetTypeDescendantsResponse(); + } + + /** + * Create an instance of {@link DeleteContentStream } + * + */ + public DeleteContentStream createDeleteContentStream() { + return new DeleteContentStream(); + } + + /** + * Create an instance of {@link GetChildren } + * + */ + public GetChildren createGetChildren() { + return new GetChildren(); + } + + /** + * Create an instance of {@link GetRepositoriesResponse } + * + */ + public GetRepositoriesResponse createGetRepositoriesResponse() { + return new GetRepositoriesResponse(); + } + + /** + * Create an instance of {@link CmisListOfIdsType } + * + */ + public CmisListOfIdsType createCmisListOfIdsType() { + return new CmisListOfIdsType(); + } + + /** + * Create an instance of {@link CmisPropertyId } + * + */ + public CmisPropertyId createCmisPropertyId() { + return new CmisPropertyId(); + } + + /** + * Create an instance of {@link GetObjectOfLatestVersion } + * + */ + public GetObjectOfLatestVersion createGetObjectOfLatestVersion() { + return new GetObjectOfLatestVersion(); + } + + /** + * Create an instance of {@link GetObjectParents } + * + */ + public GetObjectParents createGetObjectParents() { + return new GetObjectParents(); + } + + /** + * Create an instance of {@link CmisObjectType } + * + */ + public CmisObjectType createCmisObjectType() { + return new CmisObjectType(); + } + + /** + * Create an instance of {@link GetACLResponse } + * + */ + public GetACLResponse createGetACLResponse() { + return new GetACLResponse(); + } + + /** + * Create an instance of {@link UpdatePropertiesResponse } + * + */ + public UpdatePropertiesResponse createUpdatePropertiesResponse() { + return new UpdatePropertiesResponse(); + } + + /** + * Create an instance of {@link CmisRepositoryInfoType } + * + */ + public CmisRepositoryInfoType createCmisRepositoryInfoType() { + return new CmisRepositoryInfoType(); + } + + /** + * Create an instance of {@link CmisPropertyDateTimeDefinitionType } + * + */ + public CmisPropertyDateTimeDefinitionType createCmisPropertyDateTimeDefinitionType() { + return new CmisPropertyDateTimeDefinitionType(); + } + + /** + * Create an instance of {@link CmisPropertyUri } + * + */ + public CmisPropertyUri createCmisPropertyUri() { + return new CmisPropertyUri(); + } + /** * Create an instance of {@link DeleteTree } * @@ -1211,6 +666,142 @@ public class ObjectFactory { return new DeleteTree(); } + /** + * Create an instance of {@link AddObjectToFolder } + * + */ + public AddObjectToFolder createAddObjectToFolder() { + return new AddObjectToFolder(); + } + + /** + * Create an instance of {@link CmisChangeEventType } + * + */ + public CmisChangeEventType createCmisChangeEventType() { + return new CmisChangeEventType(); + } + + /** + * Create an instance of {@link ApplyPolicy } + * + */ + public ApplyPolicy createApplyPolicy() { + return new ApplyPolicy(); + } + + /** + * Create an instance of {@link CreateDocumentFromSource } + * + */ + public CreateDocumentFromSource createCreateDocumentFromSource() { + return new CreateDocumentFromSource(); + } + + /** + * Create an instance of {@link CmisPropertyBooleanDefinitionType } + * + */ + public CmisPropertyBooleanDefinitionType createCmisPropertyBooleanDefinitionType() { + return new CmisPropertyBooleanDefinitionType(); + } + + /** + * Create an instance of {@link CmisAccessControlListType } + * + */ + public CmisAccessControlListType createCmisAccessControlListType() { + return new CmisAccessControlListType(); + } + + /** + * Create an instance of {@link GetAllVersions } + * + */ + public GetAllVersions createGetAllVersions() { + return new GetAllVersions(); + } + + /** + * Create an instance of {@link CreateDocumentFromSourceResponse } + * + */ + public CreateDocumentFromSourceResponse createCreateDocumentFromSourceResponse() { + return new CreateDocumentFromSourceResponse(); + } + + /** + * Create an instance of {@link GetCheckedOutDocsResponse } + * + */ + public GetCheckedOutDocsResponse createGetCheckedOutDocsResponse() { + return new GetCheckedOutDocsResponse(); + } + + /** + * Create an instance of {@link CmisTypePolicyDefinitionType } + * + */ + public CmisTypePolicyDefinitionType createCmisTypePolicyDefinitionType() { + return new CmisTypePolicyDefinitionType(); + } + + /** + * Create an instance of {@link SetContentStreamResponse } + * + */ + public SetContentStreamResponse createSetContentStreamResponse() { + return new SetContentStreamResponse(); + } + + /** + * Create an instance of {@link CmisAccessControlPrincipalType } + * + */ + public CmisAccessControlPrincipalType createCmisAccessControlPrincipalType() { + return new CmisAccessControlPrincipalType(); + } + + /** + * Create an instance of {@link GetContentStream } + * + */ + public GetContentStream createGetContentStream() { + return new GetContentStream(); + } + + /** + * Create an instance of {@link CmisPropertyBoolean } + * + */ + public CmisPropertyBoolean createCmisPropertyBoolean() { + return new CmisPropertyBoolean(); + } + + /** + * Create an instance of {@link CmisFaultType } + * + */ + public CmisFaultType createCmisFaultType() { + return new CmisFaultType(); + } + + /** + * Create an instance of {@link GetAppliedPoliciesResponse } + * + */ + public GetAppliedPoliciesResponse createGetAppliedPoliciesResponse() { + return new GetAppliedPoliciesResponse(); + } + + /** + * Create an instance of {@link GetProperties } + * + */ + public GetProperties createGetProperties() { + return new GetProperties(); + } + /** * Create an instance of {@link CreateFolder } * @@ -1219,6 +810,78 @@ public class ObjectFactory { return new CreateFolder(); } + /** + * Create an instance of {@link CmisChoiceHtml } + * + */ + public CmisChoiceHtml createCmisChoiceHtml() { + return new CmisChoiceHtml(); + } + + /** + * Create an instance of {@link GetRenditionsResponse } + * + */ + public GetRenditionsResponse createGetRenditionsResponse() { + return new GetRenditionsResponse(); + } + + /** + * Create an instance of {@link CmisAccessControlEntryType } + * + */ + public CmisAccessControlEntryType createCmisAccessControlEntryType() { + return new CmisAccessControlEntryType(); + } + + /** + * Create an instance of {@link CmisChoiceDateTime } + * + */ + public CmisChoiceDateTime createCmisChoiceDateTime() { + return new CmisChoiceDateTime(); + } + + /** + * Create an instance of {@link GetObjectRelationshipsResponse } + * + */ + public GetObjectRelationshipsResponse createGetObjectRelationshipsResponse() { + return new GetObjectRelationshipsResponse(); + } + + /** + * Create an instance of {@link QueryResponse } + * + */ + public QueryResponse createQueryResponse() { + return new QueryResponse(); + } + + /** + * Create an instance of {@link GetFolderParentResponse } + * + */ + public GetFolderParentResponse createGetFolderParentResponse() { + return new GetFolderParentResponse(); + } + + /** + * Create an instance of {@link CmisChoiceId } + * + */ + public CmisChoiceId createCmisChoiceId() { + return new CmisChoiceId(); + } + + /** + * Create an instance of {@link GetContentStreamResponse } + * + */ + public GetContentStreamResponse createGetContentStreamResponse() { + return new GetContentStreamResponse(); + } + /** * Create an instance of {@link CmisChoiceInteger } * @@ -1227,6 +890,230 @@ public class ObjectFactory { return new CmisChoiceInteger(); } + /** + * Create an instance of {@link GetPropertiesOfLatestVersionResponse } + * + */ + public GetPropertiesOfLatestVersionResponse createGetPropertiesOfLatestVersionResponse() { + return new GetPropertiesOfLatestVersionResponse(); + } + + /** + * Create an instance of {@link DeleteTreeResponse.FailedToDelete } + * + */ + public DeleteTreeResponse.FailedToDelete createDeleteTreeResponseFailedToDelete() { + return new DeleteTreeResponse.FailedToDelete(); + } + + /** + * Create an instance of {@link GetObject } + * + */ + public GetObject createGetObject() { + return new GetObject(); + } + + /** + * Create an instance of {@link CmisPropertyStringDefinitionType } + * + */ + public CmisPropertyStringDefinitionType createCmisPropertyStringDefinitionType() { + return new CmisPropertyStringDefinitionType(); + } + + /** + * Create an instance of {@link CheckInResponse } + * + */ + public CheckInResponse createCheckInResponse() { + return new CheckInResponse(); + } + + /** + * Create an instance of {@link RemoveObjectFromFolder } + * + */ + public RemoveObjectFromFolder createRemoveObjectFromFolder() { + return new RemoveObjectFromFolder(); + } + + /** + * Create an instance of {@link CmisPropertyDefinitionType } + * + */ + public CmisPropertyDefinitionType createCmisPropertyDefinitionType() { + return new CmisPropertyDefinitionType(); + } + + /** + * Create an instance of {@link MoveObject } + * + */ + public MoveObject createMoveObject() { + return new MoveObject(); + } + + /** + * Create an instance of {@link CmisPropertyIdDefinitionType } + * + */ + public CmisPropertyIdDefinitionType createCmisPropertyIdDefinitionType() { + return new CmisPropertyIdDefinitionType(); + } + + /** + * Create an instance of {@link CmisObjectInFolderListType } + * + */ + public CmisObjectInFolderListType createCmisObjectInFolderListType() { + return new CmisObjectInFolderListType(); + } + + /** + * Create an instance of {@link GetTypeChildren } + * + */ + public GetTypeChildren createGetTypeChildren() { + return new GetTypeChildren(); + } + + /** + * Create an instance of {@link CancelCheckOutResponse } + * + */ + public CancelCheckOutResponse createCancelCheckOutResponse() { + return new CancelCheckOutResponse(); + } + + /** + * Create an instance of {@link CmisPermissionDefinition } + * + */ + public CmisPermissionDefinition createCmisPermissionDefinition() { + return new CmisPermissionDefinition(); + } + + /** + * Create an instance of {@link CmisContentStreamType } + * + */ + public CmisContentStreamType createCmisContentStreamType() { + return new CmisContentStreamType(); + } + + /** + * Create an instance of {@link Query } + * + */ + public Query createQuery() { + return new Query(); + } + + /** + * Create an instance of {@link GetAllowableActions } + * + */ + public GetAllowableActions createGetAllowableActions() { + return new GetAllowableActions(); + } + + /** + * Create an instance of {@link GetTypeDescendants } + * + */ + public GetTypeDescendants createGetTypeDescendants() { + return new GetTypeDescendants(); + } + + /** + * Create an instance of {@link CmisTypeRelationshipDefinitionType } + * + */ + public CmisTypeRelationshipDefinitionType createCmisTypeRelationshipDefinitionType() { + return new CmisTypeRelationshipDefinitionType(); + } + + /** + * Create an instance of {@link CreatePolicyResponse } + * + */ + public CreatePolicyResponse createCreatePolicyResponse() { + return new CreatePolicyResponse(); + } + + /** + * Create an instance of {@link CmisChoiceDecimal } + * + */ + public CmisChoiceDecimal createCmisChoiceDecimal() { + return new CmisChoiceDecimal(); + } + + /** + * Create an instance of {@link CmisObjectListType } + * + */ + public CmisObjectListType createCmisObjectListType() { + return new CmisObjectListType(); + } + + /** + * Create an instance of {@link CreateFolderResponse } + * + */ + public CreateFolderResponse createCreateFolderResponse() { + return new CreateFolderResponse(); + } + + /** + * Create an instance of {@link DeleteContentStreamResponse } + * + */ + public DeleteContentStreamResponse createDeleteContentStreamResponse() { + return new DeleteContentStreamResponse(); + } + + /** + * Create an instance of {@link GetTypeChildrenResponse } + * + */ + public GetTypeChildrenResponse createGetTypeChildrenResponse() { + return new GetTypeChildrenResponse(); + } + + /** + * Create an instance of {@link MoveObjectResponse } + * + */ + public MoveObjectResponse createMoveObjectResponse() { + return new MoveObjectResponse(); + } + + /** + * Create an instance of {@link CmisObjectParentsType } + * + */ + public CmisObjectParentsType createCmisObjectParentsType() { + return new CmisObjectParentsType(); + } + + /** + * Create an instance of {@link GetACL } + * + */ + public GetACL createGetACL() { + return new GetACL(); + } + + /** + * Create an instance of {@link GetContentChanges } + * + */ + public GetContentChanges createGetContentChanges() { + return new GetContentChanges(); + } + /** * Create an instance of {@link GetRepositoryInfo } * @@ -1235,92 +1122,651 @@ public class ObjectFactory { return new GetRepositoryInfo(); } + /** + * Create an instance of {@link GetTypeDefinition } + * + */ + public GetTypeDefinition createGetTypeDefinition() { + return new GetTypeDefinition(); + } + + /** + * Create an instance of {@link GetRenditions } + * + */ + public GetRenditions createGetRenditions() { + return new GetRenditions(); + } + + /** + * Create an instance of {@link CmisACLType } + * + */ + public CmisACLType createCmisACLType() { + return new CmisACLType(); + } + + /** + * Create an instance of {@link CmisObjectInFolderType } + * + */ + public CmisObjectInFolderType createCmisObjectInFolderType() { + return new CmisObjectInFolderType(); + } + + /** + * Create an instance of {@link GetDescendantsResponse } + * + */ + public GetDescendantsResponse createGetDescendantsResponse() { + return new GetDescendantsResponse(); + } + + /** + * Create an instance of {@link AddObjectToFolderResponse } + * + */ + public AddObjectToFolderResponse createAddObjectToFolderResponse() { + return new AddObjectToFolderResponse(); + } + + /** + * Create an instance of {@link CmisTypeDefinitionType } + * + */ + public CmisTypeDefinitionType createCmisTypeDefinitionType() { + return new CmisTypeDefinitionType(); + } + + /** + * Create an instance of {@link GetChildrenResponse } + * + */ + public GetChildrenResponse createGetChildrenResponse() { + return new GetChildrenResponse(); + } + + /** + * Create an instance of {@link CmisPropertyUriDefinitionType } + * + */ + public CmisPropertyUriDefinitionType createCmisPropertyUriDefinitionType() { + return new CmisPropertyUriDefinitionType(); + } + + /** + * Create an instance of {@link CmisPropertyHtml } + * + */ + public CmisPropertyHtml createCmisPropertyHtml() { + return new CmisPropertyHtml(); + } + + /** + * Create an instance of {@link CmisChoiceBoolean } + * + */ + public CmisChoiceBoolean createCmisChoiceBoolean() { + return new CmisChoiceBoolean(); + } + + /** + * Create an instance of {@link RemovePolicy } + * + */ + public RemovePolicy createRemovePolicy() { + return new RemovePolicy(); + } + + /** + * Create an instance of {@link CheckIn } + * + */ + public CheckIn createCheckIn() { + return new CheckIn(); + } + + /** + * Create an instance of {@link DeleteObject } + * + */ + public DeleteObject createDeleteObject() { + return new DeleteObject(); + } + + /** + * Create an instance of {@link GetPropertiesOfLatestVersion } + * + */ + public GetPropertiesOfLatestVersion createGetPropertiesOfLatestVersion() { + return new GetPropertiesOfLatestVersion(); + } + + /** + * Create an instance of {@link ApplyACLResponse } + * + */ + public ApplyACLResponse createApplyACLResponse() { + return new ApplyACLResponse(); + } + + /** + * Create an instance of {@link CmisChoiceString } + * + */ + public CmisChoiceString createCmisChoiceString() { + return new CmisChoiceString(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = UpdatePropertiesResponse.class) + public JAXBElement createUpdatePropertiesResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, UpdatePropertiesResponse.class, value); + } + /** * Create an instance of {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeRelationships", scope = GetDescendants.class) - public JAXBElement createGetDescendantsIncludeRelationships(EnumIncludeRelationships value) { - return new JAXBElement(_GetDescendantsIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetDescendants.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeRelationships", scope = GetObjectByPath.class) + public JAXBElement createGetObjectByPathIncludeRelationships(EnumIncludeRelationships value) { + return new JAXBElement(_GetObjectByPathIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetObjectByPath.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeAllowableActions", scope = GetDescendants.class) - public JAXBElement createGetDescendantsIncludeAllowableActions(Boolean value) { - return new JAXBElement(_GetDescendantsIncludeAllowableActions_QNAME, Boolean.class, GetDescendants.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeAllowableActions", scope = GetObjectByPath.class) + public JAXBElement createGetObjectByPathIncludeAllowableActions(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludeAllowableActions_QNAME, Boolean.class, GetObjectByPath.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includePolicyIds", scope = GetObjectByPath.class) + public JAXBElement createGetObjectByPathIncludePolicyIds(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludePolicyIds_QNAME, Boolean.class, GetObjectByPath.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetObjectByPath.class) + public JAXBElement createGetObjectByPathExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetObjectByPath.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeACL", scope = GetObjectByPath.class) + public JAXBElement createGetObjectByPathIncludeACL(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludeACL_QNAME, Boolean.class, GetObjectByPath.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "filter", scope = GetDescendants.class) - public JAXBElement createGetDescendantsFilter(String value) { - return new JAXBElement(_GetDescendantsFilter_QNAME, String.class, GetDescendants.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "filter", scope = GetObjectByPath.class) + public JAXBElement createGetObjectByPathFilter(String value) { + return new JAXBElement(_GetObjectByPathFilter_QNAME, String.class, GetObjectByPath.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "renditionFilter", scope = GetObjectByPath.class) + public JAXBElement createGetObjectByPathRenditionFilter(String value) { + return new JAXBElement(_GetObjectByPathRenditionFilter_QNAME, String.class, GetObjectByPath.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EnumVersioningState }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "versioningState", scope = CreateDocument.class) + public JAXBElement createCreateDocumentVersioningState(EnumVersioningState value) { + return new JAXBElement(_CreateDocumentVersioningState_QNAME, EnumVersioningState.class, CreateDocument.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "addACEs", scope = CreateDocument.class) + public JAXBElement createCreateDocumentAddACEs(CmisAccessControlListType value) { + return new JAXBElement(_CreateDocumentAddACEs_QNAME, CmisAccessControlListType.class, CreateDocument.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "folderId", scope = CreateDocument.class) + public JAXBElement createCreateDocumentFolderId(String value) { + return new JAXBElement(_CreateDocumentFolderId_QNAME, String.class, CreateDocument.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CreateDocument.class) + public JAXBElement createCreateDocumentExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CreateDocument.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "removeACEs", scope = CreateDocument.class) + public JAXBElement createCreateDocumentRemoveACEs(CmisAccessControlListType value) { + return new JAXBElement(_CreateDocumentRemoveACEs_QNAME, CmisAccessControlListType.class, CreateDocument.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisContentStreamType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "contentStream", scope = CreateDocument.class) + public JAXBElement createCreateDocumentContentStream(CmisContentStreamType value) { + return new JAXBElement(_CreateDocumentContentStream_QNAME, CmisContentStreamType.class, CreateDocument.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetFolderParent.class) + public JAXBElement createGetFolderParentExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetFolderParent.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EnumUnfileObject }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "unfileObject", scope = DeleteTree.class) + public JAXBElement createDeleteTreeUnfileObject(EnumUnfileObject value) { + return new JAXBElement(_DeleteTreeUnfileObject_QNAME, EnumUnfileObject.class, DeleteTree.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeRenditions", scope = GetDescendants.class) - public JAXBElement createGetDescendantsIncludeRenditions(Boolean value) { - return new JAXBElement(_GetDescendantsIncludeRenditions_QNAME, Boolean.class, GetDescendants.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "continueOnFailure", scope = DeleteTree.class) + public JAXBElement createDeleteTreeContinueOnFailure(Boolean value) { + return new JAXBElement(_DeleteTreeContinueOnFailure_QNAME, Boolean.class, DeleteTree.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = DeleteTree.class) + public JAXBElement createDeleteTreeExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, DeleteTree.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "allVersions", scope = DeleteTree.class) + public JAXBElement createDeleteTreeAllVersions(Boolean value) { + return new JAXBElement(_DeleteTreeAllVersions_QNAME, Boolean.class, DeleteTree.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = AddObjectToFolder.class) + public JAXBElement createAddObjectToFolderExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, AddObjectToFolder.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = ApplyPolicy.class) + public JAXBElement createApplyPolicyExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, ApplyPolicy.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EnumVersioningState }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "versioningState", scope = CreateDocumentFromSource.class) + public JAXBElement createCreateDocumentFromSourceVersioningState(EnumVersioningState value) { + return new JAXBElement(_CreateDocumentVersioningState_QNAME, EnumVersioningState.class, CreateDocumentFromSource.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "addACEs", scope = CreateDocumentFromSource.class) + public JAXBElement createCreateDocumentFromSourceAddACEs(CmisAccessControlListType value) { + return new JAXBElement(_CreateDocumentAddACEs_QNAME, CmisAccessControlListType.class, CreateDocumentFromSource.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "folderId", scope = CreateDocumentFromSource.class) + public JAXBElement createCreateDocumentFromSourceFolderId(String value) { + return new JAXBElement(_CreateDocumentFolderId_QNAME, String.class, CreateDocumentFromSource.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CreateDocumentFromSource.class) + public JAXBElement createCreateDocumentFromSourceExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CreateDocumentFromSource.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "removeACEs", scope = CreateDocumentFromSource.class) + public JAXBElement createCreateDocumentFromSourceRemoveACEs(CmisAccessControlListType value) { + return new JAXBElement(_CreateDocumentRemoveACEs_QNAME, CmisAccessControlListType.class, CreateDocumentFromSource.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetAppliedPolicies.class) + public JAXBElement createGetAppliedPoliciesExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetAppliedPolicies.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "filter", scope = GetAppliedPolicies.class) + public JAXBElement createGetAppliedPoliciesFilter(String value) { + return new JAXBElement(_GetObjectByPathFilter_QNAME, String.class, GetAppliedPolicies.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeAllowableActions", scope = GetAllVersions.class) + public JAXBElement createGetAllVersionsIncludeAllowableActions(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludeAllowableActions_QNAME, Boolean.class, GetAllVersions.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetAllVersions.class) + public JAXBElement createGetAllVersionsExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetAllVersions.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "filter", scope = GetAllVersions.class) + public JAXBElement createGetAllVersionsFilter(String value) { + return new JAXBElement(_GetObjectByPathFilter_QNAME, String.class, GetAllVersions.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CreateDocumentFromSourceResponse.class) + public JAXBElement createCreateDocumentFromSourceResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CreateDocumentFromSourceResponse.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includePathSegments", scope = GetDescendants.class) + public JAXBElement createGetDescendantsIncludePathSegments(Boolean value) { + return new JAXBElement(_GetDescendantsIncludePathSegments_QNAME, Boolean.class, GetDescendants.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeRelationships", scope = GetDescendants.class) + public JAXBElement createGetDescendantsIncludeRelationships(EnumIncludeRelationships value) { + return new JAXBElement(_GetObjectByPathIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetDescendants.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeAllowableActions", scope = GetDescendants.class) + public JAXBElement createGetDescendantsIncludeAllowableActions(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludeAllowableActions_QNAME, Boolean.class, GetDescendants.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetDescendants.class) + public JAXBElement createGetDescendantsExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetDescendants.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "filter", scope = GetDescendants.class) + public JAXBElement createGetDescendantsFilter(String value) { + return new JAXBElement(_GetObjectByPathFilter_QNAME, String.class, GetDescendants.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "renditionFilter", scope = GetDescendants.class) + public JAXBElement createGetDescendantsRenditionFilter(String value) { + return new JAXBElement(_GetObjectByPathRenditionFilter_QNAME, String.class, GetDescendants.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "depth", scope = GetDescendants.class) + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "depth", scope = GetDescendants.class) public JAXBElement createGetDescendantsDepth(BigInteger value) { return new JAXBElement(_GetDescendantsDepth_QNAME, BigInteger.class, GetDescendants.class, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "folderId", scope = GetCheckedOutDocs.class) - public JAXBElement createGetCheckedOutDocsFolderId(String value) { - return new JAXBElement(_GetCheckedOutDocsFolderId_QNAME, String.class, GetCheckedOutDocs.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = SetContentStreamResponse.class) + public JAXBElement createSetContentStreamResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, SetContentStreamResponse.class, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link EnumACLPropagation }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeRelationships", scope = GetCheckedOutDocs.class) - public JAXBElement createGetCheckedOutDocsIncludeRelationships(EnumIncludeRelationships value) { - return new JAXBElement(_GetDescendantsIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetCheckedOutDocs.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "ACLPropagation", scope = ApplyACL.class) + public JAXBElement createApplyACLACLPropagation(EnumACLPropagation value) { + return new JAXBElement(_ApplyACLACLPropagation_QNAME, EnumACLPropagation.class, ApplyACL.class, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeAllowableActions", scope = GetCheckedOutDocs.class) - public JAXBElement createGetCheckedOutDocsIncludeAllowableActions(Boolean value) { - return new JAXBElement(_GetDescendantsIncludeAllowableActions_QNAME, Boolean.class, GetCheckedOutDocs.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = ApplyACL.class) + public JAXBElement createApplyACLExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, ApplyACL.class, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "filter", scope = GetCheckedOutDocs.class) - public JAXBElement createGetCheckedOutDocsFilter(String value) { - return new JAXBElement(_GetDescendantsFilter_QNAME, String.class, GetCheckedOutDocs.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CheckOut.class) + public JAXBElement createCheckOutExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CheckOut.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "skipCount", scope = GetCheckedOutDocs.class) + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "offset", scope = GetContentStream.class) + public JAXBElement createGetContentStreamOffset(BigInteger value) { + return new JAXBElement(_GetContentStreamOffset_QNAME, BigInteger.class, GetContentStream.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "streamId", scope = GetContentStream.class) + public JAXBElement createGetContentStreamStreamId(String value) { + return new JAXBElement(_GetContentStreamStreamId_QNAME, String.class, GetContentStream.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetContentStream.class) + public JAXBElement createGetContentStreamExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetContentStream.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "length", scope = GetContentStream.class) + public JAXBElement createGetContentStreamLength(BigInteger value) { + return new JAXBElement(_GetContentStreamLength_QNAME, BigInteger.class, GetContentStream.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CreateRelationshipResponse.class) + public JAXBElement createCreateRelationshipResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CreateRelationshipResponse.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetProperties.class) + public JAXBElement createGetPropertiesExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetProperties.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "filter", scope = GetProperties.class) + public JAXBElement createGetPropertiesFilter(String value) { + return new JAXBElement(_GetObjectByPathFilter_QNAME, String.class, GetProperties.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = RemoveObjectFromFolderResponse.class) + public JAXBElement createRemoveObjectFromFolderResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, RemoveObjectFromFolderResponse.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "addACEs", scope = CreateFolder.class) + public JAXBElement createCreateFolderAddACEs(CmisAccessControlListType value) { + return new JAXBElement(_CreateDocumentAddACEs_QNAME, CmisAccessControlListType.class, CreateFolder.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CreateFolder.class) + public JAXBElement createCreateFolderExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CreateFolder.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "removeACEs", scope = CreateFolder.class) + public JAXBElement createCreateFolderRemoveACEs(CmisAccessControlListType value) { + return new JAXBElement(_CreateDocumentRemoveACEs_QNAME, CmisAccessControlListType.class, CreateFolder.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeRelationships", scope = GetCheckedOutDocs.class) + public JAXBElement createGetCheckedOutDocsIncludeRelationships(EnumIncludeRelationships value) { + return new JAXBElement(_GetObjectByPathIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetCheckedOutDocs.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeAllowableActions", scope = GetCheckedOutDocs.class) + public JAXBElement createGetCheckedOutDocsIncludeAllowableActions(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludeAllowableActions_QNAME, Boolean.class, GetCheckedOutDocs.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "skipCount", scope = GetCheckedOutDocs.class) public JAXBElement createGetCheckedOutDocsSkipCount(BigInteger value) { return new JAXBElement(_GetCheckedOutDocsSkipCount_QNAME, BigInteger.class, GetCheckedOutDocs.class, value); } @@ -1329,115 +1775,196 @@ public class ObjectFactory { * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "orderBy", scope = GetCheckedOutDocs.class) + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "orderBy", scope = GetCheckedOutDocs.class) public JAXBElement createGetCheckedOutDocsOrderBy(String value) { return new JAXBElement(_GetCheckedOutDocsOrderBy_QNAME, String.class, GetCheckedOutDocs.class, value); } + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "folderId", scope = GetCheckedOutDocs.class) + public JAXBElement createGetCheckedOutDocsFolderId(String value) { + return new JAXBElement(_CreateDocumentFolderId_QNAME, String.class, GetCheckedOutDocs.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetCheckedOutDocs.class) + public JAXBElement createGetCheckedOutDocsExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetCheckedOutDocs.class, value); + } + /** * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "maxItems", scope = GetCheckedOutDocs.class) + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "maxItems", scope = GetCheckedOutDocs.class) public JAXBElement createGetCheckedOutDocsMaxItems(BigInteger value) { return new JAXBElement(_GetCheckedOutDocsMaxItems_QNAME, BigInteger.class, GetCheckedOutDocs.class, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "skipCount", scope = GetRenditions.class) - public JAXBElement createGetRenditionsSkipCount(BigInteger value) { - return new JAXBElement(_GetCheckedOutDocsSkipCount_QNAME, BigInteger.class, GetRenditions.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "filter", scope = GetCheckedOutDocs.class) + public JAXBElement createGetCheckedOutDocsFilter(String value) { + return new JAXBElement(_GetObjectByPathFilter_QNAME, String.class, GetCheckedOutDocs.class, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "maxItems", scope = GetRenditions.class) - public JAXBElement createGetRenditionsMaxItems(BigInteger value) { - return new JAXBElement(_GetCheckedOutDocsMaxItems_QNAME, BigInteger.class, GetRenditions.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "renditionFilter", scope = GetCheckedOutDocs.class) + public JAXBElement createGetCheckedOutDocsRenditionFilter(String value) { + return new JAXBElement(_GetObjectByPathRenditionFilter_QNAME, String.class, GetCheckedOutDocs.class, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeACL", scope = GetChildren.class) - public JAXBElement createGetChildrenIncludeACL(Boolean value) { - return new JAXBElement(_GetChildrenIncludeACL_QNAME, Boolean.class, GetChildren.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetRepositories.class) + public JAXBElement createGetRepositoriesExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetRepositories.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeRelationships", scope = GetChildren.class) - public JAXBElement createGetChildrenIncludeRelationships(EnumIncludeRelationships value) { - return new JAXBElement(_GetDescendantsIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetChildren.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeRelationships", scope = GetObject.class) + public JAXBElement createGetObjectIncludeRelationships(EnumIncludeRelationships value) { + return new JAXBElement(_GetObjectByPathIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetObject.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeAllowableActions", scope = GetChildren.class) - public JAXBElement createGetChildrenIncludeAllowableActions(Boolean value) { - return new JAXBElement(_GetDescendantsIncludeAllowableActions_QNAME, Boolean.class, GetChildren.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "filter", scope = GetChildren.class) - public JAXBElement createGetChildrenFilter(String value) { - return new JAXBElement(_GetDescendantsFilter_QNAME, String.class, GetChildren.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeAllowableActions", scope = GetObject.class) + public JAXBElement createGetObjectIncludeAllowableActions(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludeAllowableActions_QNAME, Boolean.class, GetObject.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeRenditions", scope = GetChildren.class) - public JAXBElement createGetChildrenIncludeRenditions(Boolean value) { - return new JAXBElement(_GetDescendantsIncludeRenditions_QNAME, Boolean.class, GetChildren.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includePolicyIds", scope = GetObject.class) + public JAXBElement createGetObjectIncludePolicyIds(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludePolicyIds_QNAME, Boolean.class, GetObject.class, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "skipCount", scope = GetChildren.class) - public JAXBElement createGetChildrenSkipCount(BigInteger value) { - return new JAXBElement(_GetCheckedOutDocsSkipCount_QNAME, BigInteger.class, GetChildren.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetObject.class) + public JAXBElement createGetObjectExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetObject.class, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "maxItems", scope = GetChildren.class) - public JAXBElement createGetChildrenMaxItems(BigInteger value) { - return new JAXBElement(_GetCheckedOutDocsMaxItems_QNAME, BigInteger.class, GetChildren.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeACL", scope = GetObject.class) + public JAXBElement createGetObjectIncludeACL(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludeACL_QNAME, Boolean.class, GetObject.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "changeToken", scope = UpdateProperties.class) - public JAXBElement createUpdatePropertiesChangeToken(String value) { - return new JAXBElement(_UpdatePropertiesChangeToken_QNAME, String.class, UpdateProperties.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "filter", scope = GetObject.class) + public JAXBElement createGetObjectFilter(String value) { + return new JAXBElement(_GetObjectByPathFilter_QNAME, String.class, GetObject.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "typeId", scope = GetTypeChildren.class) + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "renditionFilter", scope = GetObject.class) + public JAXBElement createGetObjectRenditionFilter(String value) { + return new JAXBElement(_GetObjectByPathRenditionFilter_QNAME, String.class, GetObject.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CheckInResponse.class) + public JAXBElement createCheckInResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CheckInResponse.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "folderId", scope = RemoveObjectFromFolder.class) + public JAXBElement createRemoveObjectFromFolderFolderId(String value) { + return new JAXBElement(_CreateDocumentFolderId_QNAME, String.class, RemoveObjectFromFolder.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = RemoveObjectFromFolder.class) + public JAXBElement createRemoveObjectFromFolderExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, RemoveObjectFromFolder.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = MoveObject.class) + public JAXBElement createMoveObjectExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, MoveObject.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "addACEs", scope = CreateRelationship.class) + public JAXBElement createCreateRelationshipAddACEs(CmisAccessControlListType value) { + return new JAXBElement(_CreateDocumentAddACEs_QNAME, CmisAccessControlListType.class, CreateRelationship.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CreateRelationship.class) + public JAXBElement createCreateRelationshipExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CreateRelationship.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "removeACEs", scope = CreateRelationship.class) + public JAXBElement createCreateRelationshipRemoveACEs(CmisAccessControlListType value) { + return new JAXBElement(_CreateDocumentRemoveACEs_QNAME, CmisAccessControlListType.class, CreateRelationship.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "typeId", scope = GetTypeChildren.class) public JAXBElement createGetTypeChildrenTypeId(String value) { return new JAXBElement(_GetTypeChildrenTypeId_QNAME, String.class, GetTypeChildren.class, value); } @@ -1446,7 +1973,7 @@ public class ObjectFactory { * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includePropertyDefinitions", scope = GetTypeChildren.class) + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includePropertyDefinitions", scope = GetTypeChildren.class) public JAXBElement createGetTypeChildrenIncludePropertyDefinitions(Boolean value) { return new JAXBElement(_GetTypeChildrenIncludePropertyDefinitions_QNAME, Boolean.class, GetTypeChildren.class, value); } @@ -1455,142 +1982,115 @@ public class ObjectFactory { * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "skipCount", scope = GetTypeChildren.class) + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "skipCount", scope = GetTypeChildren.class) public JAXBElement createGetTypeChildrenSkipCount(BigInteger value) { return new JAXBElement(_GetCheckedOutDocsSkipCount_QNAME, BigInteger.class, GetTypeChildren.class, value); } + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetTypeChildren.class) + public JAXBElement createGetTypeChildrenExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetTypeChildren.class, value); + } + /** * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "maxItems", scope = GetTypeChildren.class) + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "maxItems", scope = GetTypeChildren.class) public JAXBElement createGetTypeChildrenMaxItems(BigInteger value) { return new JAXBElement(_GetCheckedOutDocsMaxItems_QNAME, BigInteger.class, GetTypeChildren.class, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "overwriteFlag", scope = SetContentStream.class) - public JAXBElement createSetContentStreamOverwriteFlag(Boolean value) { - return new JAXBElement(_SetContentStreamOverwriteFlag_QNAME, Boolean.class, SetContentStream.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "removeACEs", scope = CreateRelationship.class) - public JAXBElement createCreateRelationshipRemoveACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateRelationshipRemoveACEs_QNAME, CmisAccessControlListType.class, CreateRelationship.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "addACEs", scope = CreateRelationship.class) - public JAXBElement createCreateRelationshipAddACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateRelationshipAddACEs_QNAME, CmisAccessControlListType.class, CreateRelationship.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", name = "includeAllowableActions", scope = CmisQueryType.class) - public JAXBElement createCmisQueryTypeIncludeAllowableActions(Boolean value) { - return new JAXBElement(_CmisQueryTypeIncludeAllowableActions_QNAME, Boolean.class, CmisQueryType.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", name = "includeRenditions", scope = CmisQueryType.class) - public JAXBElement createCmisQueryTypeIncludeRenditions(Boolean value) { - return new JAXBElement(_CmisQueryTypeIncludeRenditions_QNAME, Boolean.class, CmisQueryType.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CancelCheckOutResponse.class) + public JAXBElement createCancelCheckOutResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CancelCheckOutResponse.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", name = "includeRelationships", scope = CmisQueryType.class) - public JAXBElement createCmisQueryTypeIncludeRelationships(EnumIncludeRelationships value) { - return new JAXBElement(_CmisQueryTypeIncludeRelationships_QNAME, EnumIncludeRelationships.class, CmisQueryType.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "filter", scope = GetAppliedPolicies.class) - public JAXBElement createGetAppliedPoliciesFilter(String value) { - return new JAXBElement(_GetDescendantsFilter_QNAME, String.class, GetAppliedPolicies.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "folderId", scope = RemoveObjectFromFolder.class) - public JAXBElement createRemoveObjectFromFolderFolderId(String value) { - return new JAXBElement(_GetCheckedOutDocsFolderId_QNAME, String.class, RemoveObjectFromFolder.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeRelationships", scope = Query.class) + public JAXBElement createQueryIncludeRelationships(EnumIncludeRelationships value) { + return new JAXBElement(_GetObjectByPathIncludeRelationships_QNAME, EnumIncludeRelationships.class, Query.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeACL", scope = GetProperties.class) - public JAXBElement createGetPropertiesIncludeACL(Boolean value) { - return new JAXBElement(_GetChildrenIncludeACL_QNAME, Boolean.class, GetProperties.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeAllowableActions", scope = Query.class) + public JAXBElement createQueryIncludeAllowableActions(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludeAllowableActions_QNAME, Boolean.class, Query.class, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeRelationships", scope = GetProperties.class) - public JAXBElement createGetPropertiesIncludeRelationships(EnumIncludeRelationships value) { - return new JAXBElement(_GetDescendantsIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetProperties.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "skipCount", scope = Query.class) + public JAXBElement createQuerySkipCount(BigInteger value) { + return new JAXBElement(_GetCheckedOutDocsSkipCount_QNAME, BigInteger.class, Query.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeAllowableActions", scope = GetProperties.class) - public JAXBElement createGetPropertiesIncludeAllowableActions(Boolean value) { - return new JAXBElement(_GetDescendantsIncludeAllowableActions_QNAME, Boolean.class, GetProperties.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "searchAllVersions", scope = Query.class) + public JAXBElement createQuerySearchAllVersions(Boolean value) { + return new JAXBElement(_QuerySearchAllVersions_QNAME, Boolean.class, Query.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = Query.class) + public JAXBElement createQueryExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, Query.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "maxItems", scope = Query.class) + public JAXBElement createQueryMaxItems(BigInteger value) { + return new JAXBElement(_GetCheckedOutDocsMaxItems_QNAME, BigInteger.class, Query.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "filter", scope = GetProperties.class) - public JAXBElement createGetPropertiesFilter(String value) { - return new JAXBElement(_GetDescendantsFilter_QNAME, String.class, GetProperties.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "renditionFilter", scope = Query.class) + public JAXBElement createQueryRenditionFilter(String value) { + return new JAXBElement(_GetObjectByPathRenditionFilter_QNAME, String.class, Query.class, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "allVersions", scope = DeleteObject.class) - public JAXBElement createDeleteObjectAllVersions(Boolean value) { - return new JAXBElement(_DeleteObjectAllVersions_QNAME, Boolean.class, DeleteObject.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetAllowableActions.class) + public JAXBElement createGetAllowableActionsExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetAllowableActions.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "typeId", scope = GetTypeDescendants.class) + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "typeId", scope = GetTypeDescendants.class) public JAXBElement createGetTypeDescendantsTypeId(String value) { return new JAXBElement(_GetTypeChildrenTypeId_QNAME, String.class, GetTypeDescendants.class, value); } @@ -1599,331 +2099,610 @@ public class ObjectFactory { * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includePropertyDefinitions", scope = GetTypeDescendants.class) + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includePropertyDefinitions", scope = GetTypeDescendants.class) public JAXBElement createGetTypeDescendantsIncludePropertyDefinitions(Boolean value) { return new JAXBElement(_GetTypeChildrenIncludePropertyDefinitions_QNAME, Boolean.class, GetTypeDescendants.class, value); } + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetTypeDescendants.class) + public JAXBElement createGetTypeDescendantsExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetTypeDescendants.class, value); + } + /** * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "depth", scope = GetTypeDescendants.class) + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "depth", scope = GetTypeDescendants.class) public JAXBElement createGetTypeDescendantsDepth(BigInteger value) { return new JAXBElement(_GetDescendantsDepth_QNAME, BigInteger.class, GetTypeDescendants.class, value); } - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeRelationships", scope = GetFolderTree.class) - public JAXBElement createGetFolderTreeIncludeRelationships(EnumIncludeRelationships value) { - return new JAXBElement(_GetDescendantsIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetFolderTree.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeAllowableActions", scope = GetFolderTree.class) - public JAXBElement createGetFolderTreeIncludeAllowableActions(Boolean value) { - return new JAXBElement(_GetDescendantsIncludeAllowableActions_QNAME, Boolean.class, GetFolderTree.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "filter", scope = GetFolderTree.class) - public JAXBElement createGetFolderTreeFilter(String value) { - return new JAXBElement(_GetDescendantsFilter_QNAME, String.class, GetFolderTree.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "depth", scope = GetFolderTree.class) - public JAXBElement createGetFolderTreeDepth(BigInteger value) { - return new JAXBElement(_GetDescendantsDepth_QNAME, BigInteger.class, GetFolderTree.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CmisContentStreamType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "contentStream", scope = CreateDocument.class) - public JAXBElement createCreateDocumentContentStream(CmisContentStreamType value) { - return new JAXBElement(_CreateDocumentContentStream_QNAME, CmisContentStreamType.class, CreateDocument.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "removeACEs", scope = CreateDocument.class) - public JAXBElement createCreateDocumentRemoveACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateRelationshipRemoveACEs_QNAME, CmisAccessControlListType.class, CreateDocument.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "addACEs", scope = CreateDocument.class) - public JAXBElement createCreateDocumentAddACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateRelationshipAddACEs_QNAME, CmisAccessControlListType.class, CreateDocument.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnumVersioningState }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "versioningState", scope = CreateDocument.class) - public JAXBElement createCreateDocumentVersioningState(EnumVersioningState value) { - return new JAXBElement(_CreateDocumentVersioningState_QNAME, EnumVersioningState.class, CreateDocument.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeRelationships", scope = GetAllVersions.class) - public JAXBElement createGetAllVersionsIncludeRelationships(EnumIncludeRelationships value) { - return new JAXBElement(_GetDescendantsIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetAllVersions.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeAllowableActions", scope = GetAllVersions.class) - public JAXBElement createGetAllVersionsIncludeAllowableActions(Boolean value) { - return new JAXBElement(_GetDescendantsIncludeAllowableActions_QNAME, Boolean.class, GetAllVersions.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "filter", scope = GetAllVersions.class) - public JAXBElement createGetAllVersionsFilter(String value) { - return new JAXBElement(_GetDescendantsFilter_QNAME, String.class, GetAllVersions.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "folderId", scope = CreatePolicy.class) - public JAXBElement createCreatePolicyFolderId(String value) { - return new JAXBElement(_GetCheckedOutDocsFolderId_QNAME, String.class, CreatePolicy.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "typeId", scope = GetRelationships.class) - public JAXBElement createGetRelationshipsTypeId(String value) { - return new JAXBElement(_GetTypeChildrenTypeId_QNAME, String.class, GetRelationships.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeRelationships", scope = GetRelationships.class) - public JAXBElement createGetRelationshipsIncludeRelationships(EnumIncludeRelationships value) { - return new JAXBElement(_GetDescendantsIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetRelationships.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeAllowableActions", scope = GetRelationships.class) - public JAXBElement createGetRelationshipsIncludeAllowableActions(Boolean value) { - return new JAXBElement(_GetDescendantsIncludeAllowableActions_QNAME, Boolean.class, GetRelationships.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "filter", scope = GetRelationships.class) - public JAXBElement createGetRelationshipsFilter(String value) { - return new JAXBElement(_GetDescendantsFilter_QNAME, String.class, GetRelationships.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeSubRelationshipTypes", scope = GetRelationships.class) - public JAXBElement createGetRelationshipsIncludeSubRelationshipTypes(Boolean value) { - return new JAXBElement(_GetRelationshipsIncludeSubRelationshipTypes_QNAME, Boolean.class, GetRelationships.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnumRelationshipDirection }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "direction", scope = GetRelationships.class) - public JAXBElement createGetRelationshipsDirection(EnumRelationshipDirection value) { - return new JAXBElement(_GetRelationshipsDirection_QNAME, EnumRelationshipDirection.class, GetRelationships.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "skipCount", scope = GetRelationships.class) - public JAXBElement createGetRelationshipsSkipCount(BigInteger value) { - return new JAXBElement(_GetCheckedOutDocsSkipCount_QNAME, BigInteger.class, GetRelationships.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "maxItems", scope = GetRelationships.class) - public JAXBElement createGetRelationshipsMaxItems(BigInteger value) { - return new JAXBElement(_GetCheckedOutDocsMaxItems_QNAME, BigInteger.class, GetRelationships.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeACL", scope = GetContentChanges.class) - public JAXBElement createGetContentChangesIncludeACL(Boolean value) { - return new JAXBElement(_GetChildrenIncludeACL_QNAME, Boolean.class, GetContentChanges.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeProperties", scope = GetContentChanges.class) - public JAXBElement createGetContentChangesIncludeProperties(Boolean value) { - return new JAXBElement(_GetContentChangesIncludeProperties_QNAME, Boolean.class, GetContentChanges.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "maxItems", scope = GetContentChanges.class) - public JAXBElement createGetContentChangesMaxItems(BigInteger value) { - return new JAXBElement(_GetCheckedOutDocsMaxItems_QNAME, BigInteger.class, GetContentChanges.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CmisAllowableActionsType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", name = "allowableActions") - public JAXBElement createAllowableActions(CmisAllowableActionsType value) { - return new JAXBElement(_AllowableActions_QNAME, CmisAllowableActionsType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CmisFaultType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "cmisFault") - public JAXBElement createCmisFault(CmisFaultType value) { - return new JAXBElement(_CmisFault_QNAME, CmisFaultType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", name = "acl") - public JAXBElement createAcl(CmisAccessControlListType value) { - return new JAXBElement(_Acl_QNAME, CmisAccessControlListType.class, null, value); - } - /** * Create an instance of {@link JAXBElement }{@code <}{@link CmisQueryType }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", name = "query") + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", name = "query") public JAXBElement createQuery(CmisQueryType value) { return new JAXBElement(_Query_QNAME, CmisQueryType.class, null, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link CmisAllowableActionsType }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeACL", scope = GetPropertiesOfLatestVersion.class) - public JAXBElement createGetPropertiesOfLatestVersionIncludeACL(Boolean value) { - return new JAXBElement(_GetChildrenIncludeACL_QNAME, Boolean.class, GetPropertiesOfLatestVersion.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "filter", scope = GetPropertiesOfLatestVersion.class) - public JAXBElement createGetPropertiesOfLatestVersionFilter(String value) { - return new JAXBElement(_GetDescendantsFilter_QNAME, String.class, GetPropertiesOfLatestVersion.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "checkinComment", scope = CheckIn.class) - public JAXBElement createCheckInCheckinComment(String value) { - return new JAXBElement(_CheckInCheckinComment_QNAME, String.class, CheckIn.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CmisContentStreamType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "contentStream", scope = CheckIn.class) - public JAXBElement createCheckInContentStream(CmisContentStreamType value) { - return new JAXBElement(_CreateDocumentContentStream_QNAME, CmisContentStreamType.class, CheckIn.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", name = "allowableActions") + public JAXBElement createAllowableActions(CmisAllowableActionsType value) { + return new JAXBElement(_AllowableActions_QNAME, CmisAllowableActionsType.class, null, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "removeACEs", scope = CheckIn.class) - public JAXBElement createCheckInRemoveACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateRelationshipRemoveACEs_QNAME, CmisAccessControlListType.class, CheckIn.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", name = "acl") + public JAXBElement createAcl(CmisAccessControlListType value) { + return new JAXBElement(_Acl_QNAME, CmisAccessControlListType.class, null, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link CmisFaultType }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "addACEs", scope = CheckIn.class) - public JAXBElement createCheckInAddACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateRelationshipAddACEs_QNAME, CmisAccessControlListType.class, CheckIn.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "cmisFault") + public JAXBElement createCmisFault(CmisFaultType value) { + return new JAXBElement(_CmisFault_QNAME, CmisFaultType.class, null, value); } /** - * Create an instance of {@link JAXBElement }{@code <}{@link CmisPropertiesType }{@code >}} + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "properties", scope = CheckIn.class) - public JAXBElement createCheckInProperties(CmisPropertiesType value) { - return new JAXBElement(_CheckInProperties_QNAME, CmisPropertiesType.class, CheckIn.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = RemovePolicyResponse.class) + public JAXBElement createRemovePolicyResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, RemovePolicyResponse.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CheckOutResponse.class) + public JAXBElement createCheckOutResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CheckOutResponse.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CancelCheckOut.class) + public JAXBElement createCancelCheckOutExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CancelCheckOut.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CreatePolicyResponse.class) + public JAXBElement createCreatePolicyResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CreatePolicyResponse.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CreateFolderResponse.class) + public JAXBElement createCreateFolderResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CreateFolderResponse.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = DeleteContentStreamResponse.class) + public JAXBElement createDeleteContentStreamResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, DeleteContentStreamResponse.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = DeleteObjectResponse.class) + public JAXBElement createDeleteObjectResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, DeleteObjectResponse.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "typeId", scope = GetObjectRelationships.class) + public JAXBElement createGetObjectRelationshipsTypeId(String value) { + return new JAXBElement(_GetTypeChildrenTypeId_QNAME, String.class, GetObjectRelationships.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "major", scope = CheckIn.class) + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeAllowableActions", scope = GetObjectRelationships.class) + public JAXBElement createGetObjectRelationshipsIncludeAllowableActions(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludeAllowableActions_QNAME, Boolean.class, GetObjectRelationships.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "skipCount", scope = GetObjectRelationships.class) + public JAXBElement createGetObjectRelationshipsSkipCount(BigInteger value) { + return new JAXBElement(_GetCheckedOutDocsSkipCount_QNAME, BigInteger.class, GetObjectRelationships.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EnumRelationshipDirection }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "relationshipDirection", scope = GetObjectRelationships.class) + public JAXBElement createGetObjectRelationshipsRelationshipDirection(EnumRelationshipDirection value) { + return new JAXBElement(_GetObjectRelationshipsRelationshipDirection_QNAME, EnumRelationshipDirection.class, GetObjectRelationships.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetObjectRelationships.class) + public JAXBElement createGetObjectRelationshipsExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetObjectRelationships.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "maxItems", scope = GetObjectRelationships.class) + public JAXBElement createGetObjectRelationshipsMaxItems(BigInteger value) { + return new JAXBElement(_GetCheckedOutDocsMaxItems_QNAME, BigInteger.class, GetObjectRelationships.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "filter", scope = GetObjectRelationships.class) + public JAXBElement createGetObjectRelationshipsFilter(String value) { + return new JAXBElement(_GetObjectByPathFilter_QNAME, String.class, GetObjectRelationships.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = MoveObjectResponse.class) + public JAXBElement createMoveObjectResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, MoveObjectResponse.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = UpdateProperties.class) + public JAXBElement createUpdatePropertiesExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, UpdateProperties.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "changeToken", scope = UpdateProperties.class) + public JAXBElement createUpdatePropertiesChangeToken(String value) { + return new JAXBElement(_UpdatePropertiesChangeToken_QNAME, String.class, UpdateProperties.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetACL.class) + public JAXBElement createGetACLExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetACL.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "onlyBasicPermissions", scope = GetACL.class) + public JAXBElement createGetACLOnlyBasicPermissions(Boolean value) { + return new JAXBElement(_GetACLOnlyBasicPermissions_QNAME, Boolean.class, GetACL.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includePolicyIds", scope = GetContentChanges.class) + public JAXBElement createGetContentChangesIncludePolicyIds(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludePolicyIds_QNAME, Boolean.class, GetContentChanges.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetContentChanges.class) + public JAXBElement createGetContentChangesExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetContentChanges.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "maxItems", scope = GetContentChanges.class) + public JAXBElement createGetContentChangesMaxItems(BigInteger value) { + return new JAXBElement(_GetCheckedOutDocsMaxItems_QNAME, BigInteger.class, GetContentChanges.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeACL", scope = GetContentChanges.class) + public JAXBElement createGetContentChangesIncludeACL(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludeACL_QNAME, Boolean.class, GetContentChanges.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "filter", scope = GetContentChanges.class) + public JAXBElement createGetContentChangesFilter(String value) { + return new JAXBElement(_GetObjectByPathFilter_QNAME, String.class, GetContentChanges.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeProperties", scope = GetContentChanges.class) + public JAXBElement createGetContentChangesIncludeProperties(Boolean value) { + return new JAXBElement(_GetContentChangesIncludeProperties_QNAME, Boolean.class, GetContentChanges.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "changeLogToken", scope = GetContentChanges.class) + public JAXBElement createGetContentChangesChangeLogToken(String value) { + return new JAXBElement(_GetContentChangesChangeLogToken_QNAME, String.class, GetContentChanges.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetRepositoryInfo.class) + public JAXBElement createGetRepositoryInfoExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetRepositoryInfo.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetTypeDefinition.class) + public JAXBElement createGetTypeDefinitionExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetTypeDefinition.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "skipCount", scope = GetRenditions.class) + public JAXBElement createGetRenditionsSkipCount(BigInteger value) { + return new JAXBElement(_GetCheckedOutDocsSkipCount_QNAME, BigInteger.class, GetRenditions.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetRenditions.class) + public JAXBElement createGetRenditionsExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetRenditions.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "maxItems", scope = GetRenditions.class) + public JAXBElement createGetRenditionsMaxItems(BigInteger value) { + return new JAXBElement(_GetCheckedOutDocsMaxItems_QNAME, BigInteger.class, GetRenditions.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "renditionFilter", scope = GetRenditions.class) + public JAXBElement createGetRenditionsRenditionFilter(String value) { + return new JAXBElement(_GetObjectByPathRenditionFilter_QNAME, String.class, GetRenditions.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CreateDocumentResponse.class) + public JAXBElement createCreateDocumentResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CreateDocumentResponse.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "addACEs", scope = CreatePolicy.class) + public JAXBElement createCreatePolicyAddACEs(CmisAccessControlListType value) { + return new JAXBElement(_CreateDocumentAddACEs_QNAME, CmisAccessControlListType.class, CreatePolicy.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "folderId", scope = CreatePolicy.class) + public JAXBElement createCreatePolicyFolderId(String value) { + return new JAXBElement(_CreateDocumentFolderId_QNAME, String.class, CreatePolicy.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CreatePolicy.class) + public JAXBElement createCreatePolicyExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CreatePolicy.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "removeACEs", scope = CreatePolicy.class) + public JAXBElement createCreatePolicyRemoveACEs(CmisAccessControlListType value) { + return new JAXBElement(_CreateDocumentRemoveACEs_QNAME, CmisAccessControlListType.class, CreatePolicy.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "overwriteFlag", scope = SetContentStream.class) + public JAXBElement createSetContentStreamOverwriteFlag(Boolean value) { + return new JAXBElement(_SetContentStreamOverwriteFlag_QNAME, Boolean.class, SetContentStream.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = SetContentStream.class) + public JAXBElement createSetContentStreamExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, SetContentStream.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "changeToken", scope = SetContentStream.class) + public JAXBElement createSetContentStreamChangeToken(String value) { + return new JAXBElement(_UpdatePropertiesChangeToken_QNAME, String.class, SetContentStream.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = AddObjectToFolderResponse.class) + public JAXBElement createAddObjectToFolderResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, AddObjectToFolderResponse.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includePathSegments", scope = GetFolderTree.class) + public JAXBElement createGetFolderTreeIncludePathSegments(Boolean value) { + return new JAXBElement(_GetDescendantsIncludePathSegments_QNAME, Boolean.class, GetFolderTree.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeRelationships", scope = GetFolderTree.class) + public JAXBElement createGetFolderTreeIncludeRelationships(EnumIncludeRelationships value) { + return new JAXBElement(_GetObjectByPathIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetFolderTree.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeAllowableActions", scope = GetFolderTree.class) + public JAXBElement createGetFolderTreeIncludeAllowableActions(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludeAllowableActions_QNAME, Boolean.class, GetFolderTree.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetFolderTree.class) + public JAXBElement createGetFolderTreeExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetFolderTree.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "filter", scope = GetFolderTree.class) + public JAXBElement createGetFolderTreeFilter(String value) { + return new JAXBElement(_GetObjectByPathFilter_QNAME, String.class, GetFolderTree.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "renditionFilter", scope = GetFolderTree.class) + public JAXBElement createGetFolderTreeRenditionFilter(String value) { + return new JAXBElement(_GetObjectByPathRenditionFilter_QNAME, String.class, GetFolderTree.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "depth", scope = GetFolderTree.class) + public JAXBElement createGetFolderTreeDepth(BigInteger value) { + return new JAXBElement(_GetDescendantsDepth_QNAME, BigInteger.class, GetFolderTree.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = ApplyPolicyResponse.class) + public JAXBElement createApplyPolicyResponseExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, ApplyPolicyResponse.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = DeleteContentStream.class) + public JAXBElement createDeleteContentStreamExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, DeleteContentStream.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includePathSegments", scope = GetChildren.class) + public JAXBElement createGetChildrenIncludePathSegments(Boolean value) { + return new JAXBElement(_GetDescendantsIncludePathSegments_QNAME, Boolean.class, GetChildren.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeRelationships", scope = GetChildren.class) + public JAXBElement createGetChildrenIncludeRelationships(EnumIncludeRelationships value) { + return new JAXBElement(_GetObjectByPathIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetChildren.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeAllowableActions", scope = GetChildren.class) + public JAXBElement createGetChildrenIncludeAllowableActions(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludeAllowableActions_QNAME, Boolean.class, GetChildren.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "skipCount", scope = GetChildren.class) + public JAXBElement createGetChildrenSkipCount(BigInteger value) { + return new JAXBElement(_GetCheckedOutDocsSkipCount_QNAME, BigInteger.class, GetChildren.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "orderBy", scope = GetChildren.class) + public JAXBElement createGetChildrenOrderBy(String value) { + return new JAXBElement(_GetCheckedOutDocsOrderBy_QNAME, String.class, GetChildren.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetChildren.class) + public JAXBElement createGetChildrenExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetChildren.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "maxItems", scope = GetChildren.class) + public JAXBElement createGetChildrenMaxItems(BigInteger value) { + return new JAXBElement(_GetCheckedOutDocsMaxItems_QNAME, BigInteger.class, GetChildren.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "filter", scope = GetChildren.class) + public JAXBElement createGetChildrenFilter(String value) { + return new JAXBElement(_GetObjectByPathFilter_QNAME, String.class, GetChildren.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "renditionFilter", scope = GetChildren.class) + public JAXBElement createGetChildrenRenditionFilter(String value) { + return new JAXBElement(_GetObjectByPathRenditionFilter_QNAME, String.class, GetChildren.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = RemovePolicy.class) + public JAXBElement createRemovePolicyExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, RemovePolicy.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "major", scope = CheckIn.class) public JAXBElement createCheckInMajor(Boolean value) { return new JAXBElement(_CheckInMajor_QNAME, Boolean.class, CheckIn.class, value); } @@ -1932,99 +2711,207 @@ public class ObjectFactory { * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "removeACEs", scope = CreateFolder.class) - public JAXBElement createCreateFolderRemoveACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateRelationshipRemoveACEs_QNAME, CmisAccessControlListType.class, CreateFolder.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "addACEs", scope = CreateFolder.class) - public JAXBElement createCreateFolderAddACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateRelationshipAddACEs_QNAME, CmisAccessControlListType.class, CreateFolder.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "continueOnFailure", scope = DeleteTree.class) - public JAXBElement createDeleteTreeContinueOnFailure(Boolean value) { - return new JAXBElement(_DeleteTreeContinueOnFailure_QNAME, Boolean.class, DeleteTree.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnumACLPropagation }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "propogationType", scope = ApplyACL.class) - public JAXBElement createApplyACLPropogationType(EnumACLPropagation value) { - return new JAXBElement(_ApplyACLPropogationType_QNAME, EnumACLPropagation.class, ApplyACL.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeACL", scope = GetFolderByPath.class) - public JAXBElement createGetFolderByPathIncludeACL(Boolean value) { - return new JAXBElement(_GetChildrenIncludeACL_QNAME, Boolean.class, GetFolderByPath.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeRelationships", scope = GetFolderByPath.class) - public JAXBElement createGetFolderByPathIncludeRelationships(EnumIncludeRelationships value) { - return new JAXBElement(_GetDescendantsIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetFolderByPath.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeAllowableActions", scope = GetFolderByPath.class) - public JAXBElement createGetFolderByPathIncludeAllowableActions(Boolean value) { - return new JAXBElement(_GetDescendantsIncludeAllowableActions_QNAME, Boolean.class, GetFolderByPath.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "addACEs", scope = CheckIn.class) + public JAXBElement createCheckInAddACEs(CmisAccessControlListType value) { + return new JAXBElement(_CreateDocumentAddACEs_QNAME, CmisAccessControlListType.class, CheckIn.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "filter", scope = GetFolderByPath.class) - public JAXBElement createGetFolderByPathFilter(String value) { - return new JAXBElement(_GetDescendantsFilter_QNAME, String.class, GetFolderByPath.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "checkinComment", scope = CheckIn.class) + public JAXBElement createCheckInCheckinComment(String value) { + return new JAXBElement(_CheckInCheckinComment_QNAME, String.class, CheckIn.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = CheckIn.class) + public JAXBElement createCheckInExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, CheckIn.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisPropertiesType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "properties", scope = CheckIn.class) + public JAXBElement createCheckInProperties(CmisPropertiesType value) { + return new JAXBElement(_CheckInProperties_QNAME, CmisPropertiesType.class, CheckIn.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "removeACEs", scope = CheckIn.class) + public JAXBElement createCheckInRemoveACEs(CmisAccessControlListType value) { + return new JAXBElement(_CreateDocumentRemoveACEs_QNAME, CmisAccessControlListType.class, CheckIn.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisContentStreamType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "contentStream", scope = CheckIn.class) + public JAXBElement createCheckInContentStream(CmisContentStreamType value) { + return new JAXBElement(_CreateDocumentContentStream_QNAME, CmisContentStreamType.class, CheckIn.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = DeleteObject.class) + public JAXBElement createDeleteObjectExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, DeleteObject.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "allVersions", scope = DeleteObject.class) + public JAXBElement createDeleteObjectAllVersions(Boolean value) { + return new JAXBElement(_DeleteTreeAllVersions_QNAME, Boolean.class, DeleteObject.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetPropertiesOfLatestVersion.class) + public JAXBElement createGetPropertiesOfLatestVersionExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetPropertiesOfLatestVersion.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "filter", scope = GetPropertiesOfLatestVersion.class) + public JAXBElement createGetPropertiesOfLatestVersionFilter(String value) { + return new JAXBElement(_GetObjectByPathFilter_QNAME, String.class, GetPropertiesOfLatestVersion.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeRelationships", scope = Query.class) - public JAXBElement createQueryIncludeRelationships(EnumIncludeRelationships value) { - return new JAXBElement(_GetDescendantsIncludeRelationships_QNAME, EnumIncludeRelationships.class, Query.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeRelationships", scope = GetObjectOfLatestVersion.class) + public JAXBElement createGetObjectOfLatestVersionIncludeRelationships(EnumIncludeRelationships value) { + return new JAXBElement(_GetObjectByPathIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetObjectOfLatestVersion.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeAllowableActions", scope = Query.class) - public JAXBElement createQueryIncludeAllowableActions(Boolean value) { - return new JAXBElement(_GetDescendantsIncludeAllowableActions_QNAME, Boolean.class, Query.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeAllowableActions", scope = GetObjectOfLatestVersion.class) + public JAXBElement createGetObjectOfLatestVersionIncludeAllowableActions(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludeAllowableActions_QNAME, Boolean.class, GetObjectOfLatestVersion.class, value); } /** * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} * */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", name = "includeRenditions", scope = Query.class) - public JAXBElement createQueryIncludeRenditions(Boolean value) { - return new JAXBElement(_GetDescendantsIncludeRenditions_QNAME, Boolean.class, Query.class, value); + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includePolicyIds", scope = GetObjectOfLatestVersion.class) + public JAXBElement createGetObjectOfLatestVersionIncludePolicyIds(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludePolicyIds_QNAME, Boolean.class, GetObjectOfLatestVersion.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetObjectOfLatestVersion.class) + public JAXBElement createGetObjectOfLatestVersionExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetObjectOfLatestVersion.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeACL", scope = GetObjectOfLatestVersion.class) + public JAXBElement createGetObjectOfLatestVersionIncludeACL(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludeACL_QNAME, Boolean.class, GetObjectOfLatestVersion.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "filter", scope = GetObjectOfLatestVersion.class) + public JAXBElement createGetObjectOfLatestVersionFilter(String value) { + return new JAXBElement(_GetObjectByPathFilter_QNAME, String.class, GetObjectOfLatestVersion.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "renditionFilter", scope = GetObjectOfLatestVersion.class) + public JAXBElement createGetObjectOfLatestVersionRenditionFilter(String value) { + return new JAXBElement(_GetObjectByPathRenditionFilter_QNAME, String.class, GetObjectOfLatestVersion.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeRelationships", scope = GetObjectParents.class) + public JAXBElement createGetObjectParentsIncludeRelationships(EnumIncludeRelationships value) { + return new JAXBElement(_GetObjectByPathIncludeRelationships_QNAME, EnumIncludeRelationships.class, GetObjectParents.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeAllowableActions", scope = GetObjectParents.class) + public JAXBElement createGetObjectParentsIncludeAllowableActions(Boolean value) { + return new JAXBElement(_GetObjectByPathIncludeAllowableActions_QNAME, Boolean.class, GetObjectParents.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "includeRelativePathSegment", scope = GetObjectParents.class) + public JAXBElement createGetObjectParentsIncludeRelativePathSegment(Boolean value) { + return new JAXBElement(_GetObjectParentsIncludeRelativePathSegment_QNAME, Boolean.class, GetObjectParents.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = GetObjectParents.class) + public JAXBElement createGetObjectParentsExtension(CmisExtensionType value) { + return new JAXBElement(_UpdatePropertiesResponseExtension_QNAME, CmisExtensionType.class, GetObjectParents.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "filter", scope = GetObjectParents.class) + public JAXBElement createGetObjectParentsFilter(String value) { + return new JAXBElement(_GetObjectByPathFilter_QNAME, String.class, GetObjectParents.class, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} + * + */ + @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "renditionFilter", scope = GetObjectParents.class) + public JAXBElement createGetObjectParentsRenditionFilter(String value) { + return new JAXBElement(_GetObjectByPathRenditionFilter_QNAME, String.class, GetObjectParents.class, value); } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/ObjectService.java b/source/generated/org/alfresco/repo/cmis/ws/ObjectService.java index 5e053a54a3..221272a2f3 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/ObjectService.java +++ b/source/generated/org/alfresco/repo/cmis/ws/ObjectService.java @@ -15,26 +15,26 @@ import javax.xml.ws.WebServiceFeature; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:27 EEST 2009 + * Mon Oct 12 11:20:37 EEST 2009 * Generated source version: 2.1.2 * */ @WebServiceClient(name = "ObjectService", - wsdlLocation = "file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl", - targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901") + wsdlLocation = "file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl", + targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/") public class ObjectService extends Service { public final static URL WSDL_LOCATION; - public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "ObjectService"); - public final static QName ObjectServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "ObjectServicePort"); + public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "ObjectService"); + public final static QName ObjectServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "ObjectServicePort"); static { URL url = null; try { - url = new URL("file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + url = new URL("file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + System.err.println("Can not initialize the default wsdl from file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); // e.printStackTrace(); } WSDL_LOCATION = url; diff --git a/source/generated/org/alfresco/repo/cmis/ws/ObjectServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/ObjectServicePort.java index f7acb521b4..af4b936fb2 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/ObjectServicePort.java +++ b/source/generated/org/alfresco/repo/cmis/ws/ObjectServicePort.java @@ -11,250 +11,341 @@ import javax.xml.ws.ResponseWrapper; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:27 EEST 2009 + * Mon Oct 12 11:20:37 EEST 2009 * Generated source version: 2.1.2 * */ -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", name = "ObjectServicePort") +@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "ObjectServicePort") @XmlSeeAlso({ObjectFactory.class}) public interface ObjectServicePort { - @ResponseWrapper(localName = "updatePropertiesResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.UpdatePropertiesResponse") - @RequestWrapper(localName = "updateProperties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.UpdateProperties") + @ResponseWrapper(localName = "updatePropertiesResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.UpdatePropertiesResponse") + @RequestWrapper(localName = "updateProperties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.UpdateProperties") @WebMethod public void updateProperties( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(mode = WebParam.Mode.INOUT, name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(mode = WebParam.Mode.INOUT, name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") javax.xml.ws.Holder objectId, - @WebParam(mode = WebParam.Mode.INOUT, name = "changeToken", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(mode = WebParam.Mode.INOUT, name = "changeToken", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") javax.xml.ws.Holder changeToken, - @WebParam(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.CmisPropertiesType properties + @WebParam(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisPropertiesType properties, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension ) throws CmisException; - @ResponseWrapper(localName = "moveObjectResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.MoveObjectResponse") - @RequestWrapper(localName = "moveObject", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.MoveObject") + @ResponseWrapper(localName = "moveObjectResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.MoveObjectResponse") + @RequestWrapper(localName = "moveObject", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.MoveObject") @WebMethod public void moveObject( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(mode = WebParam.Mode.INOUT, name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(mode = WebParam.Mode.INOUT, name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") javax.xml.ws.Holder objectId, - @WebParam(name = "targetFolderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "targetFolderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String targetFolderId, - @WebParam(name = "sourceFolderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String sourceFolderId + @WebParam(name = "sourceFolderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String sourceFolderId, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension ) throws CmisException; - @ResponseWrapper(localName = "deleteTreeResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.DeleteTreeResponse") - @RequestWrapper(localName = "deleteTree", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.DeleteTree") - @WebResult(name = "failedToDelete", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "getPropertiesResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetPropertiesResponse") + @RequestWrapper(localName = "getProperties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetProperties") + @WebResult(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod - public org.alfresco.repo.cmis.ws.DeleteTreeResponse.FailedToDelete deleteTree( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + public org.alfresco.repo.cmis.ws.CmisPropertiesType getProperties( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String folderId, - @WebParam(name = "unfileObject", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.EnumUnfileObject unfileObject, - @WebParam(name = "continueOnFailure", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.Boolean continueOnFailure + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String objectId, + @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String filter, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; - @ResponseWrapper(localName = "createDocumentResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.CreateDocumentResponse") - @RequestWrapper(localName = "createDocument", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.CreateDocument") - @WebResult(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "getObjectByPathResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectByPathResponse") + @RequestWrapper(localName = "getObjectByPath", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectByPath") + @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod - public java.lang.String createDocument( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + public org.alfresco.repo.cmis.ws.CmisObjectType getObjectByPath( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "path", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String path, + @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String filter, + @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includeAllowableActions, + @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships, + @WebParam(name = "renditionFilter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String renditionFilter, + @WebParam(name = "includePolicyIds", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includePolicyIds, + @WebParam(name = "includeACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includeACL, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension + ) throws CmisException; + + @ResponseWrapper(localName = "createDocumentFromSourceResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateDocumentFromSourceResponse") + @RequestWrapper(localName = "createDocumentFromSource", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateDocumentFromSource") + @WebMethod + public void createDocumentFromSource( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String repositoryId, + @WebParam(name = "sourceId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String sourceId, + @WebParam(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") org.alfresco.repo.cmis.ws.CmisPropertiesType properties, - @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String folderId, - @WebParam(name = "contentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.CmisContentStreamType contentStream, - @WebParam(name = "versioningState", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "versioningState", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") org.alfresco.repo.cmis.ws.EnumVersioningState versioningState, - @WebParam(name = "applyPolicies", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.util.List applyPolicies, - @WebParam(name = "addACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "policies", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.util.List policies, + @WebParam(name = "addACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") org.alfresco.repo.cmis.ws.CmisAccessControlListType addACEs, - @WebParam(name = "removeACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.CmisAccessControlListType removeACEs + @WebParam(name = "removeACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisAccessControlListType removeACEs, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension, + @WebParam(mode = WebParam.Mode.OUT, name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder objectId ) throws CmisException; - @ResponseWrapper(localName = "getContentStreamResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetContentStreamResponse") - @RequestWrapper(localName = "getContentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetContentStream") - @WebResult(name = "contentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "getContentStreamResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetContentStreamResponse") + @RequestWrapper(localName = "getContentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetContentStream") + @WebResult(name = "contentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod public org.alfresco.repo.cmis.ws.CmisContentStreamType getContentStream( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "documentId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String documentId, - @WebParam(name = "streamId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String streamId - ) throws CmisException; - - @ResponseWrapper(localName = "getPropertiesResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetPropertiesResponse") - @RequestWrapper(localName = "getProperties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetProperties") - @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - @WebMethod - public org.alfresco.repo.cmis.ws.CmisObjectType getProperties( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String repositoryId, - @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String objectId, - @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String filter, - @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.Boolean includeAllowableActions, - @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships, - @WebParam(name = "includeACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.Boolean includeACL + @WebParam(name = "streamId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String streamId, + @WebParam(name = "offset", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.math.BigInteger offset, + @WebParam(name = "length", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.math.BigInteger length, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; - @ResponseWrapper(localName = "getFolderByPathResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetFolderByPathResponse") - @RequestWrapper(localName = "getFolderByPath", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetFolderByPath") - @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "createRelationshipResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateRelationshipResponse") + @RequestWrapper(localName = "createRelationship", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateRelationship") @WebMethod - public org.alfresco.repo.cmis.ws.CmisObjectType getFolderByPath( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + public void createRelationship( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "folderPath", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String folderPath, - @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String filter, - @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.Boolean includeAllowableActions, - @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships, - @WebParam(name = "includeACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.Boolean includeACL - ) throws CmisException; - - @ResponseWrapper(localName = "createPolicyResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.CreatePolicyResponse") - @RequestWrapper(localName = "createPolicy", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.CreatePolicy") - @WebResult(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - @WebMethod - public java.lang.String createPolicy( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String repositoryId, - @WebParam(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") org.alfresco.repo.cmis.ws.CmisPropertiesType properties, - @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String folderId + @WebParam(name = "policies", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.util.List policies, + @WebParam(name = "addACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisAccessControlListType addACEs, + @WebParam(name = "removeACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisAccessControlListType removeACEs, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension, + @WebParam(mode = WebParam.Mode.OUT, name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder objectId ) throws CmisException; - @ResponseWrapper(localName = "setContentStreamResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.SetContentStreamResponse") - @RequestWrapper(localName = "setContentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.SetContentStream") + @ResponseWrapper(localName = "setContentStreamResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.SetContentStreamResponse") + @RequestWrapper(localName = "setContentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.SetContentStream") @WebMethod public void setContentStream( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(mode = WebParam.Mode.INOUT, name = "documentId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(mode = WebParam.Mode.INOUT, name = "documentId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") javax.xml.ws.Holder documentId, - @WebParam(name = "overwriteFlag", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "overwriteFlag", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.Boolean overwriteFlag, - @WebParam(name = "changeToken", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String changeToken, - @WebParam(name = "contentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.CmisContentStreamType contentStream + @WebParam(mode = WebParam.Mode.INOUT, name = "changeToken", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder changeToken, + @WebParam(name = "contentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisContentStreamType contentStream, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension ) throws CmisException; - @ResponseWrapper(localName = "getAllowableActionsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetAllowableActionsResponse") - @RequestWrapper(localName = "getAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetAllowableActions") - @WebResult(name = "allowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "createFolderResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateFolderResponse") + @RequestWrapper(localName = "createFolder", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateFolder") @WebMethod - public org.alfresco.repo.cmis.ws.CmisAllowableActionsType getAllowableActions( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + public void createFolder( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String objectId + @WebParam(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisPropertiesType properties, + @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String folderId, + @WebParam(name = "policies", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.util.List policies, + @WebParam(name = "addACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisAccessControlListType addACEs, + @WebParam(name = "removeACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisAccessControlListType removeACEs, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension, + @WebParam(mode = WebParam.Mode.OUT, name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder objectId ) throws CmisException; - @ResponseWrapper(localName = "deleteObjectResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.DeleteObjectResponse") - @RequestWrapper(localName = "deleteObject", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.DeleteObject") + @ResponseWrapper(localName = "deleteObjectResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.DeleteObjectResponse") + @RequestWrapper(localName = "deleteObject", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.DeleteObject") @WebMethod public void deleteObject( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String objectId, - @WebParam(name = "allVersions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.Boolean allVersions + @WebParam(name = "allVersions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean allVersions, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension ) throws CmisException; - @ResponseWrapper(localName = "createFolderResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.CreateFolderResponse") - @RequestWrapper(localName = "createFolder", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.CreateFolder") - @WebResult(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "getAllowableActionsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetAllowableActionsResponse") + @RequestWrapper(localName = "getAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetAllowableActions") + @WebResult(name = "allowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod - public java.lang.String createFolder( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + public org.alfresco.repo.cmis.ws.CmisAllowableActionsType getAllowableActions( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.CmisPropertiesType properties, - @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String folderId, - @WebParam(name = "applyPolicies", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.util.List applyPolicies, - @WebParam(name = "addACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.CmisAccessControlListType addACEs, - @WebParam(name = "removeACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.CmisAccessControlListType removeACEs + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String objectId, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; - @ResponseWrapper(localName = "deleteContentStreamResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.DeleteContentStreamResponse") - @RequestWrapper(localName = "deleteContentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.DeleteContentStream") + @ResponseWrapper(localName = "deleteContentStreamResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.DeleteContentStreamResponse") + @RequestWrapper(localName = "deleteContentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.DeleteContentStream") @WebMethod public void deleteContentStream( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(mode = WebParam.Mode.INOUT, name = "documentId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(mode = WebParam.Mode.INOUT, name = "documentId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") javax.xml.ws.Holder documentId, - @WebParam(name = "changeToken", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String changeToken + @WebParam(mode = WebParam.Mode.INOUT, name = "changeToken", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder changeToken, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension ) throws CmisException; - @ResponseWrapper(localName = "createRelationshipResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.CreateRelationshipResponse") - @RequestWrapper(localName = "createRelationship", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.CreateRelationship") - @WebResult(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "deleteTreeResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.DeleteTreeResponse") + @RequestWrapper(localName = "deleteTree", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.DeleteTree") + @WebResult(name = "failedToDelete", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod - public java.lang.String createRelationship( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + public org.alfresco.repo.cmis.ws.DeleteTreeResponse.FailedToDelete deleteTree( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.CmisPropertiesType properties, - @WebParam(name = "sourceObjectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String sourceObjectId, - @WebParam(name = "targetObjectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String targetObjectId, - @WebParam(name = "applyPolicies", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.util.List applyPolicies, - @WebParam(name = "addACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.CmisAccessControlListType addACEs, - @WebParam(name = "removeACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.CmisAccessControlListType removeACEs + @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String folderId, + @WebParam(name = "allVersions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean allVersions, + @WebParam(name = "unfileObject", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.EnumUnfileObject unfileObject, + @WebParam(name = "continueOnFailure", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean continueOnFailure, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; - @ResponseWrapper(localName = "getRenditionsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetRenditionsResponse") - @RequestWrapper(localName = "getRenditions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetRenditions") - @WebResult(name = "rendition", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "createPolicyResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreatePolicyResponse") + @RequestWrapper(localName = "createPolicy", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreatePolicy") + @WebMethod + public void createPolicy( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String repositoryId, + @WebParam(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisPropertiesType properties, + @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String folderId, + @WebParam(name = "policies", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.util.List policies, + @WebParam(name = "addACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisAccessControlListType addACEs, + @WebParam(name = "removeACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisAccessControlListType removeACEs, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension, + @WebParam(mode = WebParam.Mode.OUT, name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder objectId + ) throws CmisException; + + @ResponseWrapper(localName = "getObjectResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectResponse") + @RequestWrapper(localName = "getObject", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObject") + @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + @WebMethod + public org.alfresco.repo.cmis.ws.CmisObjectType getObject( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String repositoryId, + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String objectId, + @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String filter, + @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includeAllowableActions, + @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships, + @WebParam(name = "renditionFilter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String renditionFilter, + @WebParam(name = "includePolicyIds", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includePolicyIds, + @WebParam(name = "includeACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includeACL, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension + ) throws CmisException; + + @ResponseWrapper(localName = "createDocumentResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateDocumentResponse") + @RequestWrapper(localName = "createDocument", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateDocument") + @WebMethod + public void createDocument( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String repositoryId, + @WebParam(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisPropertiesType properties, + @WebParam(name = "folderId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String folderId, + @WebParam(name = "contentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisContentStreamType contentStream, + @WebParam(name = "versioningState", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.EnumVersioningState versioningState, + @WebParam(name = "policies", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.util.List policies, + @WebParam(name = "addACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisAccessControlListType addACEs, + @WebParam(name = "removeACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisAccessControlListType removeACEs, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension, + @WebParam(mode = WebParam.Mode.OUT, name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder objectId + ) throws CmisException; + + @ResponseWrapper(localName = "getRenditionsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetRenditionsResponse") + @RequestWrapper(localName = "getRenditions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetRenditions") + @WebResult(name = "renditions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod public java.util.List getRenditions( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String objectId, - @WebParam(name = "renditionFilter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "renditionFilter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String renditionFilter, - @WebParam(name = "maxItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "maxItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.math.BigInteger maxItems, - @WebParam(name = "skipCount", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.math.BigInteger skipCount + @WebParam(name = "skipCount", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.math.BigInteger skipCount, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; } diff --git a/source/generated/org/alfresco/repo/cmis/ws/PolicyService.java b/source/generated/org/alfresco/repo/cmis/ws/PolicyService.java index c3b55b3d2d..cf2763efc9 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/PolicyService.java +++ b/source/generated/org/alfresco/repo/cmis/ws/PolicyService.java @@ -15,26 +15,26 @@ import javax.xml.ws.WebServiceFeature; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:28 EEST 2009 + * Mon Oct 12 11:20:37 EEST 2009 * Generated source version: 2.1.2 * */ @WebServiceClient(name = "PolicyService", - wsdlLocation = "file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl", - targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901") + wsdlLocation = "file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl", + targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/") public class PolicyService extends Service { public final static URL WSDL_LOCATION; - public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "PolicyService"); - public final static QName PolicyServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "PolicyServicePort"); + public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "PolicyService"); + public final static QName PolicyServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "PolicyServicePort"); static { URL url = null; try { - url = new URL("file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + url = new URL("file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + System.err.println("Can not initialize the default wsdl from file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); // e.printStackTrace(); } WSDL_LOCATION = url; diff --git a/source/generated/org/alfresco/repo/cmis/ws/PolicyServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/PolicyServicePort.java index 6e9e6f1187..dfdd0a622c 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/PolicyServicePort.java +++ b/source/generated/org/alfresco/repo/cmis/ws/PolicyServicePort.java @@ -2,6 +2,7 @@ package org.alfresco.repo.cmis.ws; import javax.jws.WebMethod; import javax.jws.WebParam; +import javax.jws.WebParam.Mode; import javax.jws.WebResult; import javax.jws.WebService; import javax.xml.bind.annotation.XmlSeeAlso; @@ -10,49 +11,55 @@ import javax.xml.ws.ResponseWrapper; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:28 EEST 2009 + * Mon Oct 12 11:20:37 EEST 2009 * Generated source version: 2.1.2 * */ -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", name = "PolicyServicePort") +@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "PolicyServicePort") @XmlSeeAlso({ObjectFactory.class}) public interface PolicyServicePort { - @ResponseWrapper(localName = "removePolicyResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.RemovePolicyResponse") - @RequestWrapper(localName = "removePolicy", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.RemovePolicy") - @WebMethod - public void removePolicy( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String repositoryId, - @WebParam(name = "policyId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String policyId, - @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String objectId - ) throws CmisException; - - @ResponseWrapper(localName = "applyPolicyResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.ApplyPolicyResponse") - @RequestWrapper(localName = "applyPolicy", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.ApplyPolicy") - @WebMethod - public void applyPolicy( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String repositoryId, - @WebParam(name = "policyId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String policyId, - @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String objectId - ) throws CmisException; - - @ResponseWrapper(localName = "getAppliedPoliciesResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetAppliedPoliciesResponse") - @RequestWrapper(localName = "getAppliedPolicies", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetAppliedPolicies") - @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "getAppliedPoliciesResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetAppliedPoliciesResponse") + @RequestWrapper(localName = "getAppliedPolicies", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetAppliedPolicies") + @WebResult(name = "objects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod public java.util.List getAppliedPolicies( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String objectId, - @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String filter + @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String filter, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension + ) throws CmisException; + + @ResponseWrapper(localName = "applyPolicyResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.ApplyPolicyResponse") + @RequestWrapper(localName = "applyPolicy", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.ApplyPolicy") + @WebMethod + public void applyPolicy( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String repositoryId, + @WebParam(name = "policyId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String policyId, + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String objectId, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension + ) throws CmisException; + + @ResponseWrapper(localName = "removePolicyResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.RemovePolicyResponse") + @RequestWrapper(localName = "removePolicy", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.RemovePolicy") + @WebMethod + public void removePolicy( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String repositoryId, + @WebParam(name = "policyId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String policyId, + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String objectId, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension ) throws CmisException; } diff --git a/source/generated/org/alfresco/repo/cmis/ws/Query.java b/source/generated/org/alfresco/repo/cmis/ws/Query.java index 8e71fba73d..5aed5fcd6a 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/Query.java +++ b/source/generated/org/alfresco/repo/cmis/ws/Query.java @@ -25,16 +25,17 @@ import javax.xml.namespace.QName; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="statement" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="searchAllVersions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="includeRelationships" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumIncludeRelationships" minOccurs="0"/> + * <element name="renditionFilter" type="{http://www.w3.org/2001/XMLSchema}string" 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"/> - * <element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> - * <element name="includeRelationships" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumIncludeRelationships" minOccurs="0"/> - * <element name="includeRenditions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> - * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/> + * <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/> * </restriction> * </complexContent> * </complexType> @@ -47,27 +48,34 @@ import javax.xml.namespace.QName; "repositoryId", "statement", "searchAllVersions", - "maxItems", - "skipCount", "includeAllowableActions", "includeRelationships", - "includeRenditions" + "renditionFilter", + "maxItems", + "skipCount", + "extension" }) @XmlRootElement(name = "query") public class Query { + @XmlElement(required = true) protected String repositoryId; @XmlElement(required = true) protected String statement; - protected Boolean searchAllVersions; - protected BigInteger maxItems; - protected BigInteger skipCount; - @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "searchAllVersions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement searchAllVersions; + @XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement includeAllowableActions; - @XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement includeRelationships; - @XmlElementRef(name = "includeRenditions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) - protected JAXBElement includeRenditions; + @XmlElementRef(name = "renditionFilter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement renditionFilter; + @XmlElementRef(name = "maxItems", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement maxItems; + @XmlElementRef(name = "skipCount", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement skipCount; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; @XmlAnyAttribute private Map otherAttributes = new HashMap(); @@ -124,10 +132,10 @@ public class Query { * * @return * possible object is - * {@link Boolean } + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} * */ - public Boolean isSearchAllVersions() { + public JAXBElement getSearchAllVersions() { return searchAllVersions; } @@ -136,59 +144,11 @@ public class Query { * * @param value * allowed object is - * {@link Boolean } + * {@link JAXBElement }{@code <}{@link Boolean }{@code >} * */ - public void setSearchAllVersions(Boolean value) { - this.searchAllVersions = value; - } - - /** - * Gets the value of the maxItems property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getMaxItems() { - return maxItems; - } - - /** - * Sets the value of the maxItems property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setMaxItems(BigInteger value) { - this.maxItems = value; - } - - /** - * Gets the value of the skipCount property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getSkipCount() { - return skipCount; - } - - /** - * Sets the value of the skipCount property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setSkipCount(BigInteger value) { - this.skipCount = value; + public void setSearchAllVersions(JAXBElement value) { + this.searchAllVersions = ((JAXBElement ) value); } /** @@ -240,27 +200,99 @@ public class Query { } /** - * Gets the value of the includeRenditions property. + * Gets the value of the renditionFilter property. * * @return * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} * */ - public JAXBElement getIncludeRenditions() { - return includeRenditions; + public JAXBElement getRenditionFilter() { + return renditionFilter; } /** - * Sets the value of the includeRenditions property. + * Sets the value of the renditionFilter property. * * @param value * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} + * {@link JAXBElement }{@code <}{@link String }{@code >} * */ - public void setIncludeRenditions(JAXBElement value) { - this.includeRenditions = ((JAXBElement ) value); + public void setRenditionFilter(JAXBElement value) { + this.renditionFilter = ((JAXBElement ) value); + } + + /** + * Gets the value of the maxItems property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * + */ + public JAXBElement 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 value) { + this.maxItems = ((JAXBElement ) value); + } + + /** + * Gets the value of the skipCount property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} + * + */ + public JAXBElement 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 value) { + this.skipCount = ((JAXBElement ) value); + } + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); } /** diff --git a/source/generated/org/alfresco/repo/cmis/ws/QueryResponse.java b/source/generated/org/alfresco/repo/cmis/ws/QueryResponse.java index 30a251e6f2..12aa12ed3a 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/QueryResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/QueryResponse.java @@ -1,10 +1,9 @@ package org.alfresco.repo.cmis.ws; -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.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @@ -19,8 +18,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> - * <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/> - * <element name="hasMoreItems" type="{http://www.w3.org/2001/XMLSchema}boolean"/> + * <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectListType"/> * </sequence> * </restriction> * </complexContent> @@ -31,58 +29,36 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "object", - "hasMoreItems" + "objects" }) @XmlRootElement(name = "queryResponse") public class QueryResponse { - protected List object; - protected boolean hasMoreItems; + @XmlElement(required = true) + protected CmisObjectListType objects; /** - * Gets the value of the object property. - * - *

- * 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 set method for the object property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getObject().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link CmisObjectType } - * + * Gets the value of the objects property. * + * @return + * possible object is + * {@link CmisObjectListType } + * */ - public List getObject() { - if (object == null) { - object = new ArrayList(); - } - return this.object; + public CmisObjectListType getObjects() { + return objects; } /** - * Gets the value of the hasMoreItems property. + * Sets the value of the objects property. * + * @param value + * allowed object is + * {@link CmisObjectListType } + * */ - public boolean isHasMoreItems() { - return hasMoreItems; - } - - /** - * Sets the value of the hasMoreItems property. - * - */ - public void setHasMoreItems(boolean value) { - this.hasMoreItems = value; + public void setObjects(CmisObjectListType value) { + this.objects = value; } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/RelationshipService.java b/source/generated/org/alfresco/repo/cmis/ws/RelationshipService.java index e44adc2537..df7f5a32c3 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/RelationshipService.java +++ b/source/generated/org/alfresco/repo/cmis/ws/RelationshipService.java @@ -15,26 +15,26 @@ import javax.xml.ws.WebServiceFeature; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:27 EEST 2009 + * Mon Oct 12 11:20:36 EEST 2009 * Generated source version: 2.1.2 * */ @WebServiceClient(name = "RelationshipService", - wsdlLocation = "file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl", - targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901") + wsdlLocation = "file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl", + targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/") public class RelationshipService extends Service { public final static URL WSDL_LOCATION; - public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "RelationshipService"); - public final static QName RelationshipServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "RelationshipServicePort"); + public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "RelationshipService"); + public final static QName RelationshipServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "RelationshipServicePort"); static { URL url = null; try { - url = new URL("file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + url = new URL("file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + System.err.println("Can not initialize the default wsdl from file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); // e.printStackTrace(); } WSDL_LOCATION = url; diff --git a/source/generated/org/alfresco/repo/cmis/ws/RelationshipServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/RelationshipServicePort.java index b308f22aee..6da3d7d368 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/RelationshipServicePort.java +++ b/source/generated/org/alfresco/repo/cmis/ws/RelationshipServicePort.java @@ -2,7 +2,7 @@ package org.alfresco.repo.cmis.ws; import javax.jws.WebMethod; import javax.jws.WebParam; -import javax.jws.WebParam.Mode; +import javax.jws.WebResult; import javax.jws.WebService; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.ws.RequestWrapper; @@ -10,42 +10,39 @@ import javax.xml.ws.ResponseWrapper; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:27 EEST 2009 + * Mon Oct 12 11:20:36 EEST 2009 * Generated source version: 2.1.2 * */ -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", name = "RelationshipServicePort") +@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "RelationshipServicePort") @XmlSeeAlso({ObjectFactory.class}) public interface RelationshipServicePort { - @ResponseWrapper(localName = "getRelationshipsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetRelationshipsResponse") - @RequestWrapper(localName = "getRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetRelationships") + @ResponseWrapper(localName = "getObjectRelationshipsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectRelationshipsResponse") + @RequestWrapper(localName = "getObjectRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectRelationships") + @WebResult(name = "objects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod - public void getRelationships( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + public org.alfresco.repo.cmis.ws.CmisObjectListType getObjectRelationships( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String objectId, - @WebParam(name = "direction", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.EnumRelationshipDirection direction, - @WebParam(name = "typeId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String typeId, - @WebParam(name = "includeSubRelationshipTypes", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "includeSubRelationshipTypes", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.Boolean includeSubRelationshipTypes, - @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "relationshipDirection", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.EnumRelationshipDirection relationshipDirection, + @WebParam(name = "typeId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String typeId, + @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String filter, - @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.Boolean includeAllowableActions, - @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships, - @WebParam(name = "maxItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "maxItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.math.BigInteger maxItems, - @WebParam(name = "skipCount", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "skipCount", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.math.BigInteger skipCount, - @WebParam(mode = WebParam.Mode.OUT, name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - javax.xml.ws.Holder> object, - @WebParam(mode = WebParam.Mode.OUT, name = "hasMoreItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - javax.xml.ws.Holder hasMoreItems + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; } diff --git a/source/generated/org/alfresco/repo/cmis/ws/RemoveObjectFromFolder.java b/source/generated/org/alfresco/repo/cmis/ws/RemoveObjectFromFolder.java index 93aad1812f..357f08fde5 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/RemoveObjectFromFolder.java +++ b/source/generated/org/alfresco/repo/cmis/ws/RemoveObjectFromFolder.java @@ -23,6 +23,7 @@ import javax.xml.bind.annotation.XmlType; * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -35,7 +36,8 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "", propOrder = { "repositoryId", "objectId", - "folderId" + "folderId", + "extension" }) @XmlRootElement(name = "removeObjectFromFolder") public class RemoveObjectFromFolder { @@ -44,8 +46,10 @@ public class RemoveObjectFromFolder { protected String repositoryId; @XmlElement(required = true) protected String objectId; - @XmlElementRef(name = "folderId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "folderId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement folderId; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -119,4 +123,28 @@ public class RemoveObjectFromFolder { this.folderId = ((JAXBElement ) value); } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/RemoveObjectFromFolderResponse.java b/source/generated/org/alfresco/repo/cmis/ws/RemoveObjectFromFolderResponse.java index ef9f94d497..be7e02a55e 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/RemoveObjectFromFolderResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/RemoveObjectFromFolderResponse.java @@ -1,8 +1,10 @@ package org.alfresco.repo.cmis.ws; +import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @@ -17,6 +19,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -26,9 +29,37 @@ import javax.xml.bind.annotation.XmlType; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "") +@XmlType(name = "", propOrder = { + "extension" +}) @XmlRootElement(name = "removeObjectFromFolderResponse") public class RemoveObjectFromFolderResponse { + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/RemovePolicy.java b/source/generated/org/alfresco/repo/cmis/ws/RemovePolicy.java index 83d8582dfa..daf089c6a8 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/RemovePolicy.java +++ b/source/generated/org/alfresco/repo/cmis/ws/RemovePolicy.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -21,6 +23,7 @@ import javax.xml.bind.annotation.XmlType; * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="policyId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -33,7 +36,8 @@ import javax.xml.bind.annotation.XmlType; @XmlType(name = "", propOrder = { "repositoryId", "policyId", - "objectId" + "objectId", + "extension" }) @XmlRootElement(name = "removePolicy") public class RemovePolicy { @@ -44,6 +48,8 @@ public class RemovePolicy { protected String policyId; @XmlElement(required = true) protected String objectId; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -117,4 +123,28 @@ public class RemovePolicy { this.objectId = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/RemovePolicyResponse.java b/source/generated/org/alfresco/repo/cmis/ws/RemovePolicyResponse.java index 71c4f58707..ed99153cbb 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/RemovePolicyResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/RemovePolicyResponse.java @@ -1,8 +1,10 @@ package org.alfresco.repo.cmis.ws; +import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @@ -17,6 +19,7 @@ import javax.xml.bind.annotation.XmlType; * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -26,9 +29,37 @@ import javax.xml.bind.annotation.XmlType; * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "") +@XmlType(name = "", propOrder = { + "extension" +}) @XmlRootElement(name = "removePolicyResponse") public class RemovePolicyResponse { + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } } diff --git a/source/generated/org/alfresco/repo/cmis/ws/RepositoryService.java b/source/generated/org/alfresco/repo/cmis/ws/RepositoryService.java index 506c7ef2fa..28c9f08be0 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/RepositoryService.java +++ b/source/generated/org/alfresco/repo/cmis/ws/RepositoryService.java @@ -15,26 +15,26 @@ import javax.xml.ws.WebServiceFeature; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:27 EEST 2009 + * Mon Oct 12 11:20:37 EEST 2009 * Generated source version: 2.1.2 * */ @WebServiceClient(name = "RepositoryService", - wsdlLocation = "file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl", - targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901") + wsdlLocation = "file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl", + targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/") public class RepositoryService extends Service { public final static URL WSDL_LOCATION; - public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "RepositoryService"); - public final static QName RepositoryServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "RepositoryServicePort"); + public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "RepositoryService"); + public final static QName RepositoryServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "RepositoryServicePort"); static { URL url = null; try { - url = new URL("file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + url = new URL("file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + System.err.println("Can not initialize the default wsdl from file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); // e.printStackTrace(); } WSDL_LOCATION = url; diff --git a/source/generated/org/alfresco/repo/cmis/ws/RepositoryServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/RepositoryServicePort.java index 18a0d35984..a49902fb6b 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/RepositoryServicePort.java +++ b/source/generated/org/alfresco/repo/cmis/ws/RepositoryServicePort.java @@ -2,7 +2,6 @@ package org.alfresco.repo.cmis.ws; import javax.jws.WebMethod; import javax.jws.WebParam; -import javax.jws.WebParam.Mode; import javax.jws.WebResult; import javax.jws.WebService; import javax.xml.bind.annotation.XmlSeeAlso; @@ -11,73 +10,81 @@ import javax.xml.ws.ResponseWrapper; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:27 EEST 2009 + * Mon Oct 12 11:20:37 EEST 2009 * Generated source version: 2.1.2 * */ -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", name = "RepositoryServicePort") +@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "RepositoryServicePort") @XmlSeeAlso({ObjectFactory.class}) public interface RepositoryServicePort { - @ResponseWrapper(localName = "getRepositoryInfoResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetRepositoryInfoResponse") - @RequestWrapper(localName = "getRepositoryInfo", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetRepositoryInfo") - @WebResult(name = "repositoryInfo", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "getRepositoriesResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetRepositoriesResponse") + @RequestWrapper(localName = "getRepositories", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetRepositories") + @WebResult(name = "repositories", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod - public org.alfresco.repo.cmis.ws.CmisRepositoryInfoType getRepositoryInfo( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String repositoryId + public java.util.List getRepositories( + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; - @ResponseWrapper(localName = "getTypeDefinitionResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetTypeDefinitionResponse") - @RequestWrapper(localName = "getTypeDefinition", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetTypeDefinition") - @WebResult(name = "type", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "getTypeDefinitionResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetTypeDefinitionResponse") + @RequestWrapper(localName = "getTypeDefinition", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetTypeDefinition") + @WebResult(name = "type", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod public org.alfresco.repo.cmis.ws.CmisTypeDefinitionType getTypeDefinition( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "typeId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String typeId + @WebParam(name = "typeId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String typeId, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; - @ResponseWrapper(localName = "getTypeDescendantsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetTypeDescendantsResponse") - @RequestWrapper(localName = "getTypeDescendants", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetTypeDescendants") - @WebResult(name = "type", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "getTypeDescendantsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetTypeDescendantsResponse") + @RequestWrapper(localName = "getTypeDescendants", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetTypeDescendants") + @WebResult(name = "types", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod public java.util.List getTypeDescendants( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "typeId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "typeId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String typeId, - @WebParam(name = "depth", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "depth", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.math.BigInteger depth, - @WebParam(name = "includePropertyDefinitions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.Boolean includePropertyDefinitions + @WebParam(name = "includePropertyDefinitions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includePropertyDefinitions, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; - @ResponseWrapper(localName = "getRepositoriesResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetRepositoriesResponse") - @RequestWrapper(localName = "getRepositories", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetRepositories") - @WebResult(name = "repository", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "getTypeChildrenResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetTypeChildrenResponse") + @RequestWrapper(localName = "getTypeChildren", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetTypeChildren") + @WebResult(name = "types", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod - public java.util.List getRepositories() throws CmisException; - - @ResponseWrapper(localName = "getTypeChildrenResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetTypeChildrenResponse") - @RequestWrapper(localName = "getTypeChildren", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetTypeChildren") - @WebMethod - public void getTypeChildren( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + public org.alfresco.repo.cmis.ws.CmisTypeDefinitionListType getTypeChildren( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "typeId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "typeId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String typeId, - @WebParam(name = "includePropertyDefinitions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "includePropertyDefinitions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.Boolean includePropertyDefinitions, - @WebParam(name = "maxItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "maxItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.math.BigInteger maxItems, - @WebParam(name = "skipCount", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "skipCount", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.math.BigInteger skipCount, - @WebParam(mode = WebParam.Mode.OUT, name = "type", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - javax.xml.ws.Holder> type, - @WebParam(mode = WebParam.Mode.OUT, name = "hasMoreItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - javax.xml.ws.Holder hasMoreItems + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension + ) throws CmisException; + + @ResponseWrapper(localName = "getRepositoryInfoResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetRepositoryInfoResponse") + @RequestWrapper(localName = "getRepositoryInfo", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetRepositoryInfo") + @WebResult(name = "repositoryInfo", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + @WebMethod + public org.alfresco.repo.cmis.ws.CmisRepositoryInfoType getRepositoryInfo( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String repositoryId, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; } diff --git a/source/generated/org/alfresco/repo/cmis/ws/SetContentStream.java b/source/generated/org/alfresco/repo/cmis/ws/SetContentStream.java index bd17c04d22..f88f21dc38 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/SetContentStream.java +++ b/source/generated/org/alfresco/repo/cmis/ws/SetContentStream.java @@ -24,7 +24,8 @@ import javax.xml.bind.annotation.XmlType; * <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="overwriteFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="changeToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/messaging/200901}cmisContentStreamType"/> + * <element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisContentStreamType"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -39,7 +40,8 @@ import javax.xml.bind.annotation.XmlType; "documentId", "overwriteFlag", "changeToken", - "contentStream" + "contentStream", + "extension" }) @XmlRootElement(name = "setContentStream") public class SetContentStream { @@ -48,11 +50,14 @@ public class SetContentStream { protected String repositoryId; @XmlElement(required = true) protected String documentId; - @XmlElementRef(name = "overwriteFlag", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "overwriteFlag", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement overwriteFlag; - protected String changeToken; + @XmlElementRef(name = "changeToken", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement changeToken; @XmlElement(required = true) protected CmisContentStreamType contentStream; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -131,10 +136,10 @@ public class SetContentStream { * * @return * possible object is - * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} * */ - public String getChangeToken() { + public JAXBElement getChangeToken() { return changeToken; } @@ -143,11 +148,11 @@ public class SetContentStream { * * @param value * allowed object is - * {@link String } + * {@link JAXBElement }{@code <}{@link String }{@code >} * */ - public void setChangeToken(String value) { - this.changeToken = value; + public void setChangeToken(JAXBElement value) { + this.changeToken = ((JAXBElement ) value); } /** @@ -174,4 +179,28 @@ public class SetContentStream { this.contentStream = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/SetContentStreamResponse.java b/source/generated/org/alfresco/repo/cmis/ws/SetContentStreamResponse.java index b081fa7387..0bfe6a7feb 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/SetContentStreamResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/SetContentStreamResponse.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -19,6 +21,8 @@ import javax.xml.bind.annotation.XmlType; * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/> + * <element name="changeToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -29,13 +33,18 @@ import javax.xml.bind.annotation.XmlType; */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { - "documentId" + "documentId", + "changeToken", + "extension" }) @XmlRootElement(name = "setContentStreamResponse") public class SetContentStreamResponse { @XmlElement(required = true) protected String documentId; + protected String changeToken; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the documentId property. @@ -61,4 +70,52 @@ public class SetContentStreamResponse { this.documentId = value; } + /** + * Gets the value of the changeToken property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getChangeToken() { + return changeToken; + } + + /** + * Sets the value of the changeToken property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setChangeToken(String value) { + this.changeToken = value; + } + + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/UpdateProperties.java b/source/generated/org/alfresco/repo/cmis/ws/UpdateProperties.java index ca5b1d14e5..fce06f8453 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/UpdateProperties.java +++ b/source/generated/org/alfresco/repo/cmis/ws/UpdateProperties.java @@ -23,7 +23,8 @@ import javax.xml.bind.annotation.XmlType; * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="changeToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> - * <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType"/> + * <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertiesType"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -37,7 +38,8 @@ import javax.xml.bind.annotation.XmlType; "repositoryId", "objectId", "changeToken", - "properties" + "properties", + "extension" }) @XmlRootElement(name = "updateProperties") public class UpdateProperties { @@ -46,10 +48,12 @@ public class UpdateProperties { protected String repositoryId; @XmlElement(required = true) protected String objectId; - @XmlElementRef(name = "changeToken", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) + @XmlElementRef(name = "changeToken", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) protected JAXBElement changeToken; @XmlElement(required = true) protected CmisPropertiesType properties; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the repositoryId property. @@ -147,4 +151,28 @@ public class UpdateProperties { this.properties = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/UpdatePropertiesResponse.java b/source/generated/org/alfresco/repo/cmis/ws/UpdatePropertiesResponse.java index a4880d456f..80f1bebfb8 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/UpdatePropertiesResponse.java +++ b/source/generated/org/alfresco/repo/cmis/ws/UpdatePropertiesResponse.java @@ -1,9 +1,11 @@ package org.alfresco.repo.cmis.ws; +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; @@ -20,6 +22,7 @@ import javax.xml.bind.annotation.XmlType; * <sequence> * <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="changeToken" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> @@ -31,7 +34,8 @@ import javax.xml.bind.annotation.XmlType; @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "objectId", - "changeToken" + "changeToken", + "extension" }) @XmlRootElement(name = "updatePropertiesResponse") public class UpdatePropertiesResponse { @@ -39,6 +43,8 @@ public class UpdatePropertiesResponse { @XmlElement(required = true) protected String objectId; protected String changeToken; + @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) + protected JAXBElement extension; /** * Gets the value of the objectId property. @@ -88,4 +94,28 @@ public class UpdatePropertiesResponse { this.changeToken = value; } + /** + * Gets the value of the extension property. + * + * @return + * possible object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public JAXBElement getExtension() { + return extension; + } + + /** + * Sets the value of the extension property. + * + * @param value + * allowed object is + * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} + * + */ + public void setExtension(JAXBElement value) { + this.extension = ((JAXBElement ) value); + } + } diff --git a/source/generated/org/alfresco/repo/cmis/ws/VersioningService.java b/source/generated/org/alfresco/repo/cmis/ws/VersioningService.java index 3dc8cdb7b2..48b7d4dd11 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/VersioningService.java +++ b/source/generated/org/alfresco/repo/cmis/ws/VersioningService.java @@ -15,26 +15,26 @@ import javax.xml.ws.WebServiceFeature; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:27 EEST 2009 + * Mon Oct 12 11:20:37 EEST 2009 * Generated source version: 2.1.2 * */ @WebServiceClient(name = "VersioningService", - wsdlLocation = "file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl", - targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901") + wsdlLocation = "file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl", + targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/") public class VersioningService extends Service { public final static URL WSDL_LOCATION; - public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "VersioningService"); - public final static QName VersioningServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "VersioningServicePort"); + public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "VersioningService"); + public final static QName VersioningServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "VersioningServicePort"); static { URL url = null; try { - url = new URL("file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + url = new URL("file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:/D:/work/alfresco-cmis/WS-Binding-062f/source/wsdl/CMISWS-Service.wsdl"); + System.err.println("Can not initialize the default wsdl from file:/D:/java/eclipse/workspace/WS-Binding-07b3/source/wsdl/CMISWS-Service.wsdl"); // e.printStackTrace(); } WSDL_LOCATION = url; diff --git a/source/generated/org/alfresco/repo/cmis/ws/VersioningServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/VersioningServicePort.java index 5b4bf04b09..db8c44e52b 100755 --- a/source/generated/org/alfresco/repo/cmis/ws/VersioningServicePort.java +++ b/source/generated/org/alfresco/repo/cmis/ws/VersioningServicePort.java @@ -2,7 +2,6 @@ package org.alfresco.repo.cmis.ws; import javax.jws.WebMethod; import javax.jws.WebParam; -import javax.jws.WebParam.Mode; import javax.jws.WebResult; import javax.jws.WebService; import javax.xml.bind.annotation.XmlSeeAlso; @@ -11,92 +10,125 @@ import javax.xml.ws.ResponseWrapper; /** * This class was generated by Apache CXF 2.1.2 - * Fri Jul 24 09:58:27 EEST 2009 + * Mon Oct 12 11:20:37 EEST 2009 * Generated source version: 2.1.2 * */ -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", name = "VersioningServicePort") +@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "VersioningServicePort") @XmlSeeAlso({ObjectFactory.class}) public interface VersioningServicePort { - @ResponseWrapper(localName = "checkInResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.CheckInResponse") - @RequestWrapper(localName = "checkIn", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.CheckIn") - @WebMethod - public void checkIn( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String repositoryId, - @WebParam(mode = WebParam.Mode.INOUT, name = "documentId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - javax.xml.ws.Holder documentId, - @WebParam(name = "major", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.Boolean major, - @WebParam(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.CmisPropertiesType properties, - @WebParam(name = "contentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.CmisContentStreamType contentStream, - @WebParam(name = "checkinComment", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String checkinComment, - @WebParam(name = "applyPolicies", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.util.List applyPolicies, - @WebParam(name = "addACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.CmisAccessControlListType addACEs, - @WebParam(name = "removeACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.CmisAccessControlListType removeACEs - ) throws CmisException; - - @ResponseWrapper(localName = "cancelCheckOutResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.CancelCheckOutResponse") - @RequestWrapper(localName = "cancelCheckOut", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.CancelCheckOut") + @ResponseWrapper(localName = "cancelCheckOutResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CancelCheckOutResponse") + @RequestWrapper(localName = "cancelCheckOut", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CancelCheckOut") @WebMethod public void cancelCheckOut( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "documentId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String documentId + @WebParam(name = "documentId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String documentId, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension ) throws CmisException; - @ResponseWrapper(localName = "getAllVersionsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetAllVersionsResponse") - @RequestWrapper(localName = "getAllVersions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetAllVersions") - @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "getAllVersionsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetAllVersionsResponse") + @RequestWrapper(localName = "getAllVersions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetAllVersions") + @WebResult(name = "objects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod public java.util.List getAllVersions( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "versionSeriesId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String versionSeriesId, - @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String objectId, + @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String filter, - @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.Boolean includeAllowableActions, - @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; - @ResponseWrapper(localName = "getPropertiesOfLatestVersionResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetPropertiesOfLatestVersionResponse") - @RequestWrapper(localName = "getPropertiesOfLatestVersion", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetPropertiesOfLatestVersion") - @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @ResponseWrapper(localName = "getObjectOfLatestVersionResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectOfLatestVersionResponse") + @RequestWrapper(localName = "getObjectOfLatestVersion", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectOfLatestVersion") + @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") @WebMethod - public org.alfresco.repo.cmis.ws.CmisObjectType getPropertiesOfLatestVersion( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + public org.alfresco.repo.cmis.ws.CmisObjectType getObjectOfLatestVersion( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(name = "versionSeriesId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.String versionSeriesId, - @WebParam(name = "major", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - boolean major, - @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String objectId, + @WebParam(name = "major", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean major, + @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String filter, - @WebParam(name = "includeACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") - java.lang.Boolean includeACL + @WebParam(name = "includeAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includeAllowableActions, + @WebParam(name = "includeRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.EnumIncludeRelationships includeRelationships, + @WebParam(name = "renditionFilter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String renditionFilter, + @WebParam(name = "includePolicyIds", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includePolicyIds, + @WebParam(name = "includeACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean includeACL, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension ) throws CmisException; - @ResponseWrapper(localName = "checkOutResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.CheckOutResponse") - @RequestWrapper(localName = "checkOut", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.CheckOut") + @ResponseWrapper(localName = "getPropertiesOfLatestVersionResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetPropertiesOfLatestVersionResponse") + @RequestWrapper(localName = "getPropertiesOfLatestVersion", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetPropertiesOfLatestVersion") + @WebResult(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + @WebMethod + public org.alfresco.repo.cmis.ws.CmisPropertiesType getPropertiesOfLatestVersion( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String repositoryId, + @WebParam(name = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String objectId, + @WebParam(name = "major", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean major, + @WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String filter, + @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisExtensionType extension + ) throws CmisException; + + @ResponseWrapper(localName = "checkOutResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CheckOutResponse") + @RequestWrapper(localName = "checkOut", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CheckOut") @WebMethod public void checkOut( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") java.lang.String repositoryId, - @WebParam(mode = WebParam.Mode.INOUT, name = "documentId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(mode = WebParam.Mode.INOUT, name = "documentId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") javax.xml.ws.Holder documentId, - @WebParam(mode = WebParam.Mode.OUT, name = "contentCopied", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901") + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension, + @WebParam(mode = WebParam.Mode.OUT, name = "contentCopied", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") javax.xml.ws.Holder contentCopied ) throws CmisException; + + @ResponseWrapper(localName = "checkInResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CheckInResponse") + @RequestWrapper(localName = "checkIn", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CheckIn") + @WebMethod + public void checkIn( + @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String repositoryId, + @WebParam(mode = WebParam.Mode.INOUT, name = "documentId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder documentId, + @WebParam(name = "major", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.Boolean major, + @WebParam(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisPropertiesType properties, + @WebParam(name = "contentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisContentStreamType contentStream, + @WebParam(name = "checkinComment", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.lang.String checkinComment, + @WebParam(name = "policies", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + java.util.List policies, + @WebParam(name = "addACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisAccessControlListType addACEs, + @WebParam(name = "removeACEs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + org.alfresco.repo.cmis.ws.CmisAccessControlListType removeACEs, + @WebParam(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") + javax.xml.ws.Holder extension + ) throws CmisException; } diff --git a/source/generated/org/alfresco/repo/cmis/ws/package-info.java b/source/generated/org/alfresco/repo/cmis/ws/package-info.java index 1e4fe06558..3c2540d361 100644 --- a/source/generated/org/alfresco/repo/cmis/ws/package-info.java +++ b/source/generated/org/alfresco/repo/cmis/ws/package-info.java @@ -1,2 +1,2 @@ -@javax.xml.bind.annotation.XmlSchema(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) +@javax.xml.bind.annotation.XmlSchema(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) package org.alfresco.repo.cmis.ws; diff --git a/source/java/org/alfresco/repo/cmis/ws/ContentReaderDataSource.java b/source/java/org/alfresco/repo/cmis/ws/ContentReaderDataSource.java index 0b79fe6f89..855162d705 100755 --- a/source/java/org/alfresco/repo/cmis/ws/ContentReaderDataSource.java +++ b/source/java/org/alfresco/repo/cmis/ws/ContentReaderDataSource.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2008 Alfresco Software Limited. + * Copyright (C) 2005-2009 Alfresco Software Limited. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -27,6 +27,7 @@ package org.alfresco.repo.cmis.ws; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; +import java.math.BigInteger; import javax.activation.DataSource; @@ -39,53 +40,141 @@ import org.alfresco.service.cmr.repository.ContentReader; */ public class ContentReaderDataSource implements DataSource { - private ContentReader contentReader; + private String mimetype; + private InputStream inputStream; private String name; + private long offset = 0; + private long length = Long.MAX_VALUE / 2; + private long sizeToRead = 0; - public ContentReaderDataSource(ContentReader contentReader, String name) - { - this.contentReader = contentReader; + public ContentReaderDataSource(ContentReader contentReader, String name, BigInteger offset, BigInteger length, long contentSize) + { this.name = name; + this.mimetype = contentReader.getMimetype(); + if (offset != null) + { + this.offset = offset.longValue(); + } + if (length != null) + { + this.length = length.longValue(); + } + if (this.offset + this.length < contentSize) + { + this.sizeToRead = this.length; + } + else + { + this.sizeToRead = contentSize - this.offset; + } + if (this.sizeToRead < 0) + { + throw new RuntimeException("Offset value exceeds content size"); + } + try + { + inputStream = new RangedInputStream(contentReader.getContentInputStream()); + } + catch (IOException e) + { + throw new RuntimeException(e); + } } - /* - * (non-Javadoc) - * - * @see javax.activation.DataSource#getContentType() - */ public String getContentType() { - return contentReader.getMimetype(); + return mimetype; } - /* - * (non-Javadoc) - * - * @see javax.activation.DataSource#getInputStream() - */ public InputStream getInputStream() throws IOException { - return contentReader.getContentInputStream(); + return inputStream; } - /* - * (non-Javadoc) - * - * @see javax.activation.DataSource#getName() - */ public String getName() { return name; } - /* - * (non-Javadoc) - * - * @see javax.activation.DataSource#getOutputStream() - */ public OutputStream getOutputStream() throws IOException { return null; } + + public long getSizeToRead() + { + return sizeToRead; + } + private class RangedInputStream extends InputStream + { + + private InputStream inputStream; + private int bytesread; + + private RangedInputStream(InputStream inputStream) throws IOException + { + super(); + this.inputStream = inputStream; + this.inputStream.skip(offset); + this.bytesread = 0; + } + + @Override + public int read() throws IOException + { + if (bytesread < sizeToRead) + { + bytesread++; + return inputStream.read(); + } + else + { + return -1; + } + } + + @Override + public int read(byte[] b) throws IOException + { + return read(b, 0, b.length); + } + + @Override + public int read(byte[] b, int off, int len) throws IOException + { + if (len > sizeToRead - bytesread) + { + len = (int)(sizeToRead - bytesread); + } + int readed = inputStream.read(b, off, len); + bytesread += readed; + return readed; + } + + @Override + public int available() throws IOException + { + return (int)(sizeToRead - bytesread + 1); + } + + @Override + public void close() throws IOException + { + inputStream.close(); + } + + @Override + public long skip(long n) throws IOException + { + if (bytesread + n > sizeToRead) + { + n = (sizeToRead - n) > 0 ? (sizeToRead - n) : sizeToRead - bytesread; + } + n = inputStream.skip(n); + bytesread += n; + return n; + } + } + } diff --git a/source/java/org/alfresco/repo/cmis/ws/DMAbstractServicePort.java b/source/java/org/alfresco/repo/cmis/ws/DMAbstractServicePort.java index 8cce1e8f11..1916061083 100644 --- a/source/java/org/alfresco/repo/cmis/ws/DMAbstractServicePort.java +++ b/source/java/org/alfresco/repo/cmis/ws/DMAbstractServicePort.java @@ -46,9 +46,12 @@ import org.alfresco.repo.web.util.paging.Page; import org.alfresco.repo.web.util.paging.Paging; import org.alfresco.service.cmr.coci.CheckOutCheckInService; import org.alfresco.service.cmr.model.FileFolderService; +import org.alfresco.service.cmr.repository.AssociationRef; import org.alfresco.service.cmr.repository.NodeRef; import org.alfresco.service.cmr.repository.NodeService; import org.alfresco.service.cmr.search.SearchService; +import org.alfresco.service.cmr.security.AccessStatus; +import org.alfresco.service.cmr.security.PermissionService; import org.alfresco.service.cmr.version.Version; import org.alfresco.service.cmr.version.VersionService; import org.alfresco.service.cmr.version.VersionType; @@ -82,6 +85,7 @@ public class DMAbstractServicePort protected SearchService searchService; protected CmisObjectsUtils cmisObjectsUtils; protected PropertyUtil propertiesUtil; + protected PermissionService permissionService; public void setCmisService(CMISServices cmisService) { @@ -139,6 +143,11 @@ public class DMAbstractServicePort this.searchService = searchService; } + public void setPermissionService(PermissionService permissionService) + { + this.permissionService = permissionService; + } + protected PropertyFilter createPropertyFilter(String filter) throws CmisException { return (filter == null) ? (new PropertyFilter()) : (new PropertyFilter(filter, cmisObjectsUtils)); @@ -168,11 +177,11 @@ public class DMAbstractServicePort * @param resultList the list of CmisObjectType values for end response result collecting * @throws CmisException */ - protected void createCmisObjectList(PropertyFilter filter, List sourceList, List resultList) throws CmisException + protected void createCmisObjectList(PropertyFilter filter, boolean includeAllowableActions, List sourceList, List resultList) throws CmisException { for (NodeRef objectNodeRef : sourceList) { - resultList.add(createCmisObject(objectNodeRef, filter)); + resultList.add(createCmisObject(objectNodeRef, filter, includeAllowableActions)); } } @@ -183,10 +192,14 @@ public class DMAbstractServicePort * @param filter accepted properties filter * @return converted to CMIS object Alfresco object */ - protected CmisObjectType createCmisObject(Object identifier, PropertyFilter filter) throws CmisException + protected CmisObjectType createCmisObject(Object identifier, PropertyFilter filter, boolean includeAllowableActions) throws CmisException { CmisObjectType result = new CmisObjectType(); result.setProperties(propertiesUtil.getPropertiesType(identifier.toString(), filter)); + if (includeAllowableActions) + { + result.setAllowableActions(determineObjectAllowableActions(identifier)); + } return result; } @@ -246,4 +259,87 @@ public class DMAbstractServicePort throw new CmisException(("Invalid typeId " + typeId), cmisObjectsUtils.createCmisException(("Invalid typeId " + typeId), EnumServiceException.INVALID_ARGUMENT)); } } + + protected CmisAllowableActionsType determineObjectAllowableActions(Object objectIdentifier) throws CmisException + { + if (objectIdentifier instanceof AssociationRef) + { + return determineRelationshipAllowableActions((AssociationRef) objectIdentifier); + } + + switch (cmisObjectsUtils.determineObjectType(objectIdentifier.toString())) + { + case CMIS_DOCUMENT: + { + return determineDocumentAllowableActions((NodeRef) objectIdentifier); + } + case CMIS_FOLDER: + { + return determineFolderAllowableActions((NodeRef) objectIdentifier); + } + } + + // TODO: determinePolicyAllowableActions() when Policy functionality is ready + throw cmisObjectsUtils.createCmisException("It is impossible to get Allowable actions for the specified Object", EnumServiceException.NOT_SUPPORTED); + } + + private CmisAllowableActionsType determineBaseAllowableActions(NodeRef objectNodeReference) + { + CmisAllowableActionsType result = new CmisAllowableActionsType(); + result.setCanGetProperties(this.permissionService.hasPermission(objectNodeReference, PermissionService.READ_PROPERTIES) == AccessStatus.ALLOWED); + result.setCanUpdateProperties(this.permissionService.hasPermission(objectNodeReference, PermissionService.WRITE_PROPERTIES) == AccessStatus.ALLOWED); + result.setCanDeleteObject(this.permissionService.hasPermission(objectNodeReference, PermissionService.DELETE) == AccessStatus.ALLOWED); + + // TODO: response.setCanAddPolicy(value); + // TODO: response.setCanRemovePolicy(value); + // TODO: response.setCanGetAppliedPolicies(value); + + return result; + } + + private CmisAllowableActionsType determineDocumentAllowableActions(NodeRef objectNodeReference) + { + CmisAllowableActionsType result = determineBaseAllowableActions(objectNodeReference); + determineCommonFolderDocumentAllowableActions(objectNodeReference, result); + result.setCanGetObjectParents(this.permissionService.hasPermission(objectNodeReference, PermissionService.READ_ASSOCIATIONS) == AccessStatus.ALLOWED); + result.setCanGetContentStream(this.permissionService.hasPermission(objectNodeReference, PermissionService.READ_CONTENT) == AccessStatus.ALLOWED); + result.setCanSetContentStream(this.permissionService.hasPermission(objectNodeReference, PermissionService.WRITE_CONTENT) == AccessStatus.ALLOWED); + result.setCanCheckOut(this.permissionService.hasPermission(objectNodeReference, PermissionService.CHECK_OUT) == AccessStatus.ALLOWED); + result.setCanCheckIn(this.permissionService.hasPermission(objectNodeReference, PermissionService.CHECK_IN) == AccessStatus.ALLOWED); + result.setCanCancelCheckOut(this.permissionService.hasPermission(objectNodeReference, PermissionService.CANCEL_CHECK_OUT) == AccessStatus.ALLOWED); + result.setCanDeleteContentStream(result.isCanUpdateProperties() && result.isCanSetContentStream()); + return result; + } + + private CmisAllowableActionsType determineFolderAllowableActions(NodeRef objectNodeReference) + { + CmisAllowableActionsType result = determineBaseAllowableActions(objectNodeReference); + determineCommonFolderDocumentAllowableActions(objectNodeReference, result); + + result.setCanGetChildren(this.permissionService.hasPermission(objectNodeReference, PermissionService.READ_CHILDREN) == AccessStatus.ALLOWED); + result.setCanCreateDocument(this.permissionService.hasPermission(objectNodeReference, PermissionService.ADD_CHILDREN) == AccessStatus.ALLOWED); + result.setCanGetDescendants(result.isCanGetChildren() && (this.permissionService.hasPermission(objectNodeReference, PermissionService.READ) == AccessStatus.ALLOWED)); + result.setCanDeleteTree(this.permissionService.hasPermission(objectNodeReference, PermissionService.DELETE_CHILDREN) == AccessStatus.ALLOWED); + result.setCanGetFolderParent(result.isCanGetObjectRelationships()); + result.setCanCreateFolder(result.isCanCreateDocument()); + // TODO: response.setCanCreatePolicy(value); + return result; + } + + private void determineCommonFolderDocumentAllowableActions(NodeRef objectNodeReference, CmisAllowableActionsType allowableActions) + { + allowableActions.setCanAddObjectToFolder(this.permissionService.hasPermission(objectNodeReference, PermissionService.CREATE_ASSOCIATIONS) == AccessStatus.ALLOWED); + allowableActions.setCanGetObjectRelationships(this.permissionService.hasPermission(objectNodeReference, PermissionService.READ_ASSOCIATIONS) == AccessStatus.ALLOWED); + allowableActions.setCanMoveObject(allowableActions.isCanUpdateProperties() && allowableActions.isCanAddObjectToFolder()); + allowableActions.setCanRemoveObjectFromFolder(allowableActions.isCanUpdateProperties()); + allowableActions.setCanCreateRelationship(allowableActions.isCanAddObjectToFolder()); + } + + private CmisAllowableActionsType determineRelationshipAllowableActions(AssociationRef association) + { + CmisAllowableActionsType result = new CmisAllowableActionsType(); + result.setCanDeleteObject(this.permissionService.hasPermission(association.getSourceRef(), PermissionService.DELETE_ASSOCIATIONS) == AccessStatus.ALLOWED); + result.setCanGetObjectRelationships(this.permissionService.hasPermission(association.getSourceRef(), PermissionService.READ_ASSOCIATIONS) == AccessStatus.ALLOWED); + return result; + } } diff --git a/source/java/org/alfresco/repo/cmis/ws/DMAclServicePort.java b/source/java/org/alfresco/repo/cmis/ws/DMAclServicePort.java index 760e29eb7f..17407dc7b8 100755 --- a/source/java/org/alfresco/repo/cmis/ws/DMAclServicePort.java +++ b/source/java/org/alfresco/repo/cmis/ws/DMAclServicePort.java @@ -24,14 +24,10 @@ */ package org.alfresco.repo.cmis.ws; -import java.util.List; - -import javax.xml.ws.Holder; - /** * @author Dmitry Velichkevich */ -@javax.jws.WebService(name = "ACLServicePort", serviceName = "ACLService", portName = "ACLServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", endpointInterface = "org.alfresco.repo.cmis.ws.ACLServicePort") +@javax.jws.WebService(name = "ACLServicePort", serviceName = "ACLService", portName = "ACLServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", endpointInterface = "org.alfresco.repo.cmis.ws.ACLServicePort") public class DMAclServicePort extends DMAbstractServicePort implements ACLServicePort { private static final String ACL_SERVICE_NOT_IMPLEMENTED_MESSAGE = "ACLService not implemented"; @@ -40,13 +36,13 @@ public class DMAclServicePort extends DMAbstractServicePort implements ACLServic { } - public void applyACL(String repositoryId, String objectId, CmisAccessControlListType addACEs, CmisAccessControlListType removeACEs, EnumACLPropagation propogationType, - Holder> acl, Holder exact) throws CmisException + public CmisACLType applyACL(String repositoryId, String objectId, CmisAccessControlListType addACEs, CmisAccessControlListType removeACEs, EnumACLPropagation aclPropagation, + CmisExtensionType extension) throws CmisException { throw cmisObjectsUtils.createCmisException(ACL_SERVICE_NOT_IMPLEMENTED_MESSAGE, EnumServiceException.RUNTIME); } - public CmisAccessControlListType getACL(String repositoryId, String objectId, boolean onlyBasicPermissions) throws CmisException + public CmisACLType getACL(String repositoryId, String objectId, Boolean onlyBasicPermissions, CmisExtensionType extension) throws CmisException { throw cmisObjectsUtils.createCmisException(ACL_SERVICE_NOT_IMPLEMENTED_MESSAGE, EnumServiceException.RUNTIME); } diff --git a/source/java/org/alfresco/repo/cmis/ws/DMDiscoveryServicePort.java b/source/java/org/alfresco/repo/cmis/ws/DMDiscoveryServicePort.java index dffd7e8c30..b0e721fd28 100755 --- a/source/java/org/alfresco/repo/cmis/ws/DMDiscoveryServicePort.java +++ b/source/java/org/alfresco/repo/cmis/ws/DMDiscoveryServicePort.java @@ -26,22 +26,23 @@ package org.alfresco.repo.cmis.ws; import java.io.Serializable; import java.math.BigInteger; -import java.util.List; import java.util.Map; import javax.xml.ws.Holder; +import org.alfresco.cmis.CMISDictionaryModel; import org.alfresco.cmis.CMISQueryOptions; import org.alfresco.cmis.CMISResultSet; import org.alfresco.cmis.CMISResultSetColumn; import org.alfresco.cmis.CMISResultSetRow; +import org.alfresco.repo.cmis.ws.utils.AlfrescoObjectType; /** * Port for Discovery service. * * @author Dmitry Lazurkin */ -@javax.jws.WebService(name = "DiscoveryServicePort", serviceName = "DiscoveryService", portName = "DiscoveryServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", endpointInterface = "org.alfresco.repo.cmis.ws.DiscoveryServicePort") +@javax.jws.WebService(name = "DiscoveryServicePort", serviceName = "DiscoveryService", portName = "DiscoveryServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", endpointInterface = "org.alfresco.repo.cmis.ws.DiscoveryServicePort") public class DMDiscoveryServicePort extends DMAbstractServicePort implements DiscoveryServicePort { /** @@ -58,15 +59,16 @@ public class DMDiscoveryServicePort extends DMAbstractServicePort implements Dis // TODO: searchAllVersions, includeRelationships, includeAllowableActions, includeRenditions CMISQueryOptions options = new CMISQueryOptions(parameters.getStatement(), cmisService.getDefaultRootStoreRef()); - if (parameters.getSkipCount() != null) + if (parameters.getSkipCount() != null && parameters.getSkipCount().getValue() != null) { - options.setSkipCount(parameters.getSkipCount().intValue()); + options.setSkipCount(parameters.getSkipCount().getValue().intValue()); } - if (parameters.getMaxItems() != null) + if (parameters.getMaxItems() != null && parameters.getMaxItems().getValue() != null) { - options.setMaxItems(parameters.getMaxItems().intValue()); + options.setMaxItems(parameters.getMaxItems().getValue().intValue()); } + boolean includeAllowableActions = (null != parameters.getIncludeAllowableActions()) ? (parameters.getIncludeAllowableActions().getValue()) : (false); // execute query // TODO: If the select clause includes properties from more than a single type reference, then the repository SHOULD throw an exception if includeRelationships or @@ -76,6 +78,7 @@ public class DMDiscoveryServicePort extends DMAbstractServicePort implements Dis // build query response QueryResponse response = new QueryResponse(); + response.setObjects(new CmisObjectListType()); // for each row... for (CMISResultSetRow row : resultSet) @@ -95,17 +98,23 @@ public class DMDiscoveryServicePort extends DMAbstractServicePort implements Dis CmisObjectType object = new CmisObjectType(); object.setProperties(properties); - response.getObject().add(object); + if (includeAllowableActions) + { + Object identifier = cmisObjectsUtils.getIdentifierInstance((String) values.get(CMISDictionaryModel.PROP_OBJECT_ID), AlfrescoObjectType.DOCUMENT_OR_FOLDER_OBJECT); + object.setAllowableActions(determineObjectAllowableActions(identifier)); + } + response.getObjects().getObjects().add(object); } - - response.setHasMoreItems(resultSet.hasMore()); + //TODO: response.getObjects().setNumItems(value); + response.getObjects().setHasMoreItems(resultSet.hasMore()); return response; } - public void getContentChanges(String repositoryId, Holder changeToken, BigInteger maxItems, Boolean includeACL, Boolean includeProperties, String filter, - Holder> changedObject) throws CmisException + public void getContentChanges(String repositoryId, Holder changeLogToken, Boolean includeProperties, String filter, Boolean includePolicyIds, Boolean includeACL, + BigInteger maxItems, CmisExtensionType extension, Holder objects) throws CmisException { - // TODO + // TODO: implement me throw cmisObjectsUtils.createCmisException("Not implemented", EnumServiceException.RUNTIME); } + } diff --git a/source/java/org/alfresco/repo/cmis/ws/DMMultiFilingServicePort.java b/source/java/org/alfresco/repo/cmis/ws/DMMultiFilingServicePort.java index 56cb2d8263..940e7231bd 100755 --- a/source/java/org/alfresco/repo/cmis/ws/DMMultiFilingServicePort.java +++ b/source/java/org/alfresco/repo/cmis/ws/DMMultiFilingServicePort.java @@ -24,6 +24,8 @@ */ package org.alfresco.repo.cmis.ws; +import javax.xml.ws.Holder; + import org.alfresco.cmis.CMISDictionaryModel; import org.alfresco.cmis.CMISTypeDefinition; import org.alfresco.repo.cmis.ws.utils.AlfrescoObjectType; @@ -35,7 +37,7 @@ import org.alfresco.service.cmr.repository.NodeRef; * @author Dmitry Lazurkin * @author Dmitry Velichkevich */ -@javax.jws.WebService(name = "MultiFilingServicePort", serviceName = "MultiFilingService", portName = "MultiFilingServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", endpointInterface = "org.alfresco.repo.cmis.ws.MultiFilingServicePort") +@javax.jws.WebService(name = "MultiFilingServicePort", serviceName = "MultiFilingService", portName = "MultiFilingServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", endpointInterface = "org.alfresco.repo.cmis.ws.MultiFilingServicePort") public class DMMultiFilingServicePort extends DMAbstractServicePort implements MultiFilingServicePort { /** @@ -46,26 +48,28 @@ public class DMMultiFilingServicePort extends DMAbstractServicePort implements M * @param folderId folder Id to which the object is added * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT) */ - public void addObjectToFolder(String repositoryId, String objectId, String folderId) throws CmisException + public void addObjectToFolder(String repositoryId, String objectId, String folderId, Boolean allVersions, Holder extension) throws CmisException { checkRepositoryId(repositoryId); NodeRef objectNodeRef = cmisObjectsUtils.getIdentifierInstance(objectId, AlfrescoObjectType.DOCUMENT_OBJECT); NodeRef parentFolderNodeRef = cmisObjectsUtils.getIdentifierInstance(folderId, AlfrescoObjectType.FOLDER_OBJECT); - CMISTypeDefinition objectType = cmisDictionaryService.findType(propertiesUtil.getProperty(objectNodeRef, CMISDictionaryModel.PROP_OBJECT_TYPE_ID, (String) null)); CMISTypeDefinition folderType = cmisDictionaryService.findType(propertiesUtil.getProperty(parentFolderNodeRef, CMISDictionaryModel.PROP_OBJECT_TYPE_ID, (String) null)); - if (folderType == null) { throw cmisObjectsUtils.createCmisException("Type of the specified parent folder can't be resovled", EnumServiceException.RUNTIME); } - if (!folderType.getAllowedTargetTypes().isEmpty() && !folderType.getAllowedTargetTypes().contains(objectType)) { - throw cmisObjectsUtils.createCmisException("The typeId of Object is not in the list of AllowedChildObjectTypeIds of the parent-folder specified by folderId", + throw cmisObjectsUtils.createCmisException(("The Object of '" + objectType.getTypeId() + "' Type can't be child of Folder of '" + folderType.getTypeId() + "' Type"), EnumServiceException.CONSTRAINT); } - cmisObjectsUtils.addObjectToFolder(objectNodeRef, parentFolderNodeRef); + if (!cmisObjectsUtils.addObjectToFolder(objectNodeRef, parentFolderNodeRef)) + { + Throwable exception = cmisObjectsUtils.getLastOperationException(); + throw cmisObjectsUtils.createCmisException(("Can't add specified Object to specified Folder. Cause exception message: " + exception.toString()), + EnumServiceException.STORAGE, exception); + } } /** @@ -76,19 +80,19 @@ public class DMMultiFilingServicePort extends DMAbstractServicePort implements M * @param folderId The folder to be removed from. * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME) */ - public void removeObjectFromFolder(String repositoryId, String objectId, String folderId) throws CmisException + public void removeObjectFromFolder(String repositoryId, String objectId, String folderId, Holder extension) throws CmisException { checkRepositoryId(repositoryId); - NodeRef objectNodeReference = cmisObjectsUtils.getIdentifierInstance(objectId, AlfrescoObjectType.DOCUMENT_OBJECT); NodeRef folderNodeReference = checkAndReceiveFolderIdentifier(folderId); - - assertExistFolder(folderNodeReference); + // FIXME [BUG]: if Document is Multi-Filled then removing this Object from Primary Parent Folder MUST treat to determine Primary Parent for Document from other Parent + // Folders checkObjectChildParentRelationships(objectNodeReference, folderNodeReference); - if (!cmisObjectsUtils.removeObject(objectNodeReference, folderNodeReference)) { - throw cmisObjectsUtils.createCmisException("The specified Object is not child of the specified Folder Object", EnumServiceException.INVALID_ARGUMENT); + Throwable exception = cmisObjectsUtils.getLastOperationException(); + throw cmisObjectsUtils.createCmisException(("Can't remove specified Object from specified Folder. Cause exception message: " + exception.toString()), + EnumServiceException.STORAGE, exception); } } @@ -108,7 +112,7 @@ public class DMMultiFilingServicePort extends DMAbstractServicePort implements M { if (cmisObjectsUtils.isPrimaryObjectParent(folderNodeReference, objectNodeReference)) { - throw cmisObjectsUtils.createCmisException("Unfiling is not supported. Use deleteObjectService instead", EnumServiceException.NOT_SUPPORTED); + throw cmisObjectsUtils.createCmisException("Unfiling is not supported. Use deleteObject() Service instead", EnumServiceException.NOT_SUPPORTED); } } } diff --git a/source/java/org/alfresco/repo/cmis/ws/DMNavigationServicePort.java b/source/java/org/alfresco/repo/cmis/ws/DMNavigationServicePort.java index f6fd9ea319..0725423b7c 100644 --- a/source/java/org/alfresco/repo/cmis/ws/DMNavigationServicePort.java +++ b/source/java/org/alfresco/repo/cmis/ws/DMNavigationServicePort.java @@ -26,13 +26,11 @@ package org.alfresco.repo.cmis.ws; import java.math.BigInteger; import java.util.ArrayList; -import java.util.Arrays; import java.util.LinkedList; import java.util.List; +import java.util.Stack; import java.util.regex.Pattern; -import javax.xml.ws.Holder; - import org.alfresco.cmis.CMISDictionaryModel; import org.alfresco.cmis.CMISTypesFilterEnum; import org.alfresco.repo.cmis.PropertyFilter; @@ -43,15 +41,13 @@ import org.alfresco.service.cmr.repository.ChildAssociationRef; import org.alfresco.service.cmr.repository.NodeRef; import org.alfresco.util.Pair; -import com.sun.star.auth.InvalidArgumentException; - /** * Port for navigation service - * + * * @author Dmitry Lazurkin * @author Dmitry Velichkevich */ -@javax.jws.WebService(name = "NavigationServicePort", serviceName = "NavigationService", portName = "NavigationServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", endpointInterface = "org.alfresco.repo.cmis.ws.NavigationServicePort") +@javax.jws.WebService(name = "NavigationServicePort", serviceName = "NavigationService", portName = "NavigationServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", endpointInterface = "org.alfresco.repo.cmis.ws.NavigationServicePort") public class DMNavigationServicePort extends DMAbstractServicePort implements NavigationServicePort { private static final int EQUALS_CONDITION_VALUE = 0; @@ -69,9 +65,8 @@ public class DMNavigationServicePort extends DMAbstractServicePort implements Na * skipCount: 0 = start at beginning * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FILTER_NOT_VALID) */ - public void getCheckedOutDocs(String repositoryId, String folderId, String filter, String orderBy, Boolean includeAllowableActions, - EnumIncludeRelationships includeRelationships, BigInteger maxItems, BigInteger skipCount, Holder> object, Holder hasMoreItems) - throws CmisException + public CmisObjectListType getCheckedOutDocs(String repositoryId, String folderId, String filter, String orderBy, Boolean includeAllowableActions, + EnumIncludeRelationships includeRelationships, String renditionFilter, BigInteger maxItems, BigInteger skipCount, CmisExtensionType extension) throws CmisException { checkRepositoryId(repositoryId); PropertyFilter propertyFilter = createPropertyFilter(filter); @@ -93,18 +88,18 @@ public class DMNavigationServicePort extends DMAbstractServicePort implements Na NodeRef[] nodeRefs = cmisService.getCheckedOut(AuthenticationUtil.getFullyAuthenticatedUser(), folderRef, (folderRef == null)); Cursor cursor = createCursor(nodeRefs.length, skipCount, maxItems); - object.value = new ArrayList(); - List resultListing = object.value; + CmisObjectListType result = new CmisObjectListType(); + List resultListing = result.getObjects(); for (int index = cursor.getStartRow(); index <= cursor.getEndRow(); index++) { - resultListing.add(createCmisObject(nodeRefs[index].toString(), propertyFilter)); + resultListing.add(createCmisObject(nodeRefs[index].toString(), propertyFilter, includeAllowableActions)); } + result.setHasMoreItems(new Boolean(cursor.getEndRow() < (nodeRefs.length - 1))); - hasMoreItems.value = new Boolean(cursor.getEndRow() < (nodeRefs.length - 1)); - - // TODO: includeAllowableActions, includeRelationships - + // TODO: includeAllowableActions, includeRelationships, renditions + + return result; } /** @@ -116,9 +111,9 @@ public class DMNavigationServicePort extends DMAbstractServicePort implements Na * @return collection of CmisObjectType and boolean hasMoreItems * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FILTER_NOT_VALID) */ - public void getChildren(String repositoryId, String folderId, String filter, Boolean includeAllowableActions, EnumIncludeRelationships includeRelationships, - Boolean includeRenditions, Boolean includeACL, BigInteger maxItems, BigInteger skipCount, String orderBy, Holder> object, - Holder hasMoreItems) throws CmisException + public CmisObjectInFolderListType getChildren(String repositoryId, String folderId, String filter, String orderBy, Boolean includeAllowableActions, + EnumIncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegments, BigInteger maxItems, BigInteger skipCount, + CmisExtensionType extension) throws CmisException { checkRepositoryId(repositoryId); PropertyFilter propertyFilter = createPropertyFilter(filter); @@ -131,27 +126,194 @@ public class DMNavigationServicePort extends DMAbstractServicePort implements Na { orderingFields = checkAndParseOrderByClause(orderBy); } - + // TODO: Ordering functionality SHOULD be moved to getChildren service method - NodeRef[] listing = cmisService.getChildren(folderNodeRef, CMISTypesFilterEnum.ANY); + NodeRef[] listing = cmisService.getChildren(folderNodeRef, CMISTypesFilterEnum.ANY); + CmisObjectInFolderListType result = new CmisObjectInFolderListType(); + Cursor cursor = createCursor(listing.length, skipCount, maxItems); - object.value = new ArrayList(); - List resultListing = object.value; - for (int index = cursor.getStartRow(); index <= cursor.getEndRow(); index++) { - resultListing.add(createCmisObject(listing[index].toString(), propertyFilter)); + CmisObjectType cmisObject = createCmisObject(listing[index].toString(), propertyFilter, includeAllowableActions); + CmisObjectInFolderType cmisObjectInFolder = new CmisObjectInFolderType(); + cmisObjectInFolder.setObject(cmisObject); + if (includePathSegments != null && includePathSegments) + { + cmisObjectInFolder.setPathSegment(propertiesUtil.getProperty(listing[index], CMISDictionaryModel.PROP_NAME, "")); + } + result.getObjects().add(cmisObjectInFolder); } - hasMoreItems.value = new Boolean(cursor.getEndRow() < (listing.length - 1)); - - // TODO: Process includeAllowableActions, includeRelationships, includeRenditions, includeACL + result.setHasMoreItems(cursor.getEndRow() < (listing.length - 1)); + result.setNumItems(BigInteger.valueOf(listing.length)); + // TODO: Process includeAllowableActions, includeRelationships, includeRenditions, includeACL + return result; + } + + /** + * Gets the list of descendant objects contained at one or more levels in the tree rooted at the specified folder. Only the filter-selected properties associated with each + * object are returned. The content-stream is not returned. For paging through the children (depth of 1) only use {@link #getChildren(GetChildren parameters)}. + * + * @param parameters repositoryId: repository Id; folderId: folder Id; depth: 1 this folder only (Default), N folders deep, -1 for all levels; filter: property filter; + * includeAllowableActions; includeRelationships; + * @return collection of CmisObjectType + * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FILTER_NOT_VALID) + */ + public List getDescendants(String repositoryId, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, + EnumIncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegments, CmisExtensionType extension) throws CmisException + { + CmisObjectInFolderContainerType objectInFolderContainerType = getDescedantsTree(repositoryId, folderId, depth, filter, includeAllowableActions, includeRelationships, + renditionFilter, includePathSegments, CMISTypesFilterEnum.ANY); + return objectInFolderContainerType.getChildren(); + } + + /** + * Gets the list of descendant objects contained at one or more levels in the tree rooted at the specified folder. Only the filter-selected properties associated with each + * object are returned. The content-stream is not returned. For paging through the children (depth of 1) only use {@link #getChildren(GetChildren parameters)}. + * + * @param parameters repositoryId: repository Id; folderId: folder Id; depth: 1 this folder only (Default), N folders deep, -1 for all levels; filter: property filter; + * includeAllowableActions; includeRelationships; + * @return collection of CmisObjectType + * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FILTER_NOT_VALID) + */ + public List getFolderTree(String repositoryId, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, + EnumIncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegments, CmisExtensionType extension) throws CmisException + { + CmisObjectInFolderContainerType objectInFolderContainerType = getDescedantsTree(repositoryId, folderId, depth, filter, includeAllowableActions, includeRelationships, + renditionFilter, includePathSegments, CMISTypesFilterEnum.FOLDERS); + return objectInFolderContainerType.getChildren(); + } + + /** + * Returns the parent folder object, and optionally all ancestor folder objects, above a specified folder object. + * + * @param parameters repositoryId: repository Id; folderId: folder Id; filter: property filter; includeAllowableActions; includeRelationships; returnToRoot: If false, return + * only the immediate parent of the folder. If true, return an ordered list of all ancestor folders from the specified folder to the root folder + * @return collection of CmisObjectType + * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FILTER_NOT_VALID) + */ + public CmisObjectType getFolderParent(String repositoryId, String folderId, String filter, CmisExtensionType extension) throws CmisException + { + checkRepositoryId(repositoryId); + + if ((filter != null) && !filter.equals("") && !filter.equals("*")) + { + if (!filter.contains(CMISDictionaryModel.PROP_PARENT_ID)) + { + filter = CMISDictionaryModel.PROP_PARENT_ID + FILTER_TOKENS_DELIMETER + filter; + } + + if (!filter.contains(CMISDictionaryModel.PROP_OBJECT_ID)) + { + filter = CMISDictionaryModel.PROP_OBJECT_ID + FILTER_TOKENS_DELIMETER + filter; + } + } + + PropertyFilter propertyFilter = createPropertyFilter(filter); + + NodeRef parentRef = receiveParent(folderId); + CmisObjectType result = createCmisObject(parentRef, propertyFilter, false); + + return result; + } + + /** + * Returns the parent folders for the specified non-folder, fileable object. + * + * @param parameters repositoryId: repository Id; objectId: object Id; filter: property filter; includeAllowableActions; includeRelationships; + * @return collection of CmisObjectType + * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, + * FILTER_NOT_VALID) + */ + public List getObjectParents(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, + EnumIncludeRelationships includeRelationships, String renditionFilter, Boolean includeRelativePathSegment, CmisExtensionType extension) throws CmisException + { + checkRepositoryId(repositoryId); + PropertyFilter propertyFilter = createPropertyFilter(filter); + + NodeRef childNode = (NodeRef) cmisObjectsUtils.getIdentifierInstance(objectId, AlfrescoObjectType.DOCUMENT_OBJECT); + List parents = receiveObjectParents(childNode); + + List result = new ArrayList(); + String relativePathSegment = propertiesUtil.getProperty(childNode, CMISDictionaryModel.PROP_NAME, ""); + for (NodeRef objectNodeRef : parents) + { + CmisObjectType cmisObject = createCmisObject(objectNodeRef, propertyFilter, includeAllowableActions); + //TODO: includeRelationship, renditions + CmisObjectParentsType cmisObjectParentsType = new CmisObjectParentsType(); + cmisObjectParentsType.setObject(cmisObject); + if (includeRelativePathSegment != null && includeRelativePathSegment) + { + cmisObjectParentsType.setRelativePathSegment(relativePathSegment); + } + result.add(cmisObjectParentsType); + + } + return result; + } + + private CmisObjectInFolderContainerType getDescedantsTree(String repositoryId, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, + EnumIncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegments, + CMISTypesFilterEnum types) throws CmisException + { + checkRepositoryId(repositoryId); + PropertyFilter propertyFilter = createPropertyFilter(filter); + depth = (depth == null) ? (BigInteger.ONE.add(BigInteger.ONE)) : depth; + depth = depth.equals(BigInteger.valueOf(-1)) ? BigInteger.valueOf(Integer.MAX_VALUE) : depth; + long maxDepth = depth.longValue(); + checkDepthParameter(depth); + + NodeRef folderNodeRef = cmisObjectsUtils.getIdentifierInstance(folderId, AlfrescoObjectType.FOLDER_OBJECT); + Stack descedantsStack = new Stack(); + CmisObjectInFolderContainerType objectInFolderContainer = createObjectInFolderContainer(folderNodeRef, propertyFilter, includeAllowableActions, includeRelationships, renditionFilter, includePathSegments); + NodeRef[] children = cmisService.getChildren(folderNodeRef, types); + for (NodeRef childRef : children) + { + descedantsStack.push(new RecursiveElement(objectInFolderContainer, 1, childRef)); + } + while (!descedantsStack.isEmpty()) + { + RecursiveElement element = descedantsStack.pop(); + CmisObjectInFolderContainerType currentContainer = createObjectInFolderContainer(folderNodeRef, propertyFilter, includeAllowableActions, includeRelationships, + renditionFilter, includePathSegments); + element.getParentContainerType().getChildren().add(currentContainer); + if (element.getDepth() <= maxDepth) + { + children = cmisService.getChildren(element.getCurrentNodeRef(), types); + if (children != null) + { + for (NodeRef childRef : children) + { + descedantsStack.push(new RecursiveElement(currentContainer, element.getDepth() + 1, childRef)); + } + } + } + } + return objectInFolderContainer; + } + + private CmisObjectInFolderContainerType createObjectInFolderContainer(NodeRef nodeRef, PropertyFilter filter, Boolean includeAllowableActions, + EnumIncludeRelationships includeRelationships, String renditionFilter, Boolean includePathSegments) throws CmisException + { + includeAllowableActions = includeAllowableActions == null ? Boolean.FALSE : includeAllowableActions; + CmisObjectType cmisObject = createCmisObject(nodeRef, filter, includeAllowableActions); + //TODO: add relationships and renditions + + CmisObjectInFolderType objectInFolderType = new CmisObjectInFolderType(); + objectInFolderType.setObject(cmisObject); + if (includePathSegments != null && includePathSegments) + { + String path = propertiesUtil.getProperty(nodeRef, CMISDictionaryModel.PROP_NAME, ""); + objectInFolderType.setPathSegment(path); + } + CmisObjectInFolderContainerType result = new CmisObjectInFolderContainerType(); + result.setObjectInFolder(objectInFolderType); + return result; } - // TODO: This method will create appropriate Ordering fields private List> checkAndParseOrderByClause(String orderByClause) throws CmisException { List> result = new LinkedList>(); @@ -174,88 +336,6 @@ public class DMNavigationServicePort extends DMAbstractServicePort implements Na return result; } - /** - * Gets the list of descendant objects contained at one or more levels in the tree rooted at the specified folder. Only the filter-selected properties associated with each - * object are returned. The content-stream is not returned. For paging through the children (depth of 1) only use {@link #getChildren(GetChildren parameters)}. - * - * @param parameters repositoryId: repository Id; folderId: folder Id; depth: 1 this folder only (Default), N folders deep, -1 for all levels; filter: property filter; - * includeAllowableActions; includeRelationships; - * @return collection of CmisObjectType - * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FILTER_NOT_VALID) - */ - public List getDescendants(String repositoryId, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, - EnumIncludeRelationships includeRelationships, Boolean includeRenditions, String orderBy) throws CmisException - { - return getDescendants(repositoryId, folderId, depth, filter, includeAllowableActions, includeRelationships, includeRenditions, orderBy, null); - } - - /** - * Gets the list of descendant objects contained at one or more levels in the tree rooted at the specified folder. Only the filter-selected properties associated with each - * object are returned. The content-stream is not returned. For paging through the children (depth of 1) only use {@link #getChildren(GetChildren parameters)}. - * - * @param parameters repositoryId: repository Id; folderId: folder Id; depth: 1 this folder only (Default), N folders deep, -1 for all levels; filter: property filter; - * includeAllowableActions; includeRelationships; - * @return collection of CmisObjectType - * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FILTER_NOT_VALID) - */ - public List getFolderTree(String repositoryId, String folderId, String filter, BigInteger depth, Boolean includeAllowableActions, - EnumIncludeRelationships includeRelationships) throws CmisException - { - return getDescendants(repositoryId, folderId, depth, filter, includeAllowableActions, includeRelationships, null, null, CMISTypesFilterEnum.FOLDERS); - } - - /** - * Returns the parent folder object, and optionally all ancestor folder objects, above a specified folder object. - * - * @param parameters repositoryId: repository Id; folderId: folder Id; filter: property filter; includeAllowableActions; includeRelationships; returnToRoot: If false, return - * only the immediate parent of the folder. If true, return an ordered list of all ancestor folders from the specified folder to the root folder - * @return collection of CmisObjectType - * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FILTER_NOT_VALID) - */ - public CmisObjectType getFolderParent(String repositoryId, String folderId, String filter) throws CmisException - { - checkRepositoryId(repositoryId); - - if ((filter != null) && !filter.equals("") && !filter.equals("*")) - { - if (!filter.contains(CMISDictionaryModel.PROP_PARENT_ID)) - { - filter = CMISDictionaryModel.PROP_PARENT_ID + FILTER_TOKENS_DELIMETER + filter; - } - - if (!filter.contains(CMISDictionaryModel.PROP_OBJECT_ID)) - { - filter = CMISDictionaryModel.PROP_OBJECT_ID + FILTER_TOKENS_DELIMETER + filter; - } - } - - PropertyFilter propertyFilter = createPropertyFilter(filter); - - NodeRef parentRef = receiveParent(folderId); - CmisObjectType result = createCmisObject(parentRef, propertyFilter); - - return result; - } - - /** - * Returns the parent folders for the specified non-folder, fileable object. - * - * @param parameters repositoryId: repository Id; objectId: object Id; filter: property filter; includeAllowableActions; includeRelationships; - * @return collection of CmisObjectType - * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, - * FILTER_NOT_VALID) - */ - public List getObjectParents(String repositoryId, String objectId, String filter) throws CmisException - { - checkRepositoryId(repositoryId); - PropertyFilter propertyFilter = createPropertyFilter(filter); - - List parents = receiveObjectParents((NodeRef) cmisObjectsUtils.getIdentifierInstance(objectId, AlfrescoObjectType.DOCUMENT_OBJECT)); - List result = new ArrayList(); - createCmisObjectList(propertyFilter, parents, result); - return result; - } - private NodeRef receiveParent(String targetChildIdentifier) throws CmisException { if (targetChildIdentifier.equals(cmisService.getDefaultRootNodeRef().toString())) @@ -264,32 +344,7 @@ public class DMNavigationServicePort extends DMAbstractServicePort implements Na } return receiveNextParentNodeReference((NodeRef) cmisObjectsUtils.getIdentifierInstance(targetChildIdentifier, AlfrescoObjectType.FOLDER_OBJECT), new ArrayList()); } - - private List getDescendants(String repositoryId, String folderId, BigInteger depth, String filter, Boolean includeAllowableActions, - EnumIncludeRelationships includeRelationships, Boolean includeRenditions, String orderBy, CMISTypesFilterEnum type) throws CmisException - { - checkRepositoryId(repositoryId); - PropertyFilter propertyFilter = createPropertyFilter(filter); - depth = (depth == null) ? (BigInteger.ONE) : depth; - checkDepthParameter(depth); - - HierarchyReceiverStrategy receiver = createHierarchyReceiver(type, depth); - - List> orderingFields = null; - if ((orderBy != null) && !orderBy.equals("")) - { - orderingFields = checkAndParseOrderByClause(orderBy); - } - - List result = new ArrayList(); - // TODO: Ordering functionality SHOULD be moved to getChildren service method - createCmisObjectList(propertyFilter, receiver.receiveHierarchy(folderId, orderingFields), result); - - // TODO: includeAllowableActions, includeRelationships, includeRenditions - - return result; - } - + private void checkDepthParameter(BigInteger depth) throws CmisException { if (depth.equals(BigInteger.ZERO) || (depth.compareTo(FULL_DESCENDANTS_HIERARCHY_CONDITION) < EQUALS_CONDITION_VALUE)) @@ -318,133 +373,33 @@ public class DMNavigationServicePort extends DMAbstractServicePort implements Na } return parents; } - - private HierarchyReceiverStrategy createHierarchyReceiver(CMISTypesFilterEnum type, BigInteger finalDepth) + + private class RecursiveElement { - if (finalDepth.equals(FULL_DESCENDANTS_HIERARCHY_CONDITION)) + private CmisObjectInFolderContainerType parentContainerType; + private int depth; + private NodeRef currentNodeRef; + + public RecursiveElement(CmisObjectInFolderContainerType parentContainerType, int depth, NodeRef currentNodeRef) { - return new FullHierarchyReceiver(type); + this.parentContainerType = parentContainerType; + this.depth = depth; + this.currentNodeRef = currentNodeRef; } - else + + public CmisObjectInFolderContainerType getParentContainerType() { - return new LayerConstrainedHierarchyReceiver(type, finalDepth); + return parentContainerType; + } + + public int getDepth() + { + return depth; + } + + public NodeRef getCurrentNodeRef() + { + return currentNodeRef; } } - - private void separateDescendantsObjects(List descendantsFolders, List currentLayerFolders, List currentLayerDocuments, - List> orderingFields) - { - for (NodeRef element : descendantsFolders) - { - // TODO: Ordering functionality SHOULD be moved to getChildren service method - currentLayerFolders.addAll(Arrays.asList(cmisService.getChildren(element, CMISTypesFilterEnum.FOLDERS))); - - // TODO: Ordering functionality SHOULD be moved to getChildren service method - currentLayerDocuments.addAll(Arrays.asList(cmisService.getChildren(element, CMISTypesFilterEnum.DOCUMENTS))); - } - } - - private List performDescendantsResultObjectsStoring(List resultList, List descendantsFolders, List currentLayerFolders, - List currentLayerDocuments, List> orderingFields, CMISTypesFilterEnum type) - { - separateDescendantsObjects(descendantsFolders, currentLayerFolders, currentLayerDocuments, orderingFields); - if (CMISTypesFilterEnum.ANY.equals(type) || CMISTypesFilterEnum.FOLDERS.equals(type)) - { - resultList.addAll(currentLayerFolders); - } - if (CMISTypesFilterEnum.ANY.equals(type) || CMISTypesFilterEnum.DOCUMENTS.equals(type)) - { - resultList.addAll(currentLayerDocuments); - } - return currentLayerFolders; - } - - /** - * This interface introduce common type for Alfresco objects hierarchy receiving - */ - private interface HierarchyReceiverStrategy - { - /** - * @param rootFolderIdentifier the source folder Id from whose hierarchy bypassing will be started - * @return List that contains all appropriates layers of Alfresco objects - * @throws InvalidArgumentException - */ - public List receiveHierarchy(String rootFolderIdentifier, List> orderFields) throws CmisException; - } - - /** - * @see HierarchyReceiverStrategy - */ - private class FullHierarchyReceiver implements HierarchyReceiverStrategy - { - private List descendantsFolders = new LinkedList(); - private List resultList = new LinkedList(); - private CMISTypesFilterEnum type = CMISTypesFilterEnum.ANY; - - public FullHierarchyReceiver(CMISTypesFilterEnum type) - { - if (type != null) - { - this.type = type; - } - } - - /** - * Traverse Alfresco objects hierarchy until there is some Folder-objects can be found - */ - public List receiveHierarchy(String rootFolderIdentifier, List> orderingFields) throws CmisException - { - descendantsFolders.add((NodeRef) cmisObjectsUtils.getIdentifierInstance(rootFolderIdentifier, AlfrescoObjectType.FOLDER_OBJECT)); - while (!descendantsFolders.isEmpty()) - { - descendantsFolders = performDescendantsResultObjectsStoring(resultList, descendantsFolders, new LinkedList(), new LinkedList(), orderingFields, - type); - } - - return resultList; - } - } - - /** - * @see HierarchyReceiverStrategy - */ - private class LayerConstrainedHierarchyReceiver implements HierarchyReceiverStrategy - { - private List descendantsFolders = new LinkedList(); - private BigInteger finalDepth; - private BigInteger currentDepth = BigInteger.ZERO; - private List resultList = new LinkedList(); - private CMISTypesFilterEnum type = CMISTypesFilterEnum.ANY; - - /** - * @param returnObjectsType flag that specifies objects of which type are need to be returned - * @param finalDepth the number of final Alfresco hierarchy layer: 1 - only children of specified folder; -1 - full descendants hierarchy - */ - public LayerConstrainedHierarchyReceiver(CMISTypesFilterEnum type, BigInteger finalDepth) - { - this.finalDepth = finalDepth; - if (type != null) - { - this.type = type; - } - } - - /** - * This method of this class receives Alfresco objects hierarchy until specified layer number - */ - public List receiveHierarchy(String rootFolderIdentifier, List> orderingFields) throws CmisException - { - descendantsFolders.add((NodeRef) cmisObjectsUtils.getIdentifierInstance(rootFolderIdentifier, AlfrescoObjectType.FOLDER_OBJECT)); - - do - { - descendantsFolders = performDescendantsResultObjectsStoring(this.resultList, this.descendantsFolders, new LinkedList(), new LinkedList(), - orderingFields, type); - currentDepth = currentDepth.add(BigInteger.ONE); - } while (!descendantsFolders.isEmpty() && (currentDepth.compareTo(this.finalDepth) < EQUALS_CONDITION_VALUE)); - - return this.resultList; - } - } - } diff --git a/source/java/org/alfresco/repo/cmis/ws/DMObjectServicePort.java b/source/java/org/alfresco/repo/cmis/ws/DMObjectServicePort.java index f74e3c450f..f96abad625 100644 --- a/source/java/org/alfresco/repo/cmis/ws/DMObjectServicePort.java +++ b/source/java/org/alfresco/repo/cmis/ws/DMObjectServicePort.java @@ -30,6 +30,8 @@ import java.math.BigInteger; import java.util.Arrays; import java.util.List; import java.util.Map; +import java.util.regex.Matcher; +import java.util.regex.Pattern; import javax.activation.DataHandler; import javax.xml.ws.Holder; @@ -38,6 +40,7 @@ import org.alfresco.cmis.CMISContentStreamAllowedEnum; import org.alfresco.cmis.CMISDictionaryModel; import org.alfresco.cmis.CMISScope; import org.alfresco.cmis.CMISTypeDefinition; +import org.alfresco.cmis.dictionary.CMISFolderTypeDefinition; import org.alfresco.model.ContentModel; import org.alfresco.repo.cmis.PropertyFilter; import org.alfresco.repo.cmis.ws.DeleteTreeResponse.FailedToDelete; @@ -51,13 +54,9 @@ import org.alfresco.service.cmr.lock.NodeLockedException; import org.alfresco.service.cmr.model.FileExistsException; import org.alfresco.service.cmr.model.FileInfo; import org.alfresco.service.cmr.model.FileNotFoundException; -import org.alfresco.service.cmr.repository.AssociationRef; -import org.alfresco.service.cmr.repository.ChildAssociationRef; import org.alfresco.service.cmr.repository.ContentReader; import org.alfresco.service.cmr.repository.ContentWriter; import org.alfresco.service.cmr.repository.NodeRef; -import org.alfresco.service.cmr.security.AccessStatus; -import org.alfresco.service.cmr.security.PermissionService; import org.alfresco.service.cmr.version.VersionType; import org.alfresco.service.namespace.QName; @@ -67,20 +66,14 @@ import org.alfresco.service.namespace.QName; * @author Dmitry Lazurkin * @author Dmitry Velichkevich */ -@javax.jws.WebService(name = "ObjectServicePort", serviceName = "ObjectService", portName = "ObjectServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", endpointInterface = "org.alfresco.repo.cmis.ws.ObjectServicePort") +@javax.jws.WebService(name = "ObjectServicePort", serviceName = "ObjectService", portName = "ObjectServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", endpointInterface = "org.alfresco.repo.cmis.ws.ObjectServicePort") public class DMObjectServicePort extends DMAbstractServicePort implements ObjectServicePort { - private static final int SINGLE_PARENT_CONDITION = 1; private static final String VERSION_DELIMETER = "."; + private static final String FOLDER_PATH_MATCHING_PATTERN = "^(/){1}([\\p{L}\\p{Digit} _\\-()]*(/)?)*[\\p{L}\\p{Digit} _\\-()]$"; - private PermissionService permissionService; private DictionaryService dictionaryService; - public void setPermissionService(PermissionService permissionService) - { - this.permissionService = permissionService; - } - public void setDictionaryService(DictionaryService dictionaryService) { this.dictionaryService = dictionaryService; @@ -98,80 +91,85 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, STORAGE, * STREAM_NOT_SUPPORTED) */ - public String createDocument(String repositoryId, CmisPropertiesType properties, String folderId, CmisContentStreamType contentStream, EnumVersioningState versioningState, - List applyPolicies, CmisAccessControlListType addACEs, CmisAccessControlListType removeACEs) throws CmisException + public void createDocument(String repositoryId, CmisPropertiesType properties, String folderId, CmisContentStreamType contentStream, EnumVersioningState versioningState, + List policies, CmisAccessControlListType addACEs, CmisAccessControlListType removeACEs, Holder extension, Holder objectId) + throws CmisException { - // TODO: process Policies and ACL - checkRepositoryId(repositoryId); NodeRef parentNodeRef = safeGetFolderNodeRef(folderId); + if (null == properties) + { + throw cmisObjectsUtils.createCmisException("Properties input parameter is Mandatory", EnumServiceException.INVALID_ARGUMENT); + } Map propertiesMap = propertiesUtil.getPropertiesMap(properties); String typeId = extractAndAssertTypeId(propertiesMap); CMISTypeDefinition typeDef = cmisDictionaryService.findType(typeId); - String documentName = checkConstraintsAndGetName(typeId, typeDef, parentNodeRef, contentStream, propertiesMap, versioningState); - NodeRef newDocumentNodeRef = fileFolderService.create(parentNodeRef, documentName, typeDef.getTypeId().getQName()).getNodeRef(); - ContentWriter writer = fileFolderService.getWriter(newDocumentNodeRef); - String mimeType = (String) propertiesMap.get(CMISDictionaryModel.PROP_CONTENT_STREAM_MIME_TYPE); - if (mimeType != null) + + if (null != contentStream) { - writer.setMimetype(mimeType); + ContentWriter writer = fileFolderService.getWriter(newDocumentNodeRef); + String mimeType = (String) propertiesMap.get(CMISDictionaryModel.PROP_CONTENT_STREAM_MIME_TYPE); + mimeType = (null == mimeType) ? (contentStream.getMimeType()) : (mimeType); + if (null != mimeType) + { + writer.setMimetype(mimeType); + } + else + { + throw cmisObjectsUtils.createCmisException("Content Stream Mime Type was not specified", EnumServiceException.STORAGE); + } + InputStream inputstream = null; + try + { + inputstream = contentStream.getStream().getInputStream(); + } + catch (IOException e) + { + throw cmisObjectsUtils.createCmisException(e.toString(), EnumServiceException.CONSTRAINT); + } + writer.putContent(inputstream); } - else if ((contentStream != null) && (contentStream.getMimeType() != null)) - { - writer.setMimetype(contentStream.getMimeType()); - } - else - { - throw cmisObjectsUtils.createCmisException("ContentStream meime type was not specified", EnumServiceException.CONSTRAINT); - } - InputStream inputstream = null; + appendDataToDocument(newDocumentNodeRef, properties, versioningState, policies, addACEs, removeACEs, objectId); + } + + /** + * Creates a document object as a copy of the given source document in the specified location + * + * @param repositoryId repository Id + * @param properties CMIS properties + * @param folderId parent folder for this new document + * @param contentStream content stream + * @param versioningState versioning state (checkedout, minor, major) + * @return Id of the created document object + * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, STORAGE, + * STREAM_NOT_SUPPORTED) + */ + public void createDocumentFromSource(String repositoryId, String sourceId, CmisPropertiesType properties, String folderId, EnumVersioningState versioningState, + List policies, CmisAccessControlListType addACEs, CmisAccessControlListType removeACEs, Holder extension, Holder objectId) + throws CmisException + { + checkRepositoryId(repositoryId); + NodeRef folderNodeRef = cmisObjectsUtils.getIdentifierInstance(folderId, AlfrescoObjectType.FOLDER_OBJECT); + NodeRef sourceNodeRef = cmisObjectsUtils.getIdentifierInstance(sourceId, AlfrescoObjectType.DOCUMENT_OR_FOLDER_OBJECT); + String name = propertiesUtil.getProperty(sourceNodeRef, CMISDictionaryModel.PROP_NAME, null); + NodeRef newDocumentNodeRef; try { - inputstream = contentStream.getStream().getInputStream(); + newDocumentNodeRef = fileFolderService.copy(sourceNodeRef, folderNodeRef, name).getNodeRef(); } - catch (IOException e) + catch (FileExistsException e) { - throw cmisObjectsUtils.createCmisException(e.toString(), EnumServiceException.CONSTRAINT); + throw cmisObjectsUtils.createCmisException("Document already exists", EnumServiceException.CONTENT_ALREADY_EXISTS); } - writer.putContent(inputstream); - - if (versioningState == null) + catch (FileNotFoundException e) { - versioningState = EnumVersioningState.MAJOR; + throw cmisObjectsUtils.createCmisException("Source document not found", EnumServiceException.INVALID_ARGUMENT); } - - propertiesUtil.setProperties(newDocumentNodeRef, properties, createPropertyFilter(createIgnoringFilter(new String[] { CMISDictionaryModel.PROP_NAME, - CMISDictionaryModel.PROP_OBJECT_TYPE_ID }))); - switch (versioningState) - { - case CHECKEDOUT: - newDocumentNodeRef = checkoutNode(newDocumentNodeRef); - break; - case MAJOR: - this.versionService.createVersion(newDocumentNodeRef, createVersionProperties(INITIAL_VERSION_DESCRIPTION, VersionType.MAJOR)); - break; - case MINOR: - this.versionService.createVersion(newDocumentNodeRef, createVersionProperties(INITIAL_VERSION_DESCRIPTION, VersionType.MINOR)); - break; - } - - String versionLabel = propertiesUtil.getProperty(newDocumentNodeRef, CMISDictionaryModel.PROP_VERSION_LABEL, ""); - return versionLabel != null && versionLabel.contains(VERSION_DELIMETER) ? newDocumentNodeRef.toString() + CmisObjectsUtils.NODE_REFERENCE_ID_DELIMETER + versionLabel - : newDocumentNodeRef.toString(); + appendDataToDocument(newDocumentNodeRef, properties, versioningState, policies, addACEs, removeACEs, objectId); } - - private String extractAndAssertTypeId(Map propertiesMap) throws CmisException - { - String typeId = (String) propertiesMap.get(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); - if ((null == typeId) || "".equals(typeId)) - { - throw cmisObjectsUtils.createCmisException("Type Id property required", EnumServiceException.INVALID_ARGUMENT); - } - return typeId; - } - + /** * Creates a folder object of the specified type. * @@ -181,8 +179,9 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object * @return Id of the created folder object * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, STORAGE) */ - public String createFolder(String repositoryId, CmisPropertiesType properties, String folderId, List applyPolicies, CmisAccessControlListType addACEs, - CmisAccessControlListType removeACEs) throws CmisException + + public void createFolder(String repositoryId, CmisPropertiesType properties, String folderId, List policies, CmisAccessControlListType addACEs, + CmisAccessControlListType removeACEs, Holder extension, Holder objectId) throws CmisException { // TODO: process Policies and ACL @@ -215,7 +214,7 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object NodeRef newFolderNodeRef = fileFolderService.create(folderNodeRef, name, type.getTypeId().getQName()).getNodeRef(); propertiesUtil.setProperties(newFolderNodeRef, properties, createPropertyFilter(createIgnoringFilter(new String[] { CMISDictionaryModel.PROP_NAME, CMISDictionaryModel.PROP_OBJECT_TYPE_ID }))); - return propertiesUtil.getProperty(newFolderNodeRef, CMISDictionaryModel.PROP_OBJECT_ID, null); + objectId.value = propertiesUtil.getProperty(newFolderNodeRef, CMISDictionaryModel.PROP_OBJECT_ID, null); } catch (FileExistsException e) { @@ -223,27 +222,6 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object } } - private String createIgnoringFilter(String[] propertyNames) - { - StringBuilder filter = new StringBuilder(""); - - for (String propertyName : propertyNames) - { - if ((null != propertyName) && !propertyName.equals("")) - { - filter.append(propertyName); - filter.append(PropertyFilter.PROPERTY_NAME_TOKENS_DELIMETER); - } - } - - if (filter.length() > 0) - { - filter.deleteCharAt(filter.length() - 1); - } - - return filter.toString(); - } - /** * Creates a policy object of the specified type, and optionally adds the policy to a folder. * @@ -253,7 +231,8 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object * @return Id of the created policy object * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, STORAGE) */ - public String createPolicy(String repositoryId, CmisPropertiesType properties, String folderId) throws CmisException + public void createPolicy(String repositoryId, CmisPropertiesType properties, String folderId, List policies, CmisAccessControlListType addACEs, + CmisAccessControlListType removeACEs, Holder extension, Holder objectId) throws CmisException { throw cmisObjectsUtils.createCmisException("Policy objects not supported", EnumServiceException.NOT_SUPPORTED); } @@ -269,18 +248,20 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object * @return Id of the created relationship object * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, STORAGE) */ - - public String createRelationship(String repositoryId, CmisPropertiesType properties, String sourceObjectId, String targetObjectId, List applyPolicies, - CmisAccessControlListType addACEs, CmisAccessControlListType removeACEs) throws CmisException + public void createRelationship(String repositoryId, CmisPropertiesType properties, List policies, CmisAccessControlListType addACEs, + CmisAccessControlListType removeACEs, Holder extension, Holder objectId) throws CmisException { // TODO: process Policies and ACL + Map propertiesMap = propertiesUtil.getPropertiesMap(properties); + String sourceObjectId = (String) propertiesMap.get(CMISDictionaryModel.PROP_SOURCE_ID); + String targetObjectId = (String) propertiesMap.get(CMISDictionaryModel.PROP_TARGET_ID); + checkRepositoryId(repositoryId); NodeRef sourceNodeRef = cmisObjectsUtils.getIdentifierInstance(sourceObjectId, AlfrescoObjectType.ANY_OBJECT); NodeRef targetNodeRef = cmisObjectsUtils.getIdentifierInstance(targetObjectId, AlfrescoObjectType.ANY_OBJECT); - - Map propertiesMap = propertiesUtil.getPropertiesMap(properties); + String typeId = (String) propertiesMap.get(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); CMISTypeDefinition relationshipType = cmisDictionaryService.findType(typeId); @@ -315,7 +296,8 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object throw cmisObjectsUtils.createCmisException("Target object type isn't allowed as target type", EnumServiceException.CONSTRAINT); } - return nodeService.createAssociation(sourceNodeRef, targetNodeRef, relationshipTypeQName).toString(); + String createdId = nodeService.createAssociation(sourceNodeRef, targetNodeRef, relationshipTypeQName).toString(); + objectId.value = createdId; } else { @@ -332,7 +314,7 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, STORAGE, * UPDATE_CONFLICT, VERSIONING) */ - public void deleteContentStream(String repositoryId, Holder documentId, String changeToken) throws CmisException + public void deleteContentStream(String repositoryId, Holder documentId, Holder changeToken, Holder extension) throws CmisException { // TODO: Process changeToken checkRepositoryId(repositoryId); @@ -356,7 +338,7 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, * UPDATE_CONFLICT) */ - public void deleteObject(String repositoryId, String objectId, Boolean allVersions) throws CmisException + public void deleteObject(String repositoryId, String objectId, Boolean allVersions, Holder extension) throws CmisException { // TODO: Process flag allVersions @@ -365,11 +347,15 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object NodeRef objectNodeReference = cmisObjectsUtils.getIdentifierInstance(objectId, AlfrescoObjectType.DOCUMENT_OR_FOLDER_OBJECT); checkForRootObject(repositoryId, objectId); checkObjectTypeAndAppropriateStates(objectNodeReference, nodeService.getType(objectNodeReference)); + if (allVersions != null && allVersions) + { + deleteAllVersions(repositoryId, objectId); + } if (!cmisObjectsUtils.deleteObject(objectNodeReference)) { throw cmisObjectsUtils.createCmisException("Currently authenticated User has no appropriate Permissions to delete specified Object", EnumServiceException.PERMISSION_DENIED); - } + } } /** @@ -384,22 +370,24 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object * @return collection of object IDs that failed to delete (if continueOnFailure is FALSE, then single object ID) * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, UPDATE_CONFLICT) */ - - public FailedToDelete deleteTree(String repositoryId, String folderId, EnumUnfileObject unfileObject, Boolean continueOnFailure) throws CmisException + public FailedToDelete deleteTree(String repositoryId, String folderId, Boolean allVersions, EnumUnfileObject unfileObject, Boolean continueOnFailure, + CmisExtensionType extension) throws CmisException { + //TODO: Process allVersions checkRepositoryId(repositoryId); checkUnfilingIsNotRequested(unfileObject); checkForRootObject(repositoryId, folderId); NodeRef folderNodeReference = cmisObjectsUtils.getIdentifierInstance(folderId, AlfrescoObjectType.FOLDER_OBJECT); FailedToDelete responce = new FailedToDelete(); - cmisObjectsUtils.deleteFolder(folderNodeReference, continueOnFailure, (unfileObject == EnumUnfileObject.DELETE), responce.getObjectId()); + allVersions = allVersions == null ? Boolean.FALSE : allVersions; + responce.getObjectIds().addAll(cmisObjectsUtils.deleteFolder(folderNodeReference, continueOnFailure, unfileObject, allVersions)); return responce; } /** - * Gets the specified Folder object + * Gets the specified object * * @param repositoryId repository Id * @param folderPath The path to the folder @@ -407,25 +395,63 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object * @return list of properties for the Folder * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND) */ - public CmisObjectType getFolderByPath(String repositoryId, String folderPath, String filter, Boolean includeAllowableActions, EnumIncludeRelationships includeRelationships, - Boolean includeACL) throws CmisException + public CmisObjectType getObject(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, EnumIncludeRelationships includeRelationships, + String renditionFilter, Boolean includePolicyIds, Boolean includeACL, CmisExtensionType extension) throws CmisException { checkRepositoryId(repositoryId); - if (folderPath == null) + + PropertyFilter propertyFilter = createPropertyFilter(filter); + + Object identifierInstance = cmisObjectsUtils.getIdentifierInstance(objectId, AlfrescoObjectType.ANY_OBJECT); + String identifier = identifierInstance.toString(); + + CmisPropertiesType properties = propertiesUtil.getPropertiesType(identifier, propertyFilter); + CmisObjectType object = new CmisObjectType(); + object.setProperties(properties); + if (includeAllowableActions) { - throw cmisObjectsUtils.createCmisException("folderPath is null", EnumServiceException.INVALID_ARGUMENT); + object.setAllowableActions(determineObjectAllowableActions(identifierInstance)); } - NodeRef folderNodeRef = resolvePathInfo(cmisService.getDefaultRootNodeRef(), folderPath); - Object identifierInstance = cmisObjectsUtils.getIdentifierInstance(folderNodeRef.toString(), AlfrescoObjectType.FOLDER_OBJECT); + // TODO: process relationships + // TODO: process ACL + // TODO: process rendition + return object; + } + + /** + * Gets the specified object by path + * + * @param repositoryId repository Id + * @param folderPath The path to the folder + * @param filter property filter + * @return list of properties for the Folder + * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND) + */ + public CmisObjectType getObjectByPath(String repositoryId, String path, String filter, Boolean includeAllowableActions, EnumIncludeRelationships includeRelationships, + String renditionFilter, Boolean includePolicyIds, Boolean includeACL, CmisExtensionType extension) throws CmisException + { + checkRepositoryId(repositoryId); + NodeRef objectNodeRef = resolvePathInfo(cmisService.getDefaultRootNodeRef(), path); + if ((null == path) || (null == objectNodeRef)) + { + throw cmisObjectsUtils.createCmisException("Path to Folder was not specified or Folder Path is invalid", EnumServiceException.INVALID_ARGUMENT); + } + + Object identifierInstance = cmisObjectsUtils.getIdentifierInstance(objectNodeRef.toString(), AlfrescoObjectType.ANY_OBJECT); PropertyFilter propertyFilter = createPropertyFilter(filter); CmisObjectType object = new CmisObjectType(); object.setProperties(propertiesUtil.getPropertiesType(identifierInstance.toString(), propertyFilter)); - // TODO: process allowable actions + if (includeAllowableActions) + { + object.setAllowableActions(determineObjectAllowableActions(identifierInstance)); + } + // TODO: process relationships // TODO: process ACL + // TODO: process rendition return object; } @@ -439,7 +465,7 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object * @return list of allowable actions * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME) */ - public CmisAllowableActionsType getAllowableActions(String repositoryId, String objectId) throws CmisException + public CmisAllowableActionsType getAllowableActions(String repositoryId, String objectId, CmisExtensionType extension) throws CmisException { checkRepositoryId(repositoryId); return determineObjectAllowableActions(cmisObjectsUtils.getIdentifierInstance(objectId, AlfrescoObjectType.ANY_OBJECT)); @@ -453,20 +479,13 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object * @return content stream * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, STREAM_NOT_SUPPORTED) */ - public CmisContentStreamType getContentStream(String repositoryId, String documentId, String streamId) throws CmisException + public CmisContentStreamType getContentStream(String repositoryId, String objectId, String streamId, BigInteger offset, BigInteger length, CmisExtensionType extension) + throws CmisException { // TODO: process streamId - // TODO: - // Specification says: - // Each CMIS protocol binding MAY provide a way for fetching a sub-range within - // a content stream, in a manner appropriate to that protocol. - // - // Implementation of sub-range fetching is suspended. - // See http://tools.oasis-open.org/issues/browse/CMIS-134 - checkRepositoryId(repositoryId); - NodeRef nodeRef = cmisObjectsUtils.getIdentifierInstance(documentId, AlfrescoObjectType.DOCUMENT_OBJECT); + NodeRef nodeRef = cmisObjectsUtils.getIdentifierInstance(objectId, AlfrescoObjectType.DOCUMENT_OBJECT); CMISTypeDefinition typeDefinition = cmisDictionaryService.findType(propertiesUtil.getProperty(nodeRef, CMISDictionaryModel.PROP_OBJECT_TYPE_ID, (String) null)); if (CMISContentStreamAllowedEnum.NOT_ALLOWED == typeDefinition.getContentStreamAllowed()) @@ -476,13 +495,13 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object CmisContentStreamType response = new CmisContentStreamType(); ContentReader reader = safeGetContentReader(nodeRef); - - response.setLength(BigInteger.valueOf(reader.getSize())); - response.setMimeType(reader.getMimetype()); String filename = propertiesUtil.getProperty(nodeRef, CMISDictionaryModel.PROP_NAME, null); response.setFilename(filename); - response.setStream(new DataHandler(new ContentReaderDataSource(reader, filename))); - + response.setMimeType(reader.getMimetype()); + ContentReaderDataSource dataSource = new ContentReaderDataSource(reader, filename, offset, length, reader.getSize()); + response.setStream(new DataHandler(dataSource)); + response.setLength(BigInteger.valueOf(dataSource.getSizeToRead())); + return response; } @@ -496,48 +515,47 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, STORAGE, * UPDATE_CONFLICT, VERSIONING) */ - public void moveObject(String repositoryId, Holder objectId, String targetFolderId, String sourceFolderId) throws CmisException + public void moveObject(String repositoryId, Holder objectId, String targetFolderId, String sourceFolderId, Holder extension) throws CmisException { checkRepositoryId(repositoryId); - - NodeRef objectNodeRef = null; - try - { - objectNodeRef = cmisObjectsUtils.getIdentifierInstance(objectId.value, AlfrescoObjectType.DOCUMENT_OR_FOLDER_OBJECT); - } - catch (CmisException e) - { - e.getFaultInfo().setType(EnumServiceException.CONSTRAINT); - throw e; - } - + NodeRef objectNodeRef = cmisObjectsUtils.getIdentifierInstance(objectId.value, AlfrescoObjectType.DOCUMENT_OR_FOLDER_OBJECT); // TODO: maybe this check will be need in terms of document version instead of final document (version specific filing is not supported) // checkOnLatestVersion(objectNodeRef); NodeRef targetFolderNodeRef = cmisObjectsUtils.getIdentifierInstance(targetFolderId, AlfrescoObjectType.FOLDER_OBJECT); - List parentsAssociations = nodeService.getParentAssocs(objectNodeRef); - if ((parentsAssociations != null) && (SINGLE_PARENT_CONDITION != nodeService.getParentAssocs(objectNodeRef).size())) + String objectType = propertiesUtil.getProperty(objectNodeRef, CMISDictionaryModel.PROP_OBJECT_TYPE_ID, null); + String targetType = propertiesUtil.getProperty(targetFolderNodeRef, CMISDictionaryModel.PROP_OBJECT_TYPE_ID, null); + CMISFolderTypeDefinition targetTypeDef = (CMISFolderTypeDefinition) ((null != targetType) ? (cmisDictionaryService.findType(targetType)) : (null)); + if (null == targetTypeDef) { - try - { - NodeRef sourceFolderNodeRef = cmisObjectsUtils.getIdentifierInstance(sourceFolderId, AlfrescoObjectType.FOLDER_OBJECT); - - if (!cmisObjectsUtils.isPrimaryObjectParent(sourceFolderNodeRef, objectNodeRef)) - { - changeObjectParentAssociation(objectNodeRef, targetFolderNodeRef, sourceFolderNodeRef); - return; - } - } - catch (CmisException e) - { - e.getFaultInfo().setMessage( - "Invalid source forlder for multifiled document was specified. Multifiled document must be moved from concrete folder. Exception message: " - + e.getFaultInfo().getMessage()); - throw e; - } + throw cmisObjectsUtils.createCmisException("Type Definition for Target Folder was not found", EnumServiceException.RUNTIME); + } + + // FIXME: targetTypeDef.getAllowedTargetTypes() should be changed to something like targetTypeDef.getAllowedChildTypes() + CMISTypeDefinition objectTypeDef = (null != objectType) ? (cmisDictionaryService.findType(objectType)) : (null); + if (!targetTypeDef.getAllowedTargetTypes().isEmpty() && !targetTypeDef.getAllowedTargetTypes().contains(objectTypeDef)) + { + throw cmisObjectsUtils.createCmisException(("Object with '" + objectType + "' Type can't be moved to Folder with '" + targetType + "' Type"), + EnumServiceException.CONSTRAINT); + } + NodeRef sourceFolderNodeRef = null; + if ((null != sourceFolderId) && !"".equals(sourceFolderId)) + { + sourceFolderNodeRef = cmisObjectsUtils.getIdentifierInstance(sourceFolderId, AlfrescoObjectType.FOLDER_OBJECT); + } + if ((null != sourceFolderNodeRef) && !cmisObjectsUtils.isPrimaryObjectParent(objectNodeRef, sourceFolderNodeRef)) + { + if (!cmisObjectsUtils.isChildOfThisFolder(objectNodeRef, sourceFolderNodeRef)) + { + throw cmisObjectsUtils.createCmisException("The Docuemnt is not a Child of Source Forlder that was specified", EnumServiceException.INVALID_ARGUMENT); + } + changeObjectParentAssociation(objectNodeRef, targetFolderNodeRef, sourceFolderNodeRef); + } + else + { + safeMove(objectNodeRef, targetFolderNodeRef); } - safeMove(objectNodeRef, targetFolderNodeRef); // TODO: Allowed_Child_Object_Types } @@ -552,8 +570,8 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object * CONTENT_ALREADY_EXISTS, STORAGE, STREAM_NOT_SUPPORTED, UPDATE_CONFLICT, VERSIONING) */ - public void setContentStream(String repositoryId, Holder documentId, Boolean overwriteFlag, String changeToken, CmisContentStreamType contentStream) - throws CmisException + public void setContentStream(String repositoryId, Holder documentId, Boolean overwriteFlag, Holder changeToken, CmisContentStreamType contentStream, + Holder extension) throws CmisException { checkRepositoryId(repositoryId); @@ -573,7 +591,8 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object throw cmisObjectsUtils.createCmisException("New Content Stream was not provided", EnumServiceException.STORAGE); } - if ((nodeService.getProperty(nodeRef, ContentModel.PROP_CONTENT) != null) && !overwriteFlag) + ContentReader reader = fileFolderService.getReader(nodeRef); + if ((null != reader) && !overwriteFlag) { throw cmisObjectsUtils.createCmisException("Content already exists", EnumServiceException.CONTENT_ALREADY_EXISTS); } @@ -605,7 +624,8 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, * UPDATE_CONFLICT, VERSIONING) */ - public void updateProperties(String repositoryId, Holder objectId, Holder changeToken, CmisPropertiesType properties) throws CmisException + public void updateProperties(String repositoryId, Holder objectId, Holder changeToken, CmisPropertiesType properties, Holder extension) + throws CmisException { // TODO: Process changeToken checkRepositoryId(repositoryId); @@ -624,8 +644,7 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object * @return collection collection of CmisObjectType * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FOLDER_NOT_VALID) */ - public CmisObjectType getProperties(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, EnumIncludeRelationships includeRelationships, - Boolean includeACL) throws CmisException + public CmisPropertiesType getProperties(String repositoryId, String objectId, String filter, CmisExtensionType extension) throws CmisException { checkRepositoryId(repositoryId); @@ -634,21 +653,89 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object Object identifierInstance = cmisObjectsUtils.getIdentifierInstance(objectId, AlfrescoObjectType.ANY_OBJECT); String identifier = identifierInstance.toString(); - CmisObjectType object = new CmisObjectType(); - object.setProperties(propertiesUtil.getPropertiesType(identifier, propertyFilter)); + CmisPropertiesType result = propertiesUtil.getPropertiesType(identifier, propertyFilter); - // TODO: process allowable actions - // TODO: process relationships - // TODO: process ACL - - return object; + return result; } - public List getRenditions(String repositoryId, String objectId, String renditionFilter, BigInteger maxItems, BigInteger skipCount) throws CmisException + /** + * Gets the renditions of an object, and optionally the operations that the user is allowed to perform on the object. + * + * @param parameters + * @return collection collection of CmisObjectType + * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FOLDER_NOT_VALID) + */ + public List getRenditions(String repositoryId, String objectId, String renditionFilter, BigInteger maxItems, BigInteger skipCount, + CmisExtensionType extension) throws CmisException { // TODO: Process renditions throw cmisObjectsUtils.createCmisException("Renditions objects not supported", EnumServiceException.NOT_SUPPORTED); } + + private void appendDataToDocument(NodeRef targetDocumentNodeRef, CmisPropertiesType properties, EnumVersioningState versioningState, + List policies, CmisAccessControlListType addACEs, CmisAccessControlListType removeACEs, Holder objectId) + throws CmisException + { + // TODO: process Policies and ACE + + propertiesUtil.setProperties(targetDocumentNodeRef, properties, createPropertyFilter(createIgnoringFilter(new String[] { CMISDictionaryModel.PROP_NAME, + CMISDictionaryModel.PROP_OBJECT_TYPE_ID }))); + + String versionLabel = null; + + // FIXME: change condition below to "typeDef.isVersionable()" when dictionary problem will be fixed + if (true) + { + versioningState = (null == versioningState) ? (EnumVersioningState.MINOR) : (versioningState); + switch (versioningState) + { + case CHECKEDOUT: + targetDocumentNodeRef = checkoutNode(targetDocumentNodeRef); + break; + case MAJOR: + this.versionService.createVersion(targetDocumentNodeRef, createVersionProperties(INITIAL_VERSION_DESCRIPTION, VersionType.MAJOR)); + break; + case MINOR: + this.versionService.createVersion(targetDocumentNodeRef, createVersionProperties(INITIAL_VERSION_DESCRIPTION, VersionType.MINOR)); + break; + } + versionLabel = propertiesUtil.getProperty(targetDocumentNodeRef, CMISDictionaryModel.PROP_VERSION_LABEL, ""); + } + String createdObjectId = ((null != versionLabel) && versionLabel.contains(VERSION_DELIMETER)) ? (targetDocumentNodeRef.toString() + CmisObjectsUtils.NODE_REFERENCE_ID_DELIMETER + versionLabel) + : (targetDocumentNodeRef.toString()); + objectId.value = createdObjectId; + } + + private String createIgnoringFilter(String[] propertyNames) + { + StringBuilder filter = new StringBuilder(""); + + for (String propertyName : propertyNames) + { + if ((null != propertyName) && !propertyName.equals("")) + { + filter.append(propertyName); + filter.append(PropertyFilter.PROPERTY_NAME_TOKENS_DELIMETER); + } + } + + if (filter.length() > 0) + { + filter.deleteCharAt(filter.length() - 1); + } + + return filter.toString(); + } + + private String extractAndAssertTypeId(Map propertiesMap) throws CmisException + { + String typeId = (String) propertiesMap.get(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); + if ((null == typeId) || "".equals(typeId)) + { + throw cmisObjectsUtils.createCmisException("Type Id property required", EnumServiceException.INVALID_ARGUMENT); + } + return typeId; + } private String checkConstraintsAndGetName(String documentTypeId, CMISTypeDefinition typeDef, NodeRef parentNodeRef, CmisContentStreamType contentStream, Map propertiesMap, EnumVersioningState versioningState) throws CmisException @@ -658,40 +745,41 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object throw cmisObjectsUtils.createCmisException(("Type with " + documentTypeId + "typeId was not found"), EnumServiceException.RUNTIME); } - if ((typeDef.getTypeId().getScope() != CMISScope.DOCUMENT) || !typeDef.isCreatable()) + if ((CMISScope.DOCUMENT != typeDef.getTypeId().getScope()) || !typeDef.isCreatable()) { - throw cmisObjectsUtils.createCmisException(("Invalid document type \"" + documentTypeId + "\". Specified type is not Document type or type is not Creatable"), + throw cmisObjectsUtils.createCmisException(("Invalid document type \"" + documentTypeId + "\". This type is not a Creatable Document type"), EnumServiceException.CONSTRAINT); } - if (CMISContentStreamAllowedEnum.NOT_ALLOWED == typeDef.getContentStreamAllowed()) + if ((null != contentStream) && CMISContentStreamAllowedEnum.NOT_ALLOWED == typeDef.getContentStreamAllowed()) { throw cmisObjectsUtils.createCmisException(("Content stream not allowed for \"" + documentTypeId + "\" document object type"), EnumServiceException.STREAM_NOT_SUPPORTED); } else { - if ((CMISContentStreamAllowedEnum.REQUIRED == typeDef.getContentStreamAllowed()) && (contentStream == null)) + if ((CMISContentStreamAllowedEnum.REQUIRED == typeDef.getContentStreamAllowed()) && (null == contentStream)) { throw cmisObjectsUtils.createCmisException("Content stream for document object of " + documentTypeId + " type is required", EnumServiceException.CONSTRAINT); } } - if (typeDef.isVersionable() && (versioningState != null)) + // FIXME: change condition below to "!typeDef.isVersionable() && (null != versioningState)" when dictionary problem will be fixed + if (false) { throw cmisObjectsUtils.createCmisException(("Verioning for \"" + documentTypeId + "\" document type is not allowed"), EnumServiceException.CONSTRAINT); } String folderTypeId = propertiesUtil.getProperty(parentNodeRef, CMISDictionaryModel.PROP_OBJECT_TYPE_ID, null); CMISTypeDefinition folderTypeDefinition = cmisDictionaryService.findType(folderTypeId); - if ((folderTypeDefinition.getAllowedTargetTypes() != null) && !folderTypeDefinition.getAllowedTargetTypes().isEmpty() + if ((null != folderTypeDefinition.getAllowedTargetTypes()) && !folderTypeDefinition.getAllowedTargetTypes().isEmpty() && !folderTypeDefinition.getAllowedTargetTypes().contains(typeDef)) { throw cmisObjectsUtils.createCmisException(("Children of \"" + documentTypeId + "\" type are not allowed for specified folder"), EnumServiceException.CONSTRAINT); } String result = (String) propertiesMap.get(CMISDictionaryModel.PROP_NAME); - if (result == null) + if (null == result) { throw cmisObjectsUtils.createCmisException("Name property not found", EnumServiceException.INVALID_ARGUMENT); } @@ -708,15 +796,20 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object } } - private NodeRef resolvePathInfo(NodeRef rootNodeRef, String folderPath) + private NodeRef resolvePathInfo(NodeRef rootNodeRef, String folderPath) throws CmisException { + Pattern pathMatchingPattern = Pattern.compile(FOLDER_PATH_MATCHING_PATTERN); + Matcher matcher = pathMatchingPattern.matcher(folderPath); + if (!matcher.matches()) + { + throw cmisObjectsUtils + .createCmisException( + "Folder path is invalid. Folder Path should be started with '/' (point of Root Folder) and containing several Path Elements (Folder Names) separated by '/'-symbol and containing no '/'-symbols in the end. Folder Path can't be resolved correctly", + EnumServiceException.INVALID_ARGUMENT); + } NodeRef result = null; - folderPath = folderPath.replaceAll("//", "/"); - if (folderPath.startsWith("/")) - folderPath = folderPath.substring(1); - if (folderPath.endsWith("/")) - folderPath = folderPath.substring(0, folderPath.length() - 1); - if (folderPath.length() == 0) + folderPath = folderPath.substring(1); + if ("".equals(folderPath)) { result = rootNodeRef; } @@ -725,8 +818,8 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object FileInfo fileInfo = null; try { - List splitPath = Arrays.asList(folderPath.split("/")); - fileInfo = fileFolderService.resolveNamePath(rootNodeRef, splitPath); + List splitedPath = Arrays.asList(folderPath.split("/")); + fileInfo = fileFolderService.resolveNamePath(rootNodeRef, splitedPath); } catch (FileNotFoundException e) { @@ -759,13 +852,26 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object throw cmisObjectsUtils.createCmisException("Content Stream Deletion is not allowed for specified Object", EnumServiceException.UPDATE_CONFLICT); } } + + public void deleteAllVersions(String repositoryId, String versionSeriesId) throws CmisException + { + checkRepositoryId(repositoryId); + NodeRef documentNodeRef = cmisObjectsUtils.getIdentifierInstance(versionSeriesId, AlfrescoObjectType.DOCUMENT_OBJECT); + NodeRef workingCopyRef = (cmisObjectsUtils.isWorkingCopy(documentNodeRef)) ? (documentNodeRef) : (checkOutCheckInService.getWorkingCopy(documentNodeRef)); + if ((null != workingCopyRef) && cmisObjectsUtils.isWorkingCopy(workingCopyRef)) + { + documentNodeRef = checkOutCheckInService.cancelCheckout(workingCopyRef); + } + + versionService.deleteVersionHistory(documentNodeRef); + } private ContentReader safeGetContentReader(NodeRef objectNodeReference) throws CmisException { ContentReader reader = fileFolderService.getReader(objectNodeReference); if (reader == null) { - throw cmisObjectsUtils.createCmisException("The specified Document has no Content Stream", EnumServiceException.INVALID_ARGUMENT); + throw cmisObjectsUtils.createCmisException("The specified Document has no Content Stream", EnumServiceException.CONSTRAINT); } return reader; } @@ -778,7 +884,7 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object } catch (CmisException e) { - throw cmisObjectsUtils.createCmisException("Unfiling is not suppoerted. Each Document must have existent parent Folder", EnumServiceException.OBJECT_NOT_FOUND, e); + throw cmisObjectsUtils.createCmisException("Unfiling is not suppoerted. Each Document must have existent parent Folder", EnumServiceException.CONSTRAINT, e); } } @@ -821,89 +927,6 @@ public class DMObjectServicePort extends DMAbstractServicePort implements Object // } // } - private CmisAllowableActionsType determineObjectAllowableActions(Object objectIdentifier) throws CmisException - { - if (objectIdentifier instanceof AssociationRef) - { - return determineRelationshipAllowableActions((AssociationRef) objectIdentifier); - } - - switch (cmisObjectsUtils.determineObjectType(objectIdentifier.toString())) - { - case CMIS_DOCUMENT: - { - return determineDocumentAllowableActions((NodeRef) objectIdentifier); - } - case CMIS_FOLDER: - { - return determineFolderAllowableActions((NodeRef) objectIdentifier); - } - } - - // TODO: determinePolicyAllowableActions() when Policy functionality is ready - throw cmisObjectsUtils.createCmisException("It is impossible to get Allowable actions for the specified Object", EnumServiceException.NOT_SUPPORTED); - } - - private CmisAllowableActionsType determineBaseAllowableActions(NodeRef objectNodeReference) - { - CmisAllowableActionsType result = new CmisAllowableActionsType(); - result.setCanGetProperties(this.permissionService.hasPermission(objectNodeReference, PermissionService.READ_PROPERTIES) == AccessStatus.ALLOWED); - result.setCanUpdateProperties(this.permissionService.hasPermission(objectNodeReference, PermissionService.WRITE_PROPERTIES) == AccessStatus.ALLOWED); - result.setCanDeleteObject(this.permissionService.hasPermission(objectNodeReference, PermissionService.DELETE) == AccessStatus.ALLOWED); - - // TODO: response.setCanAddPolicy(value); - // TODO: response.setCanRemovePolicy(value); - // TODO: response.setCanGetAppliedPolicies(value); - - return result; - } - - private CmisAllowableActionsType determineDocumentAllowableActions(NodeRef objectNodeReference) - { - CmisAllowableActionsType result = determineBaseAllowableActions(objectNodeReference); - determineCommonFolderDocumentAllowableActions(objectNodeReference, result); - result.setCanGetObjectParents(this.permissionService.hasPermission(objectNodeReference, PermissionService.READ_ASSOCIATIONS) == AccessStatus.ALLOWED); - result.setCanGetContentStream(this.permissionService.hasPermission(objectNodeReference, PermissionService.READ_CONTENT) == AccessStatus.ALLOWED); - result.setCanSetContentStream(this.permissionService.hasPermission(objectNodeReference, PermissionService.WRITE_CONTENT) == AccessStatus.ALLOWED); - result.setCanCheckOut(this.permissionService.hasPermission(objectNodeReference, PermissionService.CHECK_OUT) == AccessStatus.ALLOWED); - result.setCanCheckIn(this.permissionService.hasPermission(objectNodeReference, PermissionService.CHECK_IN) == AccessStatus.ALLOWED); - result.setCanCancelCheckOut(this.permissionService.hasPermission(objectNodeReference, PermissionService.CANCEL_CHECK_OUT) == AccessStatus.ALLOWED); - result.setCanDeleteContentStream(result.isCanUpdateProperties() && result.isCanSetContentStream()); - return result; - } - - private CmisAllowableActionsType determineFolderAllowableActions(NodeRef objectNodeReference) - { - CmisAllowableActionsType result = determineBaseAllowableActions(objectNodeReference); - determineCommonFolderDocumentAllowableActions(objectNodeReference, result); - - result.setCanGetChildren(this.permissionService.hasPermission(objectNodeReference, PermissionService.READ_CHILDREN) == AccessStatus.ALLOWED); - result.setCanCreateDocument(this.permissionService.hasPermission(objectNodeReference, PermissionService.ADD_CHILDREN) == AccessStatus.ALLOWED); - result.setCanGetDescendants(result.isCanGetChildren() && (this.permissionService.hasPermission(objectNodeReference, PermissionService.READ) == AccessStatus.ALLOWED)); - result.setCanDeleteTree(this.permissionService.hasPermission(objectNodeReference, PermissionService.DELETE_CHILDREN) == AccessStatus.ALLOWED); - result.setCanGetFolderParent(result.isCanGetRelationships()); - result.setCanCreateFolder(result.isCanCreateDocument()); - // TODO: response.setCanCreatePolicy(value); - return result; - } - - private void determineCommonFolderDocumentAllowableActions(NodeRef objectNodeReference, CmisAllowableActionsType allowableActions) - { - allowableActions.setCanAddObjectToFolder(this.permissionService.hasPermission(objectNodeReference, PermissionService.CREATE_ASSOCIATIONS) == AccessStatus.ALLOWED); - allowableActions.setCanGetRelationships(this.permissionService.hasPermission(objectNodeReference, PermissionService.READ_ASSOCIATIONS) == AccessStatus.ALLOWED); - allowableActions.setCanMoveObject(allowableActions.isCanUpdateProperties() && allowableActions.isCanAddObjectToFolder()); - allowableActions.setCanRemoveObjectFromFolder(allowableActions.isCanUpdateProperties()); - allowableActions.setCanCreateRelationship(allowableActions.isCanAddObjectToFolder()); - } - - private CmisAllowableActionsType determineRelationshipAllowableActions(AssociationRef association) - { - CmisAllowableActionsType result = new CmisAllowableActionsType(); - result.setCanDeleteObject(this.permissionService.hasPermission(association.getSourceRef(), PermissionService.DELETE_ASSOCIATIONS) == AccessStatus.ALLOWED); - result.setCanGetRelationships(this.permissionService.hasPermission(association.getSourceRef(), PermissionService.READ_ASSOCIATIONS) == AccessStatus.ALLOWED); - return result; - } - private void determineException(Throwable lastException) throws CmisException { if (lastException instanceof AccessDeniedException) diff --git a/source/java/org/alfresco/repo/cmis/ws/DMPolicyServicePort.java b/source/java/org/alfresco/repo/cmis/ws/DMPolicyServicePort.java index cc748bc2c5..b52586f698 100755 --- a/source/java/org/alfresco/repo/cmis/ws/DMPolicyServicePort.java +++ b/source/java/org/alfresco/repo/cmis/ws/DMPolicyServicePort.java @@ -26,7 +26,9 @@ package org.alfresco.repo.cmis.ws; import java.util.List; -@javax.jws.WebService(name = "PolicyServicePort", serviceName = "PolicyServicePort", portName = "PolicyServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", endpointInterface = "org.alfresco.repo.cmis.ws.PolicyServicePort") +import javax.xml.ws.Holder; + +@javax.jws.WebService(name = "PolicyServicePort", serviceName = "PolicyServicePort", portName = "PolicyServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", endpointInterface = "org.alfresco.repo.cmis.ws.PolicyServicePort") public class DMPolicyServicePort extends DMAbstractServicePort implements PolicyServicePort { private static final String POLICY_NOT_SUPPORTED_MESSAGE = "PolicyService not implemented"; @@ -39,7 +41,7 @@ public class DMPolicyServicePort extends DMAbstractServicePort implements Policy * @param objectId target object Id * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT) */ - public void applyPolicy(String repositoryId, String policyId, String objectId) throws CmisException + public void applyPolicy(String repositoryId, String policyId, String objectId, Holder extension) throws CmisException { throw cmisObjectsUtils.createCmisException(POLICY_NOT_SUPPORTED_MESSAGE, EnumServiceException.RUNTIME); } @@ -50,7 +52,7 @@ public class DMPolicyServicePort extends DMAbstractServicePort implements Policy * @param parameters repositoryId: repository Id; objectId: target object Id; filter: filter specifying which properties to return * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FILTER_NOT_VALID) */ - public List getAppliedPolicies(String repositoryId, String objectId, String filter) throws CmisException + public List getAppliedPolicies(String repositoryId, String objectId, String filter, CmisExtensionType extension) throws CmisException { throw cmisObjectsUtils.createCmisException(POLICY_NOT_SUPPORTED_MESSAGE, EnumServiceException.RUNTIME); } @@ -63,7 +65,7 @@ public class DMPolicyServicePort extends DMAbstractServicePort implements Policy * @param objectId target object Id. * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT) */ - public void removePolicy(String repositoryId, String policyId, String objectId) throws CmisException + public void removePolicy(String repositoryId, String policyId, String objectId, Holder extension) throws CmisException { throw cmisObjectsUtils.createCmisException(POLICY_NOT_SUPPORTED_MESSAGE, EnumServiceException.RUNTIME); } diff --git a/source/java/org/alfresco/repo/cmis/ws/DMRelationshipServicePort.java b/source/java/org/alfresco/repo/cmis/ws/DMRelationshipServicePort.java index 9bca724617..808720d31d 100755 --- a/source/java/org/alfresco/repo/cmis/ws/DMRelationshipServicePort.java +++ b/source/java/org/alfresco/repo/cmis/ws/DMRelationshipServicePort.java @@ -25,11 +25,8 @@ package org.alfresco.repo.cmis.ws; import java.math.BigInteger; -import java.util.LinkedList; import java.util.List; -import javax.xml.ws.Holder; - import org.alfresco.cmis.CMISScope; import org.alfresco.cmis.CMISTypeDefinition; import org.alfresco.repo.cmis.PropertyFilter; @@ -46,7 +43,7 @@ import org.alfresco.service.namespace.QNamePattern; * * @author Dmitry Velichkevich */ -@javax.jws.WebService(name = "RelationshipServicePort", serviceName = "RelationshipService", portName = "RelationshipServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", endpointInterface = "org.alfresco.repo.cmis.ws.RelationshipServicePort") +@javax.jws.WebService(name = "RelationshipServicePort", serviceName = "RelationshipService", portName = "RelationshipServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", endpointInterface = "org.alfresco.repo.cmis.ws.RelationshipServicePort") public class DMRelationshipServicePort extends DMAbstractServicePort implements RelationshipServicePort { private DictionaryService dictionaryService; @@ -65,60 +62,48 @@ public class DMRelationshipServicePort extends DMAbstractServicePort implements * @return collection of CmisObjectType and boolean hasMoreItems * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FILTER_NOT_VALID) */ - public void getRelationships(String repositoryId, String objectId, EnumRelationshipDirection direction, String typeId, Boolean includeSubRelationshipTypes, String filter, - Boolean includeAllowableActions, EnumIncludeRelationships includeRelationships, BigInteger maxItems, BigInteger skipCount, Holder> object, - Holder hasMoreItems) throws CmisException + public CmisObjectListType getObjectRelationships(String repositoryId, String objectId, Boolean includeSubRelationshipTypes, EnumRelationshipDirection relationshipDirection, + String typeId, String filter, Boolean includeAllowableActions, BigInteger maxItems, BigInteger skipCount, CmisExtensionType extension) throws CmisException { checkRepositoryId(repositoryId); - - direction = (null != direction) ? direction : EnumRelationshipDirection.SOURCE; + NodeRef objectNodeRef = cmisObjectsUtils.getIdentifierInstance(objectId, AlfrescoObjectType.DOCUMENT_OR_FOLDER_OBJECT); if (null == includeSubRelationshipTypes) { throw cmisObjectsUtils.createCmisException("includeSubRelationshipTypes input parameter is required", EnumServiceException.INVALID_ARGUMENT); } + relationshipDirection = (null != relationshipDirection) ? relationshipDirection : EnumRelationshipDirection.SOURCE; skipCount = (null != skipCount) ? skipCount : BigInteger.ZERO; maxItems = (null != maxItems) ? maxItems : BigInteger.ZERO; - QName associationType = null; - if ((null != typeId) && !typeId.equals("")) + if ((null != typeId) && !"".equals(typeId)) { CMISTypeDefinition cmisTypeDef = cmisDictionaryService.findType(typeId); associationType = cmisTypeDef.getTypeId().getQName(); } - - // TODO: process 'includeAllowableActions' param, see DMObjectServicePort->determineObjectAllowableActions PropertyFilter propertyFilter = createPropertyFilter(filter); - NodeRef objectNodeRef = cmisObjectsUtils.getIdentifierInstance(objectId, AlfrescoObjectType.DOCUMENT_OR_FOLDER_OBJECT); List assocs = null; try { - assocs = cmisObjectsUtils.receiveAssociations(objectNodeRef, new RelationshipTypeFilter(associationType, includeSubRelationshipTypes), direction); + assocs = cmisObjectsUtils.receiveAssociations(objectNodeRef, new RelationshipTypeFilter(associationType, includeSubRelationshipTypes), relationshipDirection); } catch (Exception e) { throw cmisObjectsUtils.createCmisException("Can't receive associations", e); } - if (null == object) - { - object = new Holder>(); - } - object.value = formatResponse(propertyFilter, assocs.toArray(), skipCount, maxItems, hasMoreItems); + return createResult(propertyFilter, includeAllowableActions, assocs.toArray(), skipCount, maxItems); } - private List formatResponse(PropertyFilter filter, Object[] sourceArray, BigInteger skipCount, BigInteger maxItems, Holder hasMoreItems) + private CmisObjectListType createResult(PropertyFilter filter, boolean includeAllowableActions, Object[] sourceArray, BigInteger skipCount, BigInteger maxItems) throws CmisException { Cursor cursor = createCursor(sourceArray.length, skipCount, maxItems); - List result = new LinkedList(); + CmisObjectListType result = new CmisObjectListType(); for (int i = cursor.getStartRow(); i < cursor.getEndRow(); i++) { - result.add(createCmisObject(sourceArray[i].toString(), filter)); + result.getObjects().add(createCmisObject(sourceArray[i].toString(), filter, includeAllowableActions)); } - if (null == hasMoreItems) - { - hasMoreItems = new Holder(); - } - hasMoreItems.value = cursor.getEndRow() < sourceArray.length; + result.setHasMoreItems(cursor.getEndRow() < sourceArray.length); + result.setNumItems(BigInteger.valueOf(cursor.getPageSize())); return result; } @@ -142,7 +127,7 @@ public class DMRelationshipServicePort extends DMAbstractServicePort implements else if (includeSubtypes) { // TODO: it is necessary introduce checking on descendants - return dictionaryService.getAssociation(qname) != null; + return null != dictionaryService.getAssociation(qname); } else { diff --git a/source/java/org/alfresco/repo/cmis/ws/DMRepositoryServicePort.java b/source/java/org/alfresco/repo/cmis/ws/DMRepositoryServicePort.java index 6bd7c2f8c3..e3182d26eb 100644 --- a/source/java/org/alfresco/repo/cmis/ws/DMRepositoryServicePort.java +++ b/source/java/org/alfresco/repo/cmis/ws/DMRepositoryServicePort.java @@ -33,8 +33,7 @@ import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; - -import javax.xml.ws.Holder; +import java.util.Queue; import org.alfresco.cmis.CMISCardinalityEnum; import org.alfresco.cmis.CMISChoice; @@ -46,6 +45,7 @@ import org.alfresco.cmis.CMISPropertyDefinition; import org.alfresco.cmis.CMISQueryEnum; import org.alfresco.cmis.CMISTypeDefinition; import org.alfresco.cmis.CMISUpdatabilityEnum; +import org.alfresco.repo.security.authentication.AuthenticationUtil; import org.alfresco.repo.web.util.paging.Cursor; import org.alfresco.service.descriptor.Descriptor; @@ -54,7 +54,7 @@ import org.alfresco.service.descriptor.Descriptor; * * @author Dmitry Lazurkin */ -@javax.jws.WebService(name = "RepositoryServicePort", serviceName = "RepositoryService", portName = "RepositoryServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", endpointInterface = "org.alfresco.repo.cmis.ws.RepositoryServicePort") +@javax.jws.WebService(name = "RepositoryServicePort", serviceName = "RepositoryService", portName = "RepositoryServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", endpointInterface = "org.alfresco.repo.cmis.ws.RepositoryServicePort") public class DMRepositoryServicePort extends DMAbstractServicePort implements RepositoryServicePort { private static Map joinEnumMapping; @@ -64,7 +64,7 @@ public class DMRepositoryServicePort extends DMAbstractServicePort implements Re private static Map propertyTypeEnumMapping; private static HashMap queryTypeEnumMapping; - // TODO: Hardcoded! should be reteived using standart mechanism + // FIXME: Hard-coded! should be retrieved using standard mechanism private String repositoryUri = " http://localhost:8080/alfresco/cmis"; static @@ -108,207 +108,68 @@ public class DMRepositoryServicePort extends DMAbstractServicePort implements Re } /** - * Gets a list of available repositories for this CMIS service endpoint. + * Add property definitions to list of definitions * - * @return collection of CmisRepositoryEntryType (repositoryId - repository Id, repositoryName: repository name, repositoryURI: Repository URI) - * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME) + * @param propertyDefinition repository property definition + * @param wsPropertyDefs web service property definition */ - public List getRepositories() throws CmisException + private void addPropertyDefs(CMISTypeDefinition typeDefinition, CMISPropertyDefinition propertyDefinition, List wsPropertyDefs) + throws CmisException { - CmisRepositoryEntryType repositoryEntryType = new CmisRepositoryEntryType(); - Descriptor serverDescriptor = descriptorService.getCurrentRepositoryDescriptor(); - repositoryEntryType.setId(serverDescriptor.getId()); - repositoryEntryType.setName(serverDescriptor.getName()); - repositoryEntryType.setRelationship(serverDescriptor.getName()); - - // TODO: Hardcoded! repositoryUri should be retrieved using standard mechanism - repositoryEntryType.setThinClientURI(repositoryUri); - List result = new LinkedList(); - result.add(repositoryEntryType); - return result; + CmisPropertyDefinitionType wsPropertyDef = createPropertyDefinitionType(propertyDefinition.getDataType()); + wsPropertyDef.setLocalName(propertyDefinition.getPropertyId().getLocalName()); + wsPropertyDef.setId(propertyDefinition.getPropertyId().getId()); + wsPropertyDef.setDisplayName(propertyDefinition.getDisplayName()); + wsPropertyDef.setDescription(propertyDefinition.getDescription()); + wsPropertyDef.setPropertyType(propertyTypeEnumMapping.get(propertyDefinition.getDataType())); + wsPropertyDef.setCardinality(cardinalityEnumMapping.get(propertyDefinition.getCardinality())); + wsPropertyDef.setUpdatability(updatabilityEnumMapping.get(propertyDefinition.getUpdatability())); + wsPropertyDef.setInherited(!typeDefinition.getOwnedPropertyDefinitions().containsKey(propertyDefinition.getPropertyId())); + wsPropertyDef.setRequired(propertyDefinition.isRequired()); + wsPropertyDef.setQueryable(propertyDefinition.isQueryable()); + wsPropertyDef.setOrderable(propertyDefinition.isOrderable()); + addChoices(propertyDefinition.getDataType(), propertyDefinition.getChoices(), getChoices(wsPropertyDef)); + wsPropertyDef.setOpenChoice(propertyDefinition.isOpenChoice()); + wsPropertyDefs.add(wsPropertyDef); } /** - * Gets information about the CMIS repository and the capabilities it supports. + * Add root choices to list of choices * - * @param parameters repositoryId: repository Id - * @return CMIS repository Info - * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME) + * @param propertyType type of property + * @param choices repository choice object + * @param cmisChoices web service choice object */ - public CmisRepositoryInfoType getRepositoryInfo(String repositoryId) throws CmisException + private void addChoices(CMISDataTypeEnum propertyType, Collection choices, List cmisChoices) { - checkRepositoryId(repositoryId); - - Descriptor serverDescriptor = descriptorService.getCurrentRepositoryDescriptor(); - CmisRepositoryInfoType repositoryInfoType = new CmisRepositoryInfoType(); - repositoryInfoType.setRepositoryId(serverDescriptor.getId()); - repositoryInfoType.setRepositoryName(serverDescriptor.getName()); - repositoryInfoType.setRepositoryRelationship("self"); - repositoryInfoType.setRepositoryDescription(""); - repositoryInfoType.setVendorName("Alfresco"); - repositoryInfoType.setProductName("Alfresco Repository (" + serverDescriptor.getEdition() + ")"); - repositoryInfoType.setProductVersion(serverDescriptor.getVersion()); - repositoryInfoType.setRootFolderId(propertiesUtil.getProperty(cmisService.getDefaultRootNodeRef(), CMISDictionaryModel.PROP_OBJECT_ID, (String) null)); - repositoryInfoType.setThinClientURI(repositoryId); - CmisRepositoryCapabilitiesType capabilities = new CmisRepositoryCapabilitiesType(); - capabilities.setCapabilityMultifiling(true); - capabilities.setCapabilityUnfiling(false); - capabilities.setCapabilityVersionSpecificFiling(false); - capabilities.setCapabilityPWCUpdateable(true); - capabilities.setCapabilityPWCSearchable(cmisQueryService.getPwcSearchable()); - capabilities.setCapabilityAllVersionsSearchable(cmisQueryService.getAllVersionsSearchable()); - capabilities.setCapabilityQuery(queryTypeEnumMapping.get(cmisQueryService.getQuerySupport())); - capabilities.setCapabilityJoin(joinEnumMapping.get(cmisQueryService.getJoinSupport())); - capabilities.setCapabilityACL(EnumCapabilityACL.NONE); - capabilities.setCapabilityChanges(EnumCapabilityChanges.NONE); - capabilities.setCapabilityContentStreamUpdatability(EnumCapabilityContentStreamUpdates.ANYTIME); - capabilities.setCapabilityGetDescendants(true); - capabilities.setCapabilityRenditions(EnumCapabilityRendition.NONE); - repositoryInfoType.setCapabilities(capabilities); - repositoryInfoType.setCmisVersionSupported(BigDecimal.valueOf(0.62)); - // TODO: cmisVersionSupported is different in stubs and specification - // repositoryInfoType.setCmisVersionSupported(cmisService.getCMISVersion()); - return repositoryInfoType; + for (CMISChoice choice : choices) + { + CmisChoice cmisChoiceType = getCmisChoiceType(choice, propertyType); + cmisChoices.add(cmisChoiceType); + if (choice.getChildren().isEmpty() == false) + { + addChoiceChildrens(propertyType, choice.getChildren(), cmisChoices); + } + } } - /** - * Gets the definition for specified object type - * - * @param parameters repositoryId: repository Id; typeId: type Id; - * @return CMIS type definition - * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME) - */ - public CmisTypeDefinitionType getTypeDefinition(String repositoryId, String typeId) throws CmisException + @SuppressWarnings("unchecked") + private List getChoices(CmisPropertyDefinitionType propertyDef) { - checkRepositoryId(repositoryId); - CMISTypeDefinition typeDef; - try + List result = null; + if (propertyDef != null) { - typeDef = cmisDictionaryService.findType(typeId); - } - catch (Exception e) - { - throw cmisObjectsUtils.createCmisException(e.toString(), EnumServiceException.INVALID_ARGUMENT); - } - return getCmisTypeDefinition(typeDef, true); - } - - /** - * Returns the set of descendant Object-Types defined for the Repository under the specified Type. - * - * @param parameters srepositoryId: repository Id; typeId: type Id; includePropertyDefinitions: false (default); depth: The number of levels of depth in the type hierarchy from - * which to return results; - * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME) - */ - public List getTypeDescendants(String repositoryId, String typeId, BigInteger depth, Boolean includePropertyDefinitions) throws CmisException - { - checkRepositoryId(repositoryId); - - Collection typeDefs = new LinkedList(); - if ((typeId == null) || typeId.equals("")) - { - typeDefs = cmisDictionaryService.getBaseTypes(); - } - else - { - CMISTypeDefinition typeDef = null; try { - typeDef = cmisDictionaryService.findType(typeId); + result = (List) propertyDef.getClass().getMethod("getChoice").invoke(propertyDef); } catch (Exception e) { - throw cmisObjectsUtils.createCmisException(e.toString(), EnumServiceException.INVALID_ARGUMENT); } - - if (null == typeDef) - { - throw cmisObjectsUtils.createCmisException(("Invalid type id: \"" + typeId + "\""), EnumServiceException.INVALID_ARGUMENT); - } - typeDefs.add(typeDef); } - long depthLong = depth == null || depth.equals(BigInteger.valueOf(-1)) ? Long.MAX_VALUE : depth.longValue(); - boolean includePropertyDefsBool = includePropertyDefinitions == null ? false : includePropertyDefinitions; - List result = new LinkedList(); - for (CMISTypeDefinition typeDef : typeDefs) - { - result.add(getTypeDescedants(typeDef, depthLong, includePropertyDefsBool)); - } - return result; } - /** - * Returns the list of Object-Types defined for the Repository under the specified Type. - * - * @param parameters repositoryId: repository Id; typeId: type Id; returnPropertyDefinitions: false (default); maxItems: 0 = Repository-default number of items(Default); - * skipCount: 0 = start; - * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME) - */ - public void getTypeChildren(String repositoryId, String typeId, Boolean returnPropertyDefinitions, BigInteger maxItems, BigInteger skipCount, - Holder> type, Holder hasMoreItems) throws CmisException - { - checkRepositoryId(repositoryId); - - Collection typeDefs = new LinkedList(); - if ((typeId == null) || typeId.equals("")) - { - typeDefs = cmisDictionaryService.getBaseTypes(); - } - else - { - CMISTypeDefinition typeDef = null; - try - { - typeDef = cmisDictionaryService.findType(typeId); - } - catch (RuntimeException exception) - { - throw cmisObjectsUtils.createCmisException(exception.toString(), EnumServiceException.INVALID_ARGUMENT); - } - - if (null == typeDef) - { - throw cmisObjectsUtils.createCmisException(("Invalid type id: \"" + typeId + "\""), EnumServiceException.INVALID_ARGUMENT); - } - - typeDefs.add(typeDef); - - Collection subTypes = typeDef.getSubTypes(true); - if (null != subTypes) - { - typeDefs.addAll(subTypes); - } - } - - // skip - Cursor cursor = createCursor(typeDefs.size(), skipCount, maxItems); - Iterator iterTypeDefs = typeDefs.iterator(); - for (int i = 0; i < cursor.getStartRow(); i++) - { - iterTypeDefs.next(); - } - - boolean returnPropertyDefinitionsVal = returnPropertyDefinitions == null ? false : returnPropertyDefinitions.booleanValue(); - - type.value = new LinkedList(); - - for (int i = cursor.getStartRow(); i <= cursor.getEndRow(); i++) - { - CmisTypeDefinitionType element = getCmisTypeDefinition(iterTypeDefs.next(), returnPropertyDefinitionsVal); - if (element != null) - { - type.value.add(element); - } - else - { - throw cmisObjectsUtils.createCmisException(("Subtypes collection is corrupted. Type id: " + typeId), EnumServiceException.STORAGE); - } - } - - hasMoreItems.value = ((maxItems == null) || (maxItems.intValue() == 0)) ? (false) : ((cursor.getEndRow() < (typeDefs.size() - 1))); - } - /** * Create web service choice object from repository choice object * @@ -369,27 +230,7 @@ public class DMRepositoryServicePort extends DMAbstractServicePort implements Re } /** - * Add root choices to list of choices - * - * @param propertyType type of property - * @param choices repository choice object - * @param cmisChoices web service choice object - */ - private void addChoices(CMISDataTypeEnum propertyType, Collection choices, List cmisChoices) - { - for (CMISChoice choice : choices) - { - CmisChoice cmisChoiceType = getCmisChoiceType(choice, propertyType); - cmisChoices.add(cmisChoiceType); - if (choice.getChildren().isEmpty() == false) - { - addChoiceChildrens(propertyType, choice.getChildren(), cmisChoices); - } - } - } - - /** - * Add choices childrens to list of JAXBElements + * Add choices children to list of JAXBElements * * @param propertyType type of property * @param choices repository choice object @@ -409,79 +250,36 @@ public class DMRepositoryServicePort extends DMAbstractServicePort implements Re } } - /** - * Add property definitions to list of definitions - * - * @param propertyDefinition repository property definition - * @param wsPropertyDefs web service property definition - */ - private void addPropertyDefs(CMISTypeDefinition typeDefinition, CMISPropertyDefinition propertyDefinition, List wsPropertyDefs) - throws CmisException - { - CmisPropertyDefinitionType wsPropertyDef = createPropertyDefinitionType(propertyDefinition.getDataType()); - wsPropertyDef.setLocalName(propertyDefinition.getPropertyId().getLocalName()); - wsPropertyDef.setId(propertyDefinition.getPropertyId().getId()); - wsPropertyDef.setDisplayName(propertyDefinition.getDisplayName()); - wsPropertyDef.setDescription(propertyDefinition.getDescription()); - wsPropertyDef.setPropertyType(propertyTypeEnumMapping.get(propertyDefinition.getDataType())); - wsPropertyDef.setCardinality(cardinalityEnumMapping.get(propertyDefinition.getCardinality())); - wsPropertyDef.setUpdatability(updatabilityEnumMapping.get(propertyDefinition.getUpdatability())); - wsPropertyDef.setInherited(!typeDefinition.getOwnedPropertyDefinitions().containsKey(propertyDefinition.getPropertyId())); - wsPropertyDef.setRequired(propertyDefinition.isRequired()); - wsPropertyDef.setQueryable(propertyDefinition.isQueryable()); - wsPropertyDef.setOrderable(propertyDefinition.isOrderable()); - addChoices(propertyDefinition.getDataType(), propertyDefinition.getChoices(), getChoices(wsPropertyDef)); - wsPropertyDef.setOpenChoice(propertyDefinition.isOpenChoice()); - wsPropertyDefs.add(wsPropertyDef); - } - - private CmisTypeContainer getTypeDescedants(CMISTypeDefinition typeDef, long depth, boolean includePropertyDefs) throws CmisException - { - if (depth < 0) - { - return null; - } - CmisTypeContainer container = new CmisTypeContainer(); - CmisTypeDefinitionType targetTypeDef = getCmisTypeDefinition(typeDef, includePropertyDefs); - if (targetTypeDef != null) - { - container.setType(targetTypeDef); - Collection subTypes = typeDef.getSubTypes(false); - if (subTypes != null) - { - for (CMISTypeDefinition subType : subTypes) - { - CmisTypeContainer child = getTypeDescedants(subType, depth - 1, includePropertyDefs); - if (child != null) - { - container.getChildren().add(child); - } - } - } - } - else - { - throw cmisObjectsUtils.createCmisException(("Subtypes collection is corrupted. Type id: " + targetTypeDef), EnumServiceException.STORAGE); - } - return container; - } - - @SuppressWarnings("unchecked") - private static List getChoices(CmisPropertyDefinitionType propertyDef) - { - List result = null; - if (propertyDef != null) - { - try - { - result = (List) propertyDef.getClass().getMethod("getChoice").invoke(propertyDef); - } - catch (Exception e) - { - } - } - return result; - } + // private CmisTypeContainer getTypeDescendants(CMISTypeDefinition typeDef, long depth, boolean includePropertyDefs) throws CmisException + // { + // if (depth < 0) + // { + // return null; + // } + // CmisTypeContainer container = new CmisTypeContainer(); + // CmisTypeDefinitionType targetTypeDef = getCmisTypeDefinition(typeDef, includePropertyDefs); + // if (targetTypeDef != null) + // { + // container.setType(targetTypeDef); + // Collection subTypes = typeDef.getSubTypes(false); + // if (subTypes != null) + // { + // for (CMISTypeDefinition subType : subTypes) + // { + // CmisTypeContainer child = getTypeDescendants(subType, depth - 1, includePropertyDefs); + // if (child != null) + // { + // container.getChildren().add(child); + // } + // } + // } + // } + // else + // { + // throw cmisObjectsUtils.createCmisException(("Subtypes collection is corrupted. Type id: " + targetTypeDef), EnumServiceException.STORAGE); + // } + // return container; + // } private CmisPropertyDefinitionType createPropertyDefinitionType(CMISDataTypeEnum type) throws CmisException { @@ -542,7 +340,7 @@ public class DMRepositoryServicePort extends DMAbstractServicePort implements Re cmisTypeDefinition.setId(typeDefinition.getTypeId().getId()); cmisTypeDefinition.setQueryName(typeDefinition.getQueryName()); cmisTypeDefinition.setDisplayName(typeDefinition.getDisplayName()); - cmisTypeDefinition.setBaseTypeId(EnumBaseObjectTypeIds.fromValue(typeDefinition.getBaseType().getTypeId().getId())); + cmisTypeDefinition.setBaseId(EnumBaseObjectTypeIds.fromValue(typeDefinition.getBaseType().getTypeId().getId())); if ((null != typeDefinition.getParentType()) && (null != typeDefinition.getParentType().getTypeId())) { @@ -631,4 +429,259 @@ public class DMRepositoryServicePort extends DMAbstractServicePort implements Re return result; } + + /** + * Gets a list of available repositories for this CMIS service endpoint. + * + * @return collection of CmisRepositoryEntryType (repositoryId - repository Id, repositoryName: repository name, repositoryURI: Repository URI) + * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME) + */ + public List getRepositories(CmisExtensionType extension) throws CmisException + { + CmisRepositoryEntryType repositoryEntryType = new CmisRepositoryEntryType(); + Descriptor serverDescriptor = descriptorService.getCurrentRepositoryDescriptor(); + repositoryEntryType.setRepositoryId(serverDescriptor.getId()); + repositoryEntryType.setRepositoryName(serverDescriptor.getName()); + + List result = new LinkedList(); + result.add(repositoryEntryType); + return result; + } + + /** + * Gets information about the CMIS repository and the capabilities it supports. + * + * @param parameters repositoryId: repository Id + * @return CMIS repository Info + * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME) + */ + public CmisRepositoryInfoType getRepositoryInfo(String repositoryId, CmisExtensionType extension) throws CmisException + { + checkRepositoryId(repositoryId); + + Descriptor serverDescriptor = descriptorService.getCurrentRepositoryDescriptor(); + CmisRepositoryInfoType repositoryInfoType = new CmisRepositoryInfoType(); + repositoryInfoType.setRepositoryId(serverDescriptor.getId()); + repositoryInfoType.setRepositoryName(serverDescriptor.getName()); + repositoryInfoType.setRepositoryDescription(""); + repositoryInfoType.setVendorName("Alfresco"); + repositoryInfoType.setProductName("Alfresco Repository (" + serverDescriptor.getEdition() + ")"); + repositoryInfoType.setProductVersion(serverDescriptor.getVersion()); + repositoryInfoType.setRootFolderId(propertiesUtil.getProperty(cmisService.getDefaultRootNodeRef(), CMISDictionaryModel.PROP_OBJECT_ID, (String) null)); + repositoryInfoType.setLatestChangeLogToken(""); // TODO + // TODO: cmisVersionSupported is different in stubs and specification + repositoryInfoType.setCmisVersionSupported(BigDecimal.valueOf(0.723)); // TODO: ask how to specify supported version like '0.7b3' + repositoryInfoType.setThinClientURI(repositoryUri); + repositoryInfoType.setChangesIncomplete(true); // TODO + // TODO: set chnagedOnType via getChangesOnType().add()... + // repositoryInfoType.getChangesOnType(); + // FIXME [BUG]: 'supportedPermissions' defined in spec. is absent in schema + // FIXME [BUG]: 'propagate' defined in spec. is absent in schema + // FIXME [BUG]: 'repositoryPermissions' defined in spec. is absent in schema + // FIXME [BUG]: 'mappings' defined in spec. is absent in schema + repositoryInfoType.setPrincipalAnonymous(AuthenticationUtil.getGuestUserName()); + repositoryInfoType.setPrincipalAnyone(""); // TODO + + CmisRepositoryCapabilitiesType capabilities = new CmisRepositoryCapabilitiesType(); + capabilities.setCapabilityGetDescendants(true); + capabilities.setCapabilityGetFolderTree(true); + + capabilities.setCapabilityContentStreamUpdatability(EnumCapabilityContentStreamUpdates.ANYTIME); + capabilities.setCapabilityChanges(EnumCapabilityChanges.NONE); // TODO + capabilities.setCapabilityRenditions(EnumCapabilityRendition.NONE); // TODO + + capabilities.setCapabilityMultifiling(true); + capabilities.setCapabilityUnfiling(false); + capabilities.setCapabilityVersionSpecificFiling(false); + + capabilities.setCapabilityPWCUpdatable(true); + capabilities.setCapabilityPWCSearchable(cmisQueryService.getPwcSearchable()); + capabilities.setCapabilityAllVersionsSearchable(cmisQueryService.getAllVersionsSearchable()); + + capabilities.setCapabilityQuery(queryTypeEnumMapping.get(cmisQueryService.getQuerySupport())); + capabilities.setCapabilityJoin(joinEnumMapping.get(cmisQueryService.getJoinSupport())); + + capabilities.setCapabilityACL(EnumCapabilityACL.NONE); // TODO + + repositoryInfoType.setCapabilities(capabilities); + repositoryInfoType.setCmisVersionSupported(BigDecimal.valueOf(0.62)); + return repositoryInfoType; + } + + /** + * Returns the list of Object-Types defined for the Repository under the specified Type. + * + * @param parameters repositoryId: repository Id; typeId: type Id; returnPropertyDefinitions: false (default); maxItems: 0 = Repository-default number of items(Default); + * skipCount: 0 = start; + * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME) + */ + public CmisTypeDefinitionListType getTypeChildren(String repositoryId, String typeId, Boolean includePropertyDefinitions, BigInteger maxItems, BigInteger skipCount, + CmisExtensionType extension) throws CmisException + { + checkRepositoryId(repositoryId); + Collection typeDefs = getBaseTypesCollection(typeId, true); + // skip + Cursor cursor = createCursor(typeDefs.size(), skipCount, maxItems); + Iterator iterTypeDefs = typeDefs.iterator(); + for (int i = 0; i < cursor.getStartRow(); i++) + { + iterTypeDefs.next(); + } + + boolean includePropertyDefinitionsVal = includePropertyDefinitions == null ? false : includePropertyDefinitions.booleanValue(); + + CmisTypeDefinitionListType result = new CmisTypeDefinitionListType(); + for (int i = cursor.getStartRow(); i <= cursor.getEndRow(); i++) + { + CmisTypeDefinitionType element = getCmisTypeDefinition(iterTypeDefs.next(), includePropertyDefinitionsVal); + if (null != element) + { + result.getTypes().add(element); + } + else + { + throw cmisObjectsUtils.createCmisException(("Subtypes collection is corrupted. Type id: " + typeId), EnumServiceException.STORAGE); + } + } + result.setHasMoreItems(((maxItems == null) || (0 == maxItems.intValue())) ? (false) : ((cursor.getEndRow() < (typeDefs.size() - 1)))); + result.setNumItems(BigInteger.valueOf(result.getTypes().size())); + return result; + } + + /** + * Gets the definition for specified object type + * + * @param parameters repositoryId: repository Id; typeId: type Id; + * @return CMIS type definition + * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME) + */ + public CmisTypeDefinitionType getTypeDefinition(String repositoryId, String typeId, CmisExtensionType extension) throws CmisException + { + checkRepositoryId(repositoryId); + CMISTypeDefinition typeDef; + try + { + typeDef = cmisDictionaryService.findType(typeId); + } + catch (Exception e) + { + throw cmisObjectsUtils.createCmisException(e.toString(), EnumServiceException.INVALID_ARGUMENT); + } + return getCmisTypeDefinition(typeDef, true); + } + + /** + * Returns the set of descendant Object-Types defined for the Repository under the specified Type. + * + * @param parameters srepositoryId: repository Id; typeId: type Id; includePropertyDefinitions: false (default); depth: The number of levels of depth in the type hierarchy from + * which to return results; + * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME) + */ + public List getTypeDescendants(String repositoryId, String typeId, BigInteger depth, Boolean includePropertyDefinitions, CmisExtensionType extension) + throws CmisException + { + checkRepositoryId(repositoryId); + long depthLong = (null == depth) ? (-1) : (depth.longValue()); + boolean includePropertyDefsBool = (null == includePropertyDefinitions) ? (false) : (includePropertyDefinitions); + List result = new LinkedList(); + Queue typesQueue = new LinkedList(); + Collection typeDefs = getBaseTypesCollection(typeId, false); + for (CMISTypeDefinition typeDef : typeDefs) + { + typesQueue.add(new TypeElement(0L, typeDef, createTypeContainer(typeDef, includePropertyDefsBool))); + } + for (TypeElement element = typesQueue.peek(); !typesQueue.isEmpty(); element = (typeDefs.isEmpty()) ? (null) : (typesQueue.peek())) + { + typesQueue.poll(); + result.add(element.getContainer()); + long nextLevel = element.getLevel() + 1; + Collection subTypes = element.getTypeDefinition().getSubTypes(false); + if (null != subTypes) + { + for (CMISTypeDefinition typeDef : subTypes) + { + CmisTypeContainer childContainer = createTypeContainer(typeDef, includePropertyDefsBool); + element.getContainer().getChildren().add(childContainer); + if ((-1 == depthLong) || (nextLevel <= depthLong)) + { + typesQueue.add(new TypeElement(nextLevel, typeDef, childContainer)); + } + } + } + } + return result; + } + + private CmisTypeContainer createTypeContainer(CMISTypeDefinition parentType, boolean includeProperties) throws CmisException + { + CmisTypeContainer result = new CmisTypeContainer(); + result.setType(getCmisTypeDefinition(parentType, includeProperties)); + return result; + } + + private class TypeElement + { + private long level; + private CMISTypeDefinition typeDefinition; + private CmisTypeContainer container; + + public TypeElement(long level, CMISTypeDefinition typeDefinition, CmisTypeContainer container) + { + this.level = level; + this.typeDefinition = typeDefinition; + this.container = container; + } + + public long getLevel() + { + return level; + } + + public CMISTypeDefinition getTypeDefinition() + { + return typeDefinition; + } + + public CmisTypeContainer getContainer() + { + return container; + } + } + + private Collection getBaseTypesCollection(String typeId, boolean includeSubtypes) throws CmisException + { + Collection typeDefs = new LinkedList(); + if ((null == typeId) || "".equals(typeId)) + { + typeDefs = cmisDictionaryService.getBaseTypes(); + } + else + { + CMISTypeDefinition typeDef = null; + try + { + typeDef = cmisDictionaryService.findType(typeId); + } + catch (Exception e) + { + throw cmisObjectsUtils.createCmisException(e.toString(), EnumServiceException.INVALID_ARGUMENT); + } + + if (null == typeDef) + { + throw cmisObjectsUtils.createCmisException(("Invalid type id: \"" + typeId + "\""), EnumServiceException.INVALID_ARGUMENT); + } + typeDefs.add(typeDef); + + if (includeSubtypes) + { + Collection subTypes = typeDef.getSubTypes(false); + if (null != subTypes) + { + typeDefs.addAll(subTypes); + } + } + } + return typeDefs; + } } diff --git a/source/java/org/alfresco/repo/cmis/ws/DMVersioningServicePort.java b/source/java/org/alfresco/repo/cmis/ws/DMVersioningServicePort.java index fdd71ac70d..d4e0a6f209 100755 --- a/source/java/org/alfresco/repo/cmis/ws/DMVersioningServicePort.java +++ b/source/java/org/alfresco/repo/cmis/ws/DMVersioningServicePort.java @@ -50,7 +50,7 @@ import org.alfresco.service.cmr.version.VersionType; * @author Dmitry Lazurkin * @author Dmitry Velichkevich */ -@javax.jws.WebService(name = "VersioningServicePort", serviceName = "VersioningService", portName = "VersioningServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", endpointInterface = "org.alfresco.repo.cmis.ws.VersioningServicePort") +@javax.jws.WebService(name = "VersioningServicePort", serviceName = "VersioningService", portName = "VersioningServicePort", targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", endpointInterface = "org.alfresco.repo.cmis.ws.VersioningServicePort") public class DMVersioningServicePort extends DMAbstractServicePort implements VersioningServicePort { private LockService lockService; @@ -69,7 +69,8 @@ public class DMVersioningServicePort extends DMAbstractServicePort implements Ve * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, * UPDATE_CONFLICT, VERSIONING) */ - public void cancelCheckOut(String repositoryId, String documentId) throws CmisException + // FIXME [~BUG]: may it is better returning id of the unchecked out document + public void cancelCheckOut(String repositoryId, String documentId, Holder extension) throws CmisException { checkRepositoryId(repositoryId); NodeRef workingCopyNodeRef = cmisObjectsUtils.getIdentifierInstance(documentId, AlfrescoObjectType.DOCUMENT_OBJECT); @@ -82,7 +83,7 @@ public class DMVersioningServicePort extends DMAbstractServicePort implements Ve { if (!getTypeDefinition(workingCopyNodeRef).isVersionable()) { - // TODO: uncomment this when CMIS dictionary model will be corrected + // FIXME: uncomment this when CMIS dictionary model will be corrected // throw cmisObjectsUtils.createCmisException("Document that was specified is not versionable", EnumServiceException.CONSTRAINT); } } @@ -110,8 +111,9 @@ public class DMVersioningServicePort extends DMAbstractServicePort implements Ve * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, STORAGE, * STREAM_NOT_SUPPORTED, UPDATE_CONFLICT, VERSIONING) */ + // FIXME [~BUG]: it is better changing 'void' to 'PWC Id' result type public void checkIn(String repositoryId, Holder documentId, Boolean major, CmisPropertiesType properties, CmisContentStreamType contentStream, String checkinComment, - List applyPolicies, CmisAccessControlListType addACEs, CmisAccessControlListType removeACEs) throws CmisException + List policies, CmisAccessControlListType addACEs, CmisAccessControlListType removeACEs, Holder extension) throws CmisException { checkRepositoryId(repositoryId); NodeRef workingCopyNodeRef = cmisObjectsUtils.getIdentifierInstance(documentId.value, AlfrescoObjectType.DOCUMENT_OBJECT); @@ -136,7 +138,7 @@ public class DMVersioningServicePort extends DMAbstractServicePort implements Ve } catch (Exception e) { - throw cmisObjectsUtils.createCmisException("Exception while updating content stream", EnumServiceException.RUNTIME, e); + throw cmisObjectsUtils.createCmisException("Exception while updating content stream", EnumServiceException.UPDATE_CONFLICT, e); } } @@ -145,7 +147,6 @@ public class DMVersioningServicePort extends DMAbstractServicePort implements Ve { nodeRef = checkOutCheckInService.checkin(workingCopyNodeRef, createVersionProperties(checkinComment, ((null == major) || major) ? (VersionType.MAJOR) : (VersionType.MINOR))); - propertiesUtil.setProperties(nodeRef, properties, null); } catch (Exception e) @@ -166,7 +167,7 @@ public class DMVersioningServicePort extends DMAbstractServicePort implements Ve * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, CONSTRAINT, STORAGE, * UPDATE_CONFLICT, VERSIONING) */ - public void checkOut(String repositoryId, Holder documentId, Holder contentCopied) throws CmisException + public void checkOut(String repositoryId, Holder documentId, Holder extension, Holder contentCopied) throws CmisException { checkRepositoryId(repositoryId); NodeRef documentNodeRef = cmisObjectsUtils.getIdentifierInstance(documentId.value, AlfrescoObjectType.DOCUMENT_OBJECT); @@ -176,7 +177,7 @@ public class DMVersioningServicePort extends DMAbstractServicePort implements Ve LockStatus lockStatus = lockService.getLockStatus(documentNodeRef); if (lockStatus.equals(LockStatus.LOCKED) || lockStatus.equals(LockStatus.LOCK_OWNER) || nodeService.hasAspect(documentNodeRef, ContentModel.ASPECT_WORKING_COPY)) { - throw cmisObjectsUtils.createCmisException("Object is already checked out", EnumServiceException.UPDATE_CONFLICT); + throw cmisObjectsUtils.createCmisException("Object is locked or already checked out", EnumServiceException.UPDATE_CONFLICT); } try @@ -218,23 +219,22 @@ public class DMVersioningServicePort extends DMAbstractServicePort implements Ve * @return list of CmisObjectType * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FILTER_NOT_VALID) */ - public List getAllVersions(String repositoryId, String versionSeriesId, String filter, Boolean includeAllowableActions, - EnumIncludeRelationships includeRelationships) throws CmisException + public List getAllVersions(String repositoryId, String objectId, String filter, Boolean includeAllowableActions, CmisExtensionType extension) + throws CmisException { checkRepositoryId(repositoryId); - - NodeRef documentNodeRef = cmisObjectsUtils.getIdentifierInstance(versionSeriesId, AlfrescoObjectType.DOCUMENT_OBJECT); + NodeRef documentNodeRef = cmisObjectsUtils.getIdentifierInstance(objectId, AlfrescoObjectType.DOCUMENT_OBJECT); documentNodeRef = cmisObjectsUtils.getLatestNode(documentNodeRef, false); PropertyFilter propertyFilter = createPropertyFilter(filter); - List objects = new LinkedList(); + includeAllowableActions = (null == includeAllowableActions) ? (false) : (includeAllowableActions); try { NodeRef workingCopyNodeReference = cmisObjectsUtils.isWorkingCopy(documentNodeRef) ? documentNodeRef : checkOutCheckInService.getWorkingCopy(documentNodeRef); if (null != workingCopyNodeReference) { - objects.add(createCmisObject(workingCopyNodeReference, propertyFilter)); + objects.add(createCmisObject(workingCopyNodeReference, propertyFilter, includeAllowableActions)); } } catch (Exception e) @@ -250,10 +250,10 @@ public class DMVersioningServicePort extends DMAbstractServicePort implements Ve { for (Version version = versionService.getCurrentVersion(documentNodeRef); null != version; version = versionHistory.getPredecessor(version)) { - objects.add(createCmisObject(version.getFrozenStateNodeRef(), propertyFilter)); + objects.add(createCmisObject(version.getFrozenStateNodeRef(), propertyFilter, includeAllowableActions)); } } - // TODO: includeAllowableActions, includeRelationships + // TODO: includeRelationships return objects; } @@ -266,25 +266,14 @@ public class DMVersioningServicePort extends DMAbstractServicePort implements Ve * @return CmisObjectType with properties * @throws CmisException (with following {@link EnumServiceException} : INVALID_ARGUMENT, OBJECT_NOT_FOUND, NOT_SUPPORTED, PERMISSION_DENIED, RUNTIME, FILTER_NOT_VALID) */ - public CmisObjectType getPropertiesOfLatestVersion(String repositoryId, String versionSeriesId, boolean major, String filter, Boolean includeACL) throws CmisException + public CmisPropertiesType getPropertiesOfLatestVersion(String repositoryId, String objectId, Boolean major, String filter, CmisExtensionType extension) throws CmisException { checkRepositoryId(repositoryId); + NodeRef documentNodeRef = cmisObjectsUtils.getIdentifierInstance(objectId, AlfrescoObjectType.DOCUMENT_OBJECT); PropertyFilter propertyFilter = createPropertyFilter(filter); - - NodeRef documentNodeRef = cmisObjectsUtils.getIdentifierInstance(versionSeriesId, AlfrescoObjectType.DOCUMENT_OBJECT); - NodeRef latestVersionNodeRef = cmisObjectsUtils.getLatestNode(documentNodeRef, major); - - Boolean majorVersionProperty = propertiesUtil.getProperty(latestVersionNodeRef, CMISDictionaryModel.PROP_IS_MAJOR_VERSION, false); - if (major && !majorVersionProperty) - { - throw cmisObjectsUtils.createCmisException("Object that was specified has no latest major version", EnumServiceException.OBJECT_NOT_FOUND); - } - - CmisObjectType result = new CmisObjectType(); - result.setProperties(propertiesUtil.getPropertiesType(latestVersionNodeRef.toString(), propertyFilter)); - // TODO: includeACL - - return result; + major = (null == major) ? (false) : (major); + NodeRef latestVersionNodeRef = getAndCheckLatestNodeRef(documentNodeRef, major); + return propertiesUtil.getPropertiesType(latestVersionNodeRef.toString(), propertyFilter); } private void assertLatestVersion(NodeRef nodeRef, boolean shouldBePwc) throws CmisException @@ -305,4 +294,36 @@ public class DMVersioningServicePort extends DMAbstractServicePort implements Ve } } } + + /** + * + */ + // TODO: it is necessary to add tests for this method + public CmisObjectType getObjectOfLatestVersion(String repositoryId, String objectId, Boolean major, String filter, Boolean includeAllowableActions, + EnumIncludeRelationships includeRelationships, String renditionFilter, Boolean includePolicyIds, Boolean includeACL, CmisExtensionType extension) throws CmisException + { + checkRepositoryId(repositoryId); + NodeRef documentNodeRef = cmisObjectsUtils.getIdentifierInstance(objectId, AlfrescoObjectType.DOCUMENT_OBJECT); + PropertyFilter propertyFilter = createPropertyFilter(filter); + includeAllowableActions = (null == includeAllowableActions) ? (false) : (includeAllowableActions); + major = (null == major) ? (false) : (major); + NodeRef latestVersionNodeRef = getAndCheckLatestNodeRef(documentNodeRef, major); + // TODO: includeACL + // TODO: includeRelationships + // TODO: includePolicyIds + // TODO: renditionFilter + CmisObjectType result = createCmisObject(latestVersionNodeRef.toString(), propertyFilter, includeAllowableActions); + return result; + } + + private NodeRef getAndCheckLatestNodeRef(NodeRef documentNodeRef, Boolean major) throws CmisException + { + NodeRef latestVersionNodeRef = cmisObjectsUtils.getLatestNode(documentNodeRef, major); + Boolean majorVersionProperty = propertiesUtil.getProperty(latestVersionNodeRef, CMISDictionaryModel.PROP_IS_MAJOR_VERSION, false); + if (major && !majorVersionProperty) + { + throw cmisObjectsUtils.createCmisException("Object that was specified has no latest major version", EnumServiceException.OBJECT_NOT_FOUND); + } + return latestVersionNodeRef; + } } diff --git a/source/java/org/alfresco/repo/cmis/ws/utils/CmisObjectsUtils.java b/source/java/org/alfresco/repo/cmis/ws/utils/CmisObjectsUtils.java index 349fbb1d76..9858d499de 100755 --- a/source/java/org/alfresco/repo/cmis/ws/utils/CmisObjectsUtils.java +++ b/source/java/org/alfresco/repo/cmis/ws/utils/CmisObjectsUtils.java @@ -40,7 +40,7 @@ import org.alfresco.repo.cmis.ws.CmisFaultType; import org.alfresco.repo.cmis.ws.EnumBaseObjectTypeIds; import org.alfresco.repo.cmis.ws.EnumRelationshipDirection; import org.alfresco.repo.cmis.ws.EnumServiceException; -import org.alfresco.repo.cmis.ws.utils.DescendantsQueueManager.DescendantElement; +import org.alfresco.repo.cmis.ws.EnumUnfileObject; import org.alfresco.repo.security.authentication.AuthenticationUtil; import org.alfresco.repo.security.permissions.AccessDeniedException; import org.alfresco.service.cmr.coci.CheckOutCheckInService; @@ -102,7 +102,7 @@ public class CmisObjectsUtils private NodeService nodeService; private LockService lockService; - private Throwable lastOperationException; + private Throwable lastException; public void setCmisDictionaryService(CMISDictionaryService cmisDictionaryService) { @@ -204,41 +204,18 @@ public class CmisObjectsUtils throw createCmisException(("Unexpected object type of the specified Object with \"" + identifier + "\" identifier"), EnumServiceException.INVALID_ARGUMENT); } - public void deleteFolder(NodeRef folderNodeReference, boolean continueOnFailure, boolean totalDeletion, List resultList) throws CmisException + public List deleteFolder(NodeRef folderNodeReference, boolean continueOnFailure, EnumUnfileObject unfillingStrategy, boolean deleteAllVersions) throws CmisException { - DescendantsQueueManager queueManager = new DescendantsQueueManager(new ChildAssociationRef(ContentModel.ASSOC_CONTAINS, null, null, folderNodeReference)); - - do + CmisObjectIterator iterator = new CmisObjectIterator(folderNodeReference, unfillingStrategy, continueOnFailure, deleteAllVersions, nodeService, fileFolderService, + versionService, checkOutCheckInService, this); + if (iterator.hasNext()) { - DescendantElement currentElement = queueManager.getNextElement(); - if (!nodeService.exists(currentElement.getChildAssoc().getChildRef())) + for (; iterator.hasNext(); iterator.next()) { - continue; + iterator.remove(); } - - UnlinkOperationStatus unlinkStatus = unlinkObject(currentElement.getChildAssoc().getChildRef(), currentElement.getChildAssoc().getParentRef(), totalDeletion); - if (!unlinkStatus.isObjectUnlinked()) - { - processUnlinkStatus(currentElement, unlinkStatus, queueManager, resultList, continueOnFailure); - } - } while (!queueManager.isEmpty() && (continueOnFailure || resultList.isEmpty())); - } - - private void processUnlinkStatus(DescendantElement currentElement, UnlinkOperationStatus unlinkStatus, DescendantsQueueManager queueManager, List resultList, - boolean addAllFailedToDelete) - { - if (!unlinkStatus.getChildren().isEmpty()) - { - queueManager.addLast(currentElement); - queueManager.addFirst(currentElement, unlinkStatus.getChildren()); - return; - } - - resultList.add(currentElement.getChildAssoc().getChildRef().toString()); - if (addAllFailedToDelete) - { - queueManager.removeParents(currentElement, resultList); } + return iterator.getFailToDelete(); } public boolean deleteObject(NodeRef objectNodeReference) @@ -279,7 +256,7 @@ public class CmisObjectsUtils } catch (Throwable e) { - this.lastOperationException = e; + lastException = e; return false; } return true; @@ -298,7 +275,7 @@ public class CmisObjectsUtils } catch (Throwable e) { - this.lastOperationException = e; + lastException = e; return false; } } @@ -472,6 +449,7 @@ public class CmisObjectsUtils } catch (Throwable e) { + lastException = e; return false; } return true; @@ -483,27 +461,6 @@ public class CmisObjectsUtils return (this.lockService.getLockStatus(objectNodeReference, currentUserName) != LockStatus.LOCKED) || authorityService.isAdminAuthority(currentUserName); } - private UnlinkOperationStatus unlinkObject(NodeRef objectNodeReference, NodeRef parentFolderNodeReference, boolean totalDeletion) - { - if (isFolder(objectNodeReference)) - { - List children = nodeService.getChildAssocs(objectNodeReference); - boolean objectUnlinked = (children == null || children.isEmpty()) && deleteObject(objectNodeReference); - return new UnlinkOperationStatus(objectUnlinked, children != null ? children : new LinkedList()); - } - - boolean objectUnlinked = false; - if (totalDeletion) - { - objectUnlinked = deleteObject(objectNodeReference); - } - else - { - objectUnlinked = !isPrimaryObjectParent(parentFolderNodeReference, objectNodeReference) && removeObject(objectNodeReference, parentFolderNodeReference); - } - return new UnlinkOperationStatus(objectUnlinked, new LinkedList()); - } - private AssociationRef safeGetAssociationRef(String identifier) throws CmisException { AssociationRef result = new AssociationRef(identifier); @@ -604,36 +561,10 @@ public class CmisObjectsUtils } } - private class UnlinkOperationStatus - { - private boolean objectUnlinked; - private List children; - - public UnlinkOperationStatus(boolean objectUnlinked, List children) - { - this.objectUnlinked = objectUnlinked; - this.children = children; - } - - @SuppressWarnings("unused") - protected UnlinkOperationStatus() - { - } - - public boolean isObjectUnlinked() - { - return objectUnlinked; - } - - public List getChildren() - { - return this.children; - } - } - public Throwable getLastOperationException() { - return lastOperationException; + Throwable result = lastException; + lastException = null; + return result; } - } diff --git a/source/java/org/alfresco/repo/cmis/ws/utils/PropertyUtil.java b/source/java/org/alfresco/repo/cmis/ws/utils/PropertyUtil.java index be1eb27c92..a3475c7f4d 100755 --- a/source/java/org/alfresco/repo/cmis/ws/utils/PropertyUtil.java +++ b/source/java/org/alfresco/repo/cmis/ws/utils/PropertyUtil.java @@ -57,7 +57,6 @@ import org.alfresco.repo.cmis.ws.CmisPropertyId; import org.alfresco.repo.cmis.ws.CmisPropertyInteger; import org.alfresco.repo.cmis.ws.CmisPropertyString; import org.alfresco.repo.cmis.ws.CmisPropertyUri; -import org.alfresco.repo.cmis.ws.CmisPropertyXml; import org.alfresco.repo.cmis.ws.EnumServiceException; import org.alfresco.repo.security.authentication.AuthenticationUtil; import org.alfresco.service.cmr.dictionary.DictionaryService; @@ -250,10 +249,6 @@ public class PropertyUtil { convertedValue = ((CmisPropertyUri) cmisProperty).getValue(); } - else if (cmisProperty instanceof CmisPropertyXml) - { - convertedValue = ((CmisPropertyXml) cmisProperty).getValue(); - } if (null != convertedValue) { @@ -421,13 +416,13 @@ public class PropertyUtil public String getPropertyName(CmisProperty property) { - String propertyName = (null != property) ? (property.getPdid()) : (null); + String propertyName = (null != property) ? (property.getPropertyDefinitionId()) : (null); if (null == propertyName) { - propertyName = property.getLocalname(); + propertyName = property.getLocalName(); if (null == propertyName) { - propertyName = property.getDisplayname(); + propertyName = property.getDisplayName(); } } return propertyName; @@ -600,7 +595,7 @@ public class PropertyUtil case BOOLEAN: { CmisPropertyBoolean property = new CmisPropertyBoolean(); - property.setPdid(pdid); + property.setPropertyDefinitionId(pdid); if (value instanceof Collection) { @@ -619,7 +614,7 @@ public class PropertyUtil case STRING: { CmisPropertyString property = new CmisPropertyString(); - property.setPdid(pdid); + property.setPropertyDefinitionId(pdid); if (value instanceof Collection) { @@ -638,7 +633,7 @@ public class PropertyUtil case INTEGER: { CmisPropertyInteger property = new CmisPropertyInteger(); - property.setPdid(pdid); + property.setPropertyDefinitionId(pdid); if (value instanceof Collection) { @@ -657,7 +652,7 @@ public class PropertyUtil case DATETIME: { CmisPropertyDateTime property = new CmisPropertyDateTime(); - property.setPdid(pdid); + property.setPropertyDefinitionId(pdid); if (value instanceof Collection) { @@ -684,7 +679,7 @@ public class PropertyUtil case ID: { CmisPropertyId property = new CmisPropertyId(); - property.setPdid(pdid); + property.setPropertyDefinitionId(pdid); if (value instanceof Collection) { @@ -703,7 +698,7 @@ public class PropertyUtil case URI: { CmisPropertyUri property = new CmisPropertyUri(); - property.setPdid(pdid); + property.setPropertyDefinitionId(pdid); if (value instanceof Collection) { @@ -722,7 +717,7 @@ public class PropertyUtil case DECIMAL: { CmisPropertyDecimal property = new CmisPropertyDecimal(); - property.setPdid(pdid); + property.setPropertyDefinitionId(pdid); if (value instanceof Collection) { @@ -760,18 +755,18 @@ public class PropertyUtil case HTML: { CmisPropertyHtml property = new CmisPropertyHtml(); - property.setPdid(pdid); + property.setPropertyDefinitionId(pdid); if (value instanceof Collection) { - for (CmisPropertyHtml.Value propertyValue : (Collection) value) + for (String propertyValue : (Collection) value) { property.getValue().add(propertyValue); } } else { - property.getValue().add((CmisPropertyHtml.Value) value); + property.getValue().add((String) value); } return property; diff --git a/source/test/java/org/alfresco/repo/cmis/ws/AbstractServiceTest.java b/source/test/java/org/alfresco/repo/cmis/ws/AbstractServiceTest.java index cf5f5c5698..d81be5e928 100644 --- a/source/test/java/org/alfresco/repo/cmis/ws/AbstractServiceTest.java +++ b/source/test/java/org/alfresco/repo/cmis/ws/AbstractServiceTest.java @@ -171,13 +171,13 @@ public abstract class AbstractServiceTest extends TestCase private String getPropertyName(CmisProperty property) { - String propertyName = (null != property) ? (property.getPdid()) : (null); + String propertyName = (null != property) ? (property.getPropertyDefinitionId()) : (null); if (null == propertyName) { - propertyName = property.getLocalname(); + propertyName = property.getLocalName(); if (null == propertyName) { - propertyName = property.getDisplayname(); + propertyName = property.getDisplayName(); } } return propertyName; @@ -193,10 +193,9 @@ public abstract class AbstractServiceTest extends TestCase { String property = null; - if (response != null && response.getObject() != null) + if (response != null && response.getProperties() != null) { - CmisObjectType object = response.getObject(); - CmisPropertiesType properties = object.getProperties(); + CmisPropertiesType properties = response.getProperties(); property = getIdProperty(properties, CMISDictionaryModel.PROP_OBJECT_ID); } else @@ -206,18 +205,40 @@ public abstract class AbstractServiceTest extends TestCase return property; } - public void validateResponse(List objects) + protected void validateResponse(List objects) { for (CmisObjectType object : objects) { - CmisPropertiesType properties = object.getProperties(); - String name = null; - name = getStringProperty(properties, CMISDictionaryModel.PROP_NAME); - assertNotNull(name); + validateCmisObjectType(object); } } + protected void validateCmisObjectType(CmisObjectType object) + { + assertNotNull(object); + assertNotNull(object.getProperties()); + assertNotNull(object.getProperties().getProperty()); + assertFalse(object.getProperties().getProperty().isEmpty()); + CmisPropertiesType properties = object.getProperties(); + String name = getStringProperty(properties, CMISDictionaryModel.PROP_NAME); + assertNotNull(name); + } + + protected void validateResponse(List objects, boolean validateChildrent) + { + for (CmisObjectInFolderContainerType object : objects) + { + assertNotNull(object); + assertNotNull(object.getObjectInFolder()); + validateCmisObjectType(object.getObjectInFolder().getObject()); + if (validateChildrent && (null != object.getChildren())) + { + validateResponse(object.getChildren(), validateChildrent); + } + } + } + public boolean isExistItemWithProperty(List objects, String propertyName, String propertyValue) { boolean isFound = false; diff --git a/source/test/java/org/alfresco/repo/cmis/ws/CMISCustomTypeTest.java b/source/test/java/org/alfresco/repo/cmis/ws/CMISCustomTypeTest.java index 74caa8e3ed..a48885db85 100755 --- a/source/test/java/org/alfresco/repo/cmis/ws/CMISCustomTypeTest.java +++ b/source/test/java/org/alfresco/repo/cmis/ws/CMISCustomTypeTest.java @@ -25,8 +25,6 @@ package org.alfresco.repo.cmis.ws; import java.math.BigInteger; -import java.util.LinkedList; -import java.util.List; import javax.activation.DataHandler; import javax.xml.ws.Holder; @@ -56,20 +54,23 @@ public class CMISCustomTypeTest extends TestCase private static DiscoveryServicePort discoveryServicePort; private static NavigationServicePort navigationServicePort; private static PropertyUtil propertiesUtil; + private ObjectFactory cmisObjectFactory = new ObjectFactory(); @Override protected void setUp() throws Exception { if (null == applicationContext) { - applicationContext = new ClassPathXmlApplicationContext(new String[] {"classpath:alfresco/application-context.xml", "classpath:alfresco/cmis-ws-context.xml", "classpath:cmis/cmis-test-context.xml"}); + applicationContext = new ClassPathXmlApplicationContext(new String[] { "classpath:alfresco/application-context.xml", "classpath:alfresco/cmis-ws-context.xml", + "classpath:cmis/cmis-test-context.xml" }); ServiceRegistry serviceRegistry = (ServiceRegistry) applicationContext.getBean(ServiceRegistry.SERVICE_REGISTRY); authenticationService = serviceRegistry.getAuthenticationService(); } authenticationService.authenticate(USERNAME, PASSWORD.toCharArray()); - if(null == propertiesUtil) { + if (null == propertiesUtil) + { propertiesUtil = (PropertyUtil) applicationContext.getBean("propertiesUtils"); } if (repositoryServicePort == null) @@ -88,21 +89,25 @@ public class CMISCustomTypeTest extends TestCase { discoveryServicePort = (DiscoveryServicePort) applicationContext.getBean("dmDiscoveryService"); } - repositoryId = repositoryId == null ? repositoryServicePort.getRepositories().get(0).getId() : repositoryId; + repositoryId = repositoryId == null ? repositoryServicePort.getRepositories(null).get(0).getRepositoryId() : repositoryId; if (folderId == null) { - String rootFolderId = repositoryServicePort.getRepositoryInfo(repositoryId).getRootFolderId(); - Holder> response = new Holder>(new LinkedList()); - Holder hasMoreItems = new Holder(); - navigationServicePort.getChildren(repositoryId, folderId, "*", false, EnumIncludeRelationships.NONE, false, false, BigInteger.ZERO, BigInteger.ZERO, "", response, hasMoreItems); + String rootFolderId = repositoryServicePort.getRepositoryInfo(repositoryId, null).getRootFolderId(); + // TODO: orderBy + // TODO: renditionFilter + CmisObjectInFolderListType response = navigationServicePort.getChildren(repositoryId, folderId, "*", "", false, EnumIncludeRelationships.NONE, "", false, + BigInteger.ZERO, BigInteger.ZERO, null); assertNotNull(response); - assertNotNull(response.value); - for (CmisObjectType cmisObjectType : response.value) + assertNotNull(response.getObjects()); + for (CmisObjectInFolderType cmisObjectType : response.getObjects()) { - CmisPropertyString propertyString = (CmisPropertyString) getCmisProperty(cmisObjectType.getProperties(), "Name"); + assertNotNull(cmisObjectType); + assertNotNull(cmisObjectType.getObject()); + assertNotNull(cmisObjectType.getObject().getProperties()); + CmisPropertyString propertyString = (CmisPropertyString) getCmisProperty(cmisObjectType.getObject().getProperties(), "Name"); if (propertyString != null && propertyString.getValue() != null && propertyString.getValue().size() > 0 && "CMIS Tests".equals(propertyString.getValue().get(0))) { - folderId = ((CmisPropertyId) getCmisProperty(cmisObjectType.getProperties(), "ObjectId")).getValue().get(0); + folderId = ((CmisPropertyId) getCmisProperty(cmisObjectType.getObject().getProperties(), "ObjectId")).getValue().get(0); break; } } @@ -125,11 +130,11 @@ public class CMISCustomTypeTest extends TestCase String folderId1 = createTestFolder(repositoryId, "testCreateCustomFolder" + System.currentTimeMillis(), folderId, true); assertNotNull(folderId1); - CmisObjectType propertiesObject = objectServicePort.getProperties(repositoryId, folderId1, "*", false, EnumIncludeRelationships.NONE, false); + CmisPropertiesType propertiesObject = objectServicePort.getProperties(repositoryId, folderId1, "*", null); assertNotNull(propertiesObject); - CmisPropertyId objectTypeId = (CmisPropertyId) getCmisProperty(propertiesObject.getProperties(), "ObjectTypeId"); + CmisPropertyId objectTypeId = (CmisPropertyId) getCmisProperty(propertiesObject, "ObjectTypeId"); assertTrue(objectTypeId != null && objectTypeId.getValue() != null && objectTypeId.getValue().size() == 1 && "F/cmiscustom_folder".equals(objectTypeId.getValue().get(0))); - CmisPropertyString customProp = (CmisPropertyString) getCmisProperty(propertiesObject.getProperties(), "cmiscustom_folderprop_string"); + CmisPropertyString customProp = (CmisPropertyString) getCmisProperty(propertiesObject, "cmiscustom_folderprop_string"); assertTrue(customProp != null && customProp.getValue() != null && customProp.getValue().size() == 1 && "custom string".equals(customProp.getValue().get(0))); } @@ -138,16 +143,17 @@ public class CMISCustomTypeTest extends TestCase String documentId = createTestDocument(repositoryId, "testCreateCustomDocument" + System.currentTimeMillis(), folderId, true); assertNotNull(documentId); - CmisObjectType propertiesObject = objectServicePort.getProperties(repositoryId, documentId, "*", false, EnumIncludeRelationships.NONE, false); + CmisPropertiesType propertiesObject = objectServicePort.getProperties(repositoryId, documentId, "*", null); assertNotNull(propertiesObject); - CmisPropertyId objectTypeId = (CmisPropertyId) getCmisProperty(propertiesObject.getProperties(), "ObjectTypeId"); + CmisPropertyId objectTypeId = (CmisPropertyId) getCmisProperty(propertiesObject, "ObjectTypeId"); assertTrue(objectTypeId != null && objectTypeId.getValue() != null && objectTypeId.getValue().size() == 1 && "D/cmiscustom_document".equals(objectTypeId.getValue().get(0))); - CmisPropertyString customProp = (CmisPropertyString) getCmisProperty(propertiesObject.getProperties(), "cmiscustom_docprop_string"); + CmisPropertyString customProp = (CmisPropertyString) getCmisProperty(propertiesObject, "cmiscustom_docprop_string"); assertTrue(customProp != null && customProp.getValue() != null && customProp.getValue().size() == 1 && "custom string".equals(customProp.getValue().get(0))); - CmisPropertyBoolean propertyMulti = (CmisPropertyBoolean) getCmisProperty(propertiesObject.getProperties(), "cmiscustom_docprop_boolean_multi"); - assertTrue(propertyMulti != null && propertyMulti.getValue() != null && propertyMulti.getValue().size() == 2 && propertyMulti.getValue().get(0) && !propertyMulti.getValue().get(1)); + CmisPropertyBoolean propertyMulti = (CmisPropertyBoolean) getCmisProperty(propertiesObject, "cmiscustom_docprop_boolean_multi"); + assertTrue(propertyMulti != null && propertyMulti.getValue() != null && propertyMulti.getValue().size() == 2 && propertyMulti.getValue().get(0) + && !propertyMulti.getValue().get(1)); } public void testUpdate() throws Exception @@ -160,42 +166,41 @@ public class CMISCustomTypeTest extends TestCase String newName = "Updated Title " + System.currentTimeMillis(); String customProp = "custom " + System.currentTimeMillis(); CmisPropertyString cmisPropertyString = new CmisPropertyString(); - cmisPropertyString.setPdid("Name"); + cmisPropertyString.setPropertyDefinitionId("Name"); cmisPropertyString.getValue().add(newName); properties.getProperty().add(cmisPropertyString); cmisPropertyString = new CmisPropertyString(); - cmisPropertyString.setPdid("cmiscustom_docprop_string"); + cmisPropertyString.setPropertyDefinitionId("cmiscustom_docprop_string"); cmisPropertyString.getValue().add(customProp); properties.getProperty().add(cmisPropertyString); CmisPropertyBoolean cmisPropertymulti = new CmisPropertyBoolean(); - cmisPropertymulti.setPdid("cmiscustom_docprop_boolean_multi"); + cmisPropertymulti.setPropertyDefinitionId("cmiscustom_docprop_boolean_multi"); cmisPropertymulti.getValue().add(false); cmisPropertymulti.getValue().add(true); properties.getProperty().add(cmisPropertymulti); - objectServicePort.updateProperties(repositoryId, holder, null, properties); + objectServicePort.updateProperties(repositoryId, holder, null, properties, null); - CmisObjectType propertiesObject = objectServicePort.getProperties(repositoryId, documentId, "*", false, EnumIncludeRelationships.NONE, false); + CmisPropertiesType propertiesObject = objectServicePort.getProperties(repositoryId, documentId, "*", null); assertNotNull(propertiesObject); - CmisPropertyId objectTypeId = (CmisPropertyId) getCmisProperty(propertiesObject.getProperties(), "ObjectTypeId"); + CmisPropertyId objectTypeId = (CmisPropertyId) getCmisProperty(propertiesObject, "ObjectTypeId"); assertTrue(objectTypeId != null && objectTypeId.getValue() != null && objectTypeId.getValue().size() == 1 && "D/cmiscustom_document".equals(objectTypeId.getValue().get(0))); - CmisPropertyString propertyString = (CmisPropertyString) getCmisProperty(propertiesObject.getProperties(), "Name"); + CmisPropertyString propertyString = (CmisPropertyString) getCmisProperty(propertiesObject, "Name"); assertTrue(propertyString != null && propertyString.getValue() != null && propertyString.getValue().size() == 1 && newName.equals(propertyString.getValue().get(0))); - propertyString = (CmisPropertyString) getCmisProperty(propertiesObject.getProperties(), "cmiscustom_docprop_string"); + propertyString = (CmisPropertyString) getCmisProperty(propertiesObject, "cmiscustom_docprop_string"); assertTrue(propertyString != null && propertyString.getValue() != null && propertyString.getValue().size() == 1 && customProp.equals(propertyString.getValue().get(0))); - CmisPropertyBoolean propertyMulti = (CmisPropertyBoolean) getCmisProperty(propertiesObject.getProperties(), "cmiscustom_docprop_boolean_multi"); - assertTrue(propertyMulti != null && propertyMulti.getValue() != null && propertyMulti.getValue().size() == 2 && !propertyMulti.getValue().get(0) && propertyMulti.getValue().get(1)); + CmisPropertyBoolean propertyMulti = (CmisPropertyBoolean) getCmisProperty(propertiesObject, "cmiscustom_docprop_boolean_multi"); + assertTrue(propertyMulti != null && propertyMulti.getValue() != null && propertyMulti.getValue().size() == 2 && !propertyMulti.getValue().get(0) + && propertyMulti.getValue().get(1)); } public void testDelete() throws Exception { String documentId = createTestDocument(repositoryId, "testDeleteCustomDocument" + System.currentTimeMillis(), folderId, true); assertNotNull(documentId); - assertTrue(isObjectInFolder(repositoryId, documentId, folderId)); - - objectServicePort.deleteObject(repositoryId, documentId, true); - + Holder extensions = new Holder(); + objectServicePort.deleteObject(repositoryId, documentId, true, extensions); assertFalse(isObjectInFolder(repositoryId, documentId, folderId)); } @@ -210,31 +215,32 @@ public class CMISCustomTypeTest extends TestCase String documentId3 = createTestDocument(repositoryId, "banana1", folderId1, true); assertNotNull(documentId3); - String query = "SELECT ObjectId, Name, ObjectTypeId, cmiscustom_docprop_string, cmiscustom_docprop_boolean_multi FROM cmiscustom_document " + - "WHERE IN_FOLDER('" + folderId1 + "') " + - "AND cmiscustom_docprop_string = 'custom string' "; + String query = "SELECT ObjectId, Name, ObjectTypeId, cmiscustom_docprop_string, cmiscustom_docprop_boolean_multi FROM cmiscustom_document " + "WHERE IN_FOLDER('" + + folderId1 + "') " + "AND cmiscustom_docprop_string = 'custom string' "; Query queryType = new Query(); queryType.setRepositoryId(repositoryId); queryType.setStatement(query); - queryType.setSkipCount(BigInteger.valueOf(0)); - queryType.setMaxItems(BigInteger.valueOf(5)); + queryType.setSkipCount(cmisObjectFactory.createQuerySkipCount(BigInteger.valueOf(3))); + queryType.setMaxItems(cmisObjectFactory.createQueryMaxItems(BigInteger.valueOf(5))); QueryResponse response = discoveryServicePort.query(queryType); assertNotNull(response); - assertEquals(2, response.getObject().size()); + assertNotNull(response.getObjects()); + assertNotNull(response.getObjects().getObjects()); + assertEquals(2, response.getObjects().getObjects().size()); CmisObjectType objectType1 = null; CmisObjectType objectType2 = null; for (int i = 0; i < 2; i++) { - CmisPropertyId cmisPropertyId = (CmisPropertyId) getCmisProperty(response.getObject().get(i).getProperties(), "ObjectId"); + CmisPropertyId cmisPropertyId = (CmisPropertyId) getCmisProperty(response.getObjects().getObjects().get(i).getProperties(), "ObjectId"); if (documentId2.equals(cmisPropertyId.getValue().get(0))) { - objectType1 = response.getObject().get(i); + objectType1 = response.getObjects().getObjects().get(i); } else if (documentId3.equals(cmisPropertyId.getValue().get(0))) { - objectType2 = response.getObject().get(i); + objectType2 = response.getObjects().getObjects().get(i); } } assertNotNull(objectType1); @@ -277,14 +283,18 @@ public class CMISCustomTypeTest extends TestCase private boolean isObjectInFolder(String repositoryId, String objectId, String folderId) throws CmisException { - Holder> response = new Holder>(new LinkedList()); - Holder hasMoreItems = new Holder(); - navigationServicePort.getChildren(repositoryId, folderId, "*", false, EnumIncludeRelationships.NONE, false, false, BigInteger.ZERO, BigInteger.ZERO, "", response, hasMoreItems); + // TODO: orderBy + // TODO: renditionsFilter + CmisObjectInFolderListType response = navigationServicePort.getChildren(repositoryId, folderId, "*", "", false, EnumIncludeRelationships.NONE, "", false, BigInteger.ZERO, + BigInteger.ZERO, null); assertNotNull(response); - assertNotNull(response.value); - for (CmisObjectType cmisObjectType : response.value) + assertNotNull(response.getObjects()); + for (CmisObjectInFolderType cmisObjectType : response.getObjects()) { - CmisPropertyId propertyId = (CmisPropertyId) getCmisProperty(cmisObjectType.getProperties(), "ObjectId"); + assertNotNull(cmisObjectType); + assertNotNull(cmisObjectType.getObject()); + assertNotNull(cmisObjectType.getObject().getProperties()); + CmisPropertyId propertyId = (CmisPropertyId) getCmisProperty(cmisObjectType.getObject().getProperties(), "ObjectId"); if (propertyId != null && propertyId.getValue() != null && propertyId.getValue().size() > 0 && objectId.equals(propertyId.getValue().get(0))) { return true; @@ -297,23 +307,23 @@ public class CMISCustomTypeTest extends TestCase { CmisPropertiesType properties = new CmisPropertiesType(); CmisPropertyString cmisPropertyString = new CmisPropertyString(); - cmisPropertyString.setPdid("Name"); + cmisPropertyString.setPropertyDefinitionId("Name"); cmisPropertyString.getValue().add(name); properties.getProperty().add(cmisPropertyString); if (custom) { cmisPropertyString = new CmisPropertyString(); - cmisPropertyString.setPdid("cmiscustom_docprop_string"); + cmisPropertyString.setPropertyDefinitionId("cmiscustom_docprop_string"); cmisPropertyString.getValue().add("custom string"); properties.getProperty().add(cmisPropertyString); CmisPropertyBoolean cmisPropertyBoolean = new CmisPropertyBoolean(); - cmisPropertyBoolean.setPdid("cmiscustom_docprop_boolean_multi"); + cmisPropertyBoolean.setPropertyDefinitionId("cmiscustom_docprop_boolean_multi"); cmisPropertyBoolean.getValue().add(true); cmisPropertyBoolean.getValue().add(false); properties.getProperty().add(cmisPropertyBoolean); } CmisPropertyId idProperty = new CmisPropertyId(); - idProperty.setPdid(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); + idProperty.setPropertyDefinitionId(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); idProperty.getValue().add(custom ? "D/cmiscustom_document" : "document"); properties.getProperty().add(idProperty); @@ -321,28 +331,33 @@ public class CMISCustomTypeTest extends TestCase cmisStream.setFilename(name); cmisStream.setMimeType(MimetypeMap.MIMETYPE_TEXT_PLAIN); cmisStream.setStream(new DataHandler(name, MimetypeMap.MIMETYPE_TEXT_PLAIN)); - return objectServicePort.createDocument(repositoryId, properties, folderId, cmisStream, null, null, null, null); + Holder extentionHolder = new Holder(); + Holder result = new Holder(); + objectServicePort.createDocument(repositoryId, properties, folderId, cmisStream, null, null, null, null, extentionHolder, result); + return result.value; } private String createTestFolder(String repositoryId, String name, String folderId, boolean custom) throws CmisException { CmisPropertiesType properties = new CmisPropertiesType(); CmisPropertyString cmisPropertyString = new CmisPropertyString(); - cmisPropertyString.setPdid("Name"); + cmisPropertyString.setPropertyDefinitionId("Name"); cmisPropertyString.getValue().add(name); properties.getProperty().add(cmisPropertyString); if (custom) { cmisPropertyString = new CmisPropertyString(); - cmisPropertyString.setPdid("cmiscustom_folderprop_string"); + cmisPropertyString.setPropertyDefinitionId("cmiscustom_folderprop_string"); cmisPropertyString.getValue().add("custom string"); properties.getProperty().add(cmisPropertyString); } CmisPropertyId idProperty = new CmisPropertyId(); - idProperty.setPdid(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); + idProperty.setPropertyDefinitionId(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); idProperty.getValue().add(custom ? "F/cmiscustom_folder" : "folder"); properties.getProperty().add(idProperty); - - return objectServicePort.createFolder(repositoryId, properties, folderId, null, null, null); + Holder extensions = new Holder(); + Holder result = new Holder(); + objectServicePort.createFolder(repositoryId, properties, folderId, null, null, null, extensions, result); + return result.value; } } diff --git a/source/test/java/org/alfresco/repo/cmis/ws/CmisServiceTestHelper.java b/source/test/java/org/alfresco/repo/cmis/ws/CmisServiceTestHelper.java index ff60d86e8b..722b131c26 100755 --- a/source/test/java/org/alfresco/repo/cmis/ws/CmisServiceTestHelper.java +++ b/source/test/java/org/alfresco/repo/cmis/ws/CmisServiceTestHelper.java @@ -29,7 +29,6 @@ import java.math.BigInteger; import java.net.MalformedURLException; import java.net.URL; import java.util.HashMap; -import java.util.LinkedList; import java.util.List; import java.util.Map; @@ -196,10 +195,10 @@ public class CmisServiceTestHelper extends TestCase CmisPropertiesType properties = new CmisPropertiesType(); List propertiesList = properties.getProperty(); CmisPropertyString cmisProperty = new CmisPropertyString(); - cmisProperty.setPdid(CMISDictionaryModel.PROP_NAME); + cmisProperty.setPropertyDefinitionId(CMISDictionaryModel.PROP_NAME); cmisProperty.getValue().add(name); CmisPropertyId idProperty = new CmisPropertyId(); - idProperty.setPdid(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); + idProperty.setPropertyDefinitionId(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); idProperty.getValue().add(CMISDictionaryModel.DOCUMENT_TYPE_ID.getId()); propertiesList.add(cmisProperty); @@ -212,11 +211,13 @@ public class CmisServiceTestHelper extends TestCase DataHandler dataHandler = new DataHandler(content, MimetypeMap.MIMETYPE_TEXT_PLAIN); cmisStream.setStream(dataHandler); + Holder extensions = new Holder(); + Holder idHolder = new Holder(); // public String createDocument(String repositoryId, String typeId, CmisPropertiesType properties, String folderId, CmisContentStreamType contentStream, // EnumVersioningState versioningState) - String objectId = objectServicePort.createDocument(repositoryId, properties, parentFolderId, cmisStream, EnumVersioningState.MAJOR, null, null, null); + objectServicePort.createDocument(repositoryId, properties, parentFolderId, cmisStream, EnumVersioningState.MAJOR, null, null, null, extensions, idHolder); // assertNotNull(objectId); - return objectId; + return idHolder.value; } public String createDocument(String name, String parentFolderId, CMISTypeId typeId, EnumVersioningState enumVersioningState) throws Exception @@ -226,10 +227,10 @@ public class CmisServiceTestHelper extends TestCase CmisPropertiesType properties = new CmisPropertiesType(); List propertiesList = properties.getProperty(); CmisPropertyString cmisProperty = new CmisPropertyString(); - cmisProperty.setPdid(CMISDictionaryModel.PROP_NAME); + cmisProperty.setPropertyDefinitionId(CMISDictionaryModel.PROP_NAME); cmisProperty.getValue().add(name); CmisPropertyId idProperty = new CmisPropertyId(); - idProperty.setPdid(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); + idProperty.setPropertyDefinitionId(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); idProperty.getValue().add(typeId.getId()); propertiesList.add(cmisProperty); @@ -242,11 +243,13 @@ public class CmisServiceTestHelper extends TestCase DataHandler dataHandler = new DataHandler(content, MimetypeMap.MIMETYPE_TEXT_PLAIN); cmisStream.setStream(dataHandler); + Holder extensions = new Holder(); + Holder idHolder = new Holder(); // public String createDocument(String repositoryId, String typeId, CmisPropertiesType properties, String folderId, CmisContentStreamType contentStream, // EnumVersioningState versioningState) - String objectId = objectServicePort.createDocument(repositoryId, properties, parentFolderId, cmisStream, enumVersioningState, null, null, null); + objectServicePort.createDocument(repositoryId, properties, parentFolderId, cmisStream, enumVersioningState, null, null, null, extensions, idHolder); // assertNotNull(objectId); - return objectId; + return idHolder.value; } public String createDocumentImage(String name, String parentFolderId) throws Exception @@ -262,20 +265,22 @@ public class CmisServiceTestHelper extends TestCase CmisPropertiesType properties = new CmisPropertiesType(); List propertiesList = properties.getProperty(); CmisPropertyString cmisProperty = new CmisPropertyString(); - cmisProperty.setPdid(CMISDictionaryModel.PROP_NAME); + cmisProperty.setPropertyDefinitionId(CMISDictionaryModel.PROP_NAME); cmisProperty.getValue().add(name + dataSource.getName()); CmisPropertyId idProperty = new CmisPropertyId(); - idProperty.setPdid(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); + idProperty.setPropertyDefinitionId(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); idProperty.getValue().add(CMISDictionaryModel.DOCUMENT_TYPE_ID.getId()); propertiesList.add(cmisProperty); propertiesList.add(idProperty); + Holder extensions = new Holder(); + Holder idHolder = new Holder(); // public String createDocument(String repositoryId, String typeId, CmisPropertiesType properties, String folderId, CmisContentStreamType contentStream, // EnumVersioningState versioningState) - String objectId = objectServicePort.createDocument(repositoryId, properties, parentFolderId, cmisStream, EnumVersioningState.MAJOR, null, null, null); + objectServicePort.createDocument(repositoryId, properties, parentFolderId, cmisStream, EnumVersioningState.MAJOR, null, null, null, extensions, idHolder); // assertNotNull(objectId); - return objectId; + return idHolder.value; } @@ -291,19 +296,21 @@ public class CmisServiceTestHelper extends TestCase List propertiesList = properties.getProperty(); CmisPropertyString cmisProperty = new CmisPropertyString(); - cmisProperty.setPdid(CMISDictionaryModel.PROP_NAME); + cmisProperty.setPropertyDefinitionId(CMISDictionaryModel.PROP_NAME); cmisProperty.getValue().add(name); CmisPropertyId idProperty = new CmisPropertyId(); - idProperty.setPdid(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); + idProperty.setPropertyDefinitionId(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); idProperty.getValue().add(CMISDictionaryModel.FOLDER_TYPE_ID.getId()); propertiesList.add(cmisProperty); propertiesList.add(idProperty); + Holder extensions = new Holder(); + Holder idHolder = new Holder(); // public String createFolder(String repositoryId, String typeId, CmisPropertiesType properties, String folderId) - String objectId = objectServicePort.createFolder(repositoryId, properties, parentFolderId, null, null, null); + objectServicePort.createFolder(repositoryId, properties, parentFolderId, null, null, null, extensions, idHolder); // assertNotNull(objectId); - return objectId; + return idHolder.value; } public String createFolder(String name, String parentFolderId, CMISTypeId cmisTypeId) throws Exception @@ -313,58 +320,53 @@ public class CmisServiceTestHelper extends TestCase List propertiesList = properties.getProperty(); CmisPropertyString cmisProperty = new CmisPropertyString(); - cmisProperty.setPdid(CMISDictionaryModel.PROP_NAME); + cmisProperty.setPropertyDefinitionId(CMISDictionaryModel.PROP_NAME); cmisProperty.getValue().add(name); CmisPropertyId idProperty = new CmisPropertyId(); - idProperty.setPdid(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); + idProperty.setPropertyDefinitionId(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); idProperty.getValue().add(cmisTypeId.getId()); propertiesList.add(cmisProperty); propertiesList.add(idProperty); + Holder extensions = new Holder(); + Holder idHolder = new Holder(); // public String createFolder(String repositoryId, String typeId, CmisPropertiesType properties, String folderId) - String objectId = objectServicePort.createFolder(repositoryId, properties, parentFolderId, null, null, null); + objectServicePort.createFolder(repositoryId, properties, parentFolderId, null, null, null, extensions, idHolder); // assertNotNull(objectId); - return objectId; + return idHolder.value; } public void deleteDocument(String documentId) throws Exception { - objectServicePort.deleteObject(repositoryId, documentId, true); + objectServicePort.deleteObject(repositoryId, documentId, true, null); assertNull("Document has not been deleted", getObjectProperties(documentId)); } public void deleteFolder(String folderId) throws Exception { - objectServicePort.deleteTree(repositoryId, folderId, EnumUnfileObject.DELETE, true); + objectServicePort.deleteTree(repositoryId, folderId, true, EnumUnfileObject.DELETE, true, null); } public CmisObjectType getObjectProperties(String objectId) { - CmisObjectType response = null; - try - { - response = objectServicePort.getProperties(repositoryId, objectId, "*", true, EnumIncludeRelationships.BOTH, false); - } - catch (Exception e) - { - - } - return response; + return getObjectProperties(objectId, "*"); } public CmisObjectType getObjectProperties(String objectId, String filter) { - CmisObjectType response = null; + CmisPropertiesType response = null; try { - response = objectServicePort.getProperties(repositoryId, objectId, filter, true, EnumIncludeRelationships.BOTH, false); + response = objectServicePort.getProperties(repositoryId, objectId, filter, null); } catch (Exception e) { - fail(e.getMessage()); + } - return response; + CmisObjectType result = new CmisObjectType(); + result.setProperties(response); + return result; } /** @@ -379,7 +381,7 @@ public class CmisServiceTestHelper extends TestCase String rootFolder = null; try { - rootFolder = repositoryServicePort.getRepositoryInfo(repositoryId).getRootFolderId(); + rootFolder = repositoryServicePort.getRepositoryInfo(repositoryId, null).getRootFolderId(); } catch (Exception e) { @@ -394,16 +396,19 @@ public class CmisServiceTestHelper extends TestCase PropertyUtil propertiesUtil = new PropertyUtil(); try { - List response = getChildren(companyHomeId, 0, "*"); - for (CmisObjectType object : response) + List response = getChildren(companyHomeId, 0, "*"); + for (CmisObjectInFolderType object : response) { - if (propertiesUtil.getCmisPropertyValue(object.getProperties(), CMISDictionaryModel.PROP_NAME, null).equals("User Homes")) + assertNotNull(object); + assertNotNull(object.getObject()); + assertNotNull(object.getObject().getProperties()); + if (propertiesUtil.getCmisPropertyValue(object.getObject().getProperties(), CMISDictionaryModel.PROP_NAME, null).equals("User Homes")) { - return (String) propertiesUtil.getCmisPropertyValue(object.getProperties(), CMISDictionaryModel.PROP_OBJECT_ID, null); + return (String) propertiesUtil.getCmisPropertyValue(object.getObject().getProperties(), CMISDictionaryModel.PROP_OBJECT_ID, null); } } - userHomeFolder = repositoryServicePort.getRepositoryInfo(repositoryId).getRootFolderId(); + userHomeFolder = repositoryServicePort.getRepositoryInfo(repositoryId, null).getRootFolderId(); } catch (Exception e) { @@ -413,7 +418,7 @@ public class CmisServiceTestHelper extends TestCase } public final static String REPOSITORY_SERVICE_WSDL_LOCATION = ALFRESCO_URL + "/cmis/RepositoryService?wsdl"; - public final static QName REPOSITORY_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "RepositoryService"); + public final static QName REPOSITORY_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "RepositoryService"); protected RepositoryServicePort getRepositoryServicePort() { @@ -434,7 +439,7 @@ public class CmisServiceTestHelper extends TestCase } public final static String OBJECT_SERVICE_WSDL_LOCATION = ALFRESCO_URL + "/cmis/ObjectService?wsdl"; - public final static QName OBJECT_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "ObjectService"); + public final static QName OBJECT_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "ObjectService"); protected ObjectServicePort getObjectServicePort() { @@ -455,7 +460,7 @@ public class CmisServiceTestHelper extends TestCase } public final static String VERSIONING_SERVICE_WSDL_LOCATION = ALFRESCO_URL + "/cmis/VersioningService?wsdl"; - public final static QName VERSIONING_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "VersioningService"); + public final static QName VERSIONING_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "VersioningService"); protected VersioningServicePort getVersioningServicePort() { @@ -474,7 +479,7 @@ public class CmisServiceTestHelper extends TestCase } public final static String MULTIFILING_SERVICE_WSDL_LOCATION = ALFRESCO_URL + "/cmis/MultiFilingService?wsdl"; - public final static QName MULTIFILING_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "MultiFilingService"); + public final static QName MULTIFILING_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "MultiFilingService"); protected MultiFilingServicePort getMultiFilingServicePort() { @@ -493,7 +498,7 @@ public class CmisServiceTestHelper extends TestCase } public final static String NAVIGATION_SERVICE_WSDL_LOCATION = ALFRESCO_URL + "/cmis/NavigationService?wsdl"; - public final static QName NAVIGATION_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "NavigationService"); + public final static QName NAVIGATION_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "NavigationService"); protected NavigationServicePort getNavigationServicePort() { @@ -518,7 +523,7 @@ public class CmisServiceTestHelper extends TestCase { try { - return repositoryServicePort.getRepositories().get(0).getId(); + return repositoryServicePort.getRepositories(null).get(0).getRepositoryId(); } catch (Exception e) { @@ -535,7 +540,7 @@ public class CmisServiceTestHelper extends TestCase contentStream.setMimeType(MimetypeMap.MIMETYPE_TEXT_PLAIN); DataHandler dataHandler = new DataHandler("Test content string :" + System.currentTimeMillis(), MimetypeMap.MIMETYPE_TEXT_PLAIN); contentStream.setStream(dataHandler); - versioningServicePort.checkIn(repositoryId, documentId, isMajor, properties, contentStream, checkinComment, null, null, null); + versioningServicePort.checkIn(repositoryId, documentId, isMajor, properties, contentStream, checkinComment, null, null, null, null); } catch (Throwable e) { @@ -548,7 +553,7 @@ public class CmisServiceTestHelper extends TestCase { try { - versioningServicePort.checkOut(repositoryId, documentId, contentCopied); + versioningServicePort.checkOut(repositoryId, documentId, null, contentCopied); } catch (Throwable e) { @@ -562,7 +567,7 @@ public class CmisServiceTestHelper extends TestCase List response = null; try { - response = versioningServicePort.getAllVersions(repositoryId, documentId, "*", false, EnumIncludeRelationships.NONE); + response = versioningServicePort.getAllVersions(repositoryId, documentId, "*", false, null); assertNotNull(response); assertFalse(response.isEmpty()); } @@ -576,27 +581,38 @@ public class CmisServiceTestHelper extends TestCase public String createRelationship(String name, String folderId, String documentId) throws Exception { - String objectId = null; CmisPropertiesType properties = new CmisPropertiesType(); List propertiesList = properties.getProperty(); - - CmisPropertyString cmisProperty = new CmisPropertyString(); - cmisProperty.setPdid(CMISDictionaryModel.PROP_NAME); - cmisProperty.getValue().add(name); - CmisPropertyId idProperty = new CmisPropertyId(); - idProperty.setPdid(CMISDictionaryModel.PROP_OBJECT_TYPE_ID); - idProperty.getValue().add(CMISDictionaryModel.RELATIONSHIP_TYPE_ID.getId()); - - propertiesList.add(cmisProperty); - propertiesList.add(idProperty); - + propertiesList.add(createCmisPropertyString(CMISDictionaryModel.PROP_NAME, name)); + propertiesList.add(createCmisPropertyId(CMISDictionaryModel.PROP_SOURCE_ID, folderId)); + propertiesList.add(createCmisPropertyId(CMISDictionaryModel.PROP_TARGET_ID, documentId)); + propertiesList.add(createCmisPropertyId(CMISDictionaryModel.PROP_OBJECT_TYPE_ID, CMISDictionaryModel.RELATIONSHIP_TYPE_ID.getId())); // TODO: it need reimplementation according to valid Relationship type searching // createRelationship(String repositoryId, String typeId, CmisPropertiesType properties, String sourceObjectId, String targetObjectId) - objectId = objectServicePort.createRelationship(repositoryId, properties, documentId, folderId, null, null, null); - assertNotNull(objectId); + Holder idHolder = new Holder(); + objectServicePort.createRelationship(repositoryId, properties, null, null, null, null, idHolder); + assertNotNull(idHolder.value); + return idHolder.value; + } - return objectId; + private CmisProperty createCmisPropertyId(String propertyName, String propertyValue) + { + CmisPropertyId result = new CmisPropertyId(); + result.setPropertyDefinitionId(propertyName); + result.setLocalName(propertyName); + result.setDisplayName(propertyName); + result.getValue().add(propertyValue); + return result; + } + private CmisProperty createCmisPropertyString(String propertyName, String propertyValue) + { + CmisPropertyString result = new CmisPropertyString(); + result.setPropertyDefinitionId(propertyName); + result.setLocalName(propertyName); + result.setDisplayName(propertyName); + result.getValue().add(propertyValue); + return result; } public String updateProperty(String documentId, String propName, String propValue) throws Exception @@ -606,14 +622,14 @@ public class CmisServiceTestHelper extends TestCase CmisPropertiesType properties = new CmisPropertiesType(); List propertiesList = properties.getProperty(); CmisPropertyString cmisProperty = new CmisPropertyString(); - cmisProperty.setPdid(propName); + cmisProperty.setPropertyDefinitionId(propName); cmisProperty.getValue().add(propValue); propertiesList.add(cmisProperty); Holder documentIdHolder = new Holder(documentId); Holder changeToken = new Holder(""); // public void updateProperties(String repositoryId, Holder objectId, String changeToken, CmisPropertiesType properties) - objectServicePort.updateProperties(repositoryId, documentIdHolder, changeToken, properties); + objectServicePort.updateProperties(repositoryId, documentIdHolder, changeToken, properties, null); assertEquals(documentId, documentIdHolder.value); return documentIdHolder.value; @@ -623,7 +639,7 @@ public class CmisServiceTestHelper extends TestCase { try { - multiFilingServicePort.addObjectToFolder(repositoryId, documentId, anotherFolderId); + multiFilingServicePort.addObjectToFolder(repositoryId, documentId, anotherFolderId, false, null); } catch (Throwable e) { @@ -635,7 +651,7 @@ public class CmisServiceTestHelper extends TestCase { try { - multiFilingServicePort.removeObjectFromFolder(repositoryId, documentId, folderId); + multiFilingServicePort.removeObjectFromFolder(repositoryId, documentId, folderId, null); } catch (Exception e) { @@ -643,12 +659,12 @@ public class CmisServiceTestHelper extends TestCase } } - public List getObjectParents(String objectId, String filter) throws Exception + public List getObjectParents(String objectId, String filter) throws Exception { - List response = null; + List response = null; try { - response = navigationServicePort.getObjectParents(repositoryId, objectId, filter); + response = navigationServicePort.getObjectParents(repositoryId, objectId, filter, false, null, null, false, null); } catch (Exception e) { @@ -657,9 +673,9 @@ public class CmisServiceTestHelper extends TestCase return response; } - public List getObjectParents(String objectId) throws Exception + public List getObjectParents(String objectId) throws Exception { - return navigationServicePort.getObjectParents(repositoryId, objectId, ""); + return navigationServicePort.getObjectParents(repositoryId, objectId, "", false, null, null, false, null); } public void setTextContentStream(String documentId, String newContent) throws Exception @@ -674,30 +690,32 @@ public class CmisServiceTestHelper extends TestCase Holder documentIdHolder = new Holder(documentId); // public void setContentStream(String repositoryId, Holder documentId, Boolean overwriteFlag, CmisContentStreamType contentStream) - objectServicePort.setContentStream(repositoryId, documentIdHolder, true, "", contentStream); + // TODO: changeToken + objectServicePort.setContentStream(repositoryId, documentIdHolder, true, null, contentStream, null); } - public CmisContentStreamType getContentStream(String documentId) throws Exception + public CmisContentStreamType getContentStream(String documentId, long offset, long length) throws Exception { CmisContentStreamType result = null; - result = objectServicePort.getContentStream(repositoryId, documentId, ""); + result = objectServicePort.getContentStream(repositoryId, documentId, "", BigInteger.valueOf(offset), BigInteger.valueOf(length), null); return result; } - public List getChildren(String folderId, long maxItems, String filter) throws Exception + public List getChildren(String folderId, long maxItems, String filter) throws Exception { - Holder> response = new Holder>(new LinkedList()); - Holder hasMoreItems = new Holder(); + CmisObjectInFolderListType response = null; try { - navigationServicePort.getChildren(repositoryId, folderId, filter, false, EnumIncludeRelationships.NONE, false, false, BigInteger.valueOf(maxItems), BigInteger.ZERO, - null, response, hasMoreItems); + // TODO: orderBy + // TODO: renditionFilter + response = navigationServicePort.getChildren(repositoryId, folderId, filter, "", false, EnumIncludeRelationships.NONE, "", false, BigInteger.valueOf(maxItems), + BigInteger.ZERO, null); } catch (Exception e) { fail(e.getMessage()); } - return response.value; + return response.getObjects(); } } diff --git a/source/test/java/org/alfresco/repo/cmis/ws/DMDiscoveryServiceTest.java b/source/test/java/org/alfresco/repo/cmis/ws/DMDiscoveryServiceTest.java index 5fbc6b3acf..3c93d38673 100755 --- a/source/test/java/org/alfresco/repo/cmis/ws/DMDiscoveryServiceTest.java +++ b/source/test/java/org/alfresco/repo/cmis/ws/DMDiscoveryServiceTest.java @@ -24,9 +24,9 @@ */ package org.alfresco.repo.cmis.ws; +import java.math.BigInteger; import java.net.MalformedURLException; import java.net.URL; -import java.util.List; import javax.xml.namespace.QName; import javax.xml.ws.Holder; @@ -72,11 +72,12 @@ public class DMDiscoveryServiceTest extends AbstractServiceTest QueryResponse response = ((DiscoveryServicePort) servicePort).query(request); assertNotNull(response); - assertNotNull(response.getObject()); + assertNotNull(response.getObjects()); + assertNotNull(response.getObjects().getObjects()); - if (!response.getObject().isEmpty()) + if (!response.getObjects().getObjects().isEmpty()) { - for (CmisObjectType object : response.getObject()) + for (CmisObjectType object : response.getObjects().getObjects()) { assertNotNull(object.getProperties()); } @@ -92,7 +93,11 @@ public class DMDiscoveryServiceTest extends AbstractServiceTest { try { - ((DiscoveryServicePort) servicePort).getContentChanges(repositoryId, null, null, null, null, null, new Holder>()); + Holder changeLogToken = new Holder(); + Holder resultHolder = new Holder(); + // TODO: includeACL + // TODO: includePolicyIds + ((DiscoveryServicePort) servicePort).getContentChanges(repositoryId, changeLogToken, false, "", false, false, BigInteger.ZERO, null, resultHolder); } catch (CmisException e) { diff --git a/source/test/java/org/alfresco/repo/cmis/ws/DMMultiFilingServiceTest.java b/source/test/java/org/alfresco/repo/cmis/ws/DMMultiFilingServiceTest.java index b0abd0043f..1fdb23bd17 100755 --- a/source/test/java/org/alfresco/repo/cmis/ws/DMMultiFilingServiceTest.java +++ b/source/test/java/org/alfresco/repo/cmis/ws/DMMultiFilingServiceTest.java @@ -77,11 +77,14 @@ public class DMMultiFilingServiceTest extends AbstractServiceTest public void testAddObjectToFolder() throws Exception { - ((MultiFilingServicePort) servicePort).addObjectToFolder(repositoryId, documentId, anotherFolderId); + ((MultiFilingServicePort) servicePort).addObjectToFolder(repositoryId, documentId, anotherFolderId, false, null); boolean found = false; - for (CmisObjectType cmisObjectType : helper.getChildren(anotherFolderId, 0, CMISDictionaryModel.PROP_OBJECT_ID)) + for (CmisObjectInFolderType cmisObjectType : helper.getChildren(anotherFolderId, 0, CMISDictionaryModel.PROP_OBJECT_ID)) { - if ((found = documentId.equals(getIdProperty(cmisObjectType.getProperties(), CMISDictionaryModel.PROP_OBJECT_ID)))) + assertNotNull(cmisObjectType); + assertNotNull(cmisObjectType.getObject()); + assertNotNull(cmisObjectType.getObject().getProperties()); + if ((found = documentId.equals(getIdProperty(cmisObjectType.getObject().getProperties(), CMISDictionaryModel.PROP_OBJECT_ID)))) { break; } @@ -97,7 +100,7 @@ public class DMMultiFilingServiceTest extends AbstractServiceTest try { // remove object from all folders expects Exception - ((MultiFilingServicePort) servicePort).removeObjectFromFolder(repositoryId, documentId, null); + ((MultiFilingServicePort) servicePort).removeObjectFromFolder(repositoryId, documentId, null, null); fail("Expects exception"); } catch (CmisException e) @@ -110,7 +113,7 @@ public class DMMultiFilingServiceTest extends AbstractServiceTest try { // remove object from folder where it is not situated expects Exception - ((MultiFilingServicePort) servicePort).removeObjectFromFolder(repositoryId, documentId, folderId); + ((MultiFilingServicePort) servicePort).removeObjectFromFolder(repositoryId, documentId, folderId, null); fail("Expected exception"); } catch (CmisException e) @@ -121,7 +124,7 @@ public class DMMultiFilingServiceTest extends AbstractServiceTest try { // remove object from last folder expects Exception - ((MultiFilingServicePort) servicePort).removeObjectFromFolder(repositoryId, documentId, companyHomeId); + ((MultiFilingServicePort) servicePort).removeObjectFromFolder(repositoryId, documentId, companyHomeId, null); fail("Expected exception"); } catch (CmisException e) diff --git a/source/test/java/org/alfresco/repo/cmis/ws/DMNavigationServiceTest.java b/source/test/java/org/alfresco/repo/cmis/ws/DMNavigationServiceTest.java index 7eb66c3cae..66f16df437 100755 --- a/source/test/java/org/alfresco/repo/cmis/ws/DMNavigationServiceTest.java +++ b/source/test/java/org/alfresco/repo/cmis/ws/DMNavigationServiceTest.java @@ -34,7 +34,6 @@ import org.alfresco.cmis.CMISDictionaryModel; /** * @author Alexander Tsvetkov - * */ public class DMNavigationServiceTest extends AbstractServiceTest @@ -73,14 +72,14 @@ public class DMNavigationServiceTest extends AbstractServiceTest // check out Holder documentIdHolder = new Holder(documentId); Holder contentCopied = new Holder(); - helper.versioningServicePort.checkOut(repositoryId, documentIdHolder, contentCopied); + helper.versioningServicePort.checkOut(repositoryId, documentIdHolder, null, contentCopied); assertTrue(contentCopied.value); String documentName1 = "Test cmis document (" + System.currentTimeMillis() + ")"; String documentId1 = helper.createDocument(documentName1, folderId); Holder documentIdHolder1 = new Holder(documentId1); contentCopied = new Holder(); - helper.versioningServicePort.checkOut(repositoryId, documentIdHolder1, contentCopied); + helper.versioningServicePort.checkOut(repositoryId, documentIdHolder1, null, contentCopied); assertTrue(contentCopied.value); List result = getCheckedoutDocs(null, 0, 0); @@ -88,7 +87,7 @@ public class DMNavigationServiceTest extends AbstractServiceTest if (result == null || result.size() < 2) { // check in - helper.versioningServicePort.checkIn(repositoryId, documentIdHolder, null, null, null, null, null, null, null); + helper.versioningServicePort.checkIn(repositoryId, documentIdHolder, false, null, null, null, null, null, null, null); fail("Not all checkout docs have been found"); } validateResponse(result); @@ -98,7 +97,7 @@ public class DMNavigationServiceTest extends AbstractServiceTest assertTrue(result.size() == 1); // check in - helper.versioningServicePort.checkIn(repositoryId, documentIdHolder, null, null, null, null, null, null, null); + helper.versioningServicePort.checkIn(repositoryId, documentIdHolder, false, null, null, null, null, null, null, null); result = getCheckedoutDocs(companyHomeId, 0, 0); assertFalse("Wrong results", isExistItemWithProperty(result, CMISDictionaryModel.PROP_NAME, documentName)); @@ -142,12 +141,11 @@ public class DMNavigationServiceTest extends AbstractServiceTest public void testGetDescendants() throws Exception { - - List response = getDescendants(companyHomeId, BigInteger.valueOf(5)); + List response = getDescendants(companyHomeId, BigInteger.valueOf(5)); if ((response != null)) { - validateResponse(response); + validateResponse(response, true); } else { @@ -162,12 +160,12 @@ public class DMNavigationServiceTest extends AbstractServiceTest response = getDescendants(folderId1, null); assertTrue(response.size() == 1); - assertTrue(getStringProperty(response.get(0).getProperties(), CMISDictionaryModel.PROP_NAME).equals(documentName)); + assertTrue(getStringProperty(response.get(0).getObjectInFolder().getObject().getProperties(), CMISDictionaryModel.PROP_NAME).equals(documentName)); // test with out option parameters response = getDescendants(folderId1, BigInteger.TEN); assertTrue(response.size() == 1); - assertTrue(getStringProperty(response.get(0).getProperties(), CMISDictionaryModel.PROP_NAME).equals(documentName)); + assertTrue(getStringProperty(response.get(0).getObjectInFolder().getObject().getProperties(), CMISDictionaryModel.PROP_NAME).equals(documentName)); // TODO: not implemented // assertNotNull(response.getObject().get(0).getAllowableActions()); @@ -178,12 +176,11 @@ public class DMNavigationServiceTest extends AbstractServiceTest public void testGetFolderTree() throws Exception { - - List response = getFolderTree(companyHomeId, BigInteger.valueOf(5)); + List response = getFolderTree(companyHomeId, BigInteger.valueOf(5)); if ((response != null)) { - validateResponse(response); + validateResponse(response, false); } else { @@ -198,7 +195,7 @@ public class DMNavigationServiceTest extends AbstractServiceTest response = getFolderTree(folderId, null); assertTrue(response.size() == 1); - assertTrue(getStringProperty(response.get(0).getProperties(), CMISDictionaryModel.PROP_NAME).equals(folderName)); + assertTrue(getStringProperty(response.get(0).getObjectInFolder().getObject().getProperties(), CMISDictionaryModel.PROP_NAME).equals(folderName)); // TODO: not implemented // assertNotNull(response.getObject().get(0).getAllowableActions()); @@ -237,11 +234,15 @@ public class DMNavigationServiceTest extends AbstractServiceTest public void testGetObjectParents() throws Exception { - List response = helper.getObjectParents(documentId, "*"); + List response = helper.getObjectParents(documentId, "*"); if ((response != null)) { - validateResponse(response); + for (CmisObjectParentsType object : response) + { + assertNotNull(object); + validateCmisObjectType(object.getObject()); + } } else { @@ -258,31 +259,30 @@ public class DMNavigationServiceTest extends AbstractServiceTest response = helper.getObjectParents(documentId1, "*"); assertTrue(response.size() == 1); - assertTrue(getStringProperty(response.get(0).getProperties(), CMISDictionaryModel.PROP_NAME).equals(folderName1)); + assertTrue(getStringProperty(response.get(0).getObject().getProperties(), CMISDictionaryModel.PROP_NAME).equals(folderName1)); response = helper.getObjectParents(documentId1); assertTrue(response.size() == 1); - assertTrue(getStringProperty(response.get(0).getProperties(), CMISDictionaryModel.PROP_NAME).equals(folderName1)); + assertTrue(getStringProperty(response.get(0).getObject().getProperties(), CMISDictionaryModel.PROP_NAME).equals(folderName1)); } - private List getDescendants(String folderId, BigInteger depth) throws Exception + private List getDescendants(String folderId, BigInteger depth) throws Exception { - List result = ((NavigationServicePort) servicePort).getDescendants(repositoryId, folderId, depth, "*", null, null, null, null); + List result = ((NavigationServicePort) servicePort).getDescendants(repositoryId, folderId, depth, "*", false, null, "", false, null); return result; } - private List getFolderTree(String folderId, BigInteger depth) throws Exception + private List getFolderTree(String folderId, BigInteger depth) throws Exception { - List result = ((NavigationServicePort) servicePort).getFolderTree(repositoryId, folderId, "*", depth, null, null); + List result = ((NavigationServicePort) servicePort).getFolderTree(repositoryId, folderId, depth, "*", false, null, "", false, null); return result; } private List getChildren(String folderId, int maxItems) throws Exception { Holder> resultHolder = new Holder>(); - ((NavigationServicePort) servicePort).getChildren(repositoryId, folderId, "*", false, null, null, null, BigInteger.valueOf(maxItems), BigInteger.valueOf(0), null, - resultHolder, new Holder()); + ((NavigationServicePort) servicePort).getChildren(repositoryId, folderId, "*", "", false, null, "", false, BigInteger.valueOf(maxItems), BigInteger.valueOf(0), null); return resultHolder.value; } @@ -291,7 +291,7 @@ public class DMNavigationServiceTest extends AbstractServiceTest CmisObjectType response = null; try { - response = ((NavigationServicePort) servicePort).getFolderParent(repositoryId, folderId, "*"); + response = ((NavigationServicePort) servicePort).getFolderParent(repositoryId, folderId, "*", null); } catch (Exception e) { @@ -302,15 +302,15 @@ public class DMNavigationServiceTest extends AbstractServiceTest public CmisObjectType getFolderParent(String folderId) throws Exception { - CmisObjectType response = ((NavigationServicePort) servicePort).getFolderParent(repositoryId, folderId, "*"); + CmisObjectType response = ((NavigationServicePort) servicePort).getFolderParent(repositoryId, folderId, "*", null); return response; } private List getCheckedoutDocs(String folderId, long maxItems, long skipCount) throws Exception { - Holder> resultHolder = new Holder>(); - ((NavigationServicePort) servicePort).getCheckedOutDocs(repositoryId, folderId, "*", null, false, null, BigInteger.valueOf(maxItems), BigInteger.valueOf(skipCount), - resultHolder, new Holder()); - return resultHolder.value; + CmisObjectListType result = ((NavigationServicePort) servicePort).getCheckedOutDocs(repositoryId, folderId, "*", null, false, null, "", BigInteger.valueOf(maxItems), + BigInteger.valueOf(skipCount), null); + assertNotNull(result); + return result.getObjects(); } } diff --git a/source/test/java/org/alfresco/repo/cmis/ws/DMObjectServiceTest.java b/source/test/java/org/alfresco/repo/cmis/ws/DMObjectServiceTest.java index ef74ae3258..635cd0b74b 100644 --- a/source/test/java/org/alfresco/repo/cmis/ws/DMObjectServiceTest.java +++ b/source/test/java/org/alfresco/repo/cmis/ws/DMObjectServiceTest.java @@ -24,6 +24,7 @@ */ package org.alfresco.repo.cmis.ws; +import java.math.BigInteger; import java.util.List; import javax.activation.DataHandler; @@ -79,7 +80,7 @@ public class DMObjectServiceTest extends AbstractServiceTest CmisPropertiesType properties = new CmisPropertiesType(); List propertiesList = properties.getProperty(); CmisPropertyString cmisProperty = new CmisPropertyString(); - cmisProperty.setLocalname(CMISDictionaryModel.PROP_NAME); + cmisProperty.setLocalName(CMISDictionaryModel.PROP_NAME); cmisProperty.getValue().add(documentName); propertiesList.add(cmisProperty); @@ -261,7 +262,7 @@ public class DMObjectServiceTest extends AbstractServiceTest request.setRepositoryId("invalid OID"); try { - ((ObjectServicePort) servicePort).getProperties("invalid OID", "invalid OID", "*", null, null, null); + ((ObjectServicePort) servicePort).getProperties("invalid OID", "invalid OID", "*", null); } catch (CmisException e) { @@ -272,19 +273,19 @@ public class DMObjectServiceTest extends AbstractServiceTest public void testGetContentStream() throws Exception { GetContentStream contStream = new GetContentStream(); - contStream.setDocumentId(documentId); + contStream.setObjectId(documentId); contStream.setRepositoryId(repositoryId); - CmisContentStreamType result = ((ObjectServicePort) servicePort).getContentStream(repositoryId, documentId, null); + CmisContentStreamType result = ((ObjectServicePort) servicePort).getContentStream(repositoryId, documentId, null, BigInteger.ZERO, BigInteger.ZERO, null); if (result.getLength().intValue() == 0) { fail(); } try { - contStream.setDocumentId(documentId + "s"); + contStream.setObjectId(documentId + "s"); { - result = ((ObjectServicePort) servicePort).getContentStream(repositoryId, documentId, null); + result = ((ObjectServicePort) servicePort).getContentStream(repositoryId, documentId, null, BigInteger.ZERO, BigInteger.ZERO, null); } } catch (Throwable e) @@ -300,7 +301,7 @@ public class DMObjectServiceTest extends AbstractServiceTest helper.checkOut(documentIdHolder, contentCopied); - result = ((ObjectServicePort) servicePort).getContentStream(repositoryId, documentIdHolder.value, null); + result = ((ObjectServicePort) servicePort).getContentStream(repositoryId, documentIdHolder.value, null, BigInteger.ZERO, BigInteger.ZERO, null); if (result.getLength().intValue() == 0) { fail(); @@ -336,14 +337,14 @@ public class DMObjectServiceTest extends AbstractServiceTest public void testDeleteContentStream() throws Exception { // public void deleteContentStream(String repositoryId, String documentId) - ((ObjectServicePort) servicePort).deleteContentStream(repositoryId, new Holder(documentId), null); + ((ObjectServicePort) servicePort).deleteContentStream(repositoryId, new Holder(documentId), null, null); try { String filter = cmisObjectFactory.createGetPropertiesOfLatestVersionFilter("*").getValue(); - CmisObjectType object = helper.versioningServicePort.getPropertiesOfLatestVersion(repositoryId, documentId, false, filter, null); - documentId = getIdProperty(object.getProperties(), CMISDictionaryModel.PROP_OBJECT_ID); - ((ObjectServicePort) servicePort).getContentStream(repositoryId, documentId, null); + CmisPropertiesType object = helper.getVersioningServicePort().getPropertiesOfLatestVersion(repositoryId, documentId, false, filter, null); + documentId = getIdProperty(object, CMISDictionaryModel.PROP_OBJECT_ID); + ((ObjectServicePort) servicePort).getContentStream(repositoryId, documentId, null, BigInteger.ZERO, BigInteger.ZERO, null); fail("Content stream was not deleted"); } catch (Exception e) @@ -361,7 +362,7 @@ public class DMObjectServiceTest extends AbstractServiceTest public void testDeleteObject() throws Exception { // public void deleteObject(String repositoryId, String objectId) - ((ObjectServicePort) servicePort).deleteObject(repositoryId, documentId, Boolean.TRUE); + ((ObjectServicePort) servicePort).deleteObject(repositoryId, documentId, true, null); assertNull(helper.getObjectProperties(documentId)); } @@ -377,7 +378,7 @@ public class DMObjectServiceTest extends AbstractServiceTest // Try to delete folder with child try { - ((ObjectServicePort) servicePort).deleteObject(repositoryId, folderId, Boolean.TRUE); + ((ObjectServicePort) servicePort).deleteObject(repositoryId, folderId, true, null); fail("Try to delere folder with child"); } catch (CmisException e) @@ -388,7 +389,7 @@ public class DMObjectServiceTest extends AbstractServiceTest // Try to delete root folder try { - ((ObjectServicePort) servicePort).deleteObject(repositoryId, helper.getCompanyHomeId(repositoryId), Boolean.TRUE); + ((ObjectServicePort) servicePort).deleteObject(repositoryId, helper.getCompanyHomeId(repositoryId), true, null); fail("Try to delere root folder"); } catch (CmisException e) @@ -415,8 +416,8 @@ public class DMObjectServiceTest extends AbstractServiceTest documentId2 = helper.createDocument(documentName, folderId2); // public FailedToDelete deleteTree(String repositoryId, String folderId, EnumUnfileNonfolderObjects unfileNonfolderObjects, Boolean continueOnFailure) - DeleteTreeResponse.FailedToDelete response = ((ObjectServicePort) servicePort).deleteTree(repositoryId, folderId1, EnumUnfileObject.DELETE, true); - assertTrue("All objects should be deleted", response.getObjectId().size() == 0); + DeleteTreeResponse.FailedToDelete response = ((ObjectServicePort) servicePort).deleteTree(repositoryId, folderId1, true, EnumUnfileObject.DELETE, true, null); + assertTrue("All objects should be deleted", response.getObjectIds().size() == 0); assertNull("DELETE", helper.getObjectProperties(folderId1)); assertNull("DELETE", helper.getObjectProperties(folderId2)); @@ -432,9 +433,9 @@ public class DMObjectServiceTest extends AbstractServiceTest documentName = "Test cmis document (" + System.currentTimeMillis() + ")"; documentId2 = helper.createDocument(documentName, folderId2); - response = ((ObjectServicePort) servicePort).deleteTree(repositoryId, folderId1, EnumUnfileObject.DELETESINGLEFILED, true); + response = ((ObjectServicePort) servicePort).deleteTree(repositoryId, folderId1, true, EnumUnfileObject.DELETESINGLEFILED, true, null); // assertNotNull("DELETESINGLEFILED", response); - assertTrue("All objects should not be deleted", response.getObjectId().size() != 0); + assertTrue("All objects should not be deleted", response.getObjectIds().size() != 0); assertNotNull("DELETESINGLEFILED", helper.getObjectProperties(folderId1)); assertNotNull("DELETESINGLEFILED", helper.getObjectProperties(folderId2)); assertNotNull("DELETESINGLEFILED", helper.getObjectProperties(documentId2)); @@ -460,8 +461,8 @@ public class DMObjectServiceTest extends AbstractServiceTest try { @SuppressWarnings("unused") - DeleteTreeResponse.FailedToDelete response = ((ObjectServicePort) servicePort).deleteTree(repositoryId, helper.getCompanyHomeId(repositoryId), EnumUnfileObject.DELETE, - true); + DeleteTreeResponse.FailedToDelete response = ((ObjectServicePort) servicePort).deleteTree(repositoryId, helper.getCompanyHomeId(repositoryId), true, + EnumUnfileObject.DELETE, true, null); fail("Try to delere root folder"); } catch (CmisException e) @@ -475,12 +476,12 @@ public class DMObjectServiceTest extends AbstractServiceTest { CmisAllowableActionsType response; // CmisAllowableActionsType getAllowableActions(String repositoryId, String objectId) - response = ((ObjectServicePort) servicePort).getAllowableActions(repositoryId, documentId); + response = ((ObjectServicePort) servicePort).getAllowableActions(repositoryId, documentId, null); assertNotNull(response); assertTrue(response.canGetProperties); assertTrue(response.canCheckOut); - response = ((ObjectServicePort) servicePort).getAllowableActions(repositoryId, folderId); + response = ((ObjectServicePort) servicePort).getAllowableActions(repositoryId, folderId, null); assertNotNull(response); assertTrue(response.canGetProperties); assertNull(response.canCheckOut); @@ -489,7 +490,7 @@ public class DMObjectServiceTest extends AbstractServiceTest public void testMoveObject() throws Exception { // public void moveObject(String repositoryId, String objectId, String targetFolderId, String sourceFolderId) - ((ObjectServicePort) servicePort).moveObject(repositoryId, new Holder(documentId), folderId, companyHomeId); + ((ObjectServicePort) servicePort).moveObject(repositoryId, new Holder(documentId), folderId, companyHomeId, null); CmisObjectType response = helper.getObjectProperties(documentId); assertObjectPropertiesNotNull(response); @@ -497,11 +498,13 @@ public class DMObjectServiceTest extends AbstractServiceTest assertNotNull(response); assertNotNull(getStringProperty(response.getProperties(), CMISDictionaryModel.PROP_NAME)); - List parentsResponse = helper.getObjectParents(documentId, "*"); + List parentsResponse = helper.getObjectParents(documentId, "*"); assertNotNull(parentsResponse); + assertNotNull(parentsResponse.get(0)); + assertNotNull(parentsResponse.get(0).getObject()); + assertNotNull(parentsResponse.get(0).getObject().getProperties()); assertTrue(parentsResponse.size() == 1); - assertTrue(getStringProperty(parentsResponse.get(0).getProperties(), CMISDictionaryModel.PROP_NAME).equals(folderName)); - + assertTrue(getStringProperty(parentsResponse.get(0).getObject().getProperties(), CMISDictionaryModel.PROP_NAME).equals(folderName)); } // The moveObject() method must throw InvalidArgumentException for null SourceFolderId only if specified Object (Folder or Document) has SEVERAL parents. @@ -515,7 +518,7 @@ public class DMObjectServiceTest extends AbstractServiceTest try { - ((ObjectServicePort) servicePort).moveObject(repositoryId, new Holder(documentId), folderId, null); + ((ObjectServicePort) servicePort).moveObject(repositoryId, new Holder(documentId), folderId, null, null); fail("sourceFolderId is not specified - should throw InvalidArgumentException"); } catch (CmisException e) @@ -541,9 +544,9 @@ public class DMObjectServiceTest extends AbstractServiceTest Holder documentIdHolder = new Holder(documentId); // public void setContentStream(String repositoryId, Holder documentId, Boolean overwriteFlag, CmisContentStreamType contentStream) - ((ObjectServicePort) servicePort).setContentStream(repositoryId, documentIdHolder, true, null, contentStream); + ((ObjectServicePort) servicePort).setContentStream(repositoryId, documentIdHolder, true, null, contentStream, null); - CmisContentStreamType result = ((ObjectServicePort) servicePort).getContentStream(repositoryId, documentIdHolder.value, null); + CmisContentStreamType result = ((ObjectServicePort) servicePort).getContentStream(repositoryId, documentIdHolder.value, null, BigInteger.ZERO, BigInteger.ZERO, null); if (result.getLength().intValue() == 0) { fail("Content Stream is empty"); @@ -580,7 +583,7 @@ public class DMObjectServiceTest extends AbstractServiceTest try { // public void setContentStream(String repositoryId, Holder documentId, Boolean overwriteFlag, CmisContentStreamType contentStream) - ((ObjectServicePort) servicePort).setContentStream(repositoryId, holder, false, null, contentStream); + ((ObjectServicePort) servicePort).setContentStream(repositoryId, holder, false, null, contentStream, null); fail("ContentAlreadyExists should be thrown"); } catch (CmisException e) @@ -594,7 +597,7 @@ public class DMObjectServiceTest extends AbstractServiceTest try { // public void setContentStream(String repositoryId, Holder documentId, Boolean overwriteFlag, CmisContentStreamType contentStream) - ((ObjectServicePort) servicePort).setContentStream(repositoryId, holder, true, null, null); + ((ObjectServicePort) servicePort).setContentStream(repositoryId, holder, true, null, null, null); fail("'storage' Exception should be thrown"); } catch (CmisException e) @@ -605,23 +608,23 @@ public class DMObjectServiceTest extends AbstractServiceTest public void testFolderByPathReceiving() throws Exception { - CmisObjectType actualObject = ((ObjectServicePort) servicePort).getProperties(repositoryId, folderId, CMISDictionaryModel.PROP_NAME, false, EnumIncludeRelationships.NONE, - false); + CmisPropertiesType actualObject = ((ObjectServicePort) servicePort).getProperties(repositoryId, folderId, CMISDictionaryModel.PROP_NAME, null); assertPropertiesObject(actualObject); - String nameProperty = getStringProperty(actualObject.getProperties(), CMISDictionaryModel.PROP_NAME); + String nameProperty = getStringProperty(actualObject, CMISDictionaryModel.PROP_NAME); assertNotNull(nameProperty); assertNotSame("", nameProperty); - CmisObjectType response = ((ObjectServicePort) servicePort).getFolderByPath(repositoryId, ("/" + nameProperty), "*", false, EnumIncludeRelationships.NONE, false); - assertPropertiesObject(response); + CmisObjectType response = ((ObjectServicePort) servicePort).getObjectByPath(repositoryId, ("/" + nameProperty), "*", false, EnumIncludeRelationships.NONE, "", false, + false, null); + assertNotNull(response); + assertPropertiesObject(response.getProperties()); assertEquals(nameProperty, getStringProperty(response.getProperties(), CMISDictionaryModel.PROP_NAME)); } - private void assertPropertiesObject(CmisObjectType actualObject) + private void assertPropertiesObject(CmisPropertiesType actualObject) { assertNotNull(actualObject); - assertNotNull(actualObject.getProperties()); - assertNotNull(actualObject.getProperties().getProperty()); - assertFalse(actualObject.getProperties().getProperty().isEmpty()); + assertNotNull(actualObject.getProperty()); + assertFalse(actualObject.getProperty().isEmpty()); } public void testUpdateProperties() throws Exception @@ -633,13 +636,13 @@ public class DMObjectServiceTest extends AbstractServiceTest CmisPropertiesType properties = new CmisPropertiesType(); List propertiesList = properties.getProperty(); CmisPropertyString cmisProperty = new CmisPropertyString(); - cmisProperty.setLocalname(CMISDictionaryModel.PROP_NAME); + cmisProperty.setLocalName(CMISDictionaryModel.PROP_NAME); cmisProperty.getValue().add(newName); propertiesList.add(cmisProperty); // public void updateProperties(String repositoryId, Holder objectId, String changeToken, CmisPropertiesType properties) Holder changeToken = new Holder(); - ((ObjectServicePort) servicePort).updateProperties(repositoryId, new Holder(documentId), changeToken, properties); + ((ObjectServicePort) servicePort).updateProperties(repositoryId, new Holder(documentId), changeToken, properties, null); @SuppressWarnings("unused") CmisObjectType response = helper.getObjectProperties(documentId); @@ -656,7 +659,7 @@ public class DMObjectServiceTest extends AbstractServiceTest properties = new CmisPropertiesType(); List propertiesList = properties.getProperty(); CmisPropertyString cmisProperty = new CmisPropertyString(); - cmisProperty.setLocalname(CMISDictionaryModel.PROP_OBJECT_ID); + cmisProperty.setLocalName(CMISDictionaryModel.PROP_OBJECT_ID); cmisProperty.getValue().add("new id value"); propertiesList.add(cmisProperty); try @@ -664,13 +667,13 @@ public class DMObjectServiceTest extends AbstractServiceTest Holder holder = new Holder(documentId); // public void updateProperties(String repositoryId, Holder objectId, String changeToken, CmisPropertiesType properties) Holder changeToken = new Holder(); - ((ObjectServicePort) servicePort).updateProperties(repositoryId, holder, changeToken, properties); + ((ObjectServicePort) servicePort).updateProperties(repositoryId, holder, changeToken, properties, null); documentId = holder.value; GetProperties getProperties = new GetProperties(); getProperties.setRepositoryId(repositoryId); getProperties.setObjectId(holder.value); - CmisObjectType object = ((ObjectServicePort) servicePort).getProperties(repositoryId, holder.value, null, null, null, null); - String documentIdAfterUpdate = getIdProperty(object.getProperties(), CMISDictionaryModel.PROP_OBJECT_ID); + CmisPropertiesType object = ((ObjectServicePort) servicePort).getProperties(repositoryId, holder.value, null, null); + String documentIdAfterUpdate = getIdProperty(object, CMISDictionaryModel.PROP_OBJECT_ID); assertTrue("should not update read only propery", !"new id value".equals(documentIdAfterUpdate) && documentId.equals(documentIdAfterUpdate)); } catch (CmisException e) diff --git a/source/test/java/org/alfresco/repo/cmis/ws/DMPolicyServiceTest.java b/source/test/java/org/alfresco/repo/cmis/ws/DMPolicyServiceTest.java index d4b7c7fe2f..47f3f6f7ad 100755 --- a/source/test/java/org/alfresco/repo/cmis/ws/DMPolicyServiceTest.java +++ b/source/test/java/org/alfresco/repo/cmis/ws/DMPolicyServiceTest.java @@ -69,7 +69,7 @@ public class DMPolicyServiceTest extends AbstractServiceTest { try { - ((PolicyServicePort) servicePort).applyPolicy(repositoryId, "policyId", documentId); + ((PolicyServicePort) servicePort).applyPolicy(repositoryId, "policyId", documentId, null); } catch (CmisException e) { @@ -82,7 +82,7 @@ public class DMPolicyServiceTest extends AbstractServiceTest try { @SuppressWarnings("unused") - List response = ((PolicyServicePort) servicePort).getAppliedPolicies(repositoryId, documentId, ""); + List response = ((PolicyServicePort) servicePort).getAppliedPolicies(repositoryId, documentId, "", null); } catch (CmisException e) { @@ -94,7 +94,7 @@ public class DMPolicyServiceTest extends AbstractServiceTest { try { - ((PolicyServicePort) servicePort).removePolicy(repositoryId, "policyId", documentId); // TODO policyId + ((PolicyServicePort) servicePort).removePolicy(repositoryId, "policyId", documentId, null); // TODO policyId } catch (CmisException e) { diff --git a/source/test/java/org/alfresco/repo/cmis/ws/DMRepositoryServiceTest.java b/source/test/java/org/alfresco/repo/cmis/ws/DMRepositoryServiceTest.java index efe71a8600..1c4c4e3897 100644 --- a/source/test/java/org/alfresco/repo/cmis/ws/DMRepositoryServiceTest.java +++ b/source/test/java/org/alfresco/repo/cmis/ws/DMRepositoryServiceTest.java @@ -27,8 +27,6 @@ package org.alfresco.repo.cmis.ws; import java.math.BigInteger; import java.util.List; -import javax.xml.ws.Holder; - public class DMRepositoryServiceTest extends AbstractServiceTest { public final static String TYPE_ID = "F/wca:webfolder"; @@ -50,23 +48,23 @@ public class DMRepositoryServiceTest extends AbstractServiceTest public void testGetRepositories() throws Exception { - List repositories = ((RepositoryServicePort) servicePort).getRepositories(); + List repositories = ((RepositoryServicePort) servicePort).getRepositories(null); assertTrue(repositories.size() == 1); - assertFalse(repositories.get(0).getId() == null); - assertFalse(repositories.get(0).getName() == null); + assertFalse(repositories.get(0).getRepositoryId() == null); + assertFalse(repositories.get(0).getRepositoryName() == null); } public void testGetRepositoryInfo() throws Exception { - List repositories = ((RepositoryServicePort) servicePort).getRepositories(); + List repositories = ((RepositoryServicePort) servicePort).getRepositories(null); GetRepositoryInfo parameters = new GetRepositoryInfo(); - parameters.setRepositoryId(repositories.get(0).getId()); - CmisRepositoryInfoType cmisRepositoryInfoType = ((RepositoryServicePort) servicePort).getRepositoryInfo(repositoryId); + parameters.setRepositoryId(repositories.get(0).getRepositoryId()); + CmisRepositoryInfoType cmisRepositoryInfoType = ((RepositoryServicePort) servicePort).getRepositoryInfo(repositoryId, null); - assertTrue(cmisRepositoryInfoType.getRepositoryId().equals(repositories.get(0).getId())); - assertTrue(cmisRepositoryInfoType.getRepositoryName().equals(repositories.get(0).getName())); + assertTrue(cmisRepositoryInfoType.getRepositoryId().equals(repositories.get(0).getRepositoryId())); + assertTrue(cmisRepositoryInfoType.getRepositoryName().equals(repositories.get(0).getRepositoryName())); CmisRepositoryCapabilitiesType capabilities = cmisRepositoryInfoType.getCapabilities(); - assertTrue(capabilities.isCapabilityMultifiling() && capabilities.isCapabilityPWCUpdateable()); + assertTrue(capabilities.isCapabilityMultifiling() && capabilities.isCapabilityPWCUpdatable()); assertFalse(capabilities.isCapabilityUnfiling() && capabilities.isCapabilityVersionSpecificFiling()); } @@ -74,27 +72,26 @@ public class DMRepositoryServiceTest extends AbstractServiceTest { BigInteger maxItems = BigInteger.valueOf(0); BigInteger skipItems = BigInteger.valueOf(0); - Holder> typeHolder = new Holder>(); - Holder hasMoreElementsHolder = new Holder(); - ((RepositoryServicePort) servicePort).getTypeChildren(repositoryId, "", Boolean.FALSE, maxItems, skipItems, typeHolder, hasMoreElementsHolder); - assertNotNull(typeHolder.value); - assertFalse(typeHolder.value.isEmpty()); - CmisTypeDefinitionType element = typeHolder.value.get(0); + CmisTypeDefinitionListType response = ((RepositoryServicePort) servicePort).getTypeChildren(repositoryId, "", false, maxItems, skipItems, null); + assertNotNull(response); + assertNotNull(response.getTypes()); + assertFalse(response.getTypes().isEmpty()); + CmisTypeDefinitionType element = response.getTypes().get(0); assertNotNull(element); } public void testGetTypeDescedants() throws Exception { - List result = ((RepositoryServicePort) servicePort).getTypeDescendants(repositoryId, "", null, true); + List result = ((RepositoryServicePort) servicePort).getTypeDescendants(repositoryId, "", null, true, null); assertNotNull(result); assertFalse(result.isEmpty()); CmisTypeContainer element = result.get(0); assertNotNull(element); - result = ((RepositoryServicePort) servicePort).getTypeDescendants(repositoryId, "", BigInteger.valueOf(1), true); + result = ((RepositoryServicePort) servicePort).getTypeDescendants(repositoryId, "", BigInteger.valueOf(1), true, null); assertNotNull(result); assertFalse(result.isEmpty()); assertNotNull(result.get(0)); - result = ((RepositoryServicePort) servicePort).getTypeDescendants(repositoryId, TYPE_ID, null, false); + result = ((RepositoryServicePort) servicePort).getTypeDescendants(repositoryId, TYPE_ID, null, false, null); assertNotNull(result); assertTrue(result.size() == 1); assertNotNull(result.get(0)); @@ -102,7 +99,7 @@ public class DMRepositoryServiceTest extends AbstractServiceTest public void testGetTypeDefinition() throws Exception { - CmisTypeDefinitionType type = ((RepositoryServicePort) servicePort).getTypeDefinition(repositoryId, TYPE_ID); + CmisTypeDefinitionType type = ((RepositoryServicePort) servicePort).getTypeDefinition(repositoryId, TYPE_ID, null); assertNotNull(type); } } diff --git a/source/test/java/org/alfresco/repo/cmis/ws/DMVersioningServiceTest.java b/source/test/java/org/alfresco/repo/cmis/ws/DMVersioningServiceTest.java index 30bbe02c66..8e00f126aa 100755 --- a/source/test/java/org/alfresco/repo/cmis/ws/DMVersioningServiceTest.java +++ b/source/test/java/org/alfresco/repo/cmis/ws/DMVersioningServiceTest.java @@ -70,7 +70,7 @@ public class DMVersioningServiceTest extends AbstractServiceTest // check out Holder documentIdHolder = new Holder(documentId); Holder contentCopied = new Holder(); - ((VersioningServicePort) servicePort).checkOut(repositoryId, documentIdHolder, contentCopied); + ((VersioningServicePort) servicePort).checkOut(repositoryId, documentIdHolder, null, contentCopied); assertTrue(contentCopied.value); assertFalse(documentId.equals(documentIdHolder.value)); @@ -81,7 +81,10 @@ public class DMVersioningServiceTest extends AbstractServiceTest DataHandler dataHandler = new DataHandler("Test content string: " + System.currentTimeMillis(), MimetypeMap.MIMETYPE_TEXT_PLAIN); contentStream.setStream(dataHandler); String checkinComment = "Test checkin" + System.currentTimeMillis(); - ((VersioningServicePort) servicePort).checkIn(repositoryId, documentIdHolder, Boolean.TRUE, properties, contentStream, checkinComment, null, null, null); + // TODO: policies + // TODO: addACEs + // TODO: removeACEs + ((VersioningServicePort) servicePort).checkIn(repositoryId, documentIdHolder, true, properties, contentStream, checkinComment, null, null, null, null); assertEquals(checkinComment, getStringProperty(helper.getObjectProperties(documentIdHolder.value).getProperties(), CMISDictionaryModel.PROP_CHECKIN_COMMENT)); } @@ -91,12 +94,12 @@ public class DMVersioningServiceTest extends AbstractServiceTest // check out Holder documentIdHolder = new Holder(documentId); Holder contentCopied = new Holder(); - ((VersioningServicePort) servicePort).checkOut(repositoryId, documentIdHolder, contentCopied); + ((VersioningServicePort) servicePort).checkOut(repositoryId, documentIdHolder, null, contentCopied); assertTrue(contentCopied.value); assertFalse(documentId.equals(documentIdHolder.value)); // check in - ((VersioningServicePort) servicePort).checkIn(repositoryId, documentIdHolder, null, null, null, null, null, null, null); + ((VersioningServicePort) servicePort).checkIn(repositoryId, documentIdHolder, false, null, null, null, null, null, null, null); } public void testCheckOutCancelCheckOut() throws Exception @@ -104,12 +107,12 @@ public class DMVersioningServiceTest extends AbstractServiceTest // check out Holder documentIdHolder = new Holder(documentId); Holder contentCopied = new Holder(); - ((VersioningServicePort) servicePort).checkOut(repositoryId, documentIdHolder, contentCopied); + ((VersioningServicePort) servicePort).checkOut(repositoryId, documentIdHolder, null, contentCopied); assertTrue(contentCopied.value); assertFalse(documentId.equals(documentIdHolder.value)); // Cancel check out - ((VersioningServicePort) servicePort).cancelCheckOut(repositoryId, documentIdHolder.value); + ((VersioningServicePort) servicePort).cancelCheckOut(repositoryId, documentIdHolder.value, null); assertFalse(getBooleanProperty(helper.getObjectProperties(documentId).getProperties(), CMISDictionaryModel.PROP_IS_VERSION_SERIES_CHECKED_OUT)); } @@ -124,7 +127,10 @@ public class DMVersioningServiceTest extends AbstractServiceTest DataHandler dataHandler = new DataHandler("Test content string: " + System.currentTimeMillis(), MimetypeMap.MIMETYPE_TEXT_PLAIN); contentStream.setStream(dataHandler); String checkinComment = "Test checkin"; - ((VersioningServicePort) servicePort).checkIn(repositoryId, documentIdHolder, Boolean.TRUE, properties, contentStream, checkinComment, null, null, null); + // TODO: policies + // TODO: addACEs + // TODO: removeACEs + ((VersioningServicePort) servicePort).checkIn(repositoryId, documentIdHolder, true, properties, contentStream, checkinComment, null, null, null, null); fail("Expects exception"); } @@ -139,7 +145,7 @@ public class DMVersioningServiceTest extends AbstractServiceTest try { Holder documentIdHolder = new Holder(documentId); - ((VersioningServicePort) servicePort).cancelCheckOut(repositoryId, documentIdHolder.value); + ((VersioningServicePort) servicePort).cancelCheckOut(repositoryId, documentIdHolder.value, null); fail("Expects exception"); } @@ -151,18 +157,16 @@ public class DMVersioningServiceTest extends AbstractServiceTest public void testGetPropertiesOfLatestVersion() throws Exception { - CmisObjectType objectType = ((VersioningServicePort) servicePort).getPropertiesOfLatestVersion(repositoryId, documentId, true, "*", false); + CmisPropertiesType objectType = ((VersioningServicePort) servicePort).getPropertiesOfLatestVersion(repositoryId, documentId, true, "*", null); assertNotNull(objectType); - assertNotNull(objectType.getProperties()); - assertTrue(getBooleanProperty(objectType.getProperties(), CMISDictionaryModel.PROP_IS_LATEST_VERSION)); + assertTrue(getBooleanProperty(objectType, CMISDictionaryModel.PROP_IS_LATEST_VERSION)); } public void testGetPropertiesOfLatestVersionDefault() throws Exception { - CmisObjectType cmisObjectType = ((VersioningServicePort) servicePort).getPropertiesOfLatestVersion(repositoryId, documentId, true, "", null); + CmisPropertiesType cmisObjectType = ((VersioningServicePort) servicePort).getPropertiesOfLatestVersion(repositoryId, documentId, true, "", null); assertNotNull(cmisObjectType); - assertNotNull(cmisObjectType.getProperties()); - assertTrue(getBooleanProperty(cmisObjectType.getProperties(), CMISDictionaryModel.PROP_IS_LATEST_VERSION)); + assertTrue(getBooleanProperty(cmisObjectType, CMISDictionaryModel.PROP_IS_LATEST_VERSION)); } public void testGetAllVersionsDefault() throws Exception @@ -191,7 +195,7 @@ public class DMVersioningServiceTest extends AbstractServiceTest helper.checkOut(documentIdHolder, contentCopied); helper.checkIn(documentIdHolder, checkinComment, true); - List response = ((VersioningServicePort) servicePort).getAllVersions(repositoryId, documentId, "*", false, EnumIncludeRelationships.NONE); + List response = ((VersioningServicePort) servicePort).getAllVersions(repositoryId, documentId, "*", false, null); assertNotNull(response); assertFalse(response.isEmpty()); CmisObjectType firstElement = response.iterator().next(); @@ -201,7 +205,7 @@ public class DMVersioningServiceTest extends AbstractServiceTest public void testGetAllVersionsForNoVersionHistory() throws Exception { - List response = ((VersioningServicePort) servicePort).getAllVersions(repositoryId, documentId, "*", false, EnumIncludeRelationships.NONE); + List response = ((VersioningServicePort) servicePort).getAllVersions(repositoryId, documentId, "*", false, null); assertNotNull(response); } @@ -215,7 +219,7 @@ public class DMVersioningServiceTest extends AbstractServiceTest { helper.checkOut(documentIdHolder, contentCopied); - List response = ((VersioningServicePort) servicePort).getAllVersions(repositoryId, documentId, "*", false, EnumIncludeRelationships.NONE); + List response = ((VersioningServicePort) servicePort).getAllVersions(repositoryId, documentId, "*", false, null); assertNotNull(response); for (CmisObjectType cmisObjectType : response) { @@ -233,13 +237,62 @@ public class DMVersioningServiceTest extends AbstractServiceTest } finally { - helper.checkIn(documentIdHolder, "Hello", true); + helper.checkIn(documentIdHolder, "Test Check In Comment", true); } } - public void testDeleteAllVersions() throws Exception + public void testObjectOfLatestVersionReceiving() throws Exception { - // TODO: Schema bug. It possible should be returned - // ((VersioningServicePort) servicePort).deleteAllVersions(repositoryId, documentId); + CmisObjectType result = null; + try + { + result = helper.getVersioningServicePort().getObjectOfLatestVersion(repositoryId, documentId, false, null, false, null, null, false, false, null); + } + catch (Exception e) + { + fail(e.toString()); + } + assertNotNull(result); + assertNotNull(result.getProperties()); + assertNotNull(result.getProperties().getProperty()); + assertFalse(result.getProperties().getProperty().isEmpty()); + } + + public void testObjectOfLatestMajorVersionReceiving() throws Exception + { + CmisObjectType result = null; + try + { + result = helper.getVersioningServicePort().getObjectOfLatestVersion(repositoryId, documentId, true, null, false, null, null, false, false, null); + } + catch (Exception e) + { + fail(e.toString()); + } + assertNotNull(result); + assertNotNull(result.getProperties()); + assertNotNull(result.getProperties().getProperty()); + assertFalse(result.getProperties().getProperty().isEmpty()); + assertTrue(getBooleanProperty(result.getProperties(), CMISDictionaryModel.PROP_IS_MAJOR_VERSION)); + } + + public void testObjectOfLatestVersionReceivingWithAllowableActions() throws Exception + { + CmisObjectType result = null; + try + { + result = helper.getVersioningServicePort().getObjectOfLatestVersion(repositoryId, documentId, false, null, true, null, null, false, false, null); + } + catch (Exception e) + { + fail(e.toString()); + } + assertNotNull(result); + assertNotNull(result.getProperties()); + assertNotNull(result.getProperties().getProperty()); + assertFalse(result.getProperties().getProperty().isEmpty()); + assertNotNull(result.getAllowableActions()); + assertTrue(result.getAllowableActions().isCanGetProperties()); + assertTrue(result.getAllowableActions().isCanDeleteObject()); } } diff --git a/source/test/java/org/alfresco/repo/cmis/ws/MultiThreadsServiceTest.java b/source/test/java/org/alfresco/repo/cmis/ws/MultiThreadsServiceTest.java index 67434dd706..783bf0c6dd 100755 --- a/source/test/java/org/alfresco/repo/cmis/ws/MultiThreadsServiceTest.java +++ b/source/test/java/org/alfresco/repo/cmis/ws/MultiThreadsServiceTest.java @@ -127,7 +127,7 @@ public class MultiThreadsServiceTest extends AbstractServiceTest if (isRunning == false) { CmisContentStreamType result; - result = helper.getContentStream(documentId); + result = helper.getContentStream(documentId, 0, 0); if (result.getLength().intValue() == 0) { fail("Content Stream is empty"); diff --git a/source/wsdl/CMIS-Core.xsd b/source/wsdl/CMIS-Core.xsd index 344186d729..e3ce3a5de0 100755 --- a/source/wsdl/CMIS-Core.xsd +++ b/source/wsdl/CMIS-Core.xsd @@ -1,13 +1,17 @@ + xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/" version="0.63"> + @@ -37,6 +41,7 @@ + @@ -47,10 +52,8 @@ - - @@ -80,33 +83,20 @@ - - - - - - - - - - - + + + + - - - - - - - + @@ -133,53 +123,54 @@ - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + + - - + + - + @@ -187,30 +178,17 @@ - - - - + + - - - - This holds the children objects of this folder. This is used only in - the Web Service binding. In the REST/AtomPub binding, an atom - extension element is used. - - - - @@ -218,27 +196,25 @@ + + + + + - - - - - - - @@ -264,14 +240,10 @@ nillable="true" /> - - @@ -282,9 +254,44 @@ - - - + + + + This is the property definition id for this + property instance. This is + not required to be set when used as a + default value. This is + required to be set when used for query result + set or returning + properties on an object. + + + + + + + This is the localname as defined by the property + definition + + + + + + + This is the displayname as defined by the property + definition + + + + + + + This is the queryName. This must be specified if + this is the result of a query. If aliases are used, the alias is to + be specified here instead of the queryName. + + + @@ -304,7 +311,6 @@ - @@ -342,35 +348,14 @@ - - - - - - - - - - - - - - - - - - - - - - + + @@ -391,22 +376,7 @@ - - - - - - - - - - - - - - - + @@ -419,6 +389,8 @@ + @@ -429,8 +401,9 @@ + - @@ -440,6 +413,8 @@ + @@ -450,6 +425,8 @@ + @@ -460,6 +437,8 @@ + @@ -468,40 +447,23 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + @@ -512,26 +474,14 @@ + + - - - - - - - - - - - - - - - + @@ -542,7 +492,7 @@ minOccurs="0" maxOccurs="1" /> - @@ -606,6 +556,18 @@ + + + + + + + + + + @@ -737,19 +699,6 @@ - - - - - - - - - - - @@ -778,24 +727,10 @@ - - - - - - - - - - - - + + minOccurs="1" maxOccurs="1" nillable="true" /> - + maxOccurs="1"> + + + This is the id for the parent type definition. If + this is a base type, + this is not present. + + + - @@ -851,9 +794,7 @@ - - @@ -891,9 +832,9 @@ + minOccurs="1" maxOccurs="unbounded" /> + minOccurs="1" maxOccurs="unbounded" /> @@ -916,19 +857,20 @@ maxOccurs="1" /> + + + + + - - - - - @@ -943,8 +885,6 @@ minOccurs="1" maxOccurs="1" /> - - + - + + + + + + If set, this field holds the principal who is + used for anonymous + access. This principal can then be passed to the + ACL services to + specify what permissions anonymous users should + have + + + + + + + + If set, this field holds the principal who is + used for everyone's access. This principal can then be passed to + the + ACL services to + specify what permissions everyone should + have + + + @@ -976,22 +946,24 @@ + maxOccurs="1" minOccurs="1" /> - + + + - @@ -1028,7 +1000,7 @@ - + @@ -1050,8 +1022,8 @@ - - + + @@ -1068,7 +1040,6 @@ - @@ -1078,15 +1049,28 @@ - + - - - + + + + + Multiple entries are OR'ed together. Any + permission that specified is + sufficient to provide rights required + in key + + + + @@ -1123,7 +1107,7 @@ - + @@ -1134,22 +1118,39 @@ + + + + + + This user can be used on setting ACLs to specify + the permission this + user context should have. + + + + + + - + - + - + @@ -1157,13 +1158,14 @@ - + - + - - + + + - - + + diff --git a/source/wsdl/CMIS-Messaging.xsd b/source/wsdl/CMIS-Messaging.xsd index 6b6503099a..751bf9af2f 100755 --- a/source/wsdl/CMIS-Messaging.xsd +++ b/source/wsdl/CMIS-Messaging.xsd @@ -1,16 +1,23 @@ + - - + + + @@ -19,10 +26,12 @@ + + @@ -32,32 +41,115 @@ - - + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - @@ -66,10 +158,9 @@ - + - - + + + + + + + + + + + + + - + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + - @@ -100,13 +217,25 @@ + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + - + @@ -125,15 +254,25 @@ maxOccurs="1" nillable="true" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + - - @@ -151,13 +290,25 @@ maxOccurs="1" nillable="true" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + - @@ -171,6 +322,17 @@ minOccurs="1" maxOccurs="1" /> + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + @@ -182,8 +344,10 @@ - - + + + + @@ -200,16 +364,29 @@ minOccurs="0" maxOccurs="1" nillable="true" /> - - + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + - @@ -223,21 +400,38 @@ minOccurs="1" maxOccurs="1" /> - + + + + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + - @@ -253,28 +447,40 @@ maxOccurs="1" /> + + - - - + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + - - @@ -290,6 +496,18 @@ maxOccurs="1" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + @@ -297,7 +515,7 @@ + minOccurs="1" maxOccurs="1" /> @@ -310,21 +528,41 @@ minOccurs="1" maxOccurs="1" /> + + maxOccurs="1" nillable="true" /> + + + + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - - + @@ -333,18 +571,30 @@ + minOccurs="0" maxOccurs="1" nillable="true" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + - @@ -358,6 +608,7 @@ minOccurs="1" maxOccurs="1" /> + + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + - - - - + + + @@ -395,17 +659,29 @@ + maxOccurs="1" nillable="true" /> - + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + @@ -414,6 +690,74 @@ + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + + + + + + + + + + + + + + + + + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + + + + + + + + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + @@ -426,15 +770,26 @@ minOccurs="1" maxOccurs="1" /> - - + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + @@ -443,6 +798,18 @@ + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + @@ -455,26 +822,25 @@ minOccurs="1" maxOccurs="1" /> - - - - - - + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + @@ -483,11 +849,22 @@ + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - + @@ -495,12 +872,25 @@ minOccurs="1" maxOccurs="1" /> - + + + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + @@ -510,13 +900,21 @@ + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - + @@ -525,6 +923,17 @@ minOccurs="1" maxOccurs="1" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + @@ -533,16 +942,10 @@ - - + @@ -553,48 +956,109 @@ maxOccurs="1" /> - - - + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - - - - + + - - + + + + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + + + + - - + maxOccurs="1" nillable="true" /> + + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + @@ -628,10 +1103,7 @@ - + @@ -648,6 +1120,17 @@ minOccurs="0" maxOccurs="1" nillable="true" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + @@ -658,14 +1141,21 @@ maxOccurs="1" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - @@ -678,6 +1168,17 @@ minOccurs="1" maxOccurs="1" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + @@ -686,13 +1187,21 @@ + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - + @@ -703,18 +1212,37 @@ maxOccurs="1" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + - + @@ -723,10 +1251,23 @@ minOccurs="1" maxOccurs="1" /> + + minOccurs="0" maxOccurs="1" nillable="true" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + @@ -736,18 +1277,17 @@ - + - + @@ -759,10 +1299,20 @@ - + minOccurs="0" maxOccurs="1" nillable="true" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + @@ -771,13 +1321,24 @@ + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + - + @@ -788,26 +1349,46 @@ maxOccurs="1" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - + + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - + + - - + + @@ -817,19 +1398,40 @@ maxOccurs="1" /> + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + - - + + @@ -839,48 +1441,72 @@ maxOccurs="1" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + - - - + + + + - + minOccurs="1" maxOccurs="1" /> - - + minOccurs="0" maxOccurs="1" nillable="true" /> - + + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + @@ -888,50 +1514,58 @@ - - - + - - - - + - + + + + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - - + + - - - + + + @@ -940,6 +1574,17 @@ minOccurs="1" maxOccurs="1" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + @@ -950,13 +1595,21 @@ maxOccurs="1" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - + @@ -965,18 +1618,37 @@ minOccurs="1" maxOccurs="1" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + - + @@ -994,12 +1666,23 @@ - + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + @@ -1008,128 +1691,191 @@ + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - - + + - - - + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + - - - - - + + + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - + - - + + + + + + + + + + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + + + + + + + + + + + + - - + + @@ -1139,19 +1885,38 @@ maxOccurs="1" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + - - + + @@ -1161,19 +1926,39 @@ maxOccurs="1" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + + + - - + + @@ -1183,23 +1968,30 @@ maxOccurs="1" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - - - + @@ -1208,17 +2000,31 @@ + minOccurs="0" maxOccurs="1" nillable="true" /> + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - + - + + + @@ -1227,23 +2033,32 @@ + minOccurs="0" maxOccurs="1" /> - + + + + + + This is an extension element to hold any + repository or + vendor-specific extensions + + + - - + - \ No newline at end of file diff --git a/source/wsdl/CMISWS-Service.wsdl b/source/wsdl/CMISWS-Service.wsdl index e17f79df93..0d3224530d 100755 --- a/source/wsdl/CMISWS-Service.wsdl +++ b/source/wsdl/CMISWS-Service.wsdl @@ -1,17 +1,23 @@ - + + targetNamespace="http://docs.oasis-open.org/ns/cmis/ws/200908/"> + namespace="http://docs.oasis-open.org/ns/cmis/core/200908/" /> + namespace="http://docs.oasis-open.org/ns/cmis/messaging/200908/" /> @@ -102,6 +108,12 @@ + + + + + + @@ -126,6 +138,12 @@ + + + + + + @@ -133,11 +151,11 @@ - - + + - - + + @@ -202,11 +220,11 @@ - - + + - - + + @@ -258,6 +276,12 @@ + + + + + + @@ -341,6 +365,11 @@ + + + + + @@ -361,6 +390,11 @@ + + + + + @@ -371,9 +405,9 @@ - - - + + + @@ -431,9 +465,9 @@ - - - + + + @@ -480,6 +514,11 @@ + + + + + @@ -652,6 +691,18 @@ + + + + + + + + + + + + @@ -700,6 +751,18 @@ + + + + + + + + + + + + @@ -724,7 +787,7 @@ - + @@ -864,7 +927,7 @@ - + @@ -980,6 +1043,18 @@ + + + + + + + + + + + +