diff --git a/.classpath b/.classpath index fa1f87d66e..dfb5eab78f 100644 --- a/.classpath +++ b/.classpath @@ -1,23 +1,24 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/config/META-INF/cxf/org.apache.cxf.Logger b/config/META-INF/cxf/org.apache.cxf.Logger deleted file mode 100644 index be0c538174..0000000000 --- a/config/META-INF/cxf/org.apache.cxf.Logger +++ /dev/null @@ -1 +0,0 @@ -org.apache.cxf.common.logging.Log4jLogger \ No newline at end of file diff --git a/config/META-INF/services/org.apache.axis.deployment.wsdd.Provider b/config/META-INF/services/org.apache.axis.deployment.wsdd.Provider deleted file mode 100644 index 9078ba3858..0000000000 --- a/config/META-INF/services/org.apache.axis.deployment.wsdd.Provider +++ /dev/null @@ -1 +0,0 @@ -org.alfresco.repo.webservice.axis.WSDDSpringBeanRPCProvider \ No newline at end of file diff --git a/config/alfresco/cxf/cxf.xml b/config/alfresco/cxf/cxf.xml deleted file mode 100644 index 182b0f6d18..0000000000 --- a/config/alfresco/cxf/cxf.xml +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/config/alfresco/web-services-application-context.xml b/config/alfresco/web-services-application-context.xml deleted file mode 100644 index 9d2bb84ec6..0000000000 --- a/config/alfresco/web-services-application-context.xml +++ /dev/null @@ -1,314 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - passwordCallbackRef - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/pom.xml b/pom.xml index 59f0d0ab64..55cecf70a3 100644 --- a/pom.xml +++ b/pom.xml @@ -293,89 +293,6 @@ - diff --git a/source/generated/org/alfresco/repo/cmis/ws/ACLService.java b/source/generated/org/alfresco/repo/cmis/ws/ACLService.java deleted file mode 100644 index 775a7c1ba0..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/ACLService.java +++ /dev/null @@ -1,77 +0,0 @@ - -/* - * - */ - -package org.alfresco.repo.cmis.ws; - -import java.net.MalformedURLException; -import java.net.URL; -import javax.xml.namespace.QName; -import javax.xml.ws.Service; -import javax.xml.ws.WebEndpoint; -import javax.xml.ws.WebServiceClient; -import javax.xml.ws.WebServiceFeature; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - - -@WebServiceClient(name = "ACLService", - wsdlLocation = "file: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/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:CMISWS-Service.wsdl"); - } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:CMISWS-Service.wsdl"); - // e.printStackTrace(); - } - WSDL_LOCATION = url; - } - - public ACLService(URL wsdlLocation) { - super(wsdlLocation, SERVICE); - } - - public ACLService(URL wsdlLocation, QName serviceName) { - super(wsdlLocation, serviceName); - } - - public ACLService() { - super(WSDL_LOCATION, SERVICE); - } - - /** - * - * @return - * returns ACLServicePort - */ - @WebEndpoint(name = "ACLServicePort") - public ACLServicePort getACLServicePort() { - return super.getPort(ACLServicePort, ACLServicePort.class); - } - - /** - * - * @param features - * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. - * @return - * returns ACLServicePort - */ - @WebEndpoint(name = "ACLServicePort") - public ACLServicePort getACLServicePort(WebServiceFeature... features) { - return super.getPort(ACLServicePort, ACLServicePort.class, features); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/ACLServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/ACLServicePort.java deleted file mode 100644 index 96306c0173..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/ACLServicePort.java +++ /dev/null @@ -1,55 +0,0 @@ -package org.alfresco.repo.cmis.ws; - -import javax.jws.WebMethod; -import javax.jws.WebParam; -import javax.jws.WebResult; -import javax.jws.WebService; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.ws.RequestWrapper; -import javax.xml.ws.ResponseWrapper; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "ACLServicePort") -@XmlSeeAlso({ObjectFactory.class}) -public interface ACLServicePort { - - @WebResult(name = "ACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetACL") - @ResponseWrapper(localName = "getACLResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetACLResponse") - @WebMethod - 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/200908/") - java.lang.String objectId, - @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; - - @WebResult(name = "ACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "applyACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", 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") - @WebMethod - 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/200908/") - java.lang.String objectId, - @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(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 deleted file mode 100644 index 14598f3e39..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/AddObjectToFolder.java +++ /dev/null @@ -1,177 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "folderId", - "allVersions", - "extension" -}) -@XmlRootElement(name = "addObjectToFolder") -public class AddObjectToFolder { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - 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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the folderId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFolderId() { - return folderId; - } - - /** - * Sets the value of the folderId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFolderId(String value) { - this.folderId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index 9f8284e225..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/AddObjectToFolderResponse.java +++ /dev/null @@ -1,65 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@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 deleted file mode 100644 index f5b01e2d14..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/ApplyACL.java +++ /dev/null @@ -1,204 +0,0 @@ - -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; - - -/** - *

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>
- *         <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/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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "addACEs", - "removeACEs", - "aclPropagation", - "extension" -}) -@XmlRootElement(name = "applyACL") -public class ApplyACL { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String objectId; - protected CmisAccessControlListType addACEs; - protected CmisAccessControlListType removeACEs; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the addACEs property. - * - * @return - * possible object is - * {@link CmisAccessControlListType } - * - */ - public CmisAccessControlListType getAddACEs() { - return addACEs; - } - - /** - * Sets the value of the addACEs property. - * - * @param value - * allowed object is - * {@link CmisAccessControlListType } - * - */ - public void setAddACEs(CmisAccessControlListType value) { - this.addACEs = value; - } - - /** - * Gets the value of the removeACEs property. - * - * @return - * possible object is - * {@link CmisAccessControlListType } - * - */ - public CmisAccessControlListType getRemoveACEs() { - return removeACEs; - } - - /** - * Sets the value of the removeACEs property. - * - * @param value - * allowed object is - * {@link CmisAccessControlListType } - * - */ - public void setRemoveACEs(CmisAccessControlListType value) { - this.removeACEs = value; - } - - /** - * Gets the value of the aclPropagation property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link EnumACLPropagation }{@code >} - * - */ - public JAXBElement getACLPropagation() { - return aclPropagation; - } - - /** - * Sets the value of the aclPropagation property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link EnumACLPropagation }{@code >} - * - */ - 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 deleted file mode 100644 index 980fb5e4e3..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/ApplyACLResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="ACL" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisACLType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "acl" -}) -@XmlRootElement(name = "applyACLResponse") -public class ApplyACLResponse { - - @XmlElement(name = "ACL", required = true) - protected CmisACLType acl; - - /** - * Gets the value of the acl property. - * - * @return - * possible object is - * {@link CmisACLType } - * - */ - public CmisACLType getACL() { - return acl; - } - - /** - * Sets the value of the acl property. - * - * @param value - * allowed object is - * {@link CmisACLType } - * - */ - 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 deleted file mode 100644 index 7751a54c23..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/ApplyPolicy.java +++ /dev/null @@ -1,150 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "policyId", - "objectId", - "extension" -}) -@XmlRootElement(name = "applyPolicy") -public class ApplyPolicy { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - 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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the policyId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPolicyId() { - return policyId; - } - - /** - * Sets the value of the policyId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPolicyId(String value) { - this.policyId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index cd2fd144d2..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/ApplyPolicyResponse.java +++ /dev/null @@ -1,65 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@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/Aspects.java b/source/generated/org/alfresco/repo/cmis/ws/Aspects.java deleted file mode 100644 index 1a85c2b1d1..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/Aspects.java +++ /dev/null @@ -1,99 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="appliedAspects" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertiesType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "appliedAspects", - "properties" -}) -@XmlRootElement(name = "aspects", namespace = "http://www.alfresco.org") -public class Aspects { - - @XmlElement(namespace = "http://www.alfresco.org") - protected List appliedAspects; - @XmlElement(namespace = "http://www.alfresco.org") - protected CmisPropertiesType properties; - - /** - * Gets the value of the appliedAspects 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 appliedAspects property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getAppliedAspects() { - if (appliedAspects == null) { - appliedAspects = new ArrayList(); - } - return this.appliedAspects; - } - - /** - * Gets the value of the properties property. - * - * @return - * possible object is - * {@link CmisPropertiesType } - * - */ - public CmisPropertiesType getProperties() { - return properties; - } - - /** - * Sets the value of the properties property. - * - * @param value - * allowed object is - * {@link CmisPropertiesType } - * - */ - public void setProperties(CmisPropertiesType value) { - this.properties = value; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CancelCheckOut.java b/source/generated/org/alfresco/repo/cmis/ws/CancelCheckOut.java deleted file mode 100644 index 3a041769a6..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CancelCheckOut.java +++ /dev/null @@ -1,122 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "extension" -}) -@XmlRootElement(name = "cancelCheckOut") -public class CancelCheckOut { - - @XmlElement(required = true) - 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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index f917492022..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CancelCheckOutResponse.java +++ /dev/null @@ -1,65 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@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 deleted file mode 100644 index 60d1bdd1bd..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CheckIn.java +++ /dev/null @@ -1,325 +0,0 @@ - -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; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <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="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="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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "major", - "properties", - "contentStream", - "checkinComment", - "policies", - "addACEs", - "removeACEs", - "extension" -}) -@XmlRootElement(name = "checkIn") -public class CheckIn { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String objectId; - @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/200908/", type = JAXBElement.class) - protected JAXBElement properties; - @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/200908/", type = JAXBElement.class) - protected JAXBElement checkinComment; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the major property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public JAXBElement getMajor() { - return major; - } - - /** - * Sets the value of the major property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public void setMajor(JAXBElement value) { - this.major = ((JAXBElement ) value); - } - - /** - * Gets the value of the properties property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link CmisPropertiesType }{@code >} - * - */ - public JAXBElement getProperties() { - return properties; - } - - /** - * Sets the value of the properties property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link CmisPropertiesType }{@code >} - * - */ - public void setProperties(JAXBElement value) { - this.properties = ((JAXBElement ) value); - } - - /** - * Gets the value of the contentStream property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link CmisContentStreamType }{@code >} - * - */ - public JAXBElement getContentStream() { - return contentStream; - } - - /** - * Sets the value of the contentStream property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link CmisContentStreamType }{@code >} - * - */ - public void setContentStream(JAXBElement value) { - this.contentStream = ((JAXBElement ) value); - } - - /** - * Gets the value of the checkinComment property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement getCheckinComment() { - return checkinComment; - } - - /** - * Sets the value of the checkinComment property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public void setCheckinComment(JAXBElement value) { - this.checkinComment = ((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/CheckInResponse.java b/source/generated/org/alfresco/repo/cmis/ws/CheckInResponse.java deleted file mode 100644 index d43bf5057b..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CheckInResponse.java +++ /dev/null @@ -1,94 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "objectId", - "extension" -}) -@XmlRootElement(name = "checkInResponse") -public class CheckInResponse { - - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index cb3e560cf5..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CheckOut.java +++ /dev/null @@ -1,122 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "extension" -}) -@XmlRootElement(name = "checkOut") -public class CheckOut { - - @XmlElement(required = true) - 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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index 3f3683accd..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CheckOutResponse.java +++ /dev/null @@ -1,113 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="objectId" 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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "objectId", - "contentCopied", - "extension" -}) -@XmlRootElement(name = "checkOutResponse") -public class CheckOutResponse { - - @XmlElement(required = true) - protected String objectId; - 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 objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the contentCopied property. - * - */ - public boolean isContentCopied() { - return contentCopied; - } - - /** - * Sets the value of the contentCopied property. - * - */ - public void setContentCopied(boolean value) { - 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 deleted file mode 100644 index 8729e20340..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisACLCapabilityType.java +++ /dev/null @@ -1,157 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisACLCapabilityType complex type. - * - *

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

- * <complexType name="cmisACLCapabilityType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="supportedPermissions" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumSupportedPermissions"/>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisACLCapabilityType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "supportedPermissions", - "propagation", - "permissions", - "mapping" -}) -public class CmisACLCapabilityType { - - @XmlElement(required = true) - protected EnumSupportedPermissions supportedPermissions; - @XmlElement(required = true) - protected EnumACLPropagation propagation; - @XmlElement(required = true) - protected List permissions; - protected List mapping; - - /** - * Gets the value of the supportedPermissions property. - * - * @return - * possible object is - * {@link EnumSupportedPermissions } - * - */ - public EnumSupportedPermissions getSupportedPermissions() { - return supportedPermissions; - } - - /** - * Sets the value of the supportedPermissions property. - * - * @param value - * allowed object is - * {@link EnumSupportedPermissions } - * - */ - public void setSupportedPermissions(EnumSupportedPermissions value) { - this.supportedPermissions = value; - } - - /** - * Gets the value of the propagation property. - * - * @return - * possible object is - * {@link EnumACLPropagation } - * - */ - public EnumACLPropagation getPropagation() { - return propagation; - } - - /** - * Sets the value of the propagation property. - * - * @param value - * allowed object is - * {@link EnumACLPropagation } - * - */ - public void setPropagation(EnumACLPropagation value) { - this.propagation = value; - } - - /** - * Gets the value of the permissions 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 permissions property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisPermissionDefinition } - * - * - */ - public List getPermissions() { - if (permissions == null) { - permissions = new ArrayList(); - } - return this.permissions; - } - - /** - * Gets the value of the mapping 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 mapping property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisPermissionMapping } - * - * - */ - public List getMapping() { - if (mapping == null) { - mapping = new ArrayList(); - } - return this.mapping; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisACLType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisACLType.java deleted file mode 100644 index defa62ab3b..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisACLType.java +++ /dev/null @@ -1,152 +0,0 @@ - -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; - - -/** - *

Java class for cmisACLType complex type. - * - *

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

- * <complexType name="cmisACLType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ACL" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType"/>
- *         <element name="exact" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <any/>
- *       </sequence>
- *       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisACLType", propOrder = { - "acl", - "exact", - "any" -}) -public class CmisACLType { - - @XmlElement(name = "ACL", required = true) - protected CmisAccessControlListType acl; - protected Boolean exact; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the acl property. - * - * @return - * possible object is - * {@link CmisAccessControlListType } - * - */ - public CmisAccessControlListType getACL() { - return acl; - } - - /** - * Sets the value of the acl property. - * - * @param value - * allowed object is - * {@link CmisAccessControlListType } - * - */ - public void setACL(CmisAccessControlListType value) { - this.acl = value; - } - - /** - * Gets the value of the exact property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isExact() { - return exact; - } - - /** - * Sets the value of the exact property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setExact(Boolean value) { - this.exact = value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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/CmisAccessControlEntryType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlEntryType.java deleted file mode 100644 index a6a60943f5..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlEntryType.java +++ /dev/null @@ -1,152 +0,0 @@ - -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; - - -/** - *

Java class for cmisAccessControlEntryType complex type. - * - *

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

- * <complexType name="cmisAccessControlEntryType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <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>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisAccessControlEntryType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "principal", - "permission", - "direct", - "any" -}) -public class CmisAccessControlEntryType { - - @XmlElement(required = true) - protected CmisAccessControlPrincipalType principal; - @XmlElement(required = true) - protected List permission; - protected boolean direct; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the principal property. - * - * @return - * possible object is - * {@link CmisAccessControlPrincipalType } - * - */ - public CmisAccessControlPrincipalType getPrincipal() { - return principal; - } - - /** - * Sets the value of the principal property. - * - * @param value - * allowed object is - * {@link CmisAccessControlPrincipalType } - * - */ - public void setPrincipal(CmisAccessControlPrincipalType value) { - this.principal = value; - } - - /** - * Gets 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 } - * - * - */ - public List getPermission() { - if (permission == null) { - permission = new ArrayList(); - } - return this.permission; - } - - /** - * Gets the value of the direct property. - * - */ - public boolean isDirect() { - return direct; - } - - /** - * Sets the value of the direct property. - * - */ - public void setDirect(boolean value) { - this.direct = value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlListType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlListType.java deleted file mode 100644 index a2e42b723e..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlListType.java +++ /dev/null @@ -1,105 +0,0 @@ - -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; - - -/** - *

Java class for cmisAccessControlListType complex type. - * - *

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

- * <complexType name="cmisAccessControlListType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="permission" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlEntryType" maxOccurs="unbounded"/>
- *         <any/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisAccessControlListType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "permission", - "any" -}) -public class CmisAccessControlListType { - - @XmlElement(required = true) - protected List permission; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets 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 CmisAccessControlEntryType } - * - * - */ - public List getPermission() { - if (permission == null) { - permission = new ArrayList(); - } - return this.permission; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlPrincipalType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlPrincipalType.java deleted file mode 100644 index 1697ed1936..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlPrincipalType.java +++ /dev/null @@ -1,100 +0,0 @@ - -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; - - -/** - *

Java class for cmisAccessControlPrincipalType complex type. - * - *

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

- * <complexType name="cmisAccessControlPrincipalType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="principalId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <any/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisAccessControlPrincipalType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "principalId", - "any" -}) -public class CmisAccessControlPrincipalType { - - @XmlElement(required = true) - protected String principalId; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the principalId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPrincipalId() { - return principalId; - } - - /** - * Sets the value of the principalId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPrincipalId(String value) { - this.principalId = value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisAllowableActionsType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisAllowableActionsType.java deleted file mode 100644 index c4751404f0..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisAllowableActionsType.java +++ /dev/null @@ -1,879 +0,0 @@ - -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.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisAllowableActionsType complex type. - * - *

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

- * <complexType name="cmisAllowableActionsType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <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="canGetFolderTree" 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="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"/>
- *         <element name="canMoveObject" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canDeleteContentStream" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canCheckOut" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canCancelCheckOut" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canCheckIn" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canSetContentStream" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canGetAllVersions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canAddObjectToFolder" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canRemoveObjectFromFolder" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canGetContentStream" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canApplyPolicy" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canGetAppliedPolicies" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canRemovePolicy" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canGetChildren" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canCreateDocument" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canCreateFolder" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canCreateRelationship" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canDeleteTree" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canGetRenditions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="canGetACL" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <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/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisAllowableActionsType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "canDeleteObject", - "canUpdateProperties", - "canGetFolderTree", - "canGetProperties", - "canGetObjectRelationships", - "canGetObjectParents", - "canGetFolderParent", - "canGetDescendants", - "canMoveObject", - "canDeleteContentStream", - "canCheckOut", - "canCancelCheckOut", - "canCheckIn", - "canSetContentStream", - "canGetAllVersions", - "canAddObjectToFolder", - "canRemoveObjectFromFolder", - "canGetContentStream", - "canApplyPolicy", - "canGetAppliedPolicies", - "canRemovePolicy", - "canGetChildren", - "canCreateDocument", - "canCreateFolder", - "canCreateRelationship", - "canDeleteTree", - "canGetRenditions", - "canGetACL", - "canApplyACL", - "any" -}) -public class CmisAllowableActionsType { - - protected Boolean canDeleteObject; - protected Boolean canUpdateProperties; - protected Boolean canGetFolderTree; - protected Boolean canGetProperties; - protected Boolean canGetObjectRelationships; - protected Boolean canGetObjectParents; - protected Boolean canGetFolderParent; - protected Boolean canGetDescendants; - protected Boolean canMoveObject; - protected Boolean canDeleteContentStream; - protected Boolean canCheckOut; - protected Boolean canCancelCheckOut; - protected Boolean canCheckIn; - protected Boolean canSetContentStream; - protected Boolean canGetAllVersions; - protected Boolean canAddObjectToFolder; - protected Boolean canRemoveObjectFromFolder; - protected Boolean canGetContentStream; - protected Boolean canApplyPolicy; - protected Boolean canGetAppliedPolicies; - protected Boolean canRemovePolicy; - protected Boolean canGetChildren; - protected Boolean canCreateDocument; - protected Boolean canCreateFolder; - protected Boolean canCreateRelationship; - protected Boolean canDeleteTree; - protected Boolean canGetRenditions; - protected Boolean canGetACL; - protected Boolean canApplyACL; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the canDeleteObject property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanDeleteObject() { - return canDeleteObject; - } - - /** - * Sets the value of the canDeleteObject property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanDeleteObject(Boolean value) { - this.canDeleteObject = value; - } - - /** - * Gets the value of the canUpdateProperties property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanUpdateProperties() { - return canUpdateProperties; - } - - /** - * Sets the value of the canUpdateProperties property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanUpdateProperties(Boolean value) { - this.canUpdateProperties = value; - } - - /** - * Gets the value of the canGetFolderTree property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanGetFolderTree() { - return canGetFolderTree; - } - - /** - * Sets the value of the canGetFolderTree property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanGetFolderTree(Boolean value) { - this.canGetFolderTree = value; - } - - /** - * Gets the value of the canGetProperties property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanGetProperties() { - return canGetProperties; - } - - /** - * Sets the value of the canGetProperties property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanGetProperties(Boolean value) { - this.canGetProperties = value; - } - - /** - * Gets the value of the canGetObjectRelationships property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanGetObjectRelationships() { - return canGetObjectRelationships; - } - - /** - * Sets the value of the canGetObjectRelationships property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanGetObjectRelationships(Boolean value) { - this.canGetObjectRelationships = value; - } - - /** - * Gets the value of the canGetObjectParents property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanGetObjectParents() { - return canGetObjectParents; - } - - /** - * Sets the value of the canGetObjectParents property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanGetObjectParents(Boolean value) { - this.canGetObjectParents = value; - } - - /** - * Gets the value of the canGetFolderParent property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanGetFolderParent() { - return canGetFolderParent; - } - - /** - * Sets the value of the canGetFolderParent property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanGetFolderParent(Boolean value) { - this.canGetFolderParent = value; - } - - /** - * Gets the value of the canGetDescendants property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanGetDescendants() { - return canGetDescendants; - } - - /** - * Sets the value of the canGetDescendants property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanGetDescendants(Boolean value) { - this.canGetDescendants = value; - } - - /** - * Gets the value of the canMoveObject property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanMoveObject() { - return canMoveObject; - } - - /** - * Sets the value of the canMoveObject property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanMoveObject(Boolean value) { - this.canMoveObject = value; - } - - /** - * Gets the value of the canDeleteContentStream property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanDeleteContentStream() { - return canDeleteContentStream; - } - - /** - * Sets the value of the canDeleteContentStream property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanDeleteContentStream(Boolean value) { - this.canDeleteContentStream = value; - } - - /** - * Gets the value of the canCheckOut property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanCheckOut() { - return canCheckOut; - } - - /** - * Sets the value of the canCheckOut property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanCheckOut(Boolean value) { - this.canCheckOut = value; - } - - /** - * Gets the value of the canCancelCheckOut property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanCancelCheckOut() { - return canCancelCheckOut; - } - - /** - * Sets the value of the canCancelCheckOut property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanCancelCheckOut(Boolean value) { - this.canCancelCheckOut = value; - } - - /** - * Gets the value of the canCheckIn property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanCheckIn() { - return canCheckIn; - } - - /** - * Sets the value of the canCheckIn property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanCheckIn(Boolean value) { - this.canCheckIn = value; - } - - /** - * Gets the value of the canSetContentStream property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanSetContentStream() { - return canSetContentStream; - } - - /** - * Sets the value of the canSetContentStream property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanSetContentStream(Boolean value) { - this.canSetContentStream = value; - } - - /** - * Gets the value of the canGetAllVersions property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanGetAllVersions() { - return canGetAllVersions; - } - - /** - * Sets the value of the canGetAllVersions property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanGetAllVersions(Boolean value) { - this.canGetAllVersions = value; - } - - /** - * Gets the value of the canAddObjectToFolder property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanAddObjectToFolder() { - return canAddObjectToFolder; - } - - /** - * Sets the value of the canAddObjectToFolder property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanAddObjectToFolder(Boolean value) { - this.canAddObjectToFolder = value; - } - - /** - * Gets the value of the canRemoveObjectFromFolder property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanRemoveObjectFromFolder() { - return canRemoveObjectFromFolder; - } - - /** - * Sets the value of the canRemoveObjectFromFolder property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanRemoveObjectFromFolder(Boolean value) { - this.canRemoveObjectFromFolder = value; - } - - /** - * Gets the value of the canGetContentStream property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanGetContentStream() { - return canGetContentStream; - } - - /** - * Sets the value of the canGetContentStream property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanGetContentStream(Boolean value) { - this.canGetContentStream = value; - } - - /** - * Gets the value of the canApplyPolicy property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanApplyPolicy() { - return canApplyPolicy; - } - - /** - * Sets the value of the canApplyPolicy property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanApplyPolicy(Boolean value) { - this.canApplyPolicy = value; - } - - /** - * Gets the value of the canGetAppliedPolicies property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanGetAppliedPolicies() { - return canGetAppliedPolicies; - } - - /** - * Sets the value of the canGetAppliedPolicies property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanGetAppliedPolicies(Boolean value) { - this.canGetAppliedPolicies = value; - } - - /** - * Gets the value of the canRemovePolicy property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanRemovePolicy() { - return canRemovePolicy; - } - - /** - * Sets the value of the canRemovePolicy property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanRemovePolicy(Boolean value) { - this.canRemovePolicy = value; - } - - /** - * Gets the value of the canGetChildren property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanGetChildren() { - return canGetChildren; - } - - /** - * Sets the value of the canGetChildren property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanGetChildren(Boolean value) { - this.canGetChildren = value; - } - - /** - * Gets the value of the canCreateDocument property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanCreateDocument() { - return canCreateDocument; - } - - /** - * Sets the value of the canCreateDocument property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanCreateDocument(Boolean value) { - this.canCreateDocument = value; - } - - /** - * Gets the value of the canCreateFolder property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanCreateFolder() { - return canCreateFolder; - } - - /** - * Sets the value of the canCreateFolder property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanCreateFolder(Boolean value) { - this.canCreateFolder = value; - } - - /** - * Gets the value of the canCreateRelationship property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanCreateRelationship() { - return canCreateRelationship; - } - - /** - * Sets the value of the canCreateRelationship property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanCreateRelationship(Boolean value) { - this.canCreateRelationship = value; - } - - /** - * Gets the value of the canDeleteTree property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanDeleteTree() { - return canDeleteTree; - } - - /** - * Sets the value of the canDeleteTree property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanDeleteTree(Boolean value) { - this.canDeleteTree = value; - } - - /** - * Gets the value of the canGetRenditions property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanGetRenditions() { - return canGetRenditions; - } - - /** - * Sets the value of the canGetRenditions property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanGetRenditions(Boolean value) { - this.canGetRenditions = value; - } - - /** - * Gets the value of the canGetACL property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanGetACL() { - return canGetACL; - } - - /** - * Sets the value of the canGetACL property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanGetACL(Boolean value) { - this.canGetACL = value; - } - - /** - * Gets the value of the canApplyACL property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCanApplyACL() { - return canApplyACL; - } - - /** - * Sets the value of the canApplyACL property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCanApplyACL(Boolean value) { - this.canApplyACL = value; - } - - /** - * 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/CmisChangeEventType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisChangeEventType.java deleted file mode 100644 index 9522823f76..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChangeEventType.java +++ /dev/null @@ -1,131 +0,0 @@ - -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.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.datatype.XMLGregorianCalendar; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisChangeEventType complex type. - * - *

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

- * <complexType name="cmisChangeEventType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <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>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisChangeEventType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "changeType", - "changeTime", - "any" -}) -public class CmisChangeEventType { - - @XmlElement(required = true) - protected EnumTypeOfChanges changeType; - @XmlElement(required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar changeTime; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the changeType property. - * - * @return - * possible object is - * {@link EnumTypeOfChanges } - * - */ - public EnumTypeOfChanges getChangeType() { - return changeType; - } - - /** - * Sets the value of the changeType property. - * - * @param value - * allowed object is - * {@link EnumTypeOfChanges } - * - */ - public void setChangeType(EnumTypeOfChanges value) { - this.changeType = value; - } - - /** - * Gets the value of the changeTime property. - * - * @return - * possible object is - * {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getChangeTime() { - return changeTime; - } - - /** - * Sets the value of the changeTime property. - * - * @param value - * allowed object is - * {@link XMLGregorianCalendar } - * - */ - public void setChangeTime(XMLGregorianCalendar value) { - this.changeTime = value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisChoice.java b/source/generated/org/alfresco/repo/cmis/ws/CmisChoice.java deleted file mode 100644 index d424dd56ce..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoice.java +++ /dev/null @@ -1,96 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import java.util.HashMap; -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.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - *

Java class for cmisChoice complex type. - * - *

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

- * <complexType name="cmisChoice">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisChoice", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlSeeAlso({ - CmisChoiceHtml.class, - CmisChoiceInteger.class, - CmisChoiceDecimal.class, - CmisChoiceString.class, - CmisChoiceDateTime.class, - CmisChoiceId.class, - CmisChoiceBoolean.class, - CmisChoiceUri.class -}) -public class CmisChoice { - - @XmlAttribute(required = true) - @XmlSchemaType(name = "anySimpleType") - protected String displayName; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the displayName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDisplayName() { - return displayName; - } - - /** - * Sets the value of the displayName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDisplayName(String value) { - this.displayName = value; - } - - /** - * 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/CmisChoiceBoolean.java b/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceBoolean.java deleted file mode 100644 index 125dccaee9..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceBoolean.java +++ /dev/null @@ -1,103 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisChoiceBoolean complex type. - * - *

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

- * <complexType name="cmisChoiceBoolean">
- *   <complexContent>
- *     <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisChoiceBoolean", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "value", - "choice" -}) -public class CmisChoiceBoolean - extends CmisChoice -{ - - @XmlElement(type = Boolean.class) - protected List value; - protected List choice; - - /** - * Gets the value of the value 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link Boolean } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - 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 deleted file mode 100644 index cdbf46c13d..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceDateTime.java +++ /dev/null @@ -1,104 +0,0 @@ - -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.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.datatype.XMLGregorianCalendar; - - -/** - *

Java class for cmisChoiceDateTime complex type. - * - *

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

- * <complexType name="cmisChoiceDateTime">
- *   <complexContent>
- *     <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisChoiceDateTime", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "value", - "choice" -}) -public class CmisChoiceDateTime - extends CmisChoice -{ - - @XmlSchemaType(name = "dateTime") - protected List value; - protected List choice; - - /** - * Gets the value of the value 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link XMLGregorianCalendar } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - 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 deleted file mode 100644 index 835def4bd2..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceDecimal.java +++ /dev/null @@ -1,102 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import java.math.BigDecimal; -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.XmlType; - - -/** - *

Java class for cmisChoiceDecimal complex type. - * - *

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

- * <complexType name="cmisChoiceDecimal">
- *   <complexContent>
- *     <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@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. - * - *

- * 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link BigDecimal } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - 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 deleted file mode 100644 index 2a7f506470..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceHtml.java +++ /dev/null @@ -1,101 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisChoiceHtml complex type. - * - *

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

- * <complexType name="cmisChoiceHtml">
- *   <complexContent>
- *     <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/}cmisChoiceHtml" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@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 choice; - - /** - * Gets the value of the value 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - 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 CmisChoiceHtml } - * - * - */ - 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 deleted file mode 100644 index 602c261c52..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceId.java +++ /dev/null @@ -1,101 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisChoiceId complex type. - * - *

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

- * <complexType name="cmisChoiceId">
- *   <complexContent>
- *     <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>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisChoiceId", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "value", - "choice" -}) -public class CmisChoiceId - extends CmisChoice -{ - - protected List value; - protected List choice; - - /** - * Gets the value of the value 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - 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 CmisChoiceId } - * - * - */ - 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 deleted file mode 100644 index cf873ec04a..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceInteger.java +++ /dev/null @@ -1,102 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisChoiceInteger complex type. - * - *

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

- * <complexType name="cmisChoiceInteger">
- *   <complexContent>
- *     <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@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. - * - *

- * 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link BigInteger } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - 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 deleted file mode 100644 index 50d2f3e1b2..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceString.java +++ /dev/null @@ -1,101 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisChoiceString complex type. - * - *

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

- * <complexType name="cmisChoiceString">
- *   <complexContent>
- *     <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@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. - * - *

- * 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - 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 deleted file mode 100644 index 756c72adc8..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisChoiceUri.java +++ /dev/null @@ -1,103 +0,0 @@ - -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.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for cmisChoiceUri complex type. - * - *

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

- * <complexType name="cmisChoiceUri">
- *   <complexContent>
- *     <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisChoiceUri", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "value", - "choice" -}) -public class CmisChoiceUri - extends CmisChoice -{ - - @XmlSchemaType(name = "anyURI") - protected List value; - protected List choice; - - /** - * Gets the value of the value 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - 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 deleted file mode 100644 index 2a80c89300..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisContentStreamType.java +++ /dev/null @@ -1,210 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import javax.activation.DataHandler; -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.XmlMimeType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisContentStreamType complex type. - * - *

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

- * <complexType name="cmisContentStreamType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <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="stream" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
- *         <any/>
- *       </sequence>
- *       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisContentStreamType", propOrder = { - "length", - "mimeType", - "filename", - "stream", - "any" -}) -public class CmisContentStreamType { - - protected BigInteger length; - protected String mimeType; - protected String filename; - @XmlElement(required = true) - @XmlMimeType("application/octet-stream") - protected DataHandler stream; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the length property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getLength() { - return length; - } - - /** - * Sets the value of the length property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setLength(BigInteger value) { - this.length = value; - } - - /** - * Gets the value of the mimeType property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimeType() { - return mimeType; - } - - /** - * Sets the value of the mimeType property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimeType(String value) { - this.mimeType = value; - } - - /** - * Gets the value of the filename property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFilename() { - return filename; - } - - /** - * Sets the value of the filename property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFilename(String value) { - this.filename = value; - } - - /** - * Gets the value of the stream property. - * - * @return - * possible object is - * {@link DataHandler } - * - */ - public DataHandler getStream() { - return stream; - } - - /** - * Sets the value of the stream property. - * - * @param value - * allowed object is - * {@link DataHandler } - * - */ - public void setStream(DataHandler value) { - this.stream = value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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/CmisException.java b/source/generated/org/alfresco/repo/cmis/ws/CmisException.java deleted file mode 100644 index eb765d0a7a..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisException.java +++ /dev/null @@ -1,45 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.ws.WebFault; - - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - -@WebFault(name = "cmisFault", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") -public class CmisException extends Exception { - public static final long serialVersionUID = 20100113201328L; - - private org.alfresco.repo.cmis.ws.CmisFaultType cmisFault; - - public CmisException() { - super(); - } - - public CmisException(String message) { - super(message); - } - - public CmisException(String message, Throwable cause) { - super(message, cause); - } - - public CmisException(String message, org.alfresco.repo.cmis.ws.CmisFaultType cmisFault) { - super(message); - this.cmisFault = cmisFault; - } - - public CmisException(String message, org.alfresco.repo.cmis.ws.CmisFaultType cmisFault, Throwable cause) { - super(message, cause); - this.cmisFault = cmisFault; - } - - public org.alfresco.repo.cmis.ws.CmisFaultType getFaultInfo() { - return this.cmisFault; - } -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisExtensionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisExtensionType.java deleted file mode 100644 index 34c9edd5b6..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisExtensionType.java +++ /dev/null @@ -1,69 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisExtensionType complex type. - * - *

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

- * <complexType name="cmisExtensionType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <any/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisExtensionType", propOrder = { - "any" -}) -public class CmisExtensionType { - - @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 Object } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisFaultType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisFaultType.java deleted file mode 100644 index 31cc2ced85..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisFaultType.java +++ /dev/null @@ -1,155 +0,0 @@ - -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; - - -/** - *

Java class for cmisFaultType complex type. - * - *

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

- * <complexType name="cmisFaultType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <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/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisFaultType", propOrder = { - "type", - "code", - "message", - "any" -}) -public class CmisFaultType { - - @XmlElement(required = true) - protected EnumServiceException type; - @XmlElement(required = true) - protected BigInteger code; - @XmlElement(required = true) - protected String message; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link EnumServiceException } - * - */ - public EnumServiceException getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link EnumServiceException } - * - */ - public void setType(EnumServiceException value) { - this.type = value; - } - - /** - * Gets the value of the code property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getCode() { - return code; - } - - /** - * Sets the value of the code property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setCode(BigInteger value) { - this.code = value; - } - - /** - * Gets the value of the message property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMessage() { - return message; - } - - /** - * Sets the value of the message property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMessage(String value) { - this.message = value; - } - - /** - * 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 Object } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisListOfIdsType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisListOfIdsType.java deleted file mode 100644 index bde22355cc..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisListOfIdsType.java +++ /dev/null @@ -1,130 +0,0 @@ - -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; - - -/** - *

Java class for cmisListOfIdsType complex type. - * - *

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

- * <complexType name="cmisListOfIdsType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="id" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
- *         <any/>
- *       </sequence>
- *       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisListOfIdsType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "id", - "any" -}) -public class CmisListOfIdsType { - - @XmlElement(required = true) - protected List id; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id 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 id property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getId() { - if (id == null) { - id = new ArrayList(); - } - return this.id; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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/CmisObjectInFolderContainerType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisObjectInFolderContainerType.java deleted file mode 100644 index fc48fbb8d9..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisObjectInFolderContainerType.java +++ /dev/null @@ -1,157 +0,0 @@ - -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; - - -/** - *

Java class for cmisObjectInFolderContainerType complex type. - * - *

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

- * <complexType name="cmisObjectInFolderContainerType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="objectInFolder" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectInFolderType"/>
- *         <element name="children" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectInFolderContainerType" maxOccurs="unbounded" minOccurs="0"/>
- *         <any/>
- *       </sequence>
- *       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisObjectInFolderContainerType", propOrder = { - "objectInFolder", - "children", - "any" -}) -public class CmisObjectInFolderContainerType { - - @XmlElement(required = true) - protected CmisObjectInFolderType objectInFolder; - protected List children; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the objectInFolder property. - * - * @return - * possible object is - * {@link CmisObjectInFolderType } - * - */ - public CmisObjectInFolderType getObjectInFolder() { - return objectInFolder; - } - - /** - * Sets the value of the objectInFolder property. - * - * @param value - * allowed object is - * {@link CmisObjectInFolderType } - * - */ - public void setObjectInFolder(CmisObjectInFolderType value) { - this.objectInFolder = value; - } - - /** - * Gets the value of the children 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 children property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisObjectInFolderContainerType } - * - * - */ - public List getChildren() { - if (children == null) { - children = new ArrayList(); - } - 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 Object } - * {@link Element } - * - * - */ - 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/CmisObjectInFolderListType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisObjectInFolderListType.java deleted file mode 100644 index 499932be41..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisObjectInFolderListType.java +++ /dev/null @@ -1,175 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import java.math.BigInteger; -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.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisObjectInFolderListType complex type. - * - *

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

- * <complexType name="cmisObjectInFolderListType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectInFolderType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="hasMoreItems" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
- *         <element name="numItems" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
- *         <any/>
- *       </sequence>
- *       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisObjectInFolderListType", propOrder = { - "objects", - "hasMoreItems", - "numItems", - "any" -}) -public class CmisObjectInFolderListType { - - protected List objects; - protected boolean hasMoreItems; - protected BigInteger numItems; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * 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 objects property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisObjectInFolderType } - * - * - */ - public List getObjects() { - if (objects == null) { - objects = new ArrayList(); - } - return this.objects; - } - - /** - * Gets the value of the hasMoreItems property. - * - */ - public boolean isHasMoreItems() { - return hasMoreItems; - } - - /** - * Sets the value of the hasMoreItems property. - * - */ - public void setHasMoreItems(boolean value) { - this.hasMoreItems = value; - } - - /** - * Gets the value of the numItems property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getNumItems() { - return numItems; - } - - /** - * Sets the value of the numItems property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setNumItems(BigInteger value) { - this.numItems = value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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/CmisObjectInFolderType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisObjectInFolderType.java deleted file mode 100644 index 0432ac0b71..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisObjectInFolderType.java +++ /dev/null @@ -1,152 +0,0 @@ - -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; - - -/** - *

Java class for cmisObjectInFolderType complex type. - * - *

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

- * <complexType name="cmisObjectInFolderType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisObjectType"/>
- *         <element name="pathSegment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <any/>
- *       </sequence>
- *       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisObjectInFolderType", propOrder = { - "object", - "pathSegment", - "any" -}) -public class CmisObjectInFolderType { - - @XmlElement(required = true) - protected CmisObjectType object; - protected String pathSegment; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the object property. - * - * @return - * possible object is - * {@link CmisObjectType } - * - */ - public CmisObjectType getObject() { - return object; - } - - /** - * Sets the value of the object property. - * - * @param value - * allowed object is - * {@link CmisObjectType } - * - */ - public void setObject(CmisObjectType value) { - this.object = value; - } - - /** - * Gets the value of the pathSegment property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPathSegment() { - return pathSegment; - } - - /** - * Sets the value of the pathSegment property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPathSegment(String value) { - this.pathSegment = value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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/CmisObjectListType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisObjectListType.java deleted file mode 100644 index 281988477b..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisObjectListType.java +++ /dev/null @@ -1,175 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import java.math.BigInteger; -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.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisObjectListType complex type. - * - *

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

- * <complexType name="cmisObjectListType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="hasMoreItems" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
- *         <element name="numItems" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
- *         <any/>
- *       </sequence>
- *       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisObjectListType", propOrder = { - "objects", - "hasMoreItems", - "numItems", - "any" -}) -public class CmisObjectListType { - - protected List objects; - protected boolean hasMoreItems; - protected BigInteger numItems; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * 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 objects property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisObjectType } - * - * - */ - public List getObjects() { - if (objects == null) { - objects = new ArrayList(); - } - return this.objects; - } - - /** - * Gets the value of the hasMoreItems property. - * - */ - public boolean isHasMoreItems() { - return hasMoreItems; - } - - /** - * Sets the value of the hasMoreItems property. - * - */ - public void setHasMoreItems(boolean value) { - this.hasMoreItems = value; - } - - /** - * Gets the value of the numItems property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getNumItems() { - return numItems; - } - - /** - * Sets the value of the numItems property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setNumItems(BigInteger value) { - this.numItems = value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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/CmisObjectParentsType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisObjectParentsType.java deleted file mode 100644 index ab9168c87f..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisObjectParentsType.java +++ /dev/null @@ -1,152 +0,0 @@ - -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; - - -/** - *

Java class for cmisObjectParentsType complex type. - * - *

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

- * <complexType name="cmisObjectParentsType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisObjectType"/>
- *         <element name="relativePathSegment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <any/>
- *       </sequence>
- *       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisObjectParentsType", propOrder = { - "object", - "relativePathSegment", - "any" -}) -public class CmisObjectParentsType { - - @XmlElement(required = true) - protected CmisObjectType object; - protected String relativePathSegment; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the object property. - * - * @return - * possible object is - * {@link CmisObjectType } - * - */ - public CmisObjectType getObject() { - return object; - } - - /** - * Sets the value of the object property. - * - * @param value - * allowed object is - * {@link CmisObjectType } - * - */ - public void setObject(CmisObjectType value) { - this.object = value; - } - - /** - * Gets the value of the relativePathSegment property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRelativePathSegment() { - return relativePathSegment; - } - - /** - * Sets the value of the relativePathSegment property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRelativePathSegment(String value) { - this.relativePathSegment = value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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/CmisObjectType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisObjectType.java deleted file mode 100644 index 117b6ad3a2..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisObjectType.java +++ /dev/null @@ -1,322 +0,0 @@ - -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.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisObjectType complex type. - * - *

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

- * <complexType name="cmisObjectType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <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="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/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisObjectType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "properties", - "allowableActions", - "relationship", - "changeEventInfo", - "acl", - "exactACL", - "policyIds", - "rendition", - "any" -}) -public class CmisObjectType { - - protected CmisPropertiesType properties; - protected CmisAllowableActionsType allowableActions; - protected List relationship; - protected CmisChangeEventType changeEventInfo; - protected CmisAccessControlListType acl; - protected Boolean exactACL; - protected CmisListOfIdsType policyIds; - protected List rendition; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the properties property. - * - * @return - * possible object is - * {@link CmisPropertiesType } - * - */ - public CmisPropertiesType getProperties() { - return properties; - } - - /** - * Sets the value of the properties property. - * - * @param value - * allowed object is - * {@link CmisPropertiesType } - * - */ - public void setProperties(CmisPropertiesType value) { - this.properties = value; - } - - /** - * Gets the value of the allowableActions property. - * - * @return - * possible object is - * {@link CmisAllowableActionsType } - * - */ - public CmisAllowableActionsType getAllowableActions() { - return allowableActions; - } - - /** - * Sets the value of the allowableActions property. - * - * @param value - * allowed object is - * {@link CmisAllowableActionsType } - * - */ - public void setAllowableActions(CmisAllowableActionsType value) { - this.allowableActions = value; - } - - /** - * Gets the value of the relationship 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 relationship property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisObjectType } - * - * - */ - public List getRelationship() { - if (relationship == null) { - relationship = new ArrayList(); - } - return this.relationship; - } - - /** - * Gets the value of the changeEventInfo property. - * - * @return - * possible object is - * {@link CmisChangeEventType } - * - */ - public CmisChangeEventType getChangeEventInfo() { - return changeEventInfo; - } - - /** - * Sets the value of the changeEventInfo property. - * - * @param value - * allowed object is - * {@link CmisChangeEventType } - * - */ - public void setChangeEventInfo(CmisChangeEventType value) { - this.changeEventInfo = value; - } - - /** - * Gets the value of the acl property. - * - * @return - * possible object is - * {@link CmisAccessControlListType } - * - */ - public CmisAccessControlListType getAcl() { - return acl; - } - - /** - * Sets the value of the acl property. - * - * @param value - * allowed object is - * {@link CmisAccessControlListType } - * - */ - public void setAcl(CmisAccessControlListType value) { - this.acl = value; - } - - /** - * Gets the value of the exactACL property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isExactACL() { - return exactACL; - } - - /** - * Sets the value of the exactACL property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setExactACL(Boolean value) { - 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. - * - *

- * 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. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisRenditionType } - * - * - */ - public List getRendition() { - if (rendition == null) { - rendition = new ArrayList(); - } - return this.rendition; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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/CmisPermissionDefinition.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPermissionDefinition.java deleted file mode 100644 index 0a116ba293..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPermissionDefinition.java +++ /dev/null @@ -1,127 +0,0 @@ - -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; - - -/** - *

Java class for cmisPermissionDefinition complex type. - * - *

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

- * <complexType name="cmisPermissionDefinition">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="permission" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <any/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPermissionDefinition", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "permission", - "description", - "any" -}) -public class CmisPermissionDefinition { - - @XmlElement(required = true) - protected String permission; - protected String description; - @XmlAnyElement(lax = true) - protected List any; - - /** - * 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. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPermission(String value) { - this.permission = value; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDescription(String value) { - this.description = value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPermissionMapping.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPermissionMapping.java deleted file mode 100644 index da93cf138c..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPermissionMapping.java +++ /dev/null @@ -1,133 +0,0 @@ - -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; - - -/** - *

Java class for cmisPermissionMapping complex type. - * - *

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

- * <complexType name="cmisPermissionMapping">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <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>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPermissionMapping", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "key", - "permission", - "any" -}) -public class CmisPermissionMapping { - - @XmlElement(required = true) - protected EnumAllowableActionsKey key; - @XmlElement(required = true) - protected List permission; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the key property. - * - * @return - * possible object is - * {@link EnumAllowableActionsKey } - * - */ - public EnumAllowableActionsKey getKey() { - return key; - } - - /** - * Sets the value of the key property. - * - * @param value - * allowed object is - * {@link EnumAllowableActionsKey } - * - */ - public void setKey(EnumAllowableActionsKey value) { - this.key = value; - } - - /** - * Gets 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 } - * - * - */ - public List getPermission() { - if (permission == null) { - permission = new ArrayList(); - } - return this.permission; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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 deleted file mode 100644 index 42943fcae6..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertiesType.java +++ /dev/null @@ -1,156 +0,0 @@ - -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.XmlElements; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisPropertiesType complex type. - * - *

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

- * <complexType name="cmisPropertiesType">
- *   <complexContent>
- *     <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/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/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertiesType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "property", - "any" -}) -public class CmisPropertiesType { - - @XmlElements({ - @XmlElement(name = "propertyHtml", type = CmisPropertyHtml.class, nillable = true), - @XmlElement(name = "propertyDateTime", type = CmisPropertyDateTime.class, nillable = true), - @XmlElement(name = "propertyUri", type = CmisPropertyUri.class, nillable = true), - @XmlElement(name = "propertyBoolean", type = CmisPropertyBoolean.class, nillable = true), - @XmlElement(name = "propertyString", type = CmisPropertyString.class, nillable = true), - @XmlElement(name = "propertyId", type = CmisPropertyId.class, nillable = true), - @XmlElement(name = "propertyDecimal", type = CmisPropertyDecimal.class, nillable = true), - @XmlElement(name = "propertyInteger", type = CmisPropertyInteger.class, nillable = true) - }) - protected List property; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the property 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 property property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisPropertyHtml } - * {@link CmisPropertyDateTime } - * {@link CmisPropertyUri } - * {@link CmisPropertyBoolean } - * {@link CmisPropertyString } - * {@link CmisPropertyId } - * {@link CmisPropertyDecimal } - * {@link CmisPropertyInteger } - * - * - */ - public List getProperty() { - if (property == null) { - property = new ArrayList(); - } - return this.property; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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/CmisProperty.java b/source/generated/org/alfresco/repo/cmis/ws/CmisProperty.java deleted file mode 100644 index cd6752d474..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisProperty.java +++ /dev/null @@ -1,180 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import java.util.HashMap; -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.XmlAttribute; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - *

Java class for cmisProperty complex type. - * - *

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

- * <complexType name="cmisProperty">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <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>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisProperty", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlSeeAlso({ - CmisPropertyHtml.class, - CmisPropertyDecimal.class, - CmisPropertyDateTime.class, - CmisPropertyId.class, - CmisPropertyString.class, - CmisPropertyUri.class, - CmisPropertyBoolean.class, - CmisPropertyInteger.class -}) -public class CmisProperty { - - @XmlAttribute - @XmlSchemaType(name = "anySimpleType") - protected String propertyDefinitionId; - @XmlAttribute - @XmlSchemaType(name = "anySimpleType") - 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 propertyDefinitionId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPropertyDefinitionId() { - return propertyDefinitionId; - } - - /** - * Sets the value of the propertyDefinitionId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPropertyDefinitionId(String value) { - this.propertyDefinitionId = value; - } - - /** - * Gets the value of the localName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLocalName() { - return localName; - } - - /** - * Sets the value of the localName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLocalName(String value) { - this.localName = value; - } - - /** - * Gets the value of the displayName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDisplayName() { - return displayName; - } - - /** - * Sets the value of the displayName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - 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; - } - - /** - * 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/CmisPropertyBoolean.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyBoolean.java deleted file mode 100644 index 183b2802c8..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyBoolean.java +++ /dev/null @@ -1,107 +0,0 @@ - -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; - - -/** - *

Java class for cmisPropertyBoolean complex type. - * - *

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

- * <complexType name="cmisPropertyBoolean">
- *   <complexContent>
- *     <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"/>
- *         <any/>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyBoolean", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "value", - "any" -}) -public class CmisPropertyBoolean - extends CmisProperty -{ - - @XmlElement(type = Boolean.class) - protected List value; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the value 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link Boolean } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - return this.value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyBooleanDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyBooleanDefinitionType.java deleted file mode 100644 index e4c7b0988f..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyBooleanDefinitionType.java +++ /dev/null @@ -1,96 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisPropertyBooleanDefinitionType complex type. - * - *

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

- * <complexType name="cmisPropertyBooleanDefinitionType">
- *   <complexContent>
- *     <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/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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyBooleanDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "defaultValue", - "choice" -}) -public class CmisPropertyBooleanDefinitionType - extends CmisPropertyDefinitionType -{ - - protected CmisPropertyBoolean defaultValue; - protected List choice; - - /** - * Gets the value of the defaultValue property. - * - * @return - * possible object is - * {@link CmisPropertyBoolean } - * - */ - public CmisPropertyBoolean getDefaultValue() { - return defaultValue; - } - - /** - * Sets the value of the defaultValue property. - * - * @param value - * allowed object is - * {@link CmisPropertyBoolean } - * - */ - public void setDefaultValue(CmisPropertyBoolean value) { - this.defaultValue = 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/CmisPropertyDateTime.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDateTime.java deleted file mode 100644 index dcb994c71c..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDateTime.java +++ /dev/null @@ -1,108 +0,0 @@ - -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.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.datatype.XMLGregorianCalendar; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisPropertyDateTime complex type. - * - *

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

- * <complexType name="cmisPropertyDateTime">
- *   <complexContent>
- *     <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"/>
- *         <any/>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyDateTime", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "value", - "any" -}) -public class CmisPropertyDateTime - extends CmisProperty -{ - - @XmlSchemaType(name = "dateTime") - protected List value; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the value 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link XMLGregorianCalendar } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - return this.value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDateTimeDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDateTimeDefinitionType.java deleted file mode 100644 index ddba4413f5..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDateTimeDefinitionType.java +++ /dev/null @@ -1,123 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisPropertyDateTimeDefinitionType complex type. - * - *

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

- * <complexType name="cmisPropertyDateTimeDefinitionType">
- *   <complexContent>
- *     <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/200908/}cmisPropertyDateTime" minOccurs="0"/>
- *         <element name="resolution" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumDateTimeResolution" minOccurs="0"/>
- *         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceDateTime" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyDateTimeDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "defaultValue", - "resolution", - "choice" -}) -public class CmisPropertyDateTimeDefinitionType - extends CmisPropertyDefinitionType -{ - - protected CmisPropertyDateTime defaultValue; - protected EnumDateTimeResolution resolution; - protected List choice; - - /** - * Gets the value of the defaultValue property. - * - * @return - * possible object is - * {@link CmisPropertyDateTime } - * - */ - public CmisPropertyDateTime getDefaultValue() { - return defaultValue; - } - - /** - * Sets the value of the defaultValue property. - * - * @param value - * allowed object is - * {@link CmisPropertyDateTime } - * - */ - public void setDefaultValue(CmisPropertyDateTime value) { - this.defaultValue = value; - } - - /** - * Gets the value of the resolution property. - * - * @return - * possible object is - * {@link EnumDateTimeResolution } - * - */ - public EnumDateTimeResolution getResolution() { - return resolution; - } - - /** - * Sets the value of the resolution property. - * - * @param value - * allowed object is - * {@link EnumDateTimeResolution } - * - */ - public void setResolution(EnumDateTimeResolution value) { - this.resolution = 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/CmisPropertyDecimal.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDecimal.java deleted file mode 100644 index 60fed78de4..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDecimal.java +++ /dev/null @@ -1,106 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import java.math.BigDecimal; -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; - - -/** - *

Java class for cmisPropertyDecimal complex type. - * - *

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

- * <complexType name="cmisPropertyDecimal">
- *   <complexContent>
- *     <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"/>
- *         <any/>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyDecimal", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "value", - "any" -}) -public class CmisPropertyDecimal - extends CmisProperty -{ - - protected List value; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the value 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link BigDecimal } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - return this.value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDecimalDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDecimalDefinitionType.java deleted file mode 100644 index 4c2afb585e..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDecimalDefinitionType.java +++ /dev/null @@ -1,179 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import java.math.BigDecimal; -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.XmlType; - - -/** - *

Java class for cmisPropertyDecimalDefinitionType complex type. - * - *

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

- * <complexType name="cmisPropertyDecimalDefinitionType">
- *   <complexContent>
- *     <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/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/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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyDecimalDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "defaultValue", - "maxValue", - "minValue", - "precision", - "choice" -}) -public class CmisPropertyDecimalDefinitionType - extends CmisPropertyDefinitionType -{ - - protected CmisPropertyDecimal defaultValue; - protected BigDecimal maxValue; - protected BigDecimal minValue; - protected BigInteger precision; - protected List choice; - - /** - * Gets the value of the defaultValue property. - * - * @return - * possible object is - * {@link CmisPropertyDecimal } - * - */ - public CmisPropertyDecimal getDefaultValue() { - return defaultValue; - } - - /** - * Sets the value of the defaultValue property. - * - * @param value - * allowed object is - * {@link CmisPropertyDecimal } - * - */ - public void setDefaultValue(CmisPropertyDecimal value) { - this.defaultValue = value; - } - - /** - * Gets the value of the maxValue property. - * - * @return - * possible object is - * {@link BigDecimal } - * - */ - public BigDecimal getMaxValue() { - return maxValue; - } - - /** - * Sets the value of the maxValue property. - * - * @param value - * allowed object is - * {@link BigDecimal } - * - */ - public void setMaxValue(BigDecimal value) { - this.maxValue = value; - } - - /** - * Gets the value of the minValue property. - * - * @return - * possible object is - * {@link BigDecimal } - * - */ - public BigDecimal getMinValue() { - return minValue; - } - - /** - * Sets the value of the minValue property. - * - * @param value - * allowed object is - * {@link BigDecimal } - * - */ - public void setMinValue(BigDecimal value) { - this.minValue = value; - } - - /** - * Gets the value of the precision property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getPrecision() { - return precision; - } - - /** - * Sets the value of the precision property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setPrecision(BigInteger value) { - this.precision = 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/CmisPropertyDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDefinitionType.java deleted file mode 100644 index 075820cf58..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyDefinitionType.java +++ /dev/null @@ -1,469 +0,0 @@ - -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.XmlSchemaType; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisPropertyDefinitionType complex type. - * - *

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

- * <complexType name="cmisPropertyDefinitionType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <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="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/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"/>
- *         <element name="orderable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
- *         <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/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "id", - "localName", - "localNamespace", - "displayName", - "queryName", - "description", - "propertyType", - "cardinality", - "updatability", - "inherited", - "required", - "queryable", - "orderable", - "openChoice", - "any" -}) -@XmlSeeAlso({ - CmisPropertyDateTimeDefinitionType.class, - CmisPropertyUriDefinitionType.class, - CmisPropertyDecimalDefinitionType.class, - CmisPropertyIntegerDefinitionType.class, - CmisPropertyBooleanDefinitionType.class, - CmisPropertyHtmlDefinitionType.class, - CmisPropertyIdDefinitionType.class, - CmisPropertyStringDefinitionType.class -}) -public class CmisPropertyDefinitionType { - - @XmlElement(required = true) - protected String id; - @XmlElement(required = true) - protected String localName; - @XmlSchemaType(name = "anyURI") - protected String localNamespace; - protected String displayName; - protected String queryName; - protected String description; - @XmlElement(required = true) - protected EnumPropertyType propertyType; - @XmlElement(required = true) - protected EnumCardinality cardinality; - @XmlElement(required = true) - protected EnumUpdatability updatability; - protected Boolean inherited; - protected boolean required; - protected boolean queryable; - protected boolean orderable; - protected Boolean openChoice; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the localName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLocalName() { - return localName; - } - - /** - * Sets the value of the localName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLocalName(String value) { - this.localName = value; - } - - /** - * Gets the value of the localNamespace property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLocalNamespace() { - return localNamespace; - } - - /** - * Sets the value of the localNamespace property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLocalNamespace(String value) { - this.localNamespace = value; - } - - /** - * Gets the value of the displayName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDisplayName() { - return displayName; - } - - /** - * Sets the value of the displayName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - 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; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDescription(String value) { - this.description = value; - } - - /** - * Gets the value of the propertyType property. - * - * @return - * possible object is - * {@link EnumPropertyType } - * - */ - public EnumPropertyType getPropertyType() { - return propertyType; - } - - /** - * Sets the value of the propertyType property. - * - * @param value - * allowed object is - * {@link EnumPropertyType } - * - */ - public void setPropertyType(EnumPropertyType value) { - this.propertyType = value; - } - - /** - * Gets the value of the cardinality property. - * - * @return - * possible object is - * {@link EnumCardinality } - * - */ - public EnumCardinality getCardinality() { - return cardinality; - } - - /** - * Sets the value of the cardinality property. - * - * @param value - * allowed object is - * {@link EnumCardinality } - * - */ - public void setCardinality(EnumCardinality value) { - this.cardinality = value; - } - - /** - * Gets the value of the updatability property. - * - * @return - * possible object is - * {@link EnumUpdatability } - * - */ - public EnumUpdatability getUpdatability() { - return updatability; - } - - /** - * Sets the value of the updatability property. - * - * @param value - * allowed object is - * {@link EnumUpdatability } - * - */ - public void setUpdatability(EnumUpdatability value) { - this.updatability = value; - } - - /** - * Gets the value of the inherited property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isInherited() { - return inherited; - } - - /** - * Sets the value of the inherited property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setInherited(Boolean value) { - this.inherited = value; - } - - /** - * Gets the value of the required property. - * - */ - public boolean isRequired() { - return required; - } - - /** - * Sets the value of the required property. - * - */ - public void setRequired(boolean value) { - this.required = value; - } - - /** - * Gets the value of the queryable property. - * - */ - public boolean isQueryable() { - return queryable; - } - - /** - * Sets the value of the queryable property. - * - */ - public void setQueryable(boolean value) { - this.queryable = value; - } - - /** - * Gets the value of the orderable property. - * - */ - public boolean isOrderable() { - return orderable; - } - - /** - * Sets the value of the orderable property. - * - */ - public void setOrderable(boolean value) { - this.orderable = value; - } - - /** - * Gets the value of the openChoice property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isOpenChoice() { - return openChoice; - } - - /** - * Sets the value of the openChoice property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setOpenChoice(Boolean value) { - this.openChoice = value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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/CmisPropertyHtml.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyHtml.java deleted file mode 100644 index 04af9e5642..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyHtml.java +++ /dev/null @@ -1,105 +0,0 @@ - -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.XmlType; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisPropertyHtml complex type. - * - *

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

- * <complexType name="cmisPropertyHtml">
- *   <complexContent>
- *     <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"/>
- *         <any/>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyHtml", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "value", - "any" -}) -public class CmisPropertyHtml - extends CmisProperty -{ - - protected List value; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the value 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - return this.value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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 deleted file mode 100644 index ac9d0b13d5..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyHtmlDefinitionType.java +++ /dev/null @@ -1,96 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisPropertyHtmlDefinitionType complex type. - * - *

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

- * <complexType name="cmisPropertyHtmlDefinitionType">
- *   <complexContent>
- *     <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/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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyHtmlDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "defaultValue", - "choice" -}) -public class CmisPropertyHtmlDefinitionType - extends CmisPropertyDefinitionType -{ - - protected CmisPropertyHtml defaultValue; - protected List choice; - - /** - * Gets the value of the defaultValue property. - * - * @return - * possible object is - * {@link CmisPropertyHtml } - * - */ - public CmisPropertyHtml getDefaultValue() { - return defaultValue; - } - - /** - * Sets the value of the defaultValue property. - * - * @param value - * allowed object is - * {@link CmisPropertyHtml } - * - */ - public void setDefaultValue(CmisPropertyHtml value) { - this.defaultValue = 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 CmisChoiceHtml } - * - * - */ - public List getChoice() { - if (choice == null) { - choice = new ArrayList(); - } - return this.choice; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyId.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyId.java deleted file mode 100644 index 4cfa01ea20..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyId.java +++ /dev/null @@ -1,105 +0,0 @@ - -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.XmlType; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisPropertyId complex type. - * - *

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

- * <complexType name="cmisPropertyId">
- *   <complexContent>
- *     <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"/>
- *         <any/>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyId", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "value", - "any" -}) -public class CmisPropertyId - extends CmisProperty -{ - - protected List value; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the value 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - return this.value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyIdDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyIdDefinitionType.java deleted file mode 100644 index 7814a8499e..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyIdDefinitionType.java +++ /dev/null @@ -1,96 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisPropertyIdDefinitionType complex type. - * - *

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

- * <complexType name="cmisPropertyIdDefinitionType">
- *   <complexContent>
- *     <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/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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyIdDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "defaultValue", - "choice" -}) -public class CmisPropertyIdDefinitionType - extends CmisPropertyDefinitionType -{ - - protected CmisPropertyId defaultValue; - protected List choice; - - /** - * Gets the value of the defaultValue property. - * - * @return - * possible object is - * {@link CmisPropertyId } - * - */ - public CmisPropertyId getDefaultValue() { - return defaultValue; - } - - /** - * Sets the value of the defaultValue property. - * - * @param value - * allowed object is - * {@link CmisPropertyId } - * - */ - public void setDefaultValue(CmisPropertyId value) { - this.defaultValue = 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 CmisChoiceId } - * - * - */ - public List getChoice() { - if (choice == null) { - choice = new ArrayList(); - } - return this.choice; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyInteger.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyInteger.java deleted file mode 100644 index c9337a62de..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyInteger.java +++ /dev/null @@ -1,106 +0,0 @@ - -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.XmlType; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisPropertyInteger complex type. - * - *

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

- * <complexType name="cmisPropertyInteger">
- *   <complexContent>
- *     <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"/>
- *         <any/>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyInteger", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "value", - "any" -}) -public class CmisPropertyInteger - extends CmisProperty -{ - - protected List value; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the value 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link BigInteger } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - return this.value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyIntegerDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyIntegerDefinitionType.java deleted file mode 100644 index 8211ddea6e..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyIntegerDefinitionType.java +++ /dev/null @@ -1,151 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisPropertyIntegerDefinitionType complex type. - * - *

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

- * <complexType name="cmisPropertyIntegerDefinitionType">
- *   <complexContent>
- *     <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/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/200908/}cmisChoiceInteger" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyIntegerDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "defaultValue", - "maxValue", - "minValue", - "choice" -}) -public class CmisPropertyIntegerDefinitionType - extends CmisPropertyDefinitionType -{ - - protected CmisPropertyInteger defaultValue; - protected BigInteger maxValue; - protected BigInteger minValue; - protected List choice; - - /** - * Gets the value of the defaultValue property. - * - * @return - * possible object is - * {@link CmisPropertyInteger } - * - */ - public CmisPropertyInteger getDefaultValue() { - return defaultValue; - } - - /** - * Sets the value of the defaultValue property. - * - * @param value - * allowed object is - * {@link CmisPropertyInteger } - * - */ - public void setDefaultValue(CmisPropertyInteger value) { - this.defaultValue = value; - } - - /** - * Gets the value of the maxValue property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getMaxValue() { - return maxValue; - } - - /** - * Sets the value of the maxValue property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setMaxValue(BigInteger value) { - this.maxValue = value; - } - - /** - * Gets the value of the minValue property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getMinValue() { - return minValue; - } - - /** - * Sets the value of the minValue property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setMinValue(BigInteger value) { - this.minValue = 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/CmisPropertyString.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyString.java deleted file mode 100644 index 906b99909e..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyString.java +++ /dev/null @@ -1,105 +0,0 @@ - -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.XmlType; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisPropertyString complex type. - * - *

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

- * <complexType name="cmisPropertyString">
- *   <complexContent>
- *     <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"/>
- *         <any/>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyString", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "value", - "any" -}) -public class CmisPropertyString - extends CmisProperty -{ - - protected List value; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the value 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - return this.value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyStringDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyStringDefinitionType.java deleted file mode 100644 index eab7b805f5..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyStringDefinitionType.java +++ /dev/null @@ -1,124 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisPropertyStringDefinitionType complex type. - * - *

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

- * <complexType name="cmisPropertyStringDefinitionType">
- *   <complexContent>
- *     <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/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/200908/}cmisChoiceString" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyStringDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "defaultValue", - "maxLength", - "choice" -}) -public class CmisPropertyStringDefinitionType - extends CmisPropertyDefinitionType -{ - - protected CmisPropertyString defaultValue; - protected BigInteger maxLength; - protected List choice; - - /** - * Gets the value of the defaultValue property. - * - * @return - * possible object is - * {@link CmisPropertyString } - * - */ - public CmisPropertyString getDefaultValue() { - return defaultValue; - } - - /** - * Sets the value of the defaultValue property. - * - * @param value - * allowed object is - * {@link CmisPropertyString } - * - */ - public void setDefaultValue(CmisPropertyString value) { - this.defaultValue = value; - } - - /** - * Gets the value of the maxLength property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getMaxLength() { - return maxLength; - } - - /** - * Sets the value of the maxLength property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setMaxLength(BigInteger value) { - this.maxLength = 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/CmisPropertyUri.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyUri.java deleted file mode 100644 index 9756117d46..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyUri.java +++ /dev/null @@ -1,107 +0,0 @@ - -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.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisPropertyUri complex type. - * - *

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

- * <complexType name="cmisPropertyUri">
- *   <complexContent>
- *     <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"/>
- *         <any/>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyUri", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "value", - "any" -}) -public class CmisPropertyUri - extends CmisProperty -{ - - @XmlSchemaType(name = "anyURI") - protected List value; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the value 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 value property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getValue() { - if (value == null) { - value = new ArrayList(); - } - return this.value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - public List getAny() { - if (any == null) { - any = new ArrayList(); - } - return this.any; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyUriDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyUriDefinitionType.java deleted file mode 100644 index 3edd03f990..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyUriDefinitionType.java +++ /dev/null @@ -1,96 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisPropertyUriDefinitionType complex type. - * - *

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

- * <complexType name="cmisPropertyUriDefinitionType">
- *   <complexContent>
- *     <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/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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisPropertyUriDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "defaultValue", - "choice" -}) -public class CmisPropertyUriDefinitionType - extends CmisPropertyDefinitionType -{ - - protected CmisPropertyUri defaultValue; - protected List choice; - - /** - * Gets the value of the defaultValue property. - * - * @return - * possible object is - * {@link CmisPropertyUri } - * - */ - public CmisPropertyUri getDefaultValue() { - return defaultValue; - } - - /** - * Sets the value of the defaultValue property. - * - * @param value - * allowed object is - * {@link CmisPropertyUri } - * - */ - public void setDefaultValue(CmisPropertyUri value) { - this.defaultValue = 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/CmisQueryType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisQueryType.java deleted file mode 100644 index 9054116ea5..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisQueryType.java +++ /dev/null @@ -1,288 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import java.math.BigInteger; -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; - - -/** - *

Java class for cmisQueryType complex type. - * - *

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

- * <complexType name="cmisQueryType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <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"/>
- *         <any/>
- *       </sequence>
- *       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisQueryType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "statement", - "searchAllVersions", - "includeAllowableActions", - "includeRelationships", - "renditionFilter", - "maxItems", - "skipCount", - "any" -}) -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; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the statement property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStatement() { - return statement; - } - - /** - * Sets the value of the statement property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStatement(String value) { - this.statement = value; - } - - /** - * Gets the value of the searchAllVersions property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isSearchAllVersions() { - return searchAllVersions; - } - - /** - * Sets the value of the searchAllVersions property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setSearchAllVersions(Boolean value) { - 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. - * - * @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; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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/CmisRenditionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisRenditionType.java deleted file mode 100644 index 757187a3d3..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisRenditionType.java +++ /dev/null @@ -1,293 +0,0 @@ - -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; - - -/** - *

Java class for cmisRenditionType complex type. - * - *

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

- * <complexType name="cmisRenditionType">
- *   <complexContent>
- *     <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"/>
- *         <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="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"/>
- *         <any/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisRenditionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "streamId", - "mimetype", - "length", - "kind", - "title", - "height", - "width", - "renditionDocumentId", - "any" -}) -public class CmisRenditionType { - - @XmlElement(required = true) - protected String streamId; - @XmlElement(required = true) - protected String mimetype; - @XmlElement(required = true) - protected BigInteger length; - @XmlElement(required = true) - protected String kind; - protected String title; - protected BigInteger height; - protected BigInteger width; - protected String renditionDocumentId; - @XmlAnyElement(lax = true) - protected List any; - - /** - * Gets the value of the streamId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStreamId() { - return streamId; - } - - /** - * Sets the value of the streamId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStreamId(String value) { - this.streamId = value; - } - - /** - * Gets the value of the mimetype property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getMimetype() { - return mimetype; - } - - /** - * Sets the value of the mimetype property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setMimetype(String value) { - this.mimetype = value; - } - - /** - * Gets the value of the length property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getLength() { - return length; - } - - /** - * Sets the value of the length property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setLength(BigInteger value) { - this.length = value; - } - - /** - * Gets the value of the kind property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getKind() { - return kind; - } - - /** - * Sets the value of the kind property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setKind(String value) { - 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. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getHeight() { - return height; - } - - /** - * Sets the value of the height property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setHeight(BigInteger value) { - this.height = value; - } - - /** - * Gets the value of the width property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getWidth() { - return width; - } - - /** - * Sets the value of the width property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setWidth(BigInteger value) { - this.width = value; - } - - /** - * Gets the value of the renditionDocumentId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRenditionDocumentId() { - return renditionDocumentId; - } - - /** - * Sets the value of the renditionDocumentId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRenditionDocumentId(String value) { - this.renditionDocumentId = value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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 deleted file mode 100644 index d1198df11d..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryCapabilitiesType.java +++ /dev/null @@ -1,416 +0,0 @@ - -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; - - -/** - *

Java class for cmisRepositoryCapabilitiesType complex type. - * - *

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

- * <complexType name="cmisRepositoryCapabilitiesType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <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/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="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/200908/}enumCapabilityJoin"/>
- *         <any/>
- *       </sequence>
- *       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisRepositoryCapabilitiesType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "capabilityACL", - "capabilityAllVersionsSearchable", - "capabilityChanges", - "capabilityContentStreamUpdatability", - "capabilityGetDescendants", - "capabilityGetFolderTree", - "capabilityMultifiling", - "capabilityPWCSearchable", - "capabilityPWCUpdatable", - "capabilityQuery", - "capabilityRenditions", - "capabilityUnfiling", - "capabilityVersionSpecificFiling", - "capabilityJoin", - "any" -}) -public class CmisRepositoryCapabilitiesType { - - @XmlElement(required = true) - protected EnumCapabilityACL capabilityACL; - protected boolean capabilityAllVersionsSearchable; - @XmlElement(required = true) - protected EnumCapabilityChanges capabilityChanges; - @XmlElement(required = true) - protected EnumCapabilityContentStreamUpdates capabilityContentStreamUpdatability; - protected boolean capabilityGetDescendants; - protected boolean capabilityGetFolderTree; - protected boolean capabilityMultifiling; - protected boolean capabilityPWCSearchable; - protected boolean capabilityPWCUpdatable; - @XmlElement(required = true) - protected EnumCapabilityQuery capabilityQuery; - @XmlElement(required = true) - protected EnumCapabilityRendition capabilityRenditions; - protected boolean capabilityUnfiling; - protected boolean capabilityVersionSpecificFiling; - @XmlElement(required = true) - protected EnumCapabilityJoin capabilityJoin; - @XmlAnyElement - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the capabilityACL property. - * - * @return - * possible object is - * {@link EnumCapabilityACL } - * - */ - public EnumCapabilityACL getCapabilityACL() { - return capabilityACL; - } - - /** - * Sets the value of the capabilityACL property. - * - * @param value - * allowed object is - * {@link EnumCapabilityACL } - * - */ - public void setCapabilityACL(EnumCapabilityACL value) { - this.capabilityACL = value; - } - - /** - * Gets the value of the capabilityAllVersionsSearchable property. - * - */ - public boolean isCapabilityAllVersionsSearchable() { - return capabilityAllVersionsSearchable; - } - - /** - * Sets the value of the capabilityAllVersionsSearchable property. - * - */ - public void setCapabilityAllVersionsSearchable(boolean value) { - this.capabilityAllVersionsSearchable = value; - } - - /** - * Gets the value of the capabilityChanges property. - * - * @return - * possible object is - * {@link EnumCapabilityChanges } - * - */ - public EnumCapabilityChanges getCapabilityChanges() { - return capabilityChanges; - } - - /** - * Sets the value of the capabilityChanges property. - * - * @param value - * allowed object is - * {@link EnumCapabilityChanges } - * - */ - public void setCapabilityChanges(EnumCapabilityChanges value) { - this.capabilityChanges = value; - } - - /** - * Gets the value of the capabilityContentStreamUpdatability property. - * - * @return - * possible object is - * {@link EnumCapabilityContentStreamUpdates } - * - */ - public EnumCapabilityContentStreamUpdates getCapabilityContentStreamUpdatability() { - return capabilityContentStreamUpdatability; - } - - /** - * Sets the value of the capabilityContentStreamUpdatability property. - * - * @param value - * allowed object is - * {@link EnumCapabilityContentStreamUpdates } - * - */ - public void setCapabilityContentStreamUpdatability(EnumCapabilityContentStreamUpdates value) { - this.capabilityContentStreamUpdatability = value; - } - - /** - * Gets the value of the capabilityGetDescendants property. - * - */ - public boolean isCapabilityGetDescendants() { - return capabilityGetDescendants; - } - - /** - * Sets the value of the capabilityGetDescendants property. - * - */ - public void setCapabilityGetDescendants(boolean value) { - 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. - * - */ - public boolean isCapabilityMultifiling() { - return capabilityMultifiling; - } - - /** - * Sets the value of the capabilityMultifiling property. - * - */ - public void setCapabilityMultifiling(boolean value) { - this.capabilityMultifiling = value; - } - - /** - * Gets the value of the capabilityPWCSearchable property. - * - */ - public boolean isCapabilityPWCSearchable() { - return capabilityPWCSearchable; - } - - /** - * Sets the value of the capabilityPWCSearchable property. - * - */ - public void setCapabilityPWCSearchable(boolean value) { - this.capabilityPWCSearchable = value; - } - - /** - * Gets the value of the capabilityPWCUpdatable property. - * - */ - public boolean isCapabilityPWCUpdatable() { - return capabilityPWCUpdatable; - } - - /** - * Sets the value of the capabilityPWCUpdatable property. - * - */ - public void setCapabilityPWCUpdatable(boolean value) { - this.capabilityPWCUpdatable = value; - } - - /** - * Gets the value of the capabilityQuery property. - * - * @return - * possible object is - * {@link EnumCapabilityQuery } - * - */ - public EnumCapabilityQuery getCapabilityQuery() { - return capabilityQuery; - } - - /** - * Sets the value of the capabilityQuery property. - * - * @param value - * allowed object is - * {@link EnumCapabilityQuery } - * - */ - public void setCapabilityQuery(EnumCapabilityQuery value) { - this.capabilityQuery = value; - } - - /** - * Gets the value of the capabilityRenditions property. - * - * @return - * possible object is - * {@link EnumCapabilityRendition } - * - */ - public EnumCapabilityRendition getCapabilityRenditions() { - return capabilityRenditions; - } - - /** - * Sets the value of the capabilityRenditions property. - * - * @param value - * allowed object is - * {@link EnumCapabilityRendition } - * - */ - public void setCapabilityRenditions(EnumCapabilityRendition value) { - this.capabilityRenditions = value; - } - - /** - * Gets the value of the capabilityUnfiling property. - * - */ - public boolean isCapabilityUnfiling() { - return capabilityUnfiling; - } - - /** - * Sets the value of the capabilityUnfiling property. - * - */ - public void setCapabilityUnfiling(boolean value) { - this.capabilityUnfiling = value; - } - - /** - * Gets the value of the capabilityVersionSpecificFiling property. - * - */ - public boolean isCapabilityVersionSpecificFiling() { - return capabilityVersionSpecificFiling; - } - - /** - * Sets the value of the capabilityVersionSpecificFiling property. - * - */ - public void setCapabilityVersionSpecificFiling(boolean value) { - this.capabilityVersionSpecificFiling = value; - } - - /** - * Gets the value of the capabilityJoin property. - * - * @return - * possible object is - * {@link EnumCapabilityJoin } - * - */ - public EnumCapabilityJoin getCapabilityJoin() { - return capabilityJoin; - } - - /** - * Sets the value of the capabilityJoin property. - * - * @param value - * allowed object is - * {@link EnumCapabilityJoin } - * - */ - public void setCapabilityJoin(EnumCapabilityJoin value) { - this.capabilityJoin = value; - } - - /** - * 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 } - * - * - */ - 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/CmisRepositoryEntryType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryEntryType.java deleted file mode 100644 index ee086db4eb..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryEntryType.java +++ /dev/null @@ -1,153 +0,0 @@ - -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; - - -/** - *

Java class for cmisRepositoryEntryType complex type. - * - *

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

- * <complexType name="cmisRepositoryEntryType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <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/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisRepositoryEntryType", propOrder = { - "repositoryId", - "repositoryName", - "any" -}) -public class CmisRepositoryEntryType { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String repositoryName; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the repositoryId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the repositoryName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryName() { - return repositoryName; - } - - /** - * Sets the value of the repositoryName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryName(String value) { - this.repositoryName = value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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/CmisRepositoryInfoType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryInfoType.java deleted file mode 100644 index 04c068fb4c..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisRepositoryInfoType.java +++ /dev/null @@ -1,545 +0,0 @@ - -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.XmlSchemaType; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisRepositoryInfoType complex type. - * - *

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

- * <complexType name="cmisRepositoryInfoType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <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="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="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}string"/>
- *         <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/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisRepositoryInfoType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "repositoryId", - "repositoryName", - "repositoryDescription", - "vendorName", - "productName", - "productVersion", - "rootFolderId", - "latestChangeLogToken", - "capabilities", - "aclCapability", - "cmisVersionSupported", - "thinClientURI", - "changesIncomplete", - "changesOnType", - "principalAnonymous", - "principalAnyone", - "any" -}) -public class CmisRepositoryInfoType { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String repositoryName; - @XmlElement(required = true) - protected String repositoryDescription; - @XmlElement(required = true) - protected String vendorName; - @XmlElement(required = true) - protected String productName; - @XmlElement(required = true) - protected String productVersion; - @XmlElement(required = true) - protected String rootFolderId; - protected String latestChangeLogToken; - @XmlElement(required = true) - protected CmisRepositoryCapabilitiesType capabilities; - protected CmisACLCapabilityType aclCapability; - @XmlElement(required = true) - protected String cmisVersionSupported; - @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 - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the repositoryId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the repositoryName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryName() { - return repositoryName; - } - - /** - * Sets the value of the repositoryName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryName(String value) { - this.repositoryName = value; - } - - /** - * Gets the value of the repositoryDescription property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryDescription() { - return repositoryDescription; - } - - /** - * Sets the value of the repositoryDescription property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryDescription(String value) { - this.repositoryDescription = value; - } - - /** - * Gets the value of the vendorName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getVendorName() { - return vendorName; - } - - /** - * Sets the value of the vendorName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setVendorName(String value) { - this.vendorName = value; - } - - /** - * Gets the value of the productName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getProductName() { - return productName; - } - - /** - * Sets the value of the productName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setProductName(String value) { - this.productName = value; - } - - /** - * Gets the value of the productVersion property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getProductVersion() { - return productVersion; - } - - /** - * Sets the value of the productVersion property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setProductVersion(String value) { - this.productVersion = value; - } - - /** - * Gets the value of the rootFolderId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRootFolderId() { - return rootFolderId; - } - - /** - * Sets the value of the rootFolderId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRootFolderId(String value) { - this.rootFolderId = value; - } - - /** - * Gets the value of the latestChangeLogToken property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLatestChangeLogToken() { - return latestChangeLogToken; - } - - /** - * Sets the value of the latestChangeLogToken property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLatestChangeLogToken(String value) { - this.latestChangeLogToken = value; - } - - /** - * Gets the value of the capabilities property. - * - * @return - * possible object is - * {@link CmisRepositoryCapabilitiesType } - * - */ - public CmisRepositoryCapabilitiesType getCapabilities() { - return capabilities; - } - - /** - * Sets the value of the capabilities property. - * - * @param value - * allowed object is - * {@link CmisRepositoryCapabilitiesType } - * - */ - public void setCapabilities(CmisRepositoryCapabilitiesType value) { - this.capabilities = value; - } - - /** - * Gets the value of the aclCapability property. - * - * @return - * possible object is - * {@link CmisACLCapabilityType } - * - */ - public CmisACLCapabilityType getAclCapability() { - return aclCapability; - } - - /** - * Sets the value of the aclCapability property. - * - * @param value - * allowed object is - * {@link CmisACLCapabilityType } - * - */ - public void setAclCapability(CmisACLCapabilityType value) { - this.aclCapability = value; - } - - /** - * Gets the value of the cmisVersionSupported property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getCmisVersionSupported() { - return cmisVersionSupported; - } - - /** - * Sets the value of the cmisVersionSupported property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setCmisVersionSupported(String value) { - this.cmisVersionSupported = 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; - } - - /** - * Gets the value of the changesIncomplete property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isChangesIncomplete() { - return changesIncomplete; - } - - /** - * Sets the value of the changesIncomplete property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setChangesIncomplete(Boolean value) { - 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. - * - *

- * 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 Object } - * {@link Element } - * - * - */ - 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/CmisTypeContainer.java b/source/generated/org/alfresco/repo/cmis/ws/CmisTypeContainer.java deleted file mode 100644 index 1c7258fb96..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeContainer.java +++ /dev/null @@ -1,157 +0,0 @@ - -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; - - -/** - *

Java class for cmisTypeContainer complex type. - * - *

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

- * <complexType name="cmisTypeContainer">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <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>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisTypeContainer", propOrder = { - "type", - "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. - * - * @return - * possible object is - * {@link CmisTypeDefinitionType } - * - */ - public CmisTypeDefinitionType getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link CmisTypeDefinitionType } - * - */ - public void setType(CmisTypeDefinitionType value) { - this.type = value; - } - - /** - * Gets the value of the children 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 children property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisTypeContainer } - * - * - */ - public List getChildren() { - if (children == null) { - children = new ArrayList(); - } - 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 Object } - * {@link Element } - * - * - */ - 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/CmisTypeDefinitionListType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisTypeDefinitionListType.java deleted file mode 100644 index daf3264926..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeDefinitionListType.java +++ /dev/null @@ -1,175 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import java.math.BigInteger; -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.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisTypeDefinitionListType complex type. - * - *

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

- * <complexType name="cmisTypeDefinitionListType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="types" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisTypeDefinitionType" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="hasMoreItems" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
- *         <element name="numItems" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
- *         <any/>
- *       </sequence>
- *       <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisTypeDefinitionListType", propOrder = { - "types", - "hasMoreItems", - "numItems", - "any" -}) -public class CmisTypeDefinitionListType { - - protected List types; - protected boolean hasMoreItems; - protected BigInteger numItems; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * 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 types property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisTypeDefinitionType } - * - * - */ - public List getTypes() { - if (types == null) { - types = new ArrayList(); - } - return this.types; - } - - /** - * Gets the value of the hasMoreItems property. - * - */ - public boolean isHasMoreItems() { - return hasMoreItems; - } - - /** - * Sets the value of the hasMoreItems property. - * - */ - public void setHasMoreItems(boolean value) { - this.hasMoreItems = value; - } - - /** - * Gets the value of the numItems property. - * - * @return - * possible object is - * {@link BigInteger } - * - */ - public BigInteger getNumItems() { - return numItems; - } - - /** - * Sets the value of the numItems property. - * - * @param value - * allowed object is - * {@link BigInteger } - * - */ - public void setNumItems(BigInteger value) { - this.numItems = value; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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 deleted file mode 100644 index 0a3188bc40..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeDefinitionType.java +++ /dev/null @@ -1,519 +0,0 @@ - -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.XmlElements; -import javax.xml.bind.annotation.XmlSchemaType; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; -import org.w3c.dom.Element; - - -/** - *

Java class for cmisTypeDefinitionType complex type. - * - *

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

- * <complexType name="cmisTypeDefinitionType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <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"/>
- *         <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="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="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/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/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisTypeDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "id", - "localName", - "localNamespace", - "displayName", - "queryName", - "description", - "baseId", - "parentId", - "creatable", - "fileable", - "queryable", - "fulltextIndexed", - "includedInSupertypeQuery", - "controllablePolicy", - "controllableACL", - "propertyDefinition", - "any" -}) -@XmlSeeAlso({ - CmisTypeFolderDefinitionType.class, - CmisTypeDocumentDefinitionType.class, - CmisTypeRelationshipDefinitionType.class, - CmisTypePolicyDefinitionType.class -}) -public class CmisTypeDefinitionType { - - @XmlElement(required = true) - 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 baseId; - protected String parentId; - protected boolean creatable; - protected boolean fileable; - protected boolean queryable; - protected boolean fulltextIndexed; - @XmlElement(defaultValue = "true") - protected boolean includedInSupertypeQuery; - protected boolean controllablePolicy; - protected boolean controllableACL; - @XmlElements({ - @XmlElement(name = "propertyIntegerDefinition", type = CmisPropertyIntegerDefinitionType.class), - @XmlElement(name = "propertyStringDefinition", type = CmisPropertyStringDefinitionType.class), - @XmlElement(name = "propertyDecimalDefinition", type = CmisPropertyDecimalDefinitionType.class), - @XmlElement(name = "propertyDateTimeDefinition", type = CmisPropertyDateTimeDefinitionType.class), - @XmlElement(name = "propertyHtmlDefinition", type = CmisPropertyHtmlDefinitionType.class), - @XmlElement(name = "propertyIdDefinition", type = CmisPropertyIdDefinitionType.class), - @XmlElement(name = "propertyBooleanDefinition", type = CmisPropertyBooleanDefinitionType.class), - @XmlElement(name = "propertyUriDefinition", type = CmisPropertyUriDefinitionType.class) - }) - protected List propertyDefinition; - @XmlAnyElement(lax = true) - protected List any; - @XmlAnyAttribute - private Map otherAttributes = new HashMap(); - - /** - * Gets the value of the id property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getId() { - return id; - } - - /** - * Sets the value of the id property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setId(String value) { - this.id = value; - } - - /** - * Gets the value of the localName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLocalName() { - return localName; - } - - /** - * Sets the value of the localName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLocalName(String value) { - this.localName = value; - } - - /** - * Gets the value of the localNamespace property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getLocalNamespace() { - return localNamespace; - } - - /** - * Sets the value of the localNamespace property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setLocalNamespace(String value) { - this.localNamespace = value; - } - - /** - * Gets the value of the displayName property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDisplayName() { - return displayName; - } - - /** - * Sets the value of the displayName property. - * - * @param value - * allowed object is - * {@link String } - * - */ - 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; - } - - /** - * Gets the value of the description property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getDescription() { - return description; - } - - /** - * Sets the value of the description property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setDescription(String value) { - this.description = value; - } - - /** - * Gets the value of the baseId property. - * - * @return - * possible object is - * {@link EnumBaseObjectTypeIds } - * - */ - public EnumBaseObjectTypeIds getBaseId() { - return baseId; - } - - /** - * Sets the value of the baseId property. - * - * @param value - * allowed object is - * {@link EnumBaseObjectTypeIds } - * - */ - public void setBaseId(EnumBaseObjectTypeIds value) { - this.baseId = value; - } - - /** - * Gets the value of the parentId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getParentId() { - return parentId; - } - - /** - * Sets the value of the parentId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setParentId(String value) { - this.parentId = value; - } - - /** - * Gets the value of the creatable property. - * - */ - public boolean isCreatable() { - return creatable; - } - - /** - * Sets the value of the creatable property. - * - */ - public void setCreatable(boolean value) { - this.creatable = value; - } - - /** - * Gets the value of the fileable property. - * - */ - public boolean isFileable() { - return fileable; - } - - /** - * Sets the value of the fileable property. - * - */ - public void setFileable(boolean value) { - this.fileable = value; - } - - /** - * Gets the value of the queryable property. - * - */ - public boolean isQueryable() { - return queryable; - } - - /** - * Sets the value of the queryable property. - * - */ - public void setQueryable(boolean value) { - this.queryable = value; - } - - /** - * Gets the value of the fulltextIndexed property. - * - */ - public boolean isFulltextIndexed() { - return fulltextIndexed; - } - - /** - * Sets the value of the fulltextIndexed property. - * - */ - public void setFulltextIndexed(boolean value) { - this.fulltextIndexed = value; - } - - /** - * Gets the value of the includedInSupertypeQuery property. - * - */ - public boolean isIncludedInSupertypeQuery() { - return includedInSupertypeQuery; - } - - /** - * Sets the value of the includedInSupertypeQuery property. - * - */ - public void setIncludedInSupertypeQuery(boolean value) { - this.includedInSupertypeQuery = value; - } - - /** - * Gets the value of the controllablePolicy property. - * - */ - public boolean isControllablePolicy() { - return controllablePolicy; - } - - /** - * Sets the value of the controllablePolicy property. - * - */ - public void setControllablePolicy(boolean value) { - this.controllablePolicy = value; - } - - /** - * Gets the value of the controllableACL property. - * - */ - public boolean isControllableACL() { - return controllableACL; - } - - /** - * Sets the value of the controllableACL property. - * - */ - public void setControllableACL(boolean value) { - this.controllableACL = value; - } - - /** - * Gets the value of the propertyDefinition 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 propertyDefinition property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisPropertyIntegerDefinitionType } - * {@link CmisPropertyStringDefinitionType } - * {@link CmisPropertyDecimalDefinitionType } - * {@link CmisPropertyDateTimeDefinitionType } - * {@link CmisPropertyHtmlDefinitionType } - * {@link CmisPropertyIdDefinitionType } - * {@link CmisPropertyBooleanDefinitionType } - * {@link CmisPropertyUriDefinitionType } - * - * - */ - public List getPropertyDefinition() { - if (propertyDefinition == null) { - propertyDefinition = new ArrayList(); - } - return this.propertyDefinition; - } - - /** - * 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 Object } - * {@link Element } - * - * - */ - 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/CmisTypeDocumentDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisTypeDocumentDefinitionType.java deleted file mode 100644 index bd0f19c049..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeDocumentDefinitionType.java +++ /dev/null @@ -1,83 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisTypeDocumentDefinitionType complex type. - * - *

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

- * <complexType name="cmisTypeDocumentDefinitionType">
- *   <complexContent>
- *     <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/200908/}enumContentStreamAllowed"/>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisTypeDocumentDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "versionable", - "contentStreamAllowed" -}) -public class CmisTypeDocumentDefinitionType - extends CmisTypeDefinitionType -{ - - protected boolean versionable; - @XmlElement(required = true) - protected EnumContentStreamAllowed contentStreamAllowed; - - /** - * Gets the value of the versionable property. - * - */ - public boolean isVersionable() { - return versionable; - } - - /** - * Sets the value of the versionable property. - * - */ - public void setVersionable(boolean value) { - this.versionable = value; - } - - /** - * Gets the value of the contentStreamAllowed property. - * - * @return - * possible object is - * {@link EnumContentStreamAllowed } - * - */ - public EnumContentStreamAllowed getContentStreamAllowed() { - return contentStreamAllowed; - } - - /** - * Sets the value of the contentStreamAllowed property. - * - * @param value - * allowed object is - * {@link EnumContentStreamAllowed } - * - */ - public void setContentStreamAllowed(EnumContentStreamAllowed value) { - this.contentStreamAllowed = value; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeFolderDefinitionType.java b/source/generated/org/alfresco/repo/cmis/ws/CmisTypeFolderDefinitionType.java deleted file mode 100644 index 54dd4ccbde..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeFolderDefinitionType.java +++ /dev/null @@ -1,34 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for cmisTypeFolderDefinitionType complex type. - * - *

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

- * <complexType name="cmisTypeFolderDefinitionType">
- *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisTypeDefinitionType">
- *       <sequence>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@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 deleted file mode 100644 index a6e36898bb..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisTypePolicyDefinitionType.java +++ /dev/null @@ -1,34 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for cmisTypePolicyDefinitionType complex type. - * - *

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

- * <complexType name="cmisTypePolicyDefinitionType">
- *   <complexContent>
- *     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisTypeDefinitionType">
- *       <sequence>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@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 deleted file mode 100644 index 3496b2da31..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CmisTypeRelationshipDefinitionType.java +++ /dev/null @@ -1,101 +0,0 @@ - -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.XmlType; - - -/** - *

Java class for cmisTypeRelationshipDefinitionType complex type. - * - *

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

- * <complexType name="cmisTypeRelationshipDefinitionType">
- *   <complexContent>
- *     <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"/>
- *       </sequence>
- *     </extension>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "cmisTypeRelationshipDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/", propOrder = { - "allowedSourceTypes", - "allowedTargetTypes" -}) -public class CmisTypeRelationshipDefinitionType - extends CmisTypeDefinitionType -{ - - protected List allowedSourceTypes; - protected List allowedTargetTypes; - - /** - * Gets the value of the allowedSourceTypes 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 allowedSourceTypes property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getAllowedSourceTypes() { - if (allowedSourceTypes == null) { - allowedSourceTypes = new ArrayList(); - } - return this.allowedSourceTypes; - } - - /** - * Gets the value of the allowedTargetTypes 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 allowedTargetTypes property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getAllowedTargetTypes() { - if (allowedTargetTypes == null) { - allowedTargetTypes = new ArrayList(); - } - return this.allowedTargetTypes; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/CreateDocument.java b/source/generated/org/alfresco/repo/cmis/ws/CreateDocument.java deleted file mode 100644 index 4a124822a0..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CreateDocument.java +++ /dev/null @@ -1,297 +0,0 @@ - -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; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <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/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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "properties", - "folderId", - "contentStream", - "versioningState", - "policies", - "addACEs", - "removeACEs", - "extension" -}) -@XmlRootElement(name = "createDocument") -public class CreateDocument { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected CmisPropertiesType properties; - @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/200908/", type = JAXBElement.class) - protected JAXBElement versioningState; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the properties property. - * - * @return - * possible object is - * {@link CmisPropertiesType } - * - */ - public CmisPropertiesType getProperties() { - return properties; - } - - /** - * Sets the value of the properties property. - * - * @param value - * allowed object is - * {@link CmisPropertiesType } - * - */ - public void setProperties(CmisPropertiesType value) { - this.properties = value; - } - - /** - * Gets the value of the folderId property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement getFolderId() { - return folderId; - } - - /** - * Sets the value of the folderId property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public void setFolderId(JAXBElement value) { - this.folderId = ((JAXBElement ) value); - } - - /** - * Gets the value of the contentStream property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link CmisContentStreamType }{@code >} - * - */ - public JAXBElement getContentStream() { - return contentStream; - } - - /** - * Sets the value of the contentStream property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link CmisContentStreamType }{@code >} - * - */ - public void setContentStream(JAXBElement value) { - this.contentStream = ((JAXBElement ) value); - } - - /** - * Gets the value of the versioningState property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link EnumVersioningState }{@code >} - * - */ - public JAXBElement getVersioningState() { - return versioningState; - } - - /** - * Sets the value of the versioningState property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link EnumVersioningState }{@code >} - * - */ - public void setVersioningState(JAXBElement value) { - this.versioningState = ((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/CreateDocumentFromSource.java b/source/generated/org/alfresco/repo/cmis/ws/CreateDocumentFromSource.java deleted file mode 100644 index d1afb442a9..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CreateDocumentFromSource.java +++ /dev/null @@ -1,297 +0,0 @@ - -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; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="sourceId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <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="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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "sourceId", - "properties", - "folderId", - "versioningState", - "policies", - "addACEs", - "removeACEs", - "extension" -}) -@XmlRootElement(name = "createDocumentFromSource") -public class CreateDocumentFromSource { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String sourceId; - @XmlElement(required = true) - protected CmisPropertiesType properties; - @XmlElementRef(name = "folderId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) - protected JAXBElement folderId; - @XmlElementRef(name = "versioningState", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) - protected JAXBElement versioningState; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the sourceId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getSourceId() { - return sourceId; - } - - /** - * Sets the value of the sourceId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSourceId(String value) { - this.sourceId = value; - } - - /** - * Gets the value of the properties property. - * - * @return - * possible object is - * {@link CmisPropertiesType } - * - */ - public CmisPropertiesType getProperties() { - return properties; - } - - /** - * Sets the value of the properties property. - * - * @param value - * allowed object is - * {@link CmisPropertiesType } - * - */ - public void setProperties(CmisPropertiesType value) { - this.properties = value; - } - - /** - * Gets the value of the folderId property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement getFolderId() { - return folderId; - } - - /** - * Sets the value of the folderId property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public void setFolderId(JAXBElement value) { - this.folderId = ((JAXBElement ) value); - } - - /** - * Gets the value of the versioningState property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link EnumVersioningState }{@code >} - * - */ - public JAXBElement getVersioningState() { - return versioningState; - } - - /** - * Sets the value of the versioningState property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link EnumVersioningState }{@code >} - * - */ - public void setVersioningState(JAXBElement value) { - this.versioningState = ((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/CreateDocumentFromSourceResponse.java b/source/generated/org/alfresco/repo/cmis/ws/CreateDocumentFromSourceResponse.java deleted file mode 100644 index 5fd656fec8..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CreateDocumentFromSourceResponse.java +++ /dev/null @@ -1,94 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "objectId", - "extension" -}) -@XmlRootElement(name = "createDocumentFromSourceResponse") -public class CreateDocumentFromSourceResponse { - - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index 9db3ac91e1..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CreateDocumentResponse.java +++ /dev/null @@ -1,94 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index cd9e3c985e..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CreateFolder.java +++ /dev/null @@ -1,241 +0,0 @@ - -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; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <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="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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "properties", - "folderId", - "policies", - "addACEs", - "removeACEs", - "extension" -}) -@XmlRootElement(name = "createFolder") -public class CreateFolder { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected CmisPropertiesType properties; - @XmlElement(required = true) - protected String 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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the properties property. - * - * @return - * possible object is - * {@link CmisPropertiesType } - * - */ - public CmisPropertiesType getProperties() { - return properties; - } - - /** - * Sets the value of the properties property. - * - * @param value - * allowed object is - * {@link CmisPropertiesType } - * - */ - public void setProperties(CmisPropertiesType value) { - this.properties = value; - } - - /** - * Gets the value of the folderId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFolderId() { - return folderId; - } - - /** - * Sets the value of the folderId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFolderId(String value) { - this.folderId = value; - } - - /** - * Gets the value of the 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/CreateFolderResponse.java b/source/generated/org/alfresco/repo/cmis/ws/CreateFolderResponse.java deleted file mode 100644 index 2f3ef6b4b3..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CreateFolderResponse.java +++ /dev/null @@ -1,94 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index a6ea22a9fa..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CreatePolicy.java +++ /dev/null @@ -1,241 +0,0 @@ - -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; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "properties", - "folderId", - "policies", - "addACEs", - "removeACEs", - "extension" -}) -@XmlRootElement(name = "createPolicy") -public class CreatePolicy { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected CmisPropertiesType properties; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the properties property. - * - * @return - * possible object is - * {@link CmisPropertiesType } - * - */ - public CmisPropertiesType getProperties() { - return properties; - } - - /** - * Sets the value of the properties property. - * - * @param value - * allowed object is - * {@link CmisPropertiesType } - * - */ - public void setProperties(CmisPropertiesType value) { - this.properties = value; - } - - /** - * Gets the value of the folderId property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement getFolderId() { - return folderId; - } - - /** - * Sets the value of the folderId property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public void setFolderId(JAXBElement value) { - 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 deleted file mode 100644 index c4bfed0208..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CreatePolicyResponse.java +++ /dev/null @@ -1,94 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index 307f98c3b4..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CreateRelationship.java +++ /dev/null @@ -1,213 +0,0 @@ - -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; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "properties", - "policies", - "addACEs", - "removeACEs", - "extension" -}) -@XmlRootElement(name = "createRelationship") -public class CreateRelationship { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected CmisPropertiesType properties; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the properties property. - * - * @return - * possible object is - * {@link CmisPropertiesType } - * - */ - public CmisPropertiesType getProperties() { - return properties; - } - - /** - * Sets the value of the properties property. - * - * @param value - * allowed object is - * {@link CmisPropertiesType } - * - */ - public void setProperties(CmisPropertiesType value) { - this.properties = 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/CreateRelationshipResponse.java b/source/generated/org/alfresco/repo/cmis/ws/CreateRelationshipResponse.java deleted file mode 100644 index 4bd3e5b0f0..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/CreateRelationshipResponse.java +++ /dev/null @@ -1,94 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index 03e46ed966..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/DeleteContentStream.java +++ /dev/null @@ -1,149 +0,0 @@ - -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; - - -/** - *

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>
- *         <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="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "changeToken", - "extension" -}) -@XmlRootElement(name = "deleteContentStream") -public class DeleteContentStream { - - @XmlElement(required = true) - protected String repositoryId; - @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 repositoryId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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/DeleteContentStreamResponse.java b/source/generated/org/alfresco/repo/cmis/ws/DeleteContentStreamResponse.java deleted file mode 100644 index e402ed446f..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/DeleteContentStreamResponse.java +++ /dev/null @@ -1,121 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "objectId", - "changeToken", - "extension" -}) -@XmlRootElement(name = "deleteContentStreamResponse") -public class DeleteContentStreamResponse { - - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index aa3249323d..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/DeleteObject.java +++ /dev/null @@ -1,150 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "allVersions", - "extension" -}) -@XmlRootElement(name = "deleteObject") -public class DeleteObject { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String objectId; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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 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 deleted file mode 100644 index fa394858f0..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/DeleteObjectResponse.java +++ /dev/null @@ -1,65 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@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 deleted file mode 100644 index 6360022f25..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/DeleteTree.java +++ /dev/null @@ -1,206 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryId" 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="unfileObjects" 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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "folderId", - "allVersions", - "unfileObjects", - "continueOnFailure", - "extension" -}) -@XmlRootElement(name = "deleteTree") -public class DeleteTree { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String folderId; - @XmlElementRef(name = "allVersions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) - protected JAXBElement allVersions; - @XmlElementRef(name = "unfileObjects", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) - protected JAXBElement unfileObjects; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the folderId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFolderId() { - return folderId; - } - - /** - * Sets the value of the folderId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFolderId(String value) { - this.folderId = value; - } - - /** - * Gets the value of the 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 unfileObjects property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link EnumUnfileObject }{@code >} - * - */ - public JAXBElement getUnfileObjects() { - return unfileObjects; - } - - /** - * Sets the value of the unfileObjects property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link EnumUnfileObject }{@code >} - * - */ - public void setUnfileObjects(JAXBElement value) { - this.unfileObjects = ((JAXBElement ) value); - } - - /** - * Gets the value of the continueOnFailure property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public JAXBElement getContinueOnFailure() { - return continueOnFailure; - } - - /** - * Sets the value of the continueOnFailure property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public void setContinueOnFailure(JAXBElement value) { - 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 deleted file mode 100644 index 70990979e6..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/DeleteTreeResponse.java +++ /dev/null @@ -1,172 +0,0 @@ - -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.XmlRootElement; -import javax.xml.bind.annotation.XmlType; -import org.w3c.dom.Element; - - -/** - *

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>
- *         <element name="failedToDelete">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="objectIds" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
- *                   <any/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "failedToDelete" -}) -@XmlRootElement(name = "deleteTreeResponse") -public class DeleteTreeResponse { - - @XmlElement(required = true) - protected DeleteTreeResponse.FailedToDelete failedToDelete; - - /** - * Gets the value of the failedToDelete property. - * - * @return - * possible object is - * {@link DeleteTreeResponse.FailedToDelete } - * - */ - public DeleteTreeResponse.FailedToDelete getFailedToDelete() { - return failedToDelete; - } - - /** - * Sets the value of the failedToDelete property. - * - * @param value - * allowed object is - * {@link DeleteTreeResponse.FailedToDelete } - * - */ - public void setFailedToDelete(DeleteTreeResponse.FailedToDelete value) { - this.failedToDelete = 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>
-     *         <element name="objectIds" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
-     *         <any/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- * - * - */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "objectIds", - "any" - }) - public static class FailedToDelete { - - protected List objectIds; - @XmlAnyElement(lax = true) - protected List any; - - /** - * 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 objectIds property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getObjectIds() { - if (objectIds == null) { - objectIds = new ArrayList(); - } - 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 Object } - * {@link Element } - * - * - */ - 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 deleted file mode 100644 index 9cd69b2ea4..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/DiscoveryService.java +++ /dev/null @@ -1,77 +0,0 @@ - -/* - * - */ - -package org.alfresco.repo.cmis.ws; - -import java.net.MalformedURLException; -import java.net.URL; -import javax.xml.namespace.QName; -import javax.xml.ws.Service; -import javax.xml.ws.WebEndpoint; -import javax.xml.ws.WebServiceClient; -import javax.xml.ws.WebServiceFeature; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - - -@WebServiceClient(name = "DiscoveryService", - wsdlLocation = "file: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/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:CMISWS-Service.wsdl"); - } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:CMISWS-Service.wsdl"); - // e.printStackTrace(); - } - WSDL_LOCATION = url; - } - - public DiscoveryService(URL wsdlLocation) { - super(wsdlLocation, SERVICE); - } - - public DiscoveryService(URL wsdlLocation, QName serviceName) { - super(wsdlLocation, serviceName); - } - - public DiscoveryService() { - super(WSDL_LOCATION, SERVICE); - } - - /** - * - * @return - * returns DiscoveryServicePort - */ - @WebEndpoint(name = "DiscoveryServicePort") - public DiscoveryServicePort getDiscoveryServicePort() { - return super.getPort(DiscoveryServicePort, DiscoveryServicePort.class); - } - - /** - * - * @param features - * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. - * @return - * returns DiscoveryServicePort - */ - @WebEndpoint(name = "DiscoveryServicePort") - public DiscoveryServicePort getDiscoveryServicePort(WebServiceFeature... features) { - return super.getPort(DiscoveryServicePort, DiscoveryServicePort.class, features); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/DiscoveryServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/DiscoveryServicePort.java deleted file mode 100644 index 5166ca35fe..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/DiscoveryServicePort.java +++ /dev/null @@ -1,56 +0,0 @@ -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.jws.soap.SOAPBinding; -import javax.jws.soap.SOAPBinding.ParameterStyle; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.ws.RequestWrapper; -import javax.xml.ws.ResponseWrapper; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "DiscoveryServicePort") -@XmlSeeAlso({ObjectFactory.class}) -public interface DiscoveryServicePort { - - @RequestWrapper(localName = "getContentChanges", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", 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") - @WebMethod - public void getContentChanges( - @WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - java.lang.String repositoryId, - @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/200908/") - java.lang.String filter, - @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; - - @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) - @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/200908/") - Query parameters - ) throws CmisException; -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumACLPropagation.java b/source/generated/org/alfresco/repo/cmis/ws/EnumACLPropagation.java deleted file mode 100644 index 6f9804a4f8..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumACLPropagation.java +++ /dev/null @@ -1,54 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumACLPropagation. - * - *

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

- *

- * <simpleType name="enumACLPropagation">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="repositorydetermined"/>
- *     <enumeration value="objectonly"/>
- *     <enumeration value="propagate"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumACLPropagation", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumACLPropagation { - - @XmlEnumValue("repositorydetermined") - REPOSITORYDETERMINED("repositorydetermined"), - @XmlEnumValue("objectonly") - OBJECTONLY("objectonly"), - @XmlEnumValue("propagate") - PROPAGATE("propagate"); - private final String value; - - EnumACLPropagation(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumACLPropagation fromValue(String v) { - for (EnumACLPropagation c: EnumACLPropagation.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumAllowableActionsKey.java b/source/generated/org/alfresco/repo/cmis/ws/EnumAllowableActionsKey.java deleted file mode 100644 index 303f4f1129..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumAllowableActionsKey.java +++ /dev/null @@ -1,147 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumAllowableActionsKey. - * - *

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

- *

- * <simpleType name="enumAllowableActionsKey">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="canGetDescendents.Folder"/>
- *     <enumeration value="canGetChildren.Folder"/>
- *     <enumeration value="canGetParents.Folder"/>
- *     <enumeration value="canGetFolderParent.Object"/>
- *     <enumeration value="canCreateDocument.Folder"/>
- *     <enumeration value="canCreateFolder.Folder"/>
- *     <enumeration value="canCreateRelationship.Source"/>
- *     <enumeration value="canCreateRelationship.Target"/>
- *     <enumeration value="canGetProperties.Object"/>
- *     <enumeration value="canViewContent.Object"/>
- *     <enumeration value="canUpdateProperties.Object"/>
- *     <enumeration value="canMove.Object"/>
- *     <enumeration value="canMove.Target"/>
- *     <enumeration value="canMove.Source"/>
- *     <enumeration value="canDelete.Object"/>
- *     <enumeration value="canDeleteTree.Folder"/>
- *     <enumeration value="canSetContent.Document"/>
- *     <enumeration value="canDeleteContent.Document"/>
- *     <enumeration value="canAddToFolder.Object"/>
- *     <enumeration value="canAddToFolder.Folder"/>
- *     <enumeration value="canRemoveFromFolder.Object"/>
- *     <enumeration value="canRemoveFromFolder.Folder"/>
- *     <enumeration value="canCheckout.Document"/>
- *     <enumeration value="canCancelCheckout.Document"/>
- *     <enumeration value="canCheckin.Document"/>
- *     <enumeration value="canGetAllVersions.VersionSeries"/>
- *     <enumeration value="canGetObjectRelationships.Object"/>
- *     <enumeration value="canAddPolicy.Object"/>
- *     <enumeration value="canAddPolicy.Policy"/>
- *     <enumeration value="canRemovePolicy.Object"/>
- *     <enumeration value="canRemovePolicy.Policy"/>
- *     <enumeration value="canGetAppliedPolicies.Object"/>
- *     <enumeration value="canGetACL.Object"/>
- *     <enumeration value="canApplyACL.Object"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumAllowableActionsKey", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumAllowableActionsKey { - - @XmlEnumValue("canGetDescendents.Folder") - CAN_GET_DESCENDENTS_FOLDER("canGetDescendents.Folder"), - @XmlEnumValue("canGetChildren.Folder") - CAN_GET_CHILDREN_FOLDER("canGetChildren.Folder"), - @XmlEnumValue("canGetParents.Folder") - CAN_GET_PARENTS_FOLDER("canGetParents.Folder"), - @XmlEnumValue("canGetFolderParent.Object") - CAN_GET_FOLDER_PARENT_OBJECT("canGetFolderParent.Object"), - @XmlEnumValue("canCreateDocument.Folder") - CAN_CREATE_DOCUMENT_FOLDER("canCreateDocument.Folder"), - @XmlEnumValue("canCreateFolder.Folder") - CAN_CREATE_FOLDER_FOLDER("canCreateFolder.Folder"), - @XmlEnumValue("canCreateRelationship.Source") - CAN_CREATE_RELATIONSHIP_SOURCE("canCreateRelationship.Source"), - @XmlEnumValue("canCreateRelationship.Target") - CAN_CREATE_RELATIONSHIP_TARGET("canCreateRelationship.Target"), - @XmlEnumValue("canGetProperties.Object") - CAN_GET_PROPERTIES_OBJECT("canGetProperties.Object"), - @XmlEnumValue("canViewContent.Object") - CAN_VIEW_CONTENT_OBJECT("canViewContent.Object"), - @XmlEnumValue("canUpdateProperties.Object") - CAN_UPDATE_PROPERTIES_OBJECT("canUpdateProperties.Object"), - @XmlEnumValue("canMove.Object") - CAN_MOVE_OBJECT("canMove.Object"), - @XmlEnumValue("canMove.Target") - CAN_MOVE_TARGET("canMove.Target"), - @XmlEnumValue("canMove.Source") - CAN_MOVE_SOURCE("canMove.Source"), - @XmlEnumValue("canDelete.Object") - CAN_DELETE_OBJECT("canDelete.Object"), - @XmlEnumValue("canDeleteTree.Folder") - CAN_DELETE_TREE_FOLDER("canDeleteTree.Folder"), - @XmlEnumValue("canSetContent.Document") - CAN_SET_CONTENT_DOCUMENT("canSetContent.Document"), - @XmlEnumValue("canDeleteContent.Document") - CAN_DELETE_CONTENT_DOCUMENT("canDeleteContent.Document"), - @XmlEnumValue("canAddToFolder.Object") - CAN_ADD_TO_FOLDER_OBJECT("canAddToFolder.Object"), - @XmlEnumValue("canAddToFolder.Folder") - CAN_ADD_TO_FOLDER_FOLDER("canAddToFolder.Folder"), - @XmlEnumValue("canRemoveFromFolder.Object") - CAN_REMOVE_FROM_FOLDER_OBJECT("canRemoveFromFolder.Object"), - @XmlEnumValue("canRemoveFromFolder.Folder") - CAN_REMOVE_FROM_FOLDER_FOLDER("canRemoveFromFolder.Folder"), - @XmlEnumValue("canCheckout.Document") - CAN_CHECKOUT_DOCUMENT("canCheckout.Document"), - @XmlEnumValue("canCancelCheckout.Document") - CAN_CANCEL_CHECKOUT_DOCUMENT("canCancelCheckout.Document"), - @XmlEnumValue("canCheckin.Document") - CAN_CHECKIN_DOCUMENT("canCheckin.Document"), - @XmlEnumValue("canGetAllVersions.VersionSeries") - CAN_GET_ALL_VERSIONS_VERSION_SERIES("canGetAllVersions.VersionSeries"), - @XmlEnumValue("canGetObjectRelationships.Object") - CAN_GET_OBJECT_RELATIONSHIPS_OBJECT("canGetObjectRelationships.Object"), - @XmlEnumValue("canAddPolicy.Object") - CAN_ADD_POLICY_OBJECT("canAddPolicy.Object"), - @XmlEnumValue("canAddPolicy.Policy") - CAN_ADD_POLICY_POLICY("canAddPolicy.Policy"), - @XmlEnumValue("canRemovePolicy.Object") - CAN_REMOVE_POLICY_OBJECT("canRemovePolicy.Object"), - @XmlEnumValue("canRemovePolicy.Policy") - CAN_REMOVE_POLICY_POLICY("canRemovePolicy.Policy"), - @XmlEnumValue("canGetAppliedPolicies.Object") - CAN_GET_APPLIED_POLICIES_OBJECT("canGetAppliedPolicies.Object"), - @XmlEnumValue("canGetACL.Object") - CAN_GET_ACL_OBJECT("canGetACL.Object"), - @XmlEnumValue("canApplyACL.Object") - CAN_APPLY_ACL_OBJECT("canApplyACL.Object"); - private final String value; - - EnumAllowableActionsKey(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumAllowableActionsKey fromValue(String v) { - for (EnumAllowableActionsKey c: EnumAllowableActionsKey.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumBaseObjectTypeIds.java b/source/generated/org/alfresco/repo/cmis/ws/EnumBaseObjectTypeIds.java deleted file mode 100644 index 0859d4e60f..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumBaseObjectTypeIds.java +++ /dev/null @@ -1,57 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumBaseObjectTypeIds. - * - *

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

- *

- * <simpleType name="enumBaseObjectTypeIds">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="cmis:document"/>
- *     <enumeration value="cmis:folder"/>
- *     <enumeration value="cmis:relationship"/>
- *     <enumeration value="cmis:policy"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumBaseObjectTypeIds", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumBaseObjectTypeIds { - - @XmlEnumValue("cmis:document") - CMIS_DOCUMENT("cmis:document"), - @XmlEnumValue("cmis:folder") - CMIS_FOLDER("cmis:folder"), - @XmlEnumValue("cmis:relationship") - CMIS_RELATIONSHIP("cmis:relationship"), - @XmlEnumValue("cmis:policy") - CMIS_POLICY("cmis:policy"); - private final String value; - - EnumBaseObjectTypeIds(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumBaseObjectTypeIds fromValue(String v) { - for (EnumBaseObjectTypeIds c: EnumBaseObjectTypeIds.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumBasicPermissions.java b/source/generated/org/alfresco/repo/cmis/ws/EnumBasicPermissions.java deleted file mode 100644 index 14169bc084..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumBasicPermissions.java +++ /dev/null @@ -1,54 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumBasicPermissions. - * - *

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

- *

- * <simpleType name="enumBasicPermissions">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="cmis:read"/>
- *     <enumeration value="cmis:write"/>
- *     <enumeration value="cmis:all"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumBasicPermissions", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumBasicPermissions { - - @XmlEnumValue("cmis:read") - CMIS_READ("cmis:read"), - @XmlEnumValue("cmis:write") - CMIS_WRITE("cmis:write"), - @XmlEnumValue("cmis:all") - CMIS_ALL("cmis:all"); - private final String value; - - EnumBasicPermissions(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumBasicPermissions fromValue(String v) { - for (EnumBasicPermissions c: EnumBasicPermissions.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityACL.java b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityACL.java deleted file mode 100644 index 4433712a06..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityACL.java +++ /dev/null @@ -1,54 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumCapabilityACL. - * - *

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

- *

- * <simpleType name="enumCapabilityACL">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="none"/>
- *     <enumeration value="discover"/>
- *     <enumeration value="manage"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumCapabilityACL", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumCapabilityACL { - - @XmlEnumValue("none") - NONE("none"), - @XmlEnumValue("discover") - DISCOVER("discover"), - @XmlEnumValue("manage") - MANAGE("manage"); - private final String value; - - EnumCapabilityACL(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumCapabilityACL fromValue(String v) { - for (EnumCapabilityACL c: EnumCapabilityACL.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityChanges.java b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityChanges.java deleted file mode 100644 index 1d0c7e430d..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityChanges.java +++ /dev/null @@ -1,57 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumCapabilityChanges. - * - *

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

- *

- * <simpleType name="enumCapabilityChanges">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="none"/>
- *     <enumeration value="objectidsonly"/>
- *     <enumeration value="properties"/>
- *     <enumeration value="all"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumCapabilityChanges", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumCapabilityChanges { - - @XmlEnumValue("none") - NONE("none"), - @XmlEnumValue("objectidsonly") - OBJECTIDSONLY("objectidsonly"), - @XmlEnumValue("properties") - PROPERTIES("properties"), - @XmlEnumValue("all") - ALL("all"); - private final String value; - - EnumCapabilityChanges(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumCapabilityChanges fromValue(String v) { - for (EnumCapabilityChanges c: EnumCapabilityChanges.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityContentStreamUpdates.java b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityContentStreamUpdates.java deleted file mode 100644 index 9b03dc2a53..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityContentStreamUpdates.java +++ /dev/null @@ -1,54 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumCapabilityContentStreamUpdates. - * - *

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

- *

- * <simpleType name="enumCapabilityContentStreamUpdates">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="anytime"/>
- *     <enumeration value="pwconly"/>
- *     <enumeration value="none"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumCapabilityContentStreamUpdates", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumCapabilityContentStreamUpdates { - - @XmlEnumValue("anytime") - ANYTIME("anytime"), - @XmlEnumValue("pwconly") - PWCONLY("pwconly"), - @XmlEnumValue("none") - NONE("none"); - private final String value; - - EnumCapabilityContentStreamUpdates(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumCapabilityContentStreamUpdates fromValue(String v) { - for (EnumCapabilityContentStreamUpdates c: EnumCapabilityContentStreamUpdates.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityJoin.java b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityJoin.java deleted file mode 100644 index 36b4213314..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityJoin.java +++ /dev/null @@ -1,54 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumCapabilityJoin. - * - *

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

- *

- * <simpleType name="enumCapabilityJoin">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="none"/>
- *     <enumeration value="inneronly"/>
- *     <enumeration value="innerandouter"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumCapabilityJoin", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumCapabilityJoin { - - @XmlEnumValue("none") - NONE("none"), - @XmlEnumValue("inneronly") - INNERONLY("inneronly"), - @XmlEnumValue("innerandouter") - INNERANDOUTER("innerandouter"); - private final String value; - - EnumCapabilityJoin(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumCapabilityJoin fromValue(String v) { - for (EnumCapabilityJoin c: EnumCapabilityJoin.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityQuery.java b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityQuery.java deleted file mode 100644 index 85a39b4ece..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityQuery.java +++ /dev/null @@ -1,60 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumCapabilityQuery. - * - *

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

- *

- * <simpleType name="enumCapabilityQuery">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="none"/>
- *     <enumeration value="metadataonly"/>
- *     <enumeration value="fulltextonly"/>
- *     <enumeration value="bothseparate"/>
- *     <enumeration value="bothcombined"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumCapabilityQuery", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumCapabilityQuery { - - @XmlEnumValue("none") - NONE("none"), - @XmlEnumValue("metadataonly") - METADATAONLY("metadataonly"), - @XmlEnumValue("fulltextonly") - FULLTEXTONLY("fulltextonly"), - @XmlEnumValue("bothseparate") - BOTHSEPARATE("bothseparate"), - @XmlEnumValue("bothcombined") - BOTHCOMBINED("bothcombined"); - private final String value; - - EnumCapabilityQuery(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumCapabilityQuery fromValue(String v) { - for (EnumCapabilityQuery c: EnumCapabilityQuery.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityRendition.java b/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityRendition.java deleted file mode 100644 index 698da9e1a0..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityRendition.java +++ /dev/null @@ -1,51 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumCapabilityRendition. - * - *

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

- *

- * <simpleType name="enumCapabilityRendition">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="none"/>
- *     <enumeration value="read"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumCapabilityRendition", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumCapabilityRendition { - - @XmlEnumValue("none") - NONE("none"), - @XmlEnumValue("read") - READ("read"); - private final String value; - - EnumCapabilityRendition(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumCapabilityRendition fromValue(String v) { - for (EnumCapabilityRendition c: EnumCapabilityRendition.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumCardinality.java b/source/generated/org/alfresco/repo/cmis/ws/EnumCardinality.java deleted file mode 100644 index 4475a93757..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumCardinality.java +++ /dev/null @@ -1,51 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumCardinality. - * - *

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

- *

- * <simpleType name="enumCardinality">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="single"/>
- *     <enumeration value="multi"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumCardinality", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumCardinality { - - @XmlEnumValue("single") - SINGLE("single"), - @XmlEnumValue("multi") - MULTI("multi"); - private final String value; - - EnumCardinality(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumCardinality fromValue(String v) { - for (EnumCardinality c: EnumCardinality.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumContentStreamAllowed.java b/source/generated/org/alfresco/repo/cmis/ws/EnumContentStreamAllowed.java deleted file mode 100644 index 065aacb992..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumContentStreamAllowed.java +++ /dev/null @@ -1,54 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumContentStreamAllowed. - * - *

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

- *

- * <simpleType name="enumContentStreamAllowed">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="notallowed"/>
- *     <enumeration value="allowed"/>
- *     <enumeration value="required"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumContentStreamAllowed", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumContentStreamAllowed { - - @XmlEnumValue("notallowed") - NOTALLOWED("notallowed"), - @XmlEnumValue("allowed") - ALLOWED("allowed"), - @XmlEnumValue("required") - REQUIRED("required"); - private final String value; - - EnumContentStreamAllowed(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumContentStreamAllowed fromValue(String v) { - for (EnumContentStreamAllowed c: EnumContentStreamAllowed.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumDateTimeResolution.java b/source/generated/org/alfresco/repo/cmis/ws/EnumDateTimeResolution.java deleted file mode 100644 index c2c4b18d49..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumDateTimeResolution.java +++ /dev/null @@ -1,54 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumDateTimeResolution. - * - *

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

- *

- * <simpleType name="enumDateTimeResolution">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="year"/>
- *     <enumeration value="date"/>
- *     <enumeration value="time"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumDateTimeResolution", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumDateTimeResolution { - - @XmlEnumValue("year") - YEAR("year"), - @XmlEnumValue("date") - DATE("date"), - @XmlEnumValue("time") - TIME("time"); - private final String value; - - EnumDateTimeResolution(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumDateTimeResolution fromValue(String v) { - for (EnumDateTimeResolution c: EnumDateTimeResolution.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumIncludeRelationships.java b/source/generated/org/alfresco/repo/cmis/ws/EnumIncludeRelationships.java deleted file mode 100644 index 1b0a7cd195..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumIncludeRelationships.java +++ /dev/null @@ -1,57 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumIncludeRelationships. - * - *

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

- *

- * <simpleType name="enumIncludeRelationships">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="none"/>
- *     <enumeration value="source"/>
- *     <enumeration value="target"/>
- *     <enumeration value="both"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumIncludeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumIncludeRelationships { - - @XmlEnumValue("none") - NONE("none"), - @XmlEnumValue("source") - SOURCE("source"), - @XmlEnumValue("target") - TARGET("target"), - @XmlEnumValue("both") - BOTH("both"); - private final String value; - - EnumIncludeRelationships(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumIncludeRelationships fromValue(String v) { - for (EnumIncludeRelationships c: EnumIncludeRelationships.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesBase.java b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesBase.java deleted file mode 100644 index 46678a3f13..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesBase.java +++ /dev/null @@ -1,72 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumPropertiesBase. - * - *

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

- *

- * <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"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@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"); - private final String value; - - EnumPropertiesBase(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumPropertiesBase fromValue(String v) { - for (EnumPropertiesBase c: EnumPropertiesBase.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesDocument.java b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesDocument.java deleted file mode 100644 index 1cd76da4d1..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesDocument.java +++ /dev/null @@ -1,87 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumPropertiesDocument. - * - *

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

- *

- * <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"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@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"); - private final String value; - - EnumPropertiesDocument(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumPropertiesDocument fromValue(String v) { - for (EnumPropertiesDocument c: EnumPropertiesDocument.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesFolder.java b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesFolder.java deleted file mode 100644 index 03ed2c086d..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesFolder.java +++ /dev/null @@ -1,54 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumPropertiesFolder. - * - *

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

- *

- * <simpleType name="enumPropertiesFolder">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <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/200908/") -@XmlEnum -public enum EnumPropertiesFolder { - - @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) { - value = v; - } - - public String value() { - return value; - } - - public static EnumPropertiesFolder fromValue(String v) { - for (EnumPropertiesFolder c: EnumPropertiesFolder.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesPolicy.java b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesPolicy.java deleted file mode 100644 index 25890e1ef4..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesPolicy.java +++ /dev/null @@ -1,48 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumPropertiesPolicy. - * - *

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

- *

- * <simpleType name="enumPropertiesPolicy">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="cmis:policyText"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@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"); - private final String value; - - EnumPropertiesPolicy(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumPropertiesPolicy fromValue(String v) { - for (EnumPropertiesPolicy c: EnumPropertiesPolicy.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesRelationship.java b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesRelationship.java deleted file mode 100644 index 0e24170701..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesRelationship.java +++ /dev/null @@ -1,51 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumPropertiesRelationship. - * - *

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

- *

- * <simpleType name="enumPropertiesRelationship">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="cmis:sourceId"/>
- *     <enumeration value="cmis:targetId"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@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"); - private final String value; - - EnumPropertiesRelationship(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumPropertiesRelationship fromValue(String v) { - for (EnumPropertiesRelationship c: EnumPropertiesRelationship.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertyType.java b/source/generated/org/alfresco/repo/cmis/ws/EnumPropertyType.java deleted file mode 100644 index aa46df496f..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumPropertyType.java +++ /dev/null @@ -1,69 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumPropertyType. - * - *

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

- *

- * <simpleType name="enumPropertyType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="boolean"/>
- *     <enumeration value="id"/>
- *     <enumeration value="integer"/>
- *     <enumeration value="datetime"/>
- *     <enumeration value="decimal"/>
- *     <enumeration value="html"/>
- *     <enumeration value="string"/>
- *     <enumeration value="uri"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumPropertyType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumPropertyType { - - @XmlEnumValue("boolean") - BOOLEAN("boolean"), - @XmlEnumValue("id") - ID("id"), - @XmlEnumValue("integer") - INTEGER("integer"), - @XmlEnumValue("datetime") - DATETIME("datetime"), - @XmlEnumValue("decimal") - DECIMAL("decimal"), - @XmlEnumValue("html") - HTML("html"), - @XmlEnumValue("string") - STRING("string"), - @XmlEnumValue("uri") - URI("uri"); - private final String value; - - EnumPropertyType(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumPropertyType fromValue(String v) { - for (EnumPropertyType c: EnumPropertyType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumRelationshipDirection.java b/source/generated/org/alfresco/repo/cmis/ws/EnumRelationshipDirection.java deleted file mode 100644 index 9865004c93..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumRelationshipDirection.java +++ /dev/null @@ -1,54 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumRelationshipDirection. - * - *

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

- *

- * <simpleType name="enumRelationshipDirection">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="source"/>
- *     <enumeration value="target"/>
- *     <enumeration value="either"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumRelationshipDirection", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumRelationshipDirection { - - @XmlEnumValue("source") - SOURCE("source"), - @XmlEnumValue("target") - TARGET("target"), - @XmlEnumValue("either") - EITHER("either"); - private final String value; - - EnumRelationshipDirection(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumRelationshipDirection fromValue(String v) { - for (EnumRelationshipDirection c: EnumRelationshipDirection.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumRenditionKind.java b/source/generated/org/alfresco/repo/cmis/ws/EnumRenditionKind.java deleted file mode 100644 index 5b9f7d57ee..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumRenditionKind.java +++ /dev/null @@ -1,48 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumRenditionKind. - * - *

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

- *

- * <simpleType name="enumRenditionKind">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="cmis:thumbnail"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumRenditionKind", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumRenditionKind { - - @XmlEnumValue("cmis:thumbnail") - CMIS_THUMBNAIL("cmis:thumbnail"); - private final String value; - - EnumRenditionKind(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumRenditionKind fromValue(String v) { - for (EnumRenditionKind c: EnumRenditionKind.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumServiceException.java b/source/generated/org/alfresco/repo/cmis/ws/EnumServiceException.java deleted file mode 100644 index ed2d0ba77d..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumServiceException.java +++ /dev/null @@ -1,84 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumServiceException. - * - *

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

- *

- * <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"/>
- *     <enumeration value="notSupported"/>
- *     <enumeration value="objectNotFound"/>
- *     <enumeration value="permissionDenied"/>
- *     <enumeration value="runtime"/>
- *     <enumeration value="storage"/>
- *     <enumeration value="streamNotSupported"/>
- *     <enumeration value="updateConflict"/>
- *     <enumeration value="versioning"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumServiceException") -@XmlEnum -public enum EnumServiceException { - - @XmlEnumValue("constraint") - CONSTRAINT("constraint"), - @XmlEnumValue("nameConstraintViolation") - NAME_CONSTRAINT_VIOLATION("nameConstraintViolation"), - @XmlEnumValue("contentAlreadyExists") - CONTENT_ALREADY_EXISTS("contentAlreadyExists"), - @XmlEnumValue("filterNotValid") - FILTER_NOT_VALID("filterNotValid"), - @XmlEnumValue("invalidArgument") - INVALID_ARGUMENT("invalidArgument"), - @XmlEnumValue("notSupported") - NOT_SUPPORTED("notSupported"), - @XmlEnumValue("objectNotFound") - OBJECT_NOT_FOUND("objectNotFound"), - @XmlEnumValue("permissionDenied") - PERMISSION_DENIED("permissionDenied"), - @XmlEnumValue("runtime") - RUNTIME("runtime"), - @XmlEnumValue("storage") - STORAGE("storage"), - @XmlEnumValue("streamNotSupported") - STREAM_NOT_SUPPORTED("streamNotSupported"), - @XmlEnumValue("updateConflict") - UPDATE_CONFLICT("updateConflict"), - @XmlEnumValue("versioning") - VERSIONING("versioning"); - private final String value; - - EnumServiceException(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumServiceException fromValue(String v) { - for (EnumServiceException c: EnumServiceException.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumSupportedPermissions.java b/source/generated/org/alfresco/repo/cmis/ws/EnumSupportedPermissions.java deleted file mode 100644 index 0ba5590895..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumSupportedPermissions.java +++ /dev/null @@ -1,54 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumSupportedPermissions. - * - *

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

- *

- * <simpleType name="enumSupportedPermissions">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="basic"/>
- *     <enumeration value="repository"/>
- *     <enumeration value="both"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumSupportedPermissions", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumSupportedPermissions { - - @XmlEnumValue("basic") - BASIC("basic"), - @XmlEnumValue("repository") - REPOSITORY("repository"), - @XmlEnumValue("both") - BOTH("both"); - private final String value; - - EnumSupportedPermissions(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumSupportedPermissions fromValue(String v) { - for (EnumSupportedPermissions c: EnumSupportedPermissions.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumTypeOfChanges.java b/source/generated/org/alfresco/repo/cmis/ws/EnumTypeOfChanges.java deleted file mode 100644 index e25d98c13e..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumTypeOfChanges.java +++ /dev/null @@ -1,57 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumTypeOfChanges. - * - *

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

- *

- * <simpleType name="enumTypeOfChanges">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="created"/>
- *     <enumeration value="updated"/>
- *     <enumeration value="deleted"/>
- *     <enumeration value="security"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumTypeOfChanges", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumTypeOfChanges { - - @XmlEnumValue("created") - CREATED("created"), - @XmlEnumValue("updated") - UPDATED("updated"), - @XmlEnumValue("deleted") - DELETED("deleted"), - @XmlEnumValue("security") - SECURITY("security"); - private final String value; - - EnumTypeOfChanges(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumTypeOfChanges fromValue(String v) { - for (EnumTypeOfChanges c: EnumTypeOfChanges.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumUnfileObject.java b/source/generated/org/alfresco/repo/cmis/ws/EnumUnfileObject.java deleted file mode 100644 index 7ecf2e415e..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumUnfileObject.java +++ /dev/null @@ -1,54 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumUnfileObject. - * - *

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

- *

- * <simpleType name="enumUnfileObject">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="unfile"/>
- *     <enumeration value="deletesinglefiled"/>
- *     <enumeration value="delete"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumUnfileObject", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumUnfileObject { - - @XmlEnumValue("unfile") - UNFILE("unfile"), - @XmlEnumValue("deletesinglefiled") - DELETESINGLEFILED("deletesinglefiled"), - @XmlEnumValue("delete") - DELETE("delete"); - private final String value; - - EnumUnfileObject(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumUnfileObject fromValue(String v) { - for (EnumUnfileObject c: EnumUnfileObject.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumUpdatability.java b/source/generated/org/alfresco/repo/cmis/ws/EnumUpdatability.java deleted file mode 100644 index 0b72e939c6..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumUpdatability.java +++ /dev/null @@ -1,57 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumUpdatability. - * - *

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

- *

- * <simpleType name="enumUpdatability">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <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/200908/") -@XmlEnum -public enum EnumUpdatability { - - @XmlEnumValue("readonly") - READONLY("readonly"), - @XmlEnumValue("readwrite") - READWRITE("readwrite"), - @XmlEnumValue("whencheckedout") - WHENCHECKEDOUT("whencheckedout"), - @XmlEnumValue("oncreate") - ONCREATE("oncreate"); - private final String value; - - EnumUpdatability(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumUpdatability fromValue(String v) { - for (EnumUpdatability c: EnumUpdatability.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumUsers.java b/source/generated/org/alfresco/repo/cmis/ws/EnumUsers.java deleted file mode 100644 index 4ae624f5cd..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumUsers.java +++ /dev/null @@ -1,57 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumUsers. - * - *

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

- *

- * <simpleType name="enumUsers">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="cmis:user"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@XmlType(name = "enumUsers", namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/") -@XmlEnum -public enum EnumUsers { - - - /** - * - * This user can be used on setting ACLs to specify - * the permission this - * user context should have. - * - * - */ - @XmlEnumValue("cmis:user") - CMIS_USER("cmis:user"); - private final String value; - - EnumUsers(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumUsers fromValue(String v) { - for (EnumUsers c: EnumUsers.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/EnumVersioningState.java b/source/generated/org/alfresco/repo/cmis/ws/EnumVersioningState.java deleted file mode 100644 index 7d1f58230f..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/EnumVersioningState.java +++ /dev/null @@ -1,57 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for enumVersioningState. - * - *

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

- *

- * <simpleType name="enumVersioningState">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="none"/>
- *     <enumeration value="checkedout"/>
- *     <enumeration value="minor"/>
- *     <enumeration value="major"/>
- *   </restriction>
- * </simpleType>
- * 
- * - */ -@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") - MINOR("minor"), - @XmlEnumValue("major") - MAJOR("major"); - private final String value; - - EnumVersioningState(String v) { - value = v; - } - - public String value() { - return value; - } - - public static EnumVersioningState fromValue(String v) { - for (EnumVersioningState c: EnumVersioningState.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetACL.java b/source/generated/org/alfresco/repo/cmis/ws/GetACL.java deleted file mode 100644 index ec111eefce..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetACL.java +++ /dev/null @@ -1,150 +0,0 @@ - -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; - - -/** - *

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>
- *         <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" minOccurs="0"/>
- *         <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "onlyBasicPermissions", - "extension" -}) -@XmlRootElement(name = "getACL") -public class GetACL { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String objectId; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the onlyBasicPermissions property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - 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(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 deleted file mode 100644 index f6870811ab..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetACLResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="ACL" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisACLType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "acl" -}) -@XmlRootElement(name = "getACLResponse") -public class GetACLResponse { - - @XmlElement(name = "ACL", required = true) - protected CmisACLType acl; - - /** - * Gets the value of the acl property. - * - * @return - * possible object is - * {@link CmisACLType } - * - */ - public CmisACLType getACL() { - return acl; - } - - /** - * Sets the value of the acl property. - * - * @param value - * allowed object is - * {@link CmisACLType } - * - */ - 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 deleted file mode 100644 index 11629e01cb..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetAllVersions.java +++ /dev/null @@ -1,178 +0,0 @@ - -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; - - -/** - *

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>
- *         <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="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "filter", - "includeAllowableActions", - "extension" -}) -@XmlRootElement(name = "getAllVersions") -public class GetAllVersions { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - 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/200908/", type = JAXBElement.class) - protected JAXBElement includeAllowableActions; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the filter property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement 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. - * - * @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 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/GetAllVersionsResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetAllVersionsResponse.java deleted file mode 100644 index 5f4fa47197..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetAllVersionsResponse.java +++ /dev/null @@ -1,69 +0,0 @@ - -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.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

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>
- *         <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "objects" -}) -@XmlRootElement(name = "getAllVersionsResponse") -public class GetAllVersionsResponse { - - protected List objects; - - /** - * 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 objects property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisObjectType } - * - * - */ - public List getObjects() { - if (objects == null) { - objects = new ArrayList(); - } - 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 deleted file mode 100644 index 4f6d3eccec..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetAllowableActions.java +++ /dev/null @@ -1,122 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "extension" -}) -@XmlRootElement(name = "getAllowableActions") -public class GetAllowableActions { - - @XmlElement(required = true) - 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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index 20feb4d70e..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetAllowableActionsResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="allowableActions" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAllowableActionsType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "allowableActions" -}) -@XmlRootElement(name = "getAllowableActionsResponse") -public class GetAllowableActionsResponse { - - @XmlElement(required = true) - protected CmisAllowableActionsType allowableActions; - - /** - * Gets the value of the allowableActions property. - * - * @return - * possible object is - * {@link CmisAllowableActionsType } - * - */ - public CmisAllowableActionsType getAllowableActions() { - return allowableActions; - } - - /** - * Sets the value of the allowableActions property. - * - * @param value - * allowed object is - * {@link CmisAllowableActionsType } - * - */ - public void setAllowableActions(CmisAllowableActionsType value) { - this.allowableActions = value; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetAppliedPolicies.java b/source/generated/org/alfresco/repo/cmis/ws/GetAppliedPolicies.java deleted file mode 100644 index ee0604897f..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetAppliedPolicies.java +++ /dev/null @@ -1,150 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "filter", - "extension" -}) -@XmlRootElement(name = "getAppliedPolicies") -public class GetAppliedPolicies { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String objectId; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the filter property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement 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 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 deleted file mode 100644 index dd631fe3df..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetAppliedPoliciesResponse.java +++ /dev/null @@ -1,69 +0,0 @@ - -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.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

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>
- *         <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "objects" -}) -@XmlRootElement(name = "getAppliedPoliciesResponse") -public class GetAppliedPoliciesResponse { - - protected List objects; - - /** - * 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 objects property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisObjectType } - * - * - */ - public List getObjects() { - if (objects == null) { - objects = new ArrayList(); - } - 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 deleted file mode 100644 index cc953b97dd..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetCheckedOutDocs.java +++ /dev/null @@ -1,319 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="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/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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "folderId", - "filter", - "orderBy", - "includeAllowableActions", - "includeRelationships", - "renditionFilter", - "maxItems", - "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/200908/", type = JAXBElement.class) - protected JAXBElement folderId; - @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/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/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 = "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; - - /** - * Gets the value of the repositoryId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the folderId property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement getFolderId() { - return folderId; - } - - /** - * Sets the value of the folderId property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public void setFolderId(JAXBElement value) { - this.folderId = ((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 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. - * - * @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 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/GetCheckedOutDocsResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetCheckedOutDocsResponse.java deleted file mode 100644 index a946a15825..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetCheckedOutDocsResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectListType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "objects" -}) -@XmlRootElement(name = "getCheckedOutDocsResponse") -public class GetCheckedOutDocsResponse { - - @XmlElement(required = true) - protected CmisObjectListType objects; - - /** - * Gets the value of the objects property. - * - * @return - * possible object is - * {@link CmisObjectListType } - * - */ - public CmisObjectListType getObjects() { - return objects; - } - - /** - * Sets the value of the objects property. - * - * @param value - * allowed object is - * {@link CmisObjectListType } - * - */ - 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 deleted file mode 100644 index 5f6dc651b8..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetChildren.java +++ /dev/null @@ -1,347 +0,0 @@ - -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; - - -/** - *

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>
- *         <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/200908/}enumIncludeRelationships" minOccurs="0"/>
- *         <element name="renditionFilter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="includePathSegment" 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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "folderId", - "filter", - "orderBy", - "includeAllowableActions", - "includeRelationships", - "renditionFilter", - "includePathSegment", - "maxItems", - "skipCount", - "extension" -}) -@XmlRootElement(name = "getChildren") -public class GetChildren { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String folderId; - @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/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/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 = "includePathSegment", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) - protected JAXBElement includePathSegment; - @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; - - /** - * Gets the value of the repositoryId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the folderId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFolderId() { - return folderId; - } - - /** - * Sets the value of the folderId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFolderId(String value) { - this.folderId = value; - } - - /** - * Gets the value of the 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 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. - * - * @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 includePathSegment property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public JAXBElement getIncludePathSegment() { - return includePathSegment; - } - - /** - * Sets the value of the includePathSegment property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public void setIncludePathSegment(JAXBElement value) { - this.includePathSegment = ((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/GetChildrenResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetChildrenResponse.java deleted file mode 100644 index 9cdf0116b8..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetChildrenResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectInFolderListType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "objects" -}) -@XmlRootElement(name = "getChildrenResponse") -public class GetChildrenResponse { - - @XmlElement(required = true) - protected CmisObjectInFolderListType objects; - - /** - * Gets the value of the objects property. - * - * @return - * possible object is - * {@link CmisObjectInFolderListType } - * - */ - public CmisObjectInFolderListType getObjects() { - return objects; - } - - /** - * Sets the value of the objects property. - * - * @param value - * allowed object is - * {@link CmisObjectInFolderListType } - * - */ - 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 deleted file mode 100644 index 1fcc7e0df5..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetContentChanges.java +++ /dev/null @@ -1,263 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "changeLogToken", - "includeProperties", - "filter", - "includePolicyIds", - "includeACL", - "maxItems", - "extension" -}) -@XmlRootElement(name = "getContentChanges") -public class GetContentChanges { - - @XmlElement(required = true) - protected String repositoryId; - @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; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the changeLogToken property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement getChangeLogToken() { - return changeLogToken; - } - - /** - * Sets the value of the changeLogToken property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public void setChangeLogToken(JAXBElement value) { - this.changeLogToken = ((JAXBElement ) value); - } - - /** - * Gets the value of the includeProperties property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public JAXBElement getIncludeProperties() { - return includeProperties; - } - - /** - * Sets the value of the includeProperties property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public void setIncludeProperties(JAXBElement value) { - this.includeProperties = ((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 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 deleted file mode 100644 index d8b7e06086..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetContentChangesResponse.java +++ /dev/null @@ -1,92 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "objects", - "changeLogToken" -}) -@XmlRootElement(name = "getContentChangesResponse") -public class GetContentChangesResponse { - - @XmlElement(required = true) - protected CmisObjectListType objects; - @XmlElement(required = true) - protected String changeLogToken; - - /** - * Gets the value of the objects property. - * - * @return - * possible object is - * {@link CmisObjectListType } - * - */ - public CmisObjectListType getObjects() { - return objects; - } - - /** - * 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 getChangeLogToken() { - return changeLogToken; - } - - /** - * Sets the value of the changeLogToken property. - * - * @param value - * allowed object is - * {@link String } - * - */ - 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 deleted file mode 100644 index b01223e112..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetContentStream.java +++ /dev/null @@ -1,207 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryId" 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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "streamId", - "offset", - "length", - "extension" -}) -@XmlRootElement(name = "getContentStream") -public class GetContentStream { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - 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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the streamId property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement getStreamId() { - return streamId; - } - - /** - * Sets the value of the streamId property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - 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 deleted file mode 100644 index 4aa726d83a..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetContentStreamResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisContentStreamType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "contentStream" -}) -@XmlRootElement(name = "getContentStreamResponse") -public class GetContentStreamResponse { - - @XmlElement(required = true) - protected CmisContentStreamType contentStream; - - /** - * Gets the value of the contentStream property. - * - * @return - * possible object is - * {@link CmisContentStreamType } - * - */ - public CmisContentStreamType getContentStream() { - return contentStream; - } - - /** - * Sets the value of the contentStream property. - * - * @param value - * allowed object is - * {@link CmisContentStreamType } - * - */ - public void setContentStream(CmisContentStreamType value) { - this.contentStream = value; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetDescendants.java b/source/generated/org/alfresco/repo/cmis/ws/GetDescendants.java deleted file mode 100644 index 3e2cf755b2..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetDescendants.java +++ /dev/null @@ -1,291 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <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/200908/}enumIncludeRelationships" minOccurs="0"/>
- *         <element name="renditionFilter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="includePathSegment" 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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "folderId", - "depth", - "filter", - "includeAllowableActions", - "includeRelationships", - "renditionFilter", - "includePathSegment", - "extension" -}) -@XmlRootElement(name = "getDescendants") -public class GetDescendants { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String folderId; - @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/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 = "includePathSegment", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) - protected JAXBElement includePathSegment; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the folderId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFolderId() { - return folderId; - } - - /** - * Sets the value of the folderId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFolderId(String value) { - this.folderId = value; - } - - /** - * Gets the value of the depth property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} - * - */ - public JAXBElement getDepth() { - return depth; - } - - /** - * Sets the value of the depth property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} - * - */ - public void setDepth(JAXBElement value) { - 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. - * - * @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 includePathSegment property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public JAXBElement getIncludePathSegment() { - return includePathSegment; - } - - /** - * Sets the value of the includePathSegment property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public void setIncludePathSegment(JAXBElement value) { - this.includePathSegment = ((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/GetDescendantsResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetDescendantsResponse.java deleted file mode 100644 index 50c8aea20b..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetDescendantsResponse.java +++ /dev/null @@ -1,69 +0,0 @@ - -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.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

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>
- *         <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectInFolderContainerType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "objects" -}) -@XmlRootElement(name = "getDescendantsResponse") -public class GetDescendantsResponse { - - protected List objects; - - /** - * 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 objects property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisObjectInFolderContainerType } - * - * - */ - public List getObjects() { - if (objects == null) { - objects = new ArrayList(); - } - 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 deleted file mode 100644 index bb873fc09e..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetFolderParent.java +++ /dev/null @@ -1,149 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "folderId", - "filter", - "extension" -}) -@XmlRootElement(name = "getFolderParent") -public class GetFolderParent { - - @XmlElement(required = true) - protected String repositoryId; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the folderId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFolderId() { - return folderId; - } - - /** - * Sets the value of the folderId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFolderId(String value) { - this.folderId = value; - } - - /** - * Gets the value of the filter property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFilter() { - return filter; - } - - /** - * Sets the value of the filter property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFilter(String value) { - 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 deleted file mode 100644 index 2c91f9e30c..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetFolderParentResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisObjectType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "object" -}) -@XmlRootElement(name = "getFolderParentResponse") -public class GetFolderParentResponse { - - @XmlElement(required = true) - protected CmisObjectType object; - - /** - * Gets the value of the object property. - * - * @return - * possible object is - * {@link CmisObjectType } - * - */ - public CmisObjectType getObject() { - return object; - } - - /** - * Sets the value of the object property. - * - * @param value - * allowed object is - * {@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 deleted file mode 100644 index efae9ef679..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetFolderTree.java +++ /dev/null @@ -1,291 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <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/200908/}enumIncludeRelationships" minOccurs="0"/>
- *         <element name="renditionFilter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="includePathSegment" 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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "folderId", - "depth", - "filter", - "includeAllowableActions", - "includeRelationships", - "renditionFilter", - "includePathSegment", - "extension" -}) -@XmlRootElement(name = "getFolderTree") -public class GetFolderTree { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String folderId; - @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/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 = "includePathSegment", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) - protected JAXBElement includePathSegment; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the folderId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFolderId() { - return folderId; - } - - /** - * Sets the value of the folderId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFolderId(String value) { - this.folderId = value; - } - - /** - * Gets the value of the depth property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} - * - */ - public JAXBElement getDepth() { - return depth; - } - - /** - * Sets the value of the depth property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} - * - */ - public void setDepth(JAXBElement value) { - 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. - * - * @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 includePathSegment property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public JAXBElement getIncludePathSegment() { - return includePathSegment; - } - - /** - * Sets the value of the includePathSegment property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public void setIncludePathSegment(JAXBElement value) { - this.includePathSegment = ((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 deleted file mode 100644 index ca937df552..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetFolderTreeResponse.java +++ /dev/null @@ -1,69 +0,0 @@ - -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.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

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>
- *         <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectInFolderContainerType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "objects" -}) -@XmlRootElement(name = "getFolderTreeResponse") -public class GetFolderTreeResponse { - - protected List objects; - - /** - * 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 objects property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisObjectInFolderContainerType } - * - * - */ - public List getObjects() { - if (objects == null) { - objects = new ArrayList(); - } - return this.objects; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetObject.java b/source/generated/org/alfresco/repo/cmis/ws/GetObject.java deleted file mode 100644 index d58f38ac9f..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetObject.java +++ /dev/null @@ -1,290 +0,0 @@ - -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; - - -/** - *

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>
- *         <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="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="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "filter", - "includeAllowableActions", - "includeRelationships", - "renditionFilter", - "includePolicyIds", - "includeACL", - "extension" -}) -@XmlRootElement(name = "getObject") -public class GetObject { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - 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/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 = "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 = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) - protected JAXBElement extension; - - /** - * Gets the value of the repositoryId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the filter property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement 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. - * - * @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 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 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/GetObjectByPath.java b/source/generated/org/alfresco/repo/cmis/ws/GetObjectByPath.java deleted file mode 100644 index 06c6e61057..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetObjectByPath.java +++ /dev/null @@ -1,290 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="path" 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="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="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "path", - "filter", - "includeAllowableActions", - "includeRelationships", - "renditionFilter", - "includePolicyIds", - "includeACL", - "extension" -}) -@XmlRootElement(name = "getObjectByPath") -public class GetObjectByPath { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String path; - @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 = "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 = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) - protected JAXBElement extension; - - /** - * Gets the value of the repositoryId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the path property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPath() { - return path; - } - - /** - * Sets the value of the path property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPath(String value) { - this.path = 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. - * - * @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 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 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/GetObjectByPathResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetObjectByPathResponse.java deleted file mode 100644 index 1fb46c7889..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetObjectByPathResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisObjectType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "object" -}) -@XmlRootElement(name = "getObjectByPathResponse") -public class GetObjectByPathResponse { - - @XmlElement(required = true) - protected CmisObjectType object; - - /** - * Gets the value of the object property. - * - * @return - * possible object is - * {@link CmisObjectType } - * - */ - public CmisObjectType getObject() { - return object; - } - - /** - * Sets the value of the object property. - * - * @param value - * allowed object is - * {@link CmisObjectType } - * - */ - public void setObject(CmisObjectType value) { - this.object = value; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetObjectOfLatestVersion.java b/source/generated/org/alfresco/repo/cmis/ws/GetObjectOfLatestVersion.java deleted file mode 100644 index ccb5deafda..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetObjectOfLatestVersion.java +++ /dev/null @@ -1,317 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <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="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="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="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "major", - "filter", - "includeAllowableActions", - "includeRelationships", - "renditionFilter", - "includePolicyIds", - "includeACL", - "extension" -}) -@XmlRootElement(name = "getObjectOfLatestVersion") -public class GetObjectOfLatestVersion { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - 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 = "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 = "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 = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) - protected JAXBElement extension; - - /** - * Gets the value of the repositoryId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the major property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isMajor() { - return major; - } - - /** - * Sets the value of the major property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setMajor(Boolean value) { - this.major = 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. - * - * @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 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 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/GetObjectOfLatestVersionResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetObjectOfLatestVersionResponse.java deleted file mode 100644 index 0a8ef73578..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetObjectOfLatestVersionResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisObjectType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "object" -}) -@XmlRootElement(name = "getObjectOfLatestVersionResponse") -public class GetObjectOfLatestVersionResponse { - - @XmlElement(required = true) - protected CmisObjectType object; - - /** - * Gets the value of the object property. - * - * @return - * possible object is - * {@link CmisObjectType } - * - */ - public CmisObjectType getObject() { - return object; - } - - /** - * Sets the value of the object property. - * - * @param value - * allowed object is - * {@link CmisObjectType } - * - */ - public void setObject(CmisObjectType value) { - this.object = value; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetObjectParents.java b/source/generated/org/alfresco/repo/cmis/ws/GetObjectParents.java deleted file mode 100644 index bbc15427fe..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetObjectParents.java +++ /dev/null @@ -1,262 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "filter", - "includeAllowableActions", - "includeRelationships", - "renditionFilter", - "includeRelativePathSegment", - "extension" -}) -@XmlRootElement(name = "getObjectParents") -public class GetObjectParents { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - 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/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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the filter property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement 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. - * - * @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 deleted file mode 100644 index ae5a7f3c3b..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetObjectParentsResponse.java +++ /dev/null @@ -1,69 +0,0 @@ - -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.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

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>
- *         <element name="parents" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectParentsType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "parents" -}) -@XmlRootElement(name = "getObjectParentsResponse") -public class GetObjectParentsResponse { - - protected List parents; - - /** - * 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 parents property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisObjectParentsType } - * - * - */ - public List getParents() { - if (parents == null) { - parents = new ArrayList(); - } - return this.parents; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetObjectRelationships.java b/source/generated/org/alfresco/repo/cmis/ws/GetObjectRelationships.java deleted file mode 100644 index b34f299269..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetObjectRelationships.java +++ /dev/null @@ -1,318 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="includeSubRelationshipTypes" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="relationshipDirection" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumRelationshipDirection" minOccurs="0"/>
- *         <element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "includeSubRelationshipTypes", - "relationshipDirection", - "typeId", - "filter", - "includeAllowableActions", - "maxItems", - "skipCount", - "extension" -}) -@XmlRootElement(name = "getObjectRelationships") -public class GetObjectRelationships { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String objectId; - protected Boolean includeSubRelationshipTypes; - @XmlElementRef(name = "relationshipDirection", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) - protected JAXBElement relationshipDirection; - @XmlElementRef(name = "typeId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) - protected JAXBElement typeId; - @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 = "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; - - /** - * Gets the value of the repositoryId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the includeSubRelationshipTypes property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isIncludeSubRelationshipTypes() { - return includeSubRelationshipTypes; - } - - /** - * Sets the value of the includeSubRelationshipTypes property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setIncludeSubRelationshipTypes(Boolean value) { - this.includeSubRelationshipTypes = value; - } - - /** - * Gets the value of the relationshipDirection property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link EnumRelationshipDirection }{@code >} - * - */ - public JAXBElement getRelationshipDirection() { - return relationshipDirection; - } - - /** - * Sets the value of the relationshipDirection property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link EnumRelationshipDirection }{@code >} - * - */ - public void setRelationshipDirection(JAXBElement value) { - this.relationshipDirection = ((JAXBElement ) value); - } - - /** - * Gets the value of the typeId property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement getTypeId() { - return typeId; - } - - /** - * Sets the value of the typeId property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public void setTypeId(JAXBElement value) { - this.typeId = ((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. - * - * @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 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/GetObjectRelationshipsResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetObjectRelationshipsResponse.java deleted file mode 100644 index 866dbe4d28..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetObjectRelationshipsResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectListType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "objects" -}) -@XmlRootElement(name = "getObjectRelationshipsResponse") -public class GetObjectRelationshipsResponse { - - @XmlElement(required = true) - protected CmisObjectListType objects; - - /** - * Gets the value of the objects property. - * - * @return - * possible object is - * {@link CmisObjectListType } - * - */ - public CmisObjectListType getObjects() { - return objects; - } - - /** - * Sets the value of the objects property. - * - * @param value - * allowed object is - * {@link CmisObjectListType } - * - */ - public void setObjects(CmisObjectListType value) { - this.objects = value; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetObjectResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetObjectResponse.java deleted file mode 100644 index 1d0b691d87..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetObjectResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="object" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisObjectType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "object" -}) -@XmlRootElement(name = "getObjectResponse") -public class GetObjectResponse { - - @XmlElement(required = true) - protected CmisObjectType object; - - /** - * Gets the value of the object property. - * - * @return - * possible object is - * {@link CmisObjectType } - * - */ - public CmisObjectType getObject() { - return object; - } - - /** - * Sets the value of the object property. - * - * @param value - * allowed object is - * {@link CmisObjectType } - * - */ - public void setObject(CmisObjectType value) { - this.object = value; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetProperties.java b/source/generated/org/alfresco/repo/cmis/ws/GetProperties.java deleted file mode 100644 index 10a4aa6540..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetProperties.java +++ /dev/null @@ -1,150 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "filter", - "extension" -}) -@XmlRootElement(name = "getProperties") -public class GetProperties { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String objectId; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the filter property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement 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 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/GetPropertiesOfLatestVersion.java b/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesOfLatestVersion.java deleted file mode 100644 index 0a10fd4bf3..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesOfLatestVersion.java +++ /dev/null @@ -1,177 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <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="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "major", - "filter", - "extension" -}) -@XmlRootElement(name = "getPropertiesOfLatestVersion") -public class GetPropertiesOfLatestVersion { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - 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 = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) - protected JAXBElement extension; - - /** - * Gets the value of the repositoryId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the major property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isMajor() { - return major; - } - - /** - * Sets the value of the major property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setMajor(Boolean value) { - this.major = 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 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/GetPropertiesOfLatestVersionResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesOfLatestVersionResponse.java deleted file mode 100644 index 85dcfd4433..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesOfLatestVersionResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertiesType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "properties" -}) -@XmlRootElement(name = "getPropertiesOfLatestVersionResponse") -public class GetPropertiesOfLatestVersionResponse { - - @XmlElement(required = true) - protected CmisPropertiesType properties; - - /** - * Gets the value of the properties property. - * - * @return - * possible object is - * {@link CmisPropertiesType } - * - */ - public CmisPropertiesType getProperties() { - return properties; - } - - /** - * Sets the value of the properties property. - * - * @param value - * allowed object is - * {@link CmisPropertiesType } - * - */ - 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 deleted file mode 100644 index 65997203dc..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetPropertiesResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertiesType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "properties" -}) -@XmlRootElement(name = "getPropertiesResponse") -public class GetPropertiesResponse { - - @XmlElement(required = true) - protected CmisPropertiesType properties; - - /** - * Gets the value of the properties property. - * - * @return - * possible object is - * {@link CmisPropertiesType } - * - */ - public CmisPropertiesType getProperties() { - return properties; - } - - /** - * Sets the value of the properties property. - * - * @param value - * allowed object is - * {@link CmisPropertiesType } - * - */ - 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 deleted file mode 100644 index eacac6cea1..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetRenditions.java +++ /dev/null @@ -1,207 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "renditionFilter", - "maxItems", - "skipCount", - "extension" -}) -@XmlRootElement(name = "getRenditions") -public class GetRenditions { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String objectId; - @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; - - /** - * Gets the value of the repositoryId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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. - * - * @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/GetRenditionsResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetRenditionsResponse.java deleted file mode 100644 index 95e817756f..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetRenditionsResponse.java +++ /dev/null @@ -1,69 +0,0 @@ - -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.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

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>
- *         <element name="renditions" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisRenditionType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "renditions" -}) -@XmlRootElement(name = "getRenditionsResponse") -public class GetRenditionsResponse { - - protected List renditions; - - /** - * 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 renditions property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisRenditionType } - * - * - */ - public List getRenditions() { - if (renditions == null) { - renditions = new ArrayList(); - } - 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 deleted file mode 100644 index ce278fc3c0..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetRepositories.java +++ /dev/null @@ -1,65 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@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 deleted file mode 100644 index f03cf751bf..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetRepositoriesResponse.java +++ /dev/null @@ -1,71 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositories" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisRepositoryEntryType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositories" -}) -@XmlRootElement(name = "getRepositoriesResponse") -public class GetRepositoriesResponse { - - @XmlElement(nillable = true) - protected List repositories; - - /** - * 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 repositories property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisRepositoryEntryType } - * - * - */ - public List getRepositories() { - if (repositories == null) { - repositories = new ArrayList(); - } - 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 deleted file mode 100644 index f55a603978..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetRepositoryInfo.java +++ /dev/null @@ -1,94 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index 086857a85c..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetRepositoryInfoResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryInfo" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisRepositoryInfoType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryInfo" -}) -@XmlRootElement(name = "getRepositoryInfoResponse") -public class GetRepositoryInfoResponse { - - @XmlElement(required = true) - protected CmisRepositoryInfoType repositoryInfo; - - /** - * Gets the value of the repositoryInfo property. - * - * @return - * possible object is - * {@link CmisRepositoryInfoType } - * - */ - public CmisRepositoryInfoType getRepositoryInfo() { - return repositoryInfo; - } - - /** - * Sets the value of the repositoryInfo property. - * - * @param value - * allowed object is - * {@link CmisRepositoryInfoType } - * - */ - public void setRepositoryInfo(CmisRepositoryInfoType value) { - this.repositoryInfo = value; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetTypeChildren.java b/source/generated/org/alfresco/repo/cmis/ws/GetTypeChildren.java deleted file mode 100644 index 0669c64fbc..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetTypeChildren.java +++ /dev/null @@ -1,207 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "typeId", - "includePropertyDefinitions", - "maxItems", - "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/200908/", type = JAXBElement.class) - protected JAXBElement typeId; - @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/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; - - /** - * Gets the value of the repositoryId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the typeId property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement getTypeId() { - return typeId; - } - - /** - * Sets the value of the typeId property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public void setTypeId(JAXBElement value) { - this.typeId = ((JAXBElement ) value); - } - - /** - * Gets the value of the includePropertyDefinitions property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public JAXBElement getIncludePropertyDefinitions() { - return includePropertyDefinitions; - } - - /** - * Sets the value of the includePropertyDefinitions property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public void setIncludePropertyDefinitions(JAXBElement value) { - this.includePropertyDefinitions = ((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/GetTypeChildrenResponse.java b/source/generated/org/alfresco/repo/cmis/ws/GetTypeChildrenResponse.java deleted file mode 100644 index 1618aa4d25..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetTypeChildrenResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="types" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisTypeDefinitionListType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "types" -}) -@XmlRootElement(name = "getTypeChildrenResponse") -public class GetTypeChildrenResponse { - - @XmlElement(required = true) - protected CmisTypeDefinitionListType types; - - /** - * Gets the value of the types property. - * - * @return - * possible object is - * {@link CmisTypeDefinitionListType } - * - */ - public CmisTypeDefinitionListType getTypes() { - return types; - } - - /** - * Sets the value of the types property. - * - * @param value - * allowed object is - * {@link CmisTypeDefinitionListType } - * - */ - 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 deleted file mode 100644 index 0bae642c56..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetTypeDefinition.java +++ /dev/null @@ -1,122 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "typeId", - "extension" -}) -@XmlRootElement(name = "getTypeDefinition") -public class GetTypeDefinition { - - @XmlElement(required = true) - 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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the typeId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getTypeId() { - return typeId; - } - - /** - * Sets the value of the typeId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setTypeId(String value) { - 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 deleted file mode 100644 index e30001491c..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetTypeDefinitionResponse.java +++ /dev/null @@ -1,62 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

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>
- *         <element name="type" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisTypeDefinitionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "type" -}) -@XmlRootElement(name = "getTypeDefinitionResponse") -public class GetTypeDefinitionResponse { - - protected CmisTypeDefinitionType type; - - /** - * Gets the value of the type property. - * - * @return - * possible object is - * {@link CmisTypeDefinitionType } - * - */ - public CmisTypeDefinitionType getType() { - return type; - } - - /** - * Sets the value of the type property. - * - * @param value - * allowed object is - * {@link CmisTypeDefinitionType } - * - */ - public void setType(CmisTypeDefinitionType value) { - this.type = value; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/GetTypeDescendants.java b/source/generated/org/alfresco/repo/cmis/ws/GetTypeDescendants.java deleted file mode 100644 index 061e214611..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetTypeDescendants.java +++ /dev/null @@ -1,179 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "typeId", - "depth", - "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/200908/", type = JAXBElement.class) - protected JAXBElement typeId; - @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/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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the typeId property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement getTypeId() { - return typeId; - } - - /** - * Sets the value of the typeId property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public void setTypeId(JAXBElement value) { - this.typeId = ((JAXBElement ) value); - } - - /** - * Gets the value of the depth property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} - * - */ - public JAXBElement getDepth() { - return depth; - } - - /** - * Sets the value of the depth property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link BigInteger }{@code >} - * - */ - public void setDepth(JAXBElement value) { - this.depth = ((JAXBElement ) value); - } - - /** - * Gets the value of the includePropertyDefinitions property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public JAXBElement getIncludePropertyDefinitions() { - return includePropertyDefinitions; - } - - /** - * Sets the value of the includePropertyDefinitions property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public void setIncludePropertyDefinitions(JAXBElement value) { - 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 deleted file mode 100644 index 4d76de5f4e..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/GetTypeDescendantsResponse.java +++ /dev/null @@ -1,69 +0,0 @@ - -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.XmlRootElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

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>
- *         <element name="types" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisTypeContainer" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "types" -}) -@XmlRootElement(name = "getTypeDescendantsResponse") -public class GetTypeDescendantsResponse { - - protected List types; - - /** - * 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 types property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link CmisTypeContainer } - * - * - */ - public List getTypes() { - if (types == null) { - types = new ArrayList(); - } - 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 deleted file mode 100644 index bb8b2f4633..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/MoveObject.java +++ /dev/null @@ -1,178 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "targetFolderId", - "sourceFolderId", - "extension" -}) -@XmlRootElement(name = "moveObject") -public class MoveObject { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String objectId; - @XmlElement(required = true) - 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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the targetFolderId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getTargetFolderId() { - return targetFolderId; - } - - /** - * Sets the value of the targetFolderId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setTargetFolderId(String value) { - this.targetFolderId = value; - } - - /** - * Gets the value of the sourceFolderId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getSourceFolderId() { - return sourceFolderId; - } - - /** - * Sets the value of the sourceFolderId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setSourceFolderId(String value) { - 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 deleted file mode 100644 index 7c8a84438c..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/MoveObjectResponse.java +++ /dev/null @@ -1,94 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index 779538f7a2..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/MultiFilingService.java +++ /dev/null @@ -1,77 +0,0 @@ - -/* - * - */ - -package org.alfresco.repo.cmis.ws; - -import java.net.MalformedURLException; -import java.net.URL; -import javax.xml.namespace.QName; -import javax.xml.ws.Service; -import javax.xml.ws.WebEndpoint; -import javax.xml.ws.WebServiceClient; -import javax.xml.ws.WebServiceFeature; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - - -@WebServiceClient(name = "MultiFilingService", - wsdlLocation = "file: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/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:CMISWS-Service.wsdl"); - } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:CMISWS-Service.wsdl"); - // e.printStackTrace(); - } - WSDL_LOCATION = url; - } - - public MultiFilingService(URL wsdlLocation) { - super(wsdlLocation, SERVICE); - } - - public MultiFilingService(URL wsdlLocation, QName serviceName) { - super(wsdlLocation, serviceName); - } - - public MultiFilingService() { - super(WSDL_LOCATION, SERVICE); - } - - /** - * - * @return - * returns MultiFilingServicePort - */ - @WebEndpoint(name = "MultiFilingServicePort") - public MultiFilingServicePort getMultiFilingServicePort() { - return super.getPort(MultiFilingServicePort, MultiFilingServicePort.class); - } - - /** - * - * @param features - * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. - * @return - * returns MultiFilingServicePort - */ - @WebEndpoint(name = "MultiFilingServicePort") - public MultiFilingServicePort getMultiFilingServicePort(WebServiceFeature... features) { - return super.getPort(MultiFilingServicePort, MultiFilingServicePort.class, features); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/MultiFilingServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/MultiFilingServicePort.java deleted file mode 100644 index 4efa29f9ea..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/MultiFilingServicePort.java +++ /dev/null @@ -1,51 +0,0 @@ -package org.alfresco.repo.cmis.ws; - -import javax.jws.WebMethod; -import javax.jws.WebParam; -import javax.jws.WebParam.Mode; -import javax.jws.WebService; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.ws.RequestWrapper; -import javax.xml.ws.ResponseWrapper; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "MultiFilingServicePort") -@XmlSeeAlso({ObjectFactory.class}) -public interface MultiFilingServicePort { - - @RequestWrapper(localName = "removeObjectFromFolder", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", 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") - @WebMethod - public void removeObjectFromFolder( - @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 = "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; - - @RequestWrapper(localName = "addObjectToFolder", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", 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") - @WebMethod - public void addObjectToFolder( - @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 = "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; -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/NavigationService.java b/source/generated/org/alfresco/repo/cmis/ws/NavigationService.java deleted file mode 100644 index cbd19f9685..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/NavigationService.java +++ /dev/null @@ -1,77 +0,0 @@ - -/* - * - */ - -package org.alfresco.repo.cmis.ws; - -import java.net.MalformedURLException; -import java.net.URL; -import javax.xml.namespace.QName; -import javax.xml.ws.Service; -import javax.xml.ws.WebEndpoint; -import javax.xml.ws.WebServiceClient; -import javax.xml.ws.WebServiceFeature; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - - -@WebServiceClient(name = "NavigationService", - wsdlLocation = "file: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/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:CMISWS-Service.wsdl"); - } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:CMISWS-Service.wsdl"); - // e.printStackTrace(); - } - WSDL_LOCATION = url; - } - - public NavigationService(URL wsdlLocation) { - super(wsdlLocation, SERVICE); - } - - public NavigationService(URL wsdlLocation, QName serviceName) { - super(wsdlLocation, serviceName); - } - - public NavigationService() { - super(WSDL_LOCATION, SERVICE); - } - - /** - * - * @return - * returns NavigationServicePort - */ - @WebEndpoint(name = "NavigationServicePort") - public NavigationServicePort getNavigationServicePort() { - return super.getPort(NavigationServicePort, NavigationServicePort.class); - } - - /** - * - * @param features - * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. - * @return - * returns NavigationServicePort - */ - @WebEndpoint(name = "NavigationServicePort") - public NavigationServicePort getNavigationServicePort(WebServiceFeature... features) { - return super.getPort(NavigationServicePort, NavigationServicePort.class, features); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/NavigationServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/NavigationServicePort.java deleted file mode 100644 index 9ac0c6527e..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/NavigationServicePort.java +++ /dev/null @@ -1,165 +0,0 @@ -package org.alfresco.repo.cmis.ws; - -import javax.jws.WebMethod; -import javax.jws.WebParam; -import javax.jws.WebResult; -import javax.jws.WebService; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.ws.RequestWrapper; -import javax.xml.ws.ResponseWrapper; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "NavigationServicePort") -@XmlSeeAlso({ObjectFactory.class}) -public interface NavigationServicePort { - - @WebResult(name = "parents", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getObjectParents", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectParents") - @ResponseWrapper(localName = "getObjectParentsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectParentsResponse") - @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/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; - - @WebResult(name = "objects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getCheckedOutDocs", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", 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") - @WebMethod - 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/200908/") - java.lang.String folderId, - @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/200908/") - java.lang.String orderBy, - @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 = "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; - - @WebResult(name = "objects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getDescendants", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetDescendants") - @ResponseWrapper(localName = "getDescendantsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetDescendantsResponse") - @WebMethod - public java.util.List getDescendants( - @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/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 = "includePathSegment", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - java.lang.Boolean includePathSegment, - @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - org.alfresco.repo.cmis.ws.CmisExtensionType extension - ) throws CmisException; - - @WebResult(name = "objects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getFolderTree", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetFolderTree") - @ResponseWrapper(localName = "getFolderTreeResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetFolderTreeResponse") - @WebMethod - 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/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 = "includePathSegment", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - java.lang.Boolean includePathSegment, - @WebParam(name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - org.alfresco.repo.cmis.ws.CmisExtensionType extension - ) throws CmisException; - - @WebResult(name = "objects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getChildren", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", 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") - @WebMethod - 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/200908/") - java.lang.String folderId, - @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/200908/") - java.lang.String orderBy, - @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 = "includePathSegment", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - java.lang.Boolean includePathSegment, - @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; - - @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getFolderParent", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetFolderParent") - @ResponseWrapper(localName = "getFolderParentResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetFolderParentResponse") - @WebMethod - public org.alfresco.repo.cmis.ws.CmisObjectType getFolderParent( - @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/200908/") - java.lang.String folderId, - @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; -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/ObjectFactory.java b/source/generated/org/alfresco/repo/cmis/ws/ObjectFactory.java deleted file mode 100644 index 94222ef7a0..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/ObjectFactory.java +++ /dev/null @@ -1,2933 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import java.math.BigInteger; -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the org.alfresco.repo.cmis.ws package. - *

An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _Query_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/core/200908/", "query"); - private final static QName _CmisFault_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "cmisFault"); - private final static QName _Acl_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/core/200908/", "acl"); - private final static QName _AllowableActions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/core/200908/", "allowableActions"); - private final static QName _CreateDocumentFromSourceRemoveACEs_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "removeACEs"); - private final static QName _CreateDocumentFromSourceFolderId_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "folderId"); - private final static QName _CreateDocumentFromSourceExtension_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "extension"); - private final static QName _CreateDocumentFromSourceAddACEs_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "addACEs"); - private final static QName _CreateDocumentFromSourceVersioningState_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "versioningState"); - private final static QName _ApplyACLACLPropagation_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "ACLPropagation"); - private final static QName _GetObjectIncludeRelationships_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "includeRelationships"); - private final static QName _GetObjectIncludeAllowableActions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "includeAllowableActions"); - private final static QName _GetObjectIncludeACL_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "includeACL"); - private final static QName _GetObjectRenditionFilter_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "renditionFilter"); - private final static QName _GetObjectFilter_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "filter"); - private final static QName _GetObjectIncludePolicyIds_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "includePolicyIds"); - private final static QName _DeleteObjectAllVersions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "allVersions"); - private final static QName _QuerySkipCount_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "skipCount"); - private final static QName _QueryMaxItems_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "maxItems"); - private final static QName _QuerySearchAllVersions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "searchAllVersions"); - private final static QName _CheckInContentStream_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "contentStream"); - private final static QName _CheckInMajor_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "major"); - private final static QName _CheckInProperties_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "properties"); - private final static QName _CheckInCheckinComment_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "checkinComment"); - 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 _GetFolderTreeDepth_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "depth"); - private final static QName _GetFolderTreeIncludePathSegment_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "includePathSegment"); - private final static QName _GetObjectParentsIncludeRelativePathSegment_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "includeRelativePathSegment"); - private final static QName _SetContentStreamChangeToken_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "changeToken"); - private final static QName _SetContentStreamOverwriteFlag_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "overwriteFlag"); - 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 _GetCheckedOutDocsOrderBy_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "orderBy"); - private final static QName _GetContentStreamOffset_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "offset"); - private final static QName _GetContentStreamLength_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "length"); - private final static QName _GetContentStreamStreamId_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "streamId"); - private final static QName _GetObjectRelationshipsRelationshipDirection_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "relationshipDirection"); - private final static QName _DeleteTreeContinueOnFailure_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "continueOnFailure"); - private final static QName _DeleteTreeUnfileObjects_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "unfileObjects"); - private final static QName _GetACLOnlyBasicPermissions_QNAME = new QName("http://docs.oasis-open.org/ns/cmis/messaging/200908/", "onlyBasicPermissions"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.alfresco.repo.cmis.ws - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link ApplyACL } - * - */ - public ApplyACL createApplyACL() { - return new ApplyACL(); - } - - /** - * Create an instance of {@link GetACLResponse } - * - */ - public GetACLResponse createGetACLResponse() { - return new GetACLResponse(); - } - - /** - * Create an instance of {@link CmisTypeDefinitionListType } - * - */ - public CmisTypeDefinitionListType createCmisTypeDefinitionListType() { - return new CmisTypeDefinitionListType(); - } - - /** - * Create an instance of {@link GetAllowableActionsResponse } - * - */ - public GetAllowableActionsResponse createGetAllowableActionsResponse() { - return new GetAllowableActionsResponse(); - } - - /** - * Create an instance of {@link GetRepositoryInfo } - * - */ - public GetRepositoryInfo createGetRepositoryInfo() { - return new GetRepositoryInfo(); - } - - /** - * Create an instance of {@link ApplyPolicyResponse } - * - */ - public ApplyPolicyResponse createApplyPolicyResponse() { - return new ApplyPolicyResponse(); - } - - /** - * Create an instance of {@link GetObjectParentsResponse } - * - */ - public GetObjectParentsResponse createGetObjectParentsResponse() { - return new GetObjectParentsResponse(); - } - - /** - * Create an instance of {@link DeleteObject } - * - */ - public DeleteObject createDeleteObject() { - return new DeleteObject(); - } - - /** - * Create an instance of {@link GetRepositoryInfoResponse } - * - */ - public GetRepositoryInfoResponse createGetRepositoryInfoResponse() { - return new GetRepositoryInfoResponse(); - } - - /** - * Create an instance of {@link CmisPropertyDecimalDefinitionType } - * - */ - public CmisPropertyDecimalDefinitionType createCmisPropertyDecimalDefinitionType() { - return new CmisPropertyDecimalDefinitionType(); - } - - /** - * Create an instance of {@link CmisTypeContainer } - * - */ - public CmisTypeContainer createCmisTypeContainer() { - return new CmisTypeContainer(); - } - - /** - * Create an instance of {@link CmisRepositoryInfoType } - * - */ - public CmisRepositoryInfoType createCmisRepositoryInfoType() { - return new CmisRepositoryInfoType(); - } - - /** - * Create an instance of {@link GetPropertiesOfLatestVersionResponse } - * - */ - public GetPropertiesOfLatestVersionResponse createGetPropertiesOfLatestVersionResponse() { - return new GetPropertiesOfLatestVersionResponse(); - } - - /** - * Create an instance of {@link CmisTypeRelationshipDefinitionType } - * - */ - public CmisTypeRelationshipDefinitionType createCmisTypeRelationshipDefinitionType() { - return new CmisTypeRelationshipDefinitionType(); - } - - /** - * Create an instance of {@link CmisTypeDefinitionType } - * - */ - public CmisTypeDefinitionType createCmisTypeDefinitionType() { - return new CmisTypeDefinitionType(); - } - - /** - * Create an instance of {@link GetAllVersionsResponse } - * - */ - public GetAllVersionsResponse createGetAllVersionsResponse() { - return new GetAllVersionsResponse(); - } - - /** - * Create an instance of {@link GetContentChanges } - * - */ - public GetContentChanges createGetContentChanges() { - return new GetContentChanges(); - } - - /** - * Create an instance of {@link CmisAccessControlPrincipalType } - * - */ - public CmisAccessControlPrincipalType createCmisAccessControlPrincipalType() { - return new CmisAccessControlPrincipalType(); - } - - /** - * Create an instance of {@link CmisPropertyDecimal } - * - */ - public CmisPropertyDecimal createCmisPropertyDecimal() { - return new CmisPropertyDecimal(); - } - - /** - * Create an instance of {@link CmisPropertyHtml } - * - */ - public CmisPropertyHtml createCmisPropertyHtml() { - return new CmisPropertyHtml(); - } - - /** - * Create an instance of {@link CmisProperty } - * - */ - public CmisProperty createCmisProperty() { - return new CmisProperty(); - } - - /** - * Create an instance of {@link GetDescendantsResponse } - * - */ - public GetDescendantsResponse createGetDescendantsResponse() { - return new GetDescendantsResponse(); - } - - /** - * Create an instance of {@link GetContentStreamResponse } - * - */ - public GetContentStreamResponse createGetContentStreamResponse() { - return new GetContentStreamResponse(); - } - - /** - * Create an instance of {@link GetFolderParentResponse } - * - */ - public GetFolderParentResponse createGetFolderParentResponse() { - return new GetFolderParentResponse(); - } - - /** - * Create an instance of {@link CmisRenditionType } - * - */ - public CmisRenditionType createCmisRenditionType() { - return new CmisRenditionType(); - } - - /** - * Create an instance of {@link CmisPropertyDateTime } - * - */ - public CmisPropertyDateTime createCmisPropertyDateTime() { - return new CmisPropertyDateTime(); - } - - /** - * Create an instance of {@link GetFolderTree } - * - */ - public GetFolderTree createGetFolderTree() { - return new GetFolderTree(); - } - - /** - * Create an instance of {@link DeleteContentStream } - * - */ - public DeleteContentStream createDeleteContentStream() { - return new DeleteContentStream(); - } - - /** - * Create an instance of {@link GetObjectParents } - * - */ - public GetObjectParents createGetObjectParents() { - return new GetObjectParents(); - } - - /** - * Create an instance of {@link CmisACLCapabilityType } - * - */ - public CmisACLCapabilityType createCmisACLCapabilityType() { - return new CmisACLCapabilityType(); - } - - /** - * Create an instance of {@link CmisChoiceUri } - * - */ - public CmisChoiceUri createCmisChoiceUri() { - return new CmisChoiceUri(); - } - - /** - * Create an instance of {@link AddObjectToFolderResponse } - * - */ - public AddObjectToFolderResponse createAddObjectToFolderResponse() { - return new AddObjectToFolderResponse(); - } - - /** - * Create an instance of {@link CmisPropertyHtmlDefinitionType } - * - */ - public CmisPropertyHtmlDefinitionType createCmisPropertyHtmlDefinitionType() { - return new CmisPropertyHtmlDefinitionType(); - } - - /** - * Create an instance of {@link GetFolderParent } - * - */ - public GetFolderParent createGetFolderParent() { - return new GetFolderParent(); - } - - /** - * Create an instance of {@link GetObjectResponse } - * - */ - public GetObjectResponse createGetObjectResponse() { - return new GetObjectResponse(); - } - - /** - * Create an instance of {@link CmisACLType } - * - */ - public CmisACLType createCmisACLType() { - return new CmisACLType(); - } - - /** - * Create an instance of {@link GetTypeChildren } - * - */ - public GetTypeChildren createGetTypeChildren() { - return new GetTypeChildren(); - } - - /** - * Create an instance of {@link CmisPropertyBoolean } - * - */ - public CmisPropertyBoolean createCmisPropertyBoolean() { - return new CmisPropertyBoolean(); - } - - /** - * Create an instance of {@link ApplyACLResponse } - * - */ - public ApplyACLResponse createApplyACLResponse() { - return new ApplyACLResponse(); - } - - /** - * Create an instance of {@link SetAspects } - * - */ - public SetAspects createSetAspects() { - return new SetAspects(); - } - - /** - * Create an instance of {@link CheckOutResponse } - * - */ - public CheckOutResponse createCheckOutResponse() { - return new CheckOutResponse(); - } - - /** - * Create an instance of {@link CmisPropertyIntegerDefinitionType } - * - */ - public CmisPropertyIntegerDefinitionType createCmisPropertyIntegerDefinitionType() { - return new CmisPropertyIntegerDefinitionType(); - } - - /** - * Create an instance of {@link CmisChoiceDecimal } - * - */ - public CmisChoiceDecimal createCmisChoiceDecimal() { - return new CmisChoiceDecimal(); - } - - /** - * Create an instance of {@link GetRepositoriesResponse } - * - */ - public GetRepositoriesResponse createGetRepositoriesResponse() { - return new GetRepositoriesResponse(); - } - - /** - * Create an instance of {@link CmisRepositoryCapabilitiesType } - * - */ - public CmisRepositoryCapabilitiesType createCmisRepositoryCapabilitiesType() { - return new CmisRepositoryCapabilitiesType(); - } - - /** - * Create an instance of {@link SetContentStreamResponse } - * - */ - public SetContentStreamResponse createSetContentStreamResponse() { - return new SetContentStreamResponse(); - } - - /** - * Create an instance of {@link CmisPermissionDefinition } - * - */ - public CmisPermissionDefinition createCmisPermissionDefinition() { - return new CmisPermissionDefinition(); - } - - /** - * Create an instance of {@link CmisQueryType } - * - */ - public CmisQueryType createCmisQueryType() { - return new CmisQueryType(); - } - - /** - * Create an instance of {@link GetTypeDescendantsResponse } - * - */ - public GetTypeDescendantsResponse createGetTypeDescendantsResponse() { - return new GetTypeDescendantsResponse(); - } - - /** - * Create an instance of {@link GetTypeDefinition } - * - */ - public GetTypeDefinition createGetTypeDefinition() { - return new GetTypeDefinition(); - } - - /** - * Create an instance of {@link CmisContentStreamType } - * - */ - public CmisContentStreamType createCmisContentStreamType() { - return new CmisContentStreamType(); - } - - /** - * Create an instance of {@link RemovePolicy } - * - */ - public RemovePolicy createRemovePolicy() { - return new RemovePolicy(); - } - - /** - * Create an instance of {@link CmisTypePolicyDefinitionType } - * - */ - public CmisTypePolicyDefinitionType createCmisTypePolicyDefinitionType() { - return new CmisTypePolicyDefinitionType(); - } - - /** - * Create an instance of {@link GetContentStream } - * - */ - public GetContentStream createGetContentStream() { - return new GetContentStream(); - } - - /** - * Create an instance of {@link MoveObjectResponse } - * - */ - public MoveObjectResponse createMoveObjectResponse() { - return new MoveObjectResponse(); - } - - /** - * Create an instance of {@link GetObjectByPath } - * - */ - public GetObjectByPath createGetObjectByPath() { - return new GetObjectByPath(); - } - - /** - * Create an instance of {@link CmisPropertiesType } - * - */ - public CmisPropertiesType createCmisPropertiesType() { - return new CmisPropertiesType(); - } - - /** - * Create an instance of {@link CmisChoice } - * - */ - public CmisChoice createCmisChoice() { - return new CmisChoice(); - } - - /** - * Create an instance of {@link UpdatePropertiesResponse } - * - */ - public UpdatePropertiesResponse createUpdatePropertiesResponse() { - return new UpdatePropertiesResponse(); - } - - /** - * Create an instance of {@link DeleteTree } - * - */ - public DeleteTree createDeleteTree() { - return new DeleteTree(); - } - - /** - * Create an instance of {@link CancelCheckOutResponse } - * - */ - public CancelCheckOutResponse createCancelCheckOutResponse() { - return new CancelCheckOutResponse(); - } - - /** - * Create an instance of {@link CmisRepositoryEntryType } - * - */ - public CmisRepositoryEntryType createCmisRepositoryEntryType() { - return new CmisRepositoryEntryType(); - } - - /** - * Create an instance of {@link CmisPropertyInteger } - * - */ - public CmisPropertyInteger createCmisPropertyInteger() { - return new CmisPropertyInteger(); - } - - /** - * Create an instance of {@link CmisPropertyUriDefinitionType } - * - */ - public CmisPropertyUriDefinitionType createCmisPropertyUriDefinitionType() { - return new CmisPropertyUriDefinitionType(); - } - - /** - * Create an instance of {@link GetAppliedPolicies } - * - */ - public GetAppliedPolicies createGetAppliedPolicies() { - return new GetAppliedPolicies(); - } - - /** - * Create an instance of {@link GetACL } - * - */ - public GetACL createGetACL() { - return new GetACL(); - } - - /** - * Create an instance of {@link UpdateProperties } - * - */ - public UpdateProperties createUpdateProperties() { - return new UpdateProperties(); - } - - /** - * Create an instance of {@link GetAllVersions } - * - */ - public GetAllVersions createGetAllVersions() { - return new GetAllVersions(); - } - - /** - * Create an instance of {@link CmisPropertyBooleanDefinitionType } - * - */ - public CmisPropertyBooleanDefinitionType createCmisPropertyBooleanDefinitionType() { - return new CmisPropertyBooleanDefinitionType(); - } - - /** - * Create an instance of {@link CmisAllowableActionsType } - * - */ - public CmisAllowableActionsType createCmisAllowableActionsType() { - return new CmisAllowableActionsType(); - } - - /** - * Create an instance of {@link CreateDocument } - * - */ - public CreateDocument createCreateDocument() { - return new CreateDocument(); - } - - /** - * Create an instance of {@link CreateRelationship } - * - */ - public CreateRelationship createCreateRelationship() { - return new CreateRelationship(); - } - - /** - * Create an instance of {@link CmisChoiceString } - * - */ - public CmisChoiceString createCmisChoiceString() { - return new CmisChoiceString(); - } - - /** - * Create an instance of {@link GetPropertiesOfLatestVersion } - * - */ - public GetPropertiesOfLatestVersion createGetPropertiesOfLatestVersion() { - return new GetPropertiesOfLatestVersion(); - } - - /** - * Create an instance of {@link GetRenditionsResponse } - * - */ - public GetRenditionsResponse createGetRenditionsResponse() { - return new GetRenditionsResponse(); - } - - /** - * Create an instance of {@link CmisAccessControlListType } - * - */ - public CmisAccessControlListType createCmisAccessControlListType() { - return new CmisAccessControlListType(); - } - - /** - * Create an instance of {@link CmisPropertyId } - * - */ - public CmisPropertyId createCmisPropertyId() { - return new CmisPropertyId(); - } - - /** - * Create an instance of {@link GetRepositories } - * - */ - public GetRepositories createGetRepositories() { - return new GetRepositories(); - } - - /** - * Create an instance of {@link CmisTypeFolderDefinitionType } - * - */ - public CmisTypeFolderDefinitionType createCmisTypeFolderDefinitionType() { - return new CmisTypeFolderDefinitionType(); - } - - /** - * Create an instance of {@link CmisFaultType } - * - */ - public CmisFaultType createCmisFaultType() { - return new CmisFaultType(); - } - - /** - * Create an instance of {@link CmisPropertyString } - * - */ - public CmisPropertyString createCmisPropertyString() { - return new CmisPropertyString(); - } - - /** - * Create an instance of {@link GetAppliedPoliciesResponse } - * - */ - public GetAppliedPoliciesResponse createGetAppliedPoliciesResponse() { - return new GetAppliedPoliciesResponse(); - } - - /** - * Create an instance of {@link CmisChoiceBoolean } - * - */ - public CmisChoiceBoolean createCmisChoiceBoolean() { - return new CmisChoiceBoolean(); - } - - /** - * Create an instance of {@link CreateDocumentFromSource } - * - */ - public CreateDocumentFromSource createCreateDocumentFromSource() { - return new CreateDocumentFromSource(); - } - - /** - * Create an instance of {@link GetFolderTreeResponse } - * - */ - public GetFolderTreeResponse createGetFolderTreeResponse() { - return new GetFolderTreeResponse(); - } - - /** - * Create an instance of {@link GetObject } - * - */ - public GetObject createGetObject() { - return new GetObject(); - } - - /** - * Create an instance of {@link GetContentChangesResponse } - * - */ - public GetContentChangesResponse createGetContentChangesResponse() { - return new GetContentChangesResponse(); - } - - /** - * Create an instance of {@link CreateDocumentFromSourceResponse } - * - */ - public CreateDocumentFromSourceResponse createCreateDocumentFromSourceResponse() { - return new CreateDocumentFromSourceResponse(); - } - - /** - * Create an instance of {@link DeleteObjectResponse } - * - */ - public DeleteObjectResponse createDeleteObjectResponse() { - return new DeleteObjectResponse(); - } - - /** - * Create an instance of {@link GetCheckedOutDocsResponse } - * - */ - public GetCheckedOutDocsResponse createGetCheckedOutDocsResponse() { - return new GetCheckedOutDocsResponse(); - } - - /** - * Create an instance of {@link CmisPropertyDefinitionType } - * - */ - public CmisPropertyDefinitionType createCmisPropertyDefinitionType() { - return new CmisPropertyDefinitionType(); - } - - /** - * Create an instance of {@link Query } - * - */ - public Query createQuery() { - return new Query(); - } - - /** - * Create an instance of {@link CmisObjectInFolderContainerType } - * - */ - public CmisObjectInFolderContainerType createCmisObjectInFolderContainerType() { - return new CmisObjectInFolderContainerType(); - } - - /** - * Create an instance of {@link RemovePolicyResponse } - * - */ - public RemovePolicyResponse createRemovePolicyResponse() { - return new RemovePolicyResponse(); - } - - /** - * Create an instance of {@link GetObjectOfLatestVersionResponse } - * - */ - public GetObjectOfLatestVersionResponse createGetObjectOfLatestVersionResponse() { - return new GetObjectOfLatestVersionResponse(); - } - - /** - * Create an instance of {@link CmisPropertyDateTimeDefinitionType } - * - */ - public CmisPropertyDateTimeDefinitionType createCmisPropertyDateTimeDefinitionType() { - return new CmisPropertyDateTimeDefinitionType(); - } - - /** - * Create an instance of {@link CheckIn } - * - */ - public CheckIn createCheckIn() { - return new CheckIn(); - } - - /** - * Create an instance of {@link CmisChoiceId } - * - */ - public CmisChoiceId createCmisChoiceId() { - return new CmisChoiceId(); - } - - /** - * Create an instance of {@link CreateFolder } - * - */ - public CreateFolder createCreateFolder() { - return new CreateFolder(); - } - - /** - * Create an instance of {@link DeleteTreeResponse.FailedToDelete } - * - */ - public DeleteTreeResponse.FailedToDelete createDeleteTreeResponseFailedToDelete() { - return new DeleteTreeResponse.FailedToDelete(); - } - - /** - * Create an instance of {@link CreatePolicy } - * - */ - public CreatePolicy createCreatePolicy() { - return new CreatePolicy(); - } - - /** - * Create an instance of {@link CmisTypeDocumentDefinitionType } - * - */ - public CmisTypeDocumentDefinitionType createCmisTypeDocumentDefinitionType() { - return new CmisTypeDocumentDefinitionType(); - } - - /** - * Create an instance of {@link CmisObjectParentsType } - * - */ - public CmisObjectParentsType createCmisObjectParentsType() { - return new CmisObjectParentsType(); - } - - /** - * Create an instance of {@link CmisPropertyStringDefinitionType } - * - */ - public CmisPropertyStringDefinitionType createCmisPropertyStringDefinitionType() { - return new CmisPropertyStringDefinitionType(); - } - - /** - * Create an instance of {@link DeleteTreeResponse } - * - */ - public DeleteTreeResponse createDeleteTreeResponse() { - return new DeleteTreeResponse(); - } - - /** - * Create an instance of {@link RemoveObjectFromFolder } - * - */ - public RemoveObjectFromFolder createRemoveObjectFromFolder() { - return new RemoveObjectFromFolder(); - } - - /** - * Create an instance of {@link CreateRelationshipResponse } - * - */ - public CreateRelationshipResponse createCreateRelationshipResponse() { - return new CreateRelationshipResponse(); - } - - /** - * Create an instance of {@link CheckOut } - * - */ - public CheckOut createCheckOut() { - return new CheckOut(); - } - - /** - * Create an instance of {@link CmisPropertyIdDefinitionType } - * - */ - public CmisPropertyIdDefinitionType createCmisPropertyIdDefinitionType() { - return new CmisPropertyIdDefinitionType(); - } - - /** - * Create an instance of {@link GetTypeChildrenResponse } - * - */ - public GetTypeChildrenResponse createGetTypeChildrenResponse() { - return new GetTypeChildrenResponse(); - } - - /** - * Create an instance of {@link SetContentStream } - * - */ - public SetContentStream createSetContentStream() { - return new SetContentStream(); - } - - /** - * Create an instance of {@link CmisPermissionMapping } - * - */ - public CmisPermissionMapping createCmisPermissionMapping() { - return new CmisPermissionMapping(); - } - - /** - * Create an instance of {@link Aspects } - * - */ - public Aspects createAspects() { - return new Aspects(); - } - - /** - * Create an instance of {@link GetObjectOfLatestVersion } - * - */ - public GetObjectOfLatestVersion createGetObjectOfLatestVersion() { - return new GetObjectOfLatestVersion(); - } - - /** - * Create an instance of {@link CmisObjectType } - * - */ - public CmisObjectType createCmisObjectType() { - return new CmisObjectType(); - } - - /** - * Create an instance of {@link CmisListOfIdsType } - * - */ - public CmisListOfIdsType createCmisListOfIdsType() { - return new CmisListOfIdsType(); - } - - /** - * Create an instance of {@link GetProperties } - * - */ - public GetProperties createGetProperties() { - return new GetProperties(); - } - - /** - * Create an instance of {@link CmisObjectListType } - * - */ - public CmisObjectListType createCmisObjectListType() { - return new CmisObjectListType(); - } - - /** - * Create an instance of {@link GetCheckedOutDocs } - * - */ - public GetCheckedOutDocs createGetCheckedOutDocs() { - return new GetCheckedOutDocs(); - } - - /** - * Create an instance of {@link QueryResponse } - * - */ - public QueryResponse createQueryResponse() { - return new QueryResponse(); - } - - /** - * Create an instance of {@link ApplyPolicy } - * - */ - public ApplyPolicy createApplyPolicy() { - return new ApplyPolicy(); - } - - /** - * Create an instance of {@link GetTypeDefinitionResponse } - * - */ - public GetTypeDefinitionResponse createGetTypeDefinitionResponse() { - return new GetTypeDefinitionResponse(); - } - - /** - * 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 CmisObjectInFolderType } - * - */ - public CmisObjectInFolderType createCmisObjectInFolderType() { - return new CmisObjectInFolderType(); - } - - /** - * Create an instance of {@link DeleteContentStreamResponse } - * - */ - public DeleteContentStreamResponse createDeleteContentStreamResponse() { - return new DeleteContentStreamResponse(); - } - - /** - * Create an instance of {@link CmisExtensionType } - * - */ - public CmisExtensionType createCmisExtensionType() { - return new CmisExtensionType(); - } - - /** - * Create an instance of {@link CmisPropertyUri } - * - */ - public CmisPropertyUri createCmisPropertyUri() { - return new CmisPropertyUri(); - } - - /** - * Create an instance of {@link GetObjectRelationships } - * - */ - public GetObjectRelationships createGetObjectRelationships() { - return new GetObjectRelationships(); - } - - /** - * Create an instance of {@link MoveObject } - * - */ - public MoveObject createMoveObject() { - return new MoveObject(); - } - - /** - * Create an instance of {@link GetAllowableActions } - * - */ - public GetAllowableActions createGetAllowableActions() { - return new GetAllowableActions(); - } - - /** - * Create an instance of {@link GetChildrenResponse } - * - */ - public GetChildrenResponse createGetChildrenResponse() { - return new GetChildrenResponse(); - } - - /** - * Create an instance of {@link GetRenditions } - * - */ - public GetRenditions createGetRenditions() { - return new GetRenditions(); - } - - /** - * Create an instance of {@link CmisObjectInFolderListType } - * - */ - public CmisObjectInFolderListType createCmisObjectInFolderListType() { - return new CmisObjectInFolderListType(); - } - - /** - * Create an instance of {@link CreateFolderResponse } - * - */ - public CreateFolderResponse createCreateFolderResponse() { - return new CreateFolderResponse(); - } - - /** - * Create an instance of {@link GetChildren } - * - */ - public GetChildren createGetChildren() { - return new GetChildren(); - } - - /** - * Create an instance of {@link CreatePolicyResponse } - * - */ - public CreatePolicyResponse createCreatePolicyResponse() { - return new CreatePolicyResponse(); - } - - /** - * Create an instance of {@link CmisChoiceHtml } - * - */ - public CmisChoiceHtml createCmisChoiceHtml() { - return new CmisChoiceHtml(); - } - - /** - * Create an instance of {@link GetObjectRelationshipsResponse } - * - */ - public GetObjectRelationshipsResponse createGetObjectRelationshipsResponse() { - return new GetObjectRelationshipsResponse(); - } - - /** - * Create an instance of {@link GetTypeDescendants } - * - */ - public GetTypeDescendants createGetTypeDescendants() { - return new GetTypeDescendants(); - } - - /** - * Create an instance of {@link CreateDocumentResponse } - * - */ - public CreateDocumentResponse createCreateDocumentResponse() { - return new CreateDocumentResponse(); - } - - /** - * Create an instance of {@link AddObjectToFolder } - * - */ - public AddObjectToFolder createAddObjectToFolder() { - return new AddObjectToFolder(); - } - - /** - * Create an instance of {@link GetPropertiesResponse } - * - */ - public GetPropertiesResponse createGetPropertiesResponse() { - return new GetPropertiesResponse(); - } - - /** - * Create an instance of {@link CheckInResponse } - * - */ - public CheckInResponse createCheckInResponse() { - return new CheckInResponse(); - } - - /** - * Create an instance of {@link CmisChangeEventType } - * - */ - public CmisChangeEventType createCmisChangeEventType() { - return new CmisChangeEventType(); - } - - /** - * Create an instance of {@link CancelCheckOut } - * - */ - public CancelCheckOut createCancelCheckOut() { - return new CancelCheckOut(); - } - - /** - * Create an instance of {@link GetObjectByPathResponse } - * - */ - public GetObjectByPathResponse createGetObjectByPathResponse() { - return new GetObjectByPathResponse(); - } - - /** - * Create an instance of {@link CmisChoiceInteger } - * - */ - public CmisChoiceInteger createCmisChoiceInteger() { - return new CmisChoiceInteger(); - } - - /** - * Create an instance of {@link RemoveObjectFromFolderResponse } - * - */ - public RemoveObjectFromFolderResponse createRemoveObjectFromFolderResponse() { - return new RemoveObjectFromFolderResponse(); - } - - /** - * Create an instance of {@link GetDescendants } - * - */ - public GetDescendants createGetDescendants() { - return new GetDescendants(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CmisQueryType }{@code >}} - * - */ - @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 CmisFaultType }{@code >}} - * - */ - @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 CmisAccessControlListType }{@code >}} - * - */ - @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 CmisAllowableActionsType }{@code >}} - * - */ - @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/200908/", name = "removeACEs", scope = CreateDocumentFromSource.class) - public JAXBElement createCreateDocumentFromSourceRemoveACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateDocumentFromSourceRemoveACEs_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(_CreateDocumentFromSourceFolderId_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(_CreateDocumentFromSourceExtension_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 = "addACEs", scope = CreateDocumentFromSource.class) - public JAXBElement createCreateDocumentFromSourceAddACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateDocumentFromSourceAddACEs_QNAME, CmisAccessControlListType.class, CreateDocumentFromSource.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(_CreateDocumentFromSourceVersioningState_QNAME, EnumVersioningState.class, CreateDocumentFromSource.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link EnumACLPropagation }{@code >}} - * - */ - @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 CmisExtensionType }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "extension", scope = ApplyACL.class) - public JAXBElement createApplyACLExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, ApplyACL.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(_CreateDocumentFromSourceExtension_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 = ApplyPolicyResponse.class) - public JAXBElement createApplyPolicyResponseExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, ApplyPolicyResponse.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 = GetObject.class) - public JAXBElement createGetObjectIncludeRelationships(EnumIncludeRelationships value) { - return new JAXBElement(_GetObjectIncludeRelationships_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/200908/", name = "includeAllowableActions", scope = GetObject.class) - public JAXBElement createGetObjectIncludeAllowableActions(Boolean value) { - return new JAXBElement(_GetObjectIncludeAllowableActions_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/200908/", name = "includeACL", scope = GetObject.class) - public JAXBElement createGetObjectIncludeACL(Boolean value) { - return new JAXBElement(_GetObjectIncludeACL_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/200908/", name = "renditionFilter", scope = GetObject.class) - public JAXBElement createGetObjectRenditionFilter(String value) { - return new JAXBElement(_GetObjectRenditionFilter_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/200908/", name = "filter", scope = GetObject.class) - public JAXBElement createGetObjectFilter(String value) { - return new JAXBElement(_GetObjectFilter_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 = GetObject.class) - public JAXBElement createGetObjectExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, GetObject.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 = GetObject.class) - public JAXBElement createGetObjectIncludePolicyIds(Boolean value) { - return new JAXBElement(_GetObjectIncludePolicyIds_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/200908/", name = "allVersions", scope = DeleteObject.class) - public JAXBElement createDeleteObjectAllVersions(Boolean value) { - return new JAXBElement(_DeleteObjectAllVersions_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 = DeleteObject.class) - public JAXBElement createDeleteObjectExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.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 = CreateDocumentFromSourceResponse.class) - public JAXBElement createCreateDocumentFromSourceResponseExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, CreateDocumentFromSourceResponse.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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, DeleteObjectResponse.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 = RemovePolicyResponse.class) - public JAXBElement createRemovePolicyResponseExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, RemovePolicyResponse.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 = Query.class) - public JAXBElement createQuerySkipCount(BigInteger value) { - return new JAXBElement(_QuerySkipCount_QNAME, BigInteger.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(_QueryMaxItems_QNAME, BigInteger.class, Query.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 = Query.class) - public JAXBElement createQueryIncludeRelationships(EnumIncludeRelationships value) { - return new JAXBElement(_GetObjectIncludeRelationships_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/200908/", name = "includeAllowableActions", scope = Query.class) - public JAXBElement createQueryIncludeAllowableActions(Boolean value) { - return new JAXBElement(_GetObjectIncludeAllowableActions_QNAME, Boolean.class, Query.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 = Query.class) - public JAXBElement createQueryRenditionFilter(String value) { - return new JAXBElement(_GetObjectRenditionFilter_QNAME, String.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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, Query.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} - * - */ - @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 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(_CreateDocumentFromSourceRemoveACEs_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(_CheckInContentStream_QNAME, CmisContentStreamType.class, CheckIn.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); - } - - /** - * 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 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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.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 = "addACEs", scope = CheckIn.class) - public JAXBElement createCheckInAddACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateDocumentFromSourceAddACEs_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/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 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(_QueryMaxItems_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(_GetObjectIncludeACL_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(_GetObjectFilter_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 = GetContentChanges.class) - public JAXBElement createGetContentChangesExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.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 = "includePolicyIds", scope = GetContentChanges.class) - public JAXBElement createGetContentChangesIncludePolicyIds(Boolean value) { - return new JAXBElement(_GetObjectIncludePolicyIds_QNAME, Boolean.class, GetContentChanges.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(_CreateDocumentFromSourceRemoveACEs_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(_CreateDocumentFromSourceExtension_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 = "addACEs", scope = CreateFolder.class) - public JAXBElement createCreateFolderAddACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateDocumentFromSourceAddACEs_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/200908/", name = "removeACEs", scope = CreatePolicy.class) - public JAXBElement createCreatePolicyRemoveACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateDocumentFromSourceRemoveACEs_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(_CreateDocumentFromSourceFolderId_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(_CreateDocumentFromSourceExtension_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 = "addACEs", scope = CreatePolicy.class) - public JAXBElement createCreatePolicyAddACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateDocumentFromSourceAddACEs_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 = RemoveObjectFromFolder.class) - public JAXBElement createRemoveObjectFromFolderFolderId(String value) { - return new JAXBElement(_CreateDocumentFromSourceFolderId_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(_CreateDocumentFromSourceExtension_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 = CreateRelationshipResponse.class) - public JAXBElement createCreateRelationshipResponseExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, CreateRelationshipResponse.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(_GetObjectIncludeRelationships_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(_GetObjectIncludeAllowableActions_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/200908/", name = "renditionFilter", scope = GetFolderTree.class) - public JAXBElement createGetFolderTreeRenditionFilter(String value) { - return new JAXBElement(_GetObjectRenditionFilter_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 = "filter", scope = GetFolderTree.class) - public JAXBElement createGetFolderTreeFilter(String value) { - return new JAXBElement(_GetObjectFilter_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(_GetFolderTreeDepth_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 = GetFolderTree.class) - public JAXBElement createGetFolderTreeExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.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 = "includePathSegment", scope = GetFolderTree.class) - public JAXBElement createGetFolderTreeIncludePathSegment(Boolean value) { - return new JAXBElement(_GetFolderTreeIncludePathSegment_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 = CheckOut.class) - public JAXBElement createCheckOutExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, CheckOut.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(_GetObjectIncludeRelationships_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(_GetObjectIncludeAllowableActions_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 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(_GetObjectRenditionFilter_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 = "filter", scope = GetObjectParents.class) - public JAXBElement createGetObjectParentsFilter(String value) { - return new JAXBElement(_GetObjectFilter_QNAME, String.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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.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 = DeleteContentStream.class) - public JAXBElement createDeleteContentStreamExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, DeleteContentStream.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(_SetContentStreamChangeToken_QNAME, String.class, SetContentStream.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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, SetContentStream.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 = GetObjectOfLatestVersion.class) - public JAXBElement createGetObjectOfLatestVersionIncludeRelationships(EnumIncludeRelationships value) { - return new JAXBElement(_GetObjectIncludeRelationships_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/200908/", name = "includeAllowableActions", scope = GetObjectOfLatestVersion.class) - public JAXBElement createGetObjectOfLatestVersionIncludeAllowableActions(Boolean value) { - return new JAXBElement(_GetObjectIncludeAllowableActions_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/200908/", name = "includeACL", scope = GetObjectOfLatestVersion.class) - public JAXBElement createGetObjectOfLatestVersionIncludeACL(Boolean value) { - return new JAXBElement(_GetObjectIncludeACL_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 = "renditionFilter", scope = GetObjectOfLatestVersion.class) - public JAXBElement createGetObjectOfLatestVersionRenditionFilter(String value) { - return new JAXBElement(_GetObjectRenditionFilter_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 = "filter", scope = GetObjectOfLatestVersion.class) - public JAXBElement createGetObjectOfLatestVersionFilter(String value) { - return new JAXBElement(_GetObjectFilter_QNAME, String.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(_CreateDocumentFromSourceExtension_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 = "includePolicyIds", scope = GetObjectOfLatestVersion.class) - public JAXBElement createGetObjectOfLatestVersionIncludePolicyIds(Boolean value) { - return new JAXBElement(_GetObjectIncludePolicyIds_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 = AddObjectToFolderResponse.class) - public JAXBElement createAddObjectToFolderResponseExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, AddObjectToFolderResponse.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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, GetFolderParent.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 = GetTypeChildren.class) - public JAXBElement createGetTypeChildrenSkipCount(BigInteger value) { - return new JAXBElement(_QuerySkipCount_QNAME, BigInteger.class, GetTypeChildren.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 = GetTypeChildren.class) - public JAXBElement createGetTypeChildrenMaxItems(BigInteger value) { - return new JAXBElement(_QueryMaxItems_QNAME, BigInteger.class, GetTypeChildren.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); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} - * - */ - @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); - } - - /** - * 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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, GetTypeChildren.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(_GetObjectFilter_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 = GetProperties.class) - public JAXBElement createGetPropertiesExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, GetProperties.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(_QuerySkipCount_QNAME, BigInteger.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 = "maxItems", scope = GetCheckedOutDocs.class) - public JAXBElement createGetCheckedOutDocsMaxItems(BigInteger value) { - return new JAXBElement(_QueryMaxItems_QNAME, BigInteger.class, GetCheckedOutDocs.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(_GetObjectIncludeRelationships_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(_GetObjectIncludeAllowableActions_QNAME, Boolean.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(_CreateDocumentFromSourceFolderId_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 = "renditionFilter", scope = GetCheckedOutDocs.class) - public JAXBElement createGetCheckedOutDocsRenditionFilter(String value) { - return new JAXBElement(_GetObjectRenditionFilter_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 = "filter", scope = GetCheckedOutDocs.class) - public JAXBElement createGetCheckedOutDocsFilter(String value) { - return new JAXBElement(_GetObjectFilter_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 = "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 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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.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 = CheckOutResponse.class) - public JAXBElement createCheckOutResponseExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_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 = ApplyPolicy.class) - public JAXBElement createApplyPolicyExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, ApplyPolicy.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 = SetContentStreamResponse.class) - public JAXBElement createSetContentStreamResponseExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, SetContentStreamResponse.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(_CreateDocumentFromSourceExtension_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 = GetTypeDefinition.class) - public JAXBElement createGetTypeDefinitionExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, GetTypeDefinition.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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, RemovePolicy.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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, MoveObjectResponse.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link BigInteger }{@code >}} - * - */ - @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 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 = GetContentStream.class) - public JAXBElement createGetContentStreamExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.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 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(_QuerySkipCount_QNAME, BigInteger.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(_QueryMaxItems_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 = "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/200908/", name = "includeAllowableActions", scope = GetObjectRelationships.class) - public JAXBElement createGetObjectRelationshipsIncludeAllowableActions(Boolean value) { - return new JAXBElement(_GetObjectIncludeAllowableActions_QNAME, Boolean.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(_GetObjectFilter_QNAME, String.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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, GetObjectRelationships.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 = GetObjectByPath.class) - public JAXBElement createGetObjectByPathIncludeRelationships(EnumIncludeRelationships value) { - return new JAXBElement(_GetObjectIncludeRelationships_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/200908/", name = "includeAllowableActions", scope = GetObjectByPath.class) - public JAXBElement createGetObjectByPathIncludeAllowableActions(Boolean value) { - return new JAXBElement(_GetObjectIncludeAllowableActions_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 = "includeACL", scope = GetObjectByPath.class) - public JAXBElement createGetObjectByPathIncludeACL(Boolean value) { - return new JAXBElement(_GetObjectIncludeACL_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/200908/", name = "renditionFilter", scope = GetObjectByPath.class) - public JAXBElement createGetObjectByPathRenditionFilter(String value) { - return new JAXBElement(_GetObjectRenditionFilter_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 = "filter", scope = GetObjectByPath.class) - public JAXBElement createGetObjectByPathFilter(String value) { - return new JAXBElement(_GetObjectFilter_QNAME, String.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(_CreateDocumentFromSourceExtension_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 = "includePolicyIds", scope = GetObjectByPath.class) - public JAXBElement createGetObjectByPathIncludePolicyIds(Boolean value) { - return new JAXBElement(_GetObjectIncludePolicyIds_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 = MoveObject.class) - public JAXBElement createMoveObjectExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, MoveObject.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 = GetAllowableActions.class) - public JAXBElement createGetAllowableActionsExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, GetAllowableActions.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(_DeleteObjectAllVersions_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(_CreateDocumentFromSourceExtension_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 = "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 EnumUnfileObject }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "unfileObjects", scope = DeleteTree.class) - public JAXBElement createDeleteTreeUnfileObjects(EnumUnfileObject value) { - return new JAXBElement(_DeleteTreeUnfileObjects_QNAME, EnumUnfileObject.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 = UpdatePropertiesResponse.class) - public JAXBElement createUpdatePropertiesResponseExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, UpdatePropertiesResponse.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(_QuerySkipCount_QNAME, BigInteger.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(_QueryMaxItems_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(_GetObjectRenditionFilter_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 = GetRenditions.class) - public JAXBElement createGetRenditionsExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.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 = CancelCheckOutResponse.class) - public JAXBElement createCancelCheckOutResponseExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, CancelCheckOutResponse.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 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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, GetACL.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(_GetObjectFilter_QNAME, String.class, GetAppliedPolicies.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(_CreateDocumentFromSourceExtension_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 = "changeToken", scope = UpdateProperties.class) - public JAXBElement createUpdatePropertiesChangeToken(String value) { - return new JAXBElement(_SetContentStreamChangeToken_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 = UpdateProperties.class) - public JAXBElement createUpdatePropertiesExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, UpdateProperties.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(_GetObjectIncludeAllowableActions_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/200908/", name = "filter", scope = GetAllVersions.class) - public JAXBElement createGetAllVersionsFilter(String value) { - return new JAXBElement(_GetObjectFilter_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 = GetAllVersions.class) - public JAXBElement createGetAllVersionsExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.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 = CreateFolderResponse.class) - public JAXBElement createCreateFolderResponseExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, CreateFolderResponse.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(_QuerySkipCount_QNAME, BigInteger.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(_QueryMaxItems_QNAME, BigInteger.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(_GetObjectIncludeRelationships_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(_GetObjectIncludeAllowableActions_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/200908/", name = "renditionFilter", scope = GetChildren.class) - public JAXBElement createGetChildrenRenditionFilter(String value) { - return new JAXBElement(_GetObjectRenditionFilter_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 = "filter", scope = GetChildren.class) - public JAXBElement createGetChildrenFilter(String value) { - return new JAXBElement(_GetObjectFilter_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 = "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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.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 = "includePathSegment", scope = GetChildren.class) - public JAXBElement createGetChildrenIncludePathSegment(Boolean value) { - return new JAXBElement(_GetFolderTreeIncludePathSegment_QNAME, Boolean.class, GetChildren.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(_CreateDocumentFromSourceRemoveACEs_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(_CheckInContentStream_QNAME, CmisContentStreamType.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(_CreateDocumentFromSourceFolderId_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(_CreateDocumentFromSourceExtension_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 = "addACEs", scope = CreateDocument.class) - public JAXBElement createCreateDocumentAddACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateDocumentFromSourceAddACEs_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/200908/", name = "versioningState", scope = CreateDocument.class) - public JAXBElement createCreateDocumentVersioningState(EnumVersioningState value) { - return new JAXBElement(_CreateDocumentFromSourceVersioningState_QNAME, EnumVersioningState.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 = CreatePolicyResponse.class) - public JAXBElement createCreatePolicyResponseExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, CreatePolicyResponse.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 = GetTypeDescendants.class) - public JAXBElement createGetTypeDescendantsTypeId(String value) { - return new JAXBElement(_GetTypeChildrenTypeId_QNAME, String.class, GetTypeDescendants.class, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link Boolean }{@code >}} - * - */ - @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 BigInteger }{@code >}} - * - */ - @XmlElementDecl(namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", name = "depth", scope = GetTypeDescendants.class) - public JAXBElement createGetTypeDescendantsDepth(BigInteger value) { - return new JAXBElement(_GetFolderTreeDepth_QNAME, BigInteger.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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, GetTypeDescendants.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(_CreateDocumentFromSourceRemoveACEs_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(_CreateDocumentFromSourceExtension_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 = "addACEs", scope = CreateRelationship.class) - public JAXBElement createCreateRelationshipAddACEs(CmisAccessControlListType value) { - return new JAXBElement(_CreateDocumentFromSourceAddACEs_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 = "filter", scope = GetPropertiesOfLatestVersion.class) - public JAXBElement createGetPropertiesOfLatestVersionFilter(String value) { - return new JAXBElement(_GetObjectFilter_QNAME, String.class, GetPropertiesOfLatestVersion.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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, GetPropertiesOfLatestVersion.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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, CreateDocumentResponse.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 = GetRepositories.class) - public JAXBElement createGetRepositoriesExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, GetRepositories.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(_CreateDocumentFromSourceExtension_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 = CheckInResponse.class) - public JAXBElement createCheckInResponseExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, CheckInResponse.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(_CreateDocumentFromSourceExtension_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 = RemoveObjectFromFolderResponse.class) - public JAXBElement createRemoveObjectFromFolderResponseExtension(CmisExtensionType value) { - return new JAXBElement(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.class, RemoveObjectFromFolderResponse.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(_GetObjectIncludeRelationships_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(_GetObjectIncludeAllowableActions_QNAME, Boolean.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(_GetObjectRenditionFilter_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 = "filter", scope = GetDescendants.class) - public JAXBElement createGetDescendantsFilter(String value) { - return new JAXBElement(_GetObjectFilter_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/200908/", name = "depth", scope = GetDescendants.class) - public JAXBElement createGetDescendantsDepth(BigInteger value) { - return new JAXBElement(_GetFolderTreeDepth_QNAME, BigInteger.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(_CreateDocumentFromSourceExtension_QNAME, CmisExtensionType.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 = "includePathSegment", scope = GetDescendants.class) - public JAXBElement createGetDescendantsIncludePathSegment(Boolean value) { - return new JAXBElement(_GetFolderTreeIncludePathSegment_QNAME, Boolean.class, GetDescendants.class, value); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/ObjectService.java b/source/generated/org/alfresco/repo/cmis/ws/ObjectService.java deleted file mode 100644 index 10eb31c46a..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/ObjectService.java +++ /dev/null @@ -1,77 +0,0 @@ - -/* - * - */ - -package org.alfresco.repo.cmis.ws; - -import java.net.MalformedURLException; -import java.net.URL; -import javax.xml.namespace.QName; -import javax.xml.ws.Service; -import javax.xml.ws.WebEndpoint; -import javax.xml.ws.WebServiceClient; -import javax.xml.ws.WebServiceFeature; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - - -@WebServiceClient(name = "ObjectService", - wsdlLocation = "file: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/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:CMISWS-Service.wsdl"); - } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:CMISWS-Service.wsdl"); - // e.printStackTrace(); - } - WSDL_LOCATION = url; - } - - public ObjectService(URL wsdlLocation) { - super(wsdlLocation, SERVICE); - } - - public ObjectService(URL wsdlLocation, QName serviceName) { - super(wsdlLocation, serviceName); - } - - public ObjectService() { - super(WSDL_LOCATION, SERVICE); - } - - /** - * - * @return - * returns ObjectServicePort - */ - @WebEndpoint(name = "ObjectServicePort") - public ObjectServicePort getObjectServicePort() { - return super.getPort(ObjectServicePort, ObjectServicePort.class); - } - - /** - * - * @param features - * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. - * @return - * returns ObjectServicePort - */ - @WebEndpoint(name = "ObjectServicePort") - public ObjectServicePort getObjectServicePort(WebServiceFeature... features) { - return super.getPort(ObjectServicePort, ObjectServicePort.class, features); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/ObjectServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/ObjectServicePort.java deleted file mode 100644 index b29c18ff5c..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/ObjectServicePort.java +++ /dev/null @@ -1,351 +0,0 @@ -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; -import javax.xml.ws.ResponseWrapper; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "ObjectServicePort") -@XmlSeeAlso({ObjectFactory.class}) -public interface ObjectServicePort { - - @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getObject", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObject") - @ResponseWrapper(localName = "getObjectResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectResponse") - @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; - - @WebResult(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getProperties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetProperties") - @ResponseWrapper(localName = "getPropertiesResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetPropertiesResponse") - @WebMethod - 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 = "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; - - @WebResult(name = "contentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getContentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetContentStream") - @ResponseWrapper(localName = "getContentStreamResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetContentStreamResponse") - @WebMethod - public org.alfresco.repo.cmis.ws.CmisContentStreamType getContentStream( - @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 = "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; - - @WebResult(name = "allowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getAllowableActions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetAllowableActions") - @ResponseWrapper(localName = "getAllowableActionsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetAllowableActionsResponse") - @WebMethod - 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 = "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; - - @RequestWrapper(localName = "deleteContentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", 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") - @WebMethod - public void deleteContentStream( - @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/200908/") - javax.xml.ws.Holder objectId, - @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; - - @RequestWrapper(localName = "deleteObject", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", 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") - @WebMethod - public void deleteObject( - @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 = "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; - - @RequestWrapper(localName = "createRelationship", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateRelationship") - @ResponseWrapper(localName = "createRelationshipResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateRelationshipResponse") - @WebMethod - public void createRelationship( - @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 = "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; - - @RequestWrapper(localName = "createDocumentFromSource", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateDocumentFromSource") - @ResponseWrapper(localName = "createDocumentFromSourceResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateDocumentFromSourceResponse") - @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/200908/") - java.lang.String folderId, - @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; - - @RequestWrapper(localName = "updateProperties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", 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") - @WebMethod - public void updateProperties( - @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/200908/") - javax.xml.ws.Holder objectId, - @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/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; - - @RequestWrapper(localName = "moveObject", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", 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") - @WebMethod - public void moveObject( - @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/200908/") - javax.xml.ws.Holder objectId, - @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/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; - - @RequestWrapper(localName = "createDocument", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateDocument") - @ResponseWrapper(localName = "createDocumentResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateDocumentResponse") - @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; - - @WebResult(name = "failedToDelete", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "deleteTree", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.DeleteTree") - @ResponseWrapper(localName = "deleteTreeResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.DeleteTreeResponse") - @WebMethod - 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 = "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 = "unfileObjects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - org.alfresco.repo.cmis.ws.EnumUnfileObject unfileObjects, - @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; - - @WebResult(name = "renditions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getRenditions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetRenditions") - @ResponseWrapper(localName = "getRenditionsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetRenditionsResponse") - @WebMethod - public java.util.List getRenditions( - @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 = "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/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; - - @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getObjectByPath", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectByPath") - @ResponseWrapper(localName = "getObjectByPathResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectByPathResponse") - @WebMethod - 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 = "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; - - @RequestWrapper(localName = "createFolder", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateFolder") - @ResponseWrapper(localName = "createFolderResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreateFolderResponse") - @WebMethod - public void createFolder( - @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; - - @RequestWrapper(localName = "createPolicy", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreatePolicy") - @ResponseWrapper(localName = "createPolicyResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CreatePolicyResponse") - @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; - - @RequestWrapper(localName = "setContentStream", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", 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") - @WebMethod - public void setContentStream( - @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/200908/") - javax.xml.ws.Holder objectId, - @WebParam(name = "overwriteFlag", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - java.lang.Boolean overwriteFlag, - @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; -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/PolicyService.java b/source/generated/org/alfresco/repo/cmis/ws/PolicyService.java deleted file mode 100644 index e195e2a834..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/PolicyService.java +++ /dev/null @@ -1,77 +0,0 @@ - -/* - * - */ - -package org.alfresco.repo.cmis.ws; - -import java.net.MalformedURLException; -import java.net.URL; -import javax.xml.namespace.QName; -import javax.xml.ws.Service; -import javax.xml.ws.WebEndpoint; -import javax.xml.ws.WebServiceClient; -import javax.xml.ws.WebServiceFeature; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - - -@WebServiceClient(name = "PolicyService", - wsdlLocation = "file: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/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:CMISWS-Service.wsdl"); - } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:CMISWS-Service.wsdl"); - // e.printStackTrace(); - } - WSDL_LOCATION = url; - } - - public PolicyService(URL wsdlLocation) { - super(wsdlLocation, SERVICE); - } - - public PolicyService(URL wsdlLocation, QName serviceName) { - super(wsdlLocation, serviceName); - } - - public PolicyService() { - super(WSDL_LOCATION, SERVICE); - } - - /** - * - * @return - * returns PolicyServicePort - */ - @WebEndpoint(name = "PolicyServicePort") - public PolicyServicePort getPolicyServicePort() { - return super.getPort(PolicyServicePort, PolicyServicePort.class); - } - - /** - * - * @param features - * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. - * @return - * returns PolicyServicePort - */ - @WebEndpoint(name = "PolicyServicePort") - public PolicyServicePort getPolicyServicePort(WebServiceFeature... features) { - return super.getPort(PolicyServicePort, PolicyServicePort.class, features); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/PolicyServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/PolicyServicePort.java deleted file mode 100644 index 2fba685d18..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/PolicyServicePort.java +++ /dev/null @@ -1,65 +0,0 @@ -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; -import javax.xml.ws.ResponseWrapper; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "PolicyServicePort") -@XmlSeeAlso({ObjectFactory.class}) -public interface PolicyServicePort { - - @RequestWrapper(localName = "removePolicy", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.RemovePolicy") - @ResponseWrapper(localName = "removePolicyResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.RemovePolicyResponse") - @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; - - @RequestWrapper(localName = "applyPolicy", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.ApplyPolicy") - @ResponseWrapper(localName = "applyPolicyResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.ApplyPolicyResponse") - @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; - - @WebResult(name = "objects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getAppliedPolicies", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetAppliedPolicies") - @ResponseWrapper(localName = "getAppliedPoliciesResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetAppliedPoliciesResponse") - @WebMethod - public java.util.List getAppliedPolicies( - @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 = "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/Query.java b/source/generated/org/alfresco/repo/cmis/ws/Query.java deleted file mode 100644 index 5aed5fcd6a..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/Query.java +++ /dev/null @@ -1,316 +0,0 @@ - -package org.alfresco.repo.cmis.ws; - -import java.math.BigInteger; -import java.util.HashMap; -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.XmlElement; -import javax.xml.bind.annotation.XmlElementRef; -import javax.xml.bind.annotation.XmlRootElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.namespace.QName; - - -/** - *

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>
- *         <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="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/200908/}cmisUndefinedAttribute"/>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "statement", - "searchAllVersions", - "includeAllowableActions", - "includeRelationships", - "renditionFilter", - "maxItems", - "skipCount", - "extension" -}) -@XmlRootElement(name = "query") -public class Query { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String statement; - @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/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 = "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(); - - /** - * Gets the value of the repositoryId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the statement property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getStatement() { - return statement; - } - - /** - * Sets the value of the statement property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setStatement(String value) { - this.statement = value; - } - - /** - * Gets the value of the searchAllVersions property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public JAXBElement getSearchAllVersions() { - return searchAllVersions; - } - - /** - * Sets the value of the searchAllVersions property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public void setSearchAllVersions(JAXBElement value) { - this.searchAllVersions = ((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 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); - } - - /** - * 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/QueryResponse.java b/source/generated/org/alfresco/repo/cmis/ws/QueryResponse.java deleted file mode 100644 index 12aa12ed3a..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/QueryResponse.java +++ /dev/null @@ -1,64 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="objects" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisObjectListType"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "objects" -}) -@XmlRootElement(name = "queryResponse") -public class QueryResponse { - - @XmlElement(required = true) - protected CmisObjectListType objects; - - /** - * Gets the value of the objects property. - * - * @return - * possible object is - * {@link CmisObjectListType } - * - */ - public CmisObjectListType getObjects() { - return objects; - } - - /** - * Sets the value of the objects property. - * - * @param value - * allowed object is - * {@link CmisObjectListType } - * - */ - 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 deleted file mode 100644 index 37dc1aeeb1..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/RelationshipService.java +++ /dev/null @@ -1,77 +0,0 @@ - -/* - * - */ - -package org.alfresco.repo.cmis.ws; - -import java.net.MalformedURLException; -import java.net.URL; -import javax.xml.namespace.QName; -import javax.xml.ws.Service; -import javax.xml.ws.WebEndpoint; -import javax.xml.ws.WebServiceClient; -import javax.xml.ws.WebServiceFeature; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - - -@WebServiceClient(name = "RelationshipService", - wsdlLocation = "file: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/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:CMISWS-Service.wsdl"); - } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:CMISWS-Service.wsdl"); - // e.printStackTrace(); - } - WSDL_LOCATION = url; - } - - public RelationshipService(URL wsdlLocation) { - super(wsdlLocation, SERVICE); - } - - public RelationshipService(URL wsdlLocation, QName serviceName) { - super(wsdlLocation, serviceName); - } - - public RelationshipService() { - super(WSDL_LOCATION, SERVICE); - } - - /** - * - * @return - * returns RelationshipServicePort - */ - @WebEndpoint(name = "RelationshipServicePort") - public RelationshipServicePort getRelationshipServicePort() { - return super.getPort(RelationshipServicePort, RelationshipServicePort.class); - } - - /** - * - * @param features - * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. - * @return - * returns RelationshipServicePort - */ - @WebEndpoint(name = "RelationshipServicePort") - public RelationshipServicePort getRelationshipServicePort(WebServiceFeature... features) { - return super.getPort(RelationshipServicePort, RelationshipServicePort.class, features); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/RelationshipServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/RelationshipServicePort.java deleted file mode 100644 index beffbde411..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/RelationshipServicePort.java +++ /dev/null @@ -1,48 +0,0 @@ -package org.alfresco.repo.cmis.ws; - -import javax.jws.WebMethod; -import javax.jws.WebParam; -import javax.jws.WebResult; -import javax.jws.WebService; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.ws.RequestWrapper; -import javax.xml.ws.ResponseWrapper; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "RelationshipServicePort") -@XmlSeeAlso({ObjectFactory.class}) -public interface RelationshipServicePort { - - @WebResult(name = "objects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getObjectRelationships", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectRelationships") - @ResponseWrapper(localName = "getObjectRelationshipsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectRelationshipsResponse") - @WebMethod - 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/200908/") - java.lang.String objectId, - @WebParam(name = "includeSubRelationshipTypes", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - java.lang.Boolean includeSubRelationshipTypes, - @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/200908/") - java.lang.Boolean includeAllowableActions, - @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; -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/RemoveObjectFromFolder.java b/source/generated/org/alfresco/repo/cmis/ws/RemoveObjectFromFolder.java deleted file mode 100644 index 357f08fde5..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/RemoveObjectFromFolder.java +++ /dev/null @@ -1,150 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "folderId", - "extension" -}) -@XmlRootElement(name = "removeObjectFromFolder") -public class RemoveObjectFromFolder { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String objectId; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the folderId property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement getFolderId() { - return folderId; - } - - /** - * Sets the value of the folderId property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public void setFolderId(JAXBElement value) { - 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 deleted file mode 100644 index be7e02a55e..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/RemoveObjectFromFolderResponse.java +++ /dev/null @@ -1,65 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@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 deleted file mode 100644 index daf089c6a8..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/RemovePolicy.java +++ /dev/null @@ -1,150 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "policyId", - "objectId", - "extension" -}) -@XmlRootElement(name = "removePolicy") -public class RemovePolicy { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - 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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the policyId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPolicyId() { - return policyId; - } - - /** - * Sets the value of the policyId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPolicyId(String value) { - this.policyId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index ed99153cbb..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/RemovePolicyResponse.java +++ /dev/null @@ -1,65 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@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 deleted file mode 100644 index 500cfb2868..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/RepositoryService.java +++ /dev/null @@ -1,77 +0,0 @@ - -/* - * - */ - -package org.alfresco.repo.cmis.ws; - -import java.net.MalformedURLException; -import java.net.URL; -import javax.xml.namespace.QName; -import javax.xml.ws.Service; -import javax.xml.ws.WebEndpoint; -import javax.xml.ws.WebServiceClient; -import javax.xml.ws.WebServiceFeature; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - - -@WebServiceClient(name = "RepositoryService", - wsdlLocation = "file: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/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:CMISWS-Service.wsdl"); - } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:CMISWS-Service.wsdl"); - // e.printStackTrace(); - } - WSDL_LOCATION = url; - } - - public RepositoryService(URL wsdlLocation) { - super(wsdlLocation, SERVICE); - } - - public RepositoryService(URL wsdlLocation, QName serviceName) { - super(wsdlLocation, serviceName); - } - - public RepositoryService() { - super(WSDL_LOCATION, SERVICE); - } - - /** - * - * @return - * returns RepositoryServicePort - */ - @WebEndpoint(name = "RepositoryServicePort") - public RepositoryServicePort getRepositoryServicePort() { - return super.getPort(RepositoryServicePort, RepositoryServicePort.class); - } - - /** - * - * @param features - * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. - * @return - * returns RepositoryServicePort - */ - @WebEndpoint(name = "RepositoryServicePort") - public RepositoryServicePort getRepositoryServicePort(WebServiceFeature... features) { - return super.getPort(RepositoryServicePort, RepositoryServicePort.class, features); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/RepositoryServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/RepositoryServicePort.java deleted file mode 100644 index da46b28ae3..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/RepositoryServicePort.java +++ /dev/null @@ -1,90 +0,0 @@ -package org.alfresco.repo.cmis.ws; - -import javax.jws.WebMethod; -import javax.jws.WebParam; -import javax.jws.WebResult; -import javax.jws.WebService; -import javax.xml.bind.annotation.XmlSeeAlso; -import javax.xml.ws.RequestWrapper; -import javax.xml.ws.ResponseWrapper; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "RepositoryServicePort") -@XmlSeeAlso({ObjectFactory.class}) -public interface RepositoryServicePort { - - @WebResult(name = "type", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getTypeDefinition", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetTypeDefinition") - @ResponseWrapper(localName = "getTypeDefinitionResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetTypeDefinitionResponse") - @WebMethod - public org.alfresco.repo.cmis.ws.CmisTypeDefinitionType getTypeDefinition( - @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/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; - - @WebResult(name = "types", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getTypeDescendants", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetTypeDescendants") - @ResponseWrapper(localName = "getTypeDescendantsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetTypeDescendantsResponse") - @WebMethod - public java.util.List getTypeDescendants( - @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/200908/") - java.lang.String typeId, - @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/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; - - @WebResult(name = "types", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getTypeChildren", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetTypeChildren") - @ResponseWrapper(localName = "getTypeChildrenResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetTypeChildrenResponse") - @WebMethod - 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/200908/") - java.lang.String typeId, - @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/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; - - @WebResult(name = "repositoryInfo", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getRepositoryInfo", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetRepositoryInfo") - @ResponseWrapper(localName = "getRepositoryInfoResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetRepositoryInfoResponse") - @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; - - @WebResult(name = "repositories", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getRepositories", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetRepositories") - @ResponseWrapper(localName = "getRepositoriesResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetRepositoriesResponse") - @WebMethod - 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; -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/SetAspects.java b/source/generated/org/alfresco/repo/cmis/ws/SetAspects.java deleted file mode 100644 index cc1a804327..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/SetAspects.java +++ /dev/null @@ -1,132 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="aspectsToAdd" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="aspectsToRemove" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertiesType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "aspectsToAdd", - "aspectsToRemove", - "properties" -}) -@XmlRootElement(name = "setAspects", namespace = "http://www.alfresco.org") -public class SetAspects { - - @XmlElement(namespace = "http://www.alfresco.org") - protected List aspectsToAdd; - @XmlElement(namespace = "http://www.alfresco.org") - protected List aspectsToRemove; - @XmlElement(namespace = "http://www.alfresco.org") - protected CmisPropertiesType properties; - - /** - * Gets the value of the aspectsToAdd 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 aspectsToAdd property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getAspectsToAdd() { - if (aspectsToAdd == null) { - aspectsToAdd = new ArrayList(); - } - return this.aspectsToAdd; - } - - /** - * Gets the value of the aspectsToRemove 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 aspectsToRemove property. - * - *

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

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

- * Objects of the following type(s) are allowed in the list - * {@link String } - * - * - */ - public List getAspectsToRemove() { - if (aspectsToRemove == null) { - aspectsToRemove = new ArrayList(); - } - return this.aspectsToRemove; - } - - /** - * Gets the value of the properties property. - * - * @return - * possible object is - * {@link CmisPropertiesType } - * - */ - public CmisPropertiesType getProperties() { - return properties; - } - - /** - * Sets the value of the properties property. - * - * @param value - * allowed object is - * {@link CmisPropertiesType } - * - */ - public void setProperties(CmisPropertiesType value) { - this.properties = value; - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/SetContentStream.java b/source/generated/org/alfresco/repo/cmis/ws/SetContentStream.java deleted file mode 100644 index cc9dcfcf02..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/SetContentStream.java +++ /dev/null @@ -1,206 +0,0 @@ - -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; - - -/** - *

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>
- *         <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *         <element name="objectId" 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/200908/}cmisContentStreamType"/>
- *         <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "overwriteFlag", - "changeToken", - "contentStream", - "extension" -}) -@XmlRootElement(name = "setContentStream") -public class SetContentStream { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String objectId; - @XmlElementRef(name = "overwriteFlag", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class) - protected JAXBElement overwriteFlag; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the overwriteFlag property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public JAXBElement getOverwriteFlag() { - return overwriteFlag; - } - - /** - * Sets the value of the overwriteFlag property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link Boolean }{@code >} - * - */ - public void setOverwriteFlag(JAXBElement value) { - this.overwriteFlag = ((JAXBElement ) value); - } - - /** - * Gets the value of the changeToken property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement getChangeToken() { - return changeToken; - } - - /** - * Sets the value of the changeToken property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public void setChangeToken(JAXBElement value) { - this.changeToken = ((JAXBElement ) value); - } - - /** - * Gets the value of the contentStream property. - * - * @return - * possible object is - * {@link CmisContentStreamType } - * - */ - public CmisContentStreamType getContentStream() { - return contentStream; - } - - /** - * Sets the value of the contentStream property. - * - * @param value - * allowed object is - * {@link CmisContentStreamType } - * - */ - public void setContentStream(CmisContentStreamType value) { - this.contentStream = value; - } - - /** - * 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 deleted file mode 100644 index 436527a4e4..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/SetContentStreamResponse.java +++ /dev/null @@ -1,121 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "objectId", - "changeToken", - "extension" -}) -@XmlRootElement(name = "setContentStreamResponse") -public class SetContentStreamResponse { - - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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 deleted file mode 100644 index fce06f8453..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/UpdateProperties.java +++ /dev/null @@ -1,178 +0,0 @@ - -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; - - -/** - *

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>
- *         <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/200908/}cmisPropertiesType"/>
- *         <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "repositoryId", - "objectId", - "changeToken", - "properties", - "extension" -}) -@XmlRootElement(name = "updateProperties") -public class UpdateProperties { - - @XmlElement(required = true) - protected String repositoryId; - @XmlElement(required = true) - protected String objectId; - @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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getRepositoryId() { - return repositoryId; - } - - /** - * Sets the value of the repositoryId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setRepositoryId(String value) { - this.repositoryId = value; - } - - /** - * Gets the value of the objectId property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the changeToken property. - * - * @return - * possible object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public JAXBElement getChangeToken() { - return changeToken; - } - - /** - * Sets the value of the changeToken property. - * - * @param value - * allowed object is - * {@link JAXBElement }{@code <}{@link String }{@code >} - * - */ - public void setChangeToken(JAXBElement value) { - this.changeToken = ((JAXBElement ) value); - } - - /** - * Gets the value of the properties property. - * - * @return - * possible object is - * {@link CmisPropertiesType } - * - */ - public CmisPropertiesType getProperties() { - return properties; - } - - /** - * Sets the value of the properties property. - * - * @param value - * allowed object is - * {@link CmisPropertiesType } - * - */ - public void setProperties(CmisPropertiesType value) { - 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 deleted file mode 100644 index 80f1bebfb8..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/UpdatePropertiesResponse.java +++ /dev/null @@ -1,121 +0,0 @@ - -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; - - -/** - *

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>
- *         <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>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "objectId", - "changeToken", - "extension" -}) -@XmlRootElement(name = "updatePropertiesResponse") -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. - * - * @return - * possible object is - * {@link String } - * - */ - public String getObjectId() { - return objectId; - } - - /** - * Sets the value of the objectId property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setObjectId(String value) { - this.objectId = value; - } - - /** - * Gets the value of the 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/VersioningService.java b/source/generated/org/alfresco/repo/cmis/ws/VersioningService.java deleted file mode 100644 index 0926c17dfe..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/VersioningService.java +++ /dev/null @@ -1,77 +0,0 @@ - -/* - * - */ - -package org.alfresco.repo.cmis.ws; - -import java.net.MalformedURLException; -import java.net.URL; -import javax.xml.namespace.QName; -import javax.xml.ws.Service; -import javax.xml.ws.WebEndpoint; -import javax.xml.ws.WebServiceClient; -import javax.xml.ws.WebServiceFeature; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - - -@WebServiceClient(name = "VersioningService", - wsdlLocation = "file: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/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:CMISWS-Service.wsdl"); - } catch (MalformedURLException e) { - System.err.println("Can not initialize the default wsdl from file:CMISWS-Service.wsdl"); - // e.printStackTrace(); - } - WSDL_LOCATION = url; - } - - public VersioningService(URL wsdlLocation) { - super(wsdlLocation, SERVICE); - } - - public VersioningService(URL wsdlLocation, QName serviceName) { - super(wsdlLocation, serviceName); - } - - public VersioningService() { - super(WSDL_LOCATION, SERVICE); - } - - /** - * - * @return - * returns VersioningServicePort - */ - @WebEndpoint(name = "VersioningServicePort") - public VersioningServicePort getVersioningServicePort() { - return super.getPort(VersioningServicePort, VersioningServicePort.class); - } - - /** - * - * @param features - * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features parameter will have their default values. - * @return - * returns VersioningServicePort - */ - @WebEndpoint(name = "VersioningServicePort") - public VersioningServicePort getVersioningServicePort(WebServiceFeature... features) { - return super.getPort(VersioningServicePort, VersioningServicePort.class, features); - } - -} diff --git a/source/generated/org/alfresco/repo/cmis/ws/VersioningServicePort.java b/source/generated/org/alfresco/repo/cmis/ws/VersioningServicePort.java deleted file mode 100644 index f8a2fe4817..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/VersioningServicePort.java +++ /dev/null @@ -1,135 +0,0 @@ -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; -import javax.xml.ws.ResponseWrapper; - -/** - * This class was generated by Apache CXF 2.1.2 - * Wed Jan 13 20:13:28 GMT 2010 - * Generated source version: 2.1.2 - * - */ - -@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", name = "VersioningServicePort") -@XmlSeeAlso({ObjectFactory.class}) -public interface VersioningServicePort { - - @WebResult(name = "objects", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getAllVersions", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetAllVersions") - @ResponseWrapper(localName = "getAllVersionsResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetAllVersionsResponse") - @WebMethod - public java.util.List getAllVersions( - @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 = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - org.alfresco.repo.cmis.ws.CmisExtensionType extension - ) throws CmisException; - - @WebResult(name = "object", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getObjectOfLatestVersion", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectOfLatestVersion") - @ResponseWrapper(localName = "getObjectOfLatestVersionResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetObjectOfLatestVersionResponse") - @WebMethod - 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 = "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 = "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; - - @RequestWrapper(localName = "checkOut", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CheckOut") - @ResponseWrapper(localName = "checkOutResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CheckOutResponse") - @WebMethod - public void checkOut( - @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/200908/") - javax.xml.ws.Holder objectId, - @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; - - @RequestWrapper(localName = "cancelCheckOut", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", 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") - @WebMethod - public void cancelCheckOut( - @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(mode = WebParam.Mode.INOUT, name = "extension", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - javax.xml.ws.Holder extension - ) throws CmisException; - - @WebResult(name = "properties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - @RequestWrapper(localName = "getPropertiesOfLatestVersion", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetPropertiesOfLatestVersion") - @ResponseWrapper(localName = "getPropertiesOfLatestVersionResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.GetPropertiesOfLatestVersionResponse") - @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; - - @RequestWrapper(localName = "checkIn", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CheckIn") - @ResponseWrapper(localName = "checkInResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", className = "org.alfresco.repo.cmis.ws.CheckInResponse") - @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 = "objectId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/") - javax.xml.ws.Holder objectId, - @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 deleted file mode 100644 index 3c2540d361..0000000000 --- a/source/generated/org/alfresco/repo/cmis/ws/package-info.java +++ /dev/null @@ -1,2 +0,0 @@ -@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/generated/org/alfresco/repo/webservice/accesscontrol/ACE.java b/source/generated/org/alfresco/repo/webservice/accesscontrol/ACE.java deleted file mode 100644 index 88f0d700aa..0000000000 --- a/source/generated/org/alfresco/repo/webservice/accesscontrol/ACE.java +++ /dev/null @@ -1,191 +0,0 @@ -/** - * ACE.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.accesscontrol; - -public class ACE implements java.io.Serializable { - private java.lang.String authority; - - private java.lang.String permission; - - private org.alfresco.repo.webservice.accesscontrol.AccessStatus accessStatus; - - public ACE() { - } - - public ACE( - java.lang.String authority, - java.lang.String permission, - org.alfresco.repo.webservice.accesscontrol.AccessStatus accessStatus) { - this.authority = authority; - this.permission = permission; - this.accessStatus = accessStatus; - } - - - /** - * Gets the authority value for this ACE. - * - * @return authority - */ - public java.lang.String getAuthority() { - return authority; - } - - - /** - * Sets the authority value for this ACE. - * - * @param authority - */ - public void setAuthority(java.lang.String authority) { - this.authority = authority; - } - - - /** - * Gets the permission value for this ACE. - * - * @return permission - */ - public java.lang.String getPermission() { - return permission; - } - - - /** - * Sets the permission value for this ACE. - * - * @param permission - */ - public void setPermission(java.lang.String permission) { - this.permission = permission; - } - - - /** - * Gets the accessStatus value for this ACE. - * - * @return accessStatus - */ - public org.alfresco.repo.webservice.accesscontrol.AccessStatus getAccessStatus() { - return accessStatus; - } - - - /** - * Sets the accessStatus value for this ACE. - * - * @param accessStatus - */ - public void setAccessStatus(org.alfresco.repo.webservice.accesscontrol.AccessStatus accessStatus) { - this.accessStatus = accessStatus; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof ACE)) return false; - ACE other = (ACE) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.authority==null && other.getAuthority()==null) || - (this.authority!=null && - this.authority.equals(other.getAuthority()))) && - ((this.permission==null && other.getPermission()==null) || - (this.permission!=null && - this.permission.equals(other.getPermission()))) && - ((this.accessStatus==null && other.getAccessStatus()==null) || - (this.accessStatus!=null && - this.accessStatus.equals(other.getAccessStatus()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getAuthority() != null) { - _hashCode += getAuthority().hashCode(); - } - if (getPermission() != null) { - _hashCode += getPermission().hashCode(); - } - if (getAccessStatus() != null) { - _hashCode += getAccessStatus().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(ACE.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/accesscontrol/1.0", "ACE")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("authority"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/accesscontrol/1.0", "authority")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("permission"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/accesscontrol/1.0", "permission")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("accessStatus"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/accesscontrol/1.0", "accessStatus")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/accesscontrol/1.0", "AccessStatus")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/accesscontrol/ACL.java b/source/generated/org/alfresco/repo/webservice/accesscontrol/ACL.java deleted file mode 100644 index f36dea710d..0000000000 --- a/source/generated/org/alfresco/repo/webservice/accesscontrol/ACL.java +++ /dev/null @@ -1,205 +0,0 @@ -/** - * ACL.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.accesscontrol; - -public class ACL implements java.io.Serializable { - private org.alfresco.repo.webservice.types.Reference reference; - - private boolean inheritPermissions; - - private org.alfresco.repo.webservice.accesscontrol.ACE[] aces; - - public ACL() { - } - - public ACL( - org.alfresco.repo.webservice.types.Reference reference, - boolean inheritPermissions, - org.alfresco.repo.webservice.accesscontrol.ACE[] aces) { - this.reference = reference; - this.inheritPermissions = inheritPermissions; - this.aces = aces; - } - - - /** - * Gets the reference value for this ACL. - * - * @return reference - */ - public org.alfresco.repo.webservice.types.Reference getReference() { - return reference; - } - - - /** - * Sets the reference value for this ACL. - * - * @param reference - */ - public void setReference(org.alfresco.repo.webservice.types.Reference reference) { - this.reference = reference; - } - - - /** - * Gets the inheritPermissions value for this ACL. - * - * @return inheritPermissions - */ - public boolean isInheritPermissions() { - return inheritPermissions; - } - - - /** - * Sets the inheritPermissions value for this ACL. - * - * @param inheritPermissions - */ - public void setInheritPermissions(boolean inheritPermissions) { - this.inheritPermissions = inheritPermissions; - } - - - /** - * Gets the aces value for this ACL. - * - * @return aces - */ - public org.alfresco.repo.webservice.accesscontrol.ACE[] getAces() { - return aces; - } - - - /** - * Sets the aces value for this ACL. - * - * @param aces - */ - public void setAces(org.alfresco.repo.webservice.accesscontrol.ACE[] aces) { - this.aces = aces; - } - - public org.alfresco.repo.webservice.accesscontrol.ACE getAces(int i) { - return this.aces[i]; - } - - public void setAces(int i, org.alfresco.repo.webservice.accesscontrol.ACE _value) { - this.aces[i] = _value; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof ACL)) return false; - ACL other = (ACL) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.reference==null && other.getReference()==null) || - (this.reference!=null && - this.reference.equals(other.getReference()))) && - this.inheritPermissions == other.isInheritPermissions() && - ((this.aces==null && other.getAces()==null) || - (this.aces!=null && - java.util.Arrays.equals(this.aces, other.getAces()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getReference() != null) { - _hashCode += getReference().hashCode(); - } - _hashCode += (isInheritPermissions() ? Boolean.TRUE : Boolean.FALSE).hashCode(); - if (getAces() != null) { - for (int i=0; - i - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/source/generated/org/alfresco/repo/webservice/action/Action.java b/source/generated/org/alfresco/repo/webservice/action/Action.java deleted file mode 100644 index 4ffc1d1f99..0000000000 --- a/source/generated/org/alfresco/repo/webservice/action/Action.java +++ /dev/null @@ -1,461 +0,0 @@ -/** - * Action.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.action; - -public class Action implements java.io.Serializable { - private org.alfresco.repo.webservice.types.Reference actionReference; - - private java.lang.String id; - - private java.lang.String actionName; - - private java.lang.String title; - - private java.lang.String description; - - private org.alfresco.repo.webservice.types.NamedValue[] parameters; - - private org.alfresco.repo.webservice.action.Condition[] conditions; - - private org.alfresco.repo.webservice.action.Action compensatingAction; - - private org.alfresco.repo.webservice.action.Action[] actions; - - public Action() { - } - - public Action( - org.alfresco.repo.webservice.types.Reference actionReference, - java.lang.String id, - java.lang.String actionName, - java.lang.String title, - java.lang.String description, - org.alfresco.repo.webservice.types.NamedValue[] parameters, - org.alfresco.repo.webservice.action.Condition[] conditions, - org.alfresco.repo.webservice.action.Action compensatingAction, - org.alfresco.repo.webservice.action.Action[] actions) { - this.actionReference = actionReference; - this.id = id; - this.actionName = actionName; - this.title = title; - this.description = description; - this.parameters = parameters; - this.conditions = conditions; - this.compensatingAction = compensatingAction; - this.actions = actions; - } - - - /** - * Gets the actionReference value for this Action. - * - * @return actionReference - */ - public org.alfresco.repo.webservice.types.Reference getActionReference() { - return actionReference; - } - - - /** - * Sets the actionReference value for this Action. - * - * @param actionReference - */ - public void setActionReference(org.alfresco.repo.webservice.types.Reference actionReference) { - this.actionReference = actionReference; - } - - - /** - * Gets the id value for this Action. - * - * @return id - */ - public java.lang.String getId() { - return id; - } - - - /** - * Sets the id value for this Action. - * - * @param id - */ - public void setId(java.lang.String id) { - this.id = id; - } - - - /** - * Gets the actionName value for this Action. - * - * @return actionName - */ - public java.lang.String getActionName() { - return actionName; - } - - - /** - * Sets the actionName value for this Action. - * - * @param actionName - */ - public void setActionName(java.lang.String actionName) { - this.actionName = actionName; - } - - - /** - * Gets the title value for this Action. - * - * @return title - */ - public java.lang.String getTitle() { - return title; - } - - - /** - * Sets the title value for this Action. - * - * @param title - */ - public void setTitle(java.lang.String title) { - this.title = title; - } - - - /** - * Gets the description value for this Action. - * - * @return description - */ - public java.lang.String getDescription() { - return description; - } - - - /** - * Sets the description value for this Action. - * - * @param description - */ - public void setDescription(java.lang.String description) { - this.description = description; - } - - - /** - * Gets the parameters value for this Action. - * - * @return parameters - */ - public org.alfresco.repo.webservice.types.NamedValue[] getParameters() { - return parameters; - } - - - /** - * Sets the parameters value for this Action. - * - * @param parameters - */ - public void setParameters(org.alfresco.repo.webservice.types.NamedValue[] parameters) { - this.parameters = parameters; - } - - public org.alfresco.repo.webservice.types.NamedValue getParameters(int i) { - return this.parameters[i]; - } - - public void setParameters(int i, org.alfresco.repo.webservice.types.NamedValue _value) { - this.parameters[i] = _value; - } - - - /** - * Gets the conditions value for this Action. - * - * @return conditions - */ - public org.alfresco.repo.webservice.action.Condition[] getConditions() { - return conditions; - } - - - /** - * Sets the conditions value for this Action. - * - * @param conditions - */ - public void setConditions(org.alfresco.repo.webservice.action.Condition[] conditions) { - this.conditions = conditions; - } - - public org.alfresco.repo.webservice.action.Condition getConditions(int i) { - return this.conditions[i]; - } - - public void setConditions(int i, org.alfresco.repo.webservice.action.Condition _value) { - this.conditions[i] = _value; - } - - - /** - * Gets the compensatingAction value for this Action. - * - * @return compensatingAction - */ - public org.alfresco.repo.webservice.action.Action getCompensatingAction() { - return compensatingAction; - } - - - /** - * Sets the compensatingAction value for this Action. - * - * @param compensatingAction - */ - public void setCompensatingAction(org.alfresco.repo.webservice.action.Action compensatingAction) { - this.compensatingAction = compensatingAction; - } - - - /** - * Gets the actions value for this Action. - * - * @return actions - */ - public org.alfresco.repo.webservice.action.Action[] getActions() { - return actions; - } - - - /** - * Sets the actions value for this Action. - * - * @param actions - */ - public void setActions(org.alfresco.repo.webservice.action.Action[] actions) { - this.actions = actions; - } - - public org.alfresco.repo.webservice.action.Action getActions(int i) { - return this.actions[i]; - } - - public void setActions(int i, org.alfresco.repo.webservice.action.Action _value) { - this.actions[i] = _value; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof Action)) return false; - Action other = (Action) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.actionReference==null && other.getActionReference()==null) || - (this.actionReference!=null && - this.actionReference.equals(other.getActionReference()))) && - ((this.id==null && other.getId()==null) || - (this.id!=null && - this.id.equals(other.getId()))) && - ((this.actionName==null && other.getActionName()==null) || - (this.actionName!=null && - this.actionName.equals(other.getActionName()))) && - ((this.title==null && other.getTitle()==null) || - (this.title!=null && - this.title.equals(other.getTitle()))) && - ((this.description==null && other.getDescription()==null) || - (this.description!=null && - this.description.equals(other.getDescription()))) && - ((this.parameters==null && other.getParameters()==null) || - (this.parameters!=null && - java.util.Arrays.equals(this.parameters, other.getParameters()))) && - ((this.conditions==null && other.getConditions()==null) || - (this.conditions!=null && - java.util.Arrays.equals(this.conditions, other.getConditions()))) && - ((this.compensatingAction==null && other.getCompensatingAction()==null) || - (this.compensatingAction!=null && - this.compensatingAction.equals(other.getCompensatingAction()))) && - ((this.actions==null && other.getActions()==null) || - (this.actions!=null && - java.util.Arrays.equals(this.actions, other.getActions()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getActionReference() != null) { - _hashCode += getActionReference().hashCode(); - } - if (getId() != null) { - _hashCode += getId().hashCode(); - } - if (getActionName() != null) { - _hashCode += getActionName().hashCode(); - } - if (getTitle() != null) { - _hashCode += getTitle().hashCode(); - } - if (getDescription() != null) { - _hashCode += getDescription().hashCode(); - } - if (getParameters() != null) { - for (int i=0; - i - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/source/generated/org/alfresco/repo/webservice/administration/AdministrationFault.java b/source/generated/org/alfresco/repo/webservice/administration/AdministrationFault.java deleted file mode 100644 index 37229f31fa..0000000000 --- a/source/generated/org/alfresco/repo/webservice/administration/AdministrationFault.java +++ /dev/null @@ -1,158 +0,0 @@ -/** - * AdministrationFault.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.administration; - -public class AdministrationFault extends org.apache.axis.AxisFault implements java.io.Serializable { - private int errorCode; - - private java.lang.String message1; - - public AdministrationFault() { - } - - public AdministrationFault( - int errorCode, - java.lang.String message1) { - this.errorCode = errorCode; - this.message1 = message1; - } - - - /** - * Gets the errorCode value for this AdministrationFault. - * - * @return errorCode - */ - public int getErrorCode() { - return errorCode; - } - - - /** - * Sets the errorCode value for this AdministrationFault. - * - * @param errorCode - */ - public void setErrorCode(int errorCode) { - this.errorCode = errorCode; - } - - - /** - * Gets the message1 value for this AdministrationFault. - * - * @return message1 - */ - public java.lang.String getMessage1() { - return message1; - } - - - /** - * Sets the message1 value for this AdministrationFault. - * - * @param message1 - */ - public void setMessage1(java.lang.String message1) { - this.message1 = message1; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof AdministrationFault)) return false; - AdministrationFault other = (AdministrationFault) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - this.errorCode == other.getErrorCode() && - ((this.message1==null && other.getMessage1()==null) || - (this.message1!=null && - this.message1.equals(other.getMessage1()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - _hashCode += getErrorCode(); - if (getMessage1() != null) { - _hashCode += getMessage1().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(AdministrationFault.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "AdministrationFault")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("errorCode"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "errorCode")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("message1"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/administration/1.0", "message")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - - - /** - * Writes the exception data to the faultDetails - */ - public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException { - context.serialize(qname, null, this); - } -} diff --git a/source/generated/org/alfresco/repo/webservice/administration/AdministrationServiceSoapPort.java b/source/generated/org/alfresco/repo/webservice/administration/AdministrationServiceSoapPort.java deleted file mode 100644 index f64b0d840f..0000000000 --- a/source/generated/org/alfresco/repo/webservice/administration/AdministrationServiceSoapPort.java +++ /dev/null @@ -1,46 +0,0 @@ -/** - * AdministrationServiceSoapPort.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.administration; - -public interface AdministrationServiceSoapPort extends java.rmi.Remote { - - /** - * Gets the details of the requested users. - */ - public org.alfresco.repo.webservice.administration.UserQueryResults queryUsers(org.alfresco.repo.webservice.administration.UserFilter filter) throws java.rmi.RemoteException, org.alfresco.repo.webservice.administration.AdministrationFault; - - /** - * Fetch the next bathc of users from an existing user query. - */ - public org.alfresco.repo.webservice.administration.UserQueryResults fetchMoreUsers(java.lang.String querySession) throws java.rmi.RemoteException, org.alfresco.repo.webservice.administration.AdministrationFault; - - /** - * Get the details of a specified user. - */ - public org.alfresco.repo.webservice.administration.UserDetails getUser(java.lang.String userName) throws java.rmi.RemoteException, org.alfresco.repo.webservice.administration.AdministrationFault; - - /** - * Create new users with the details provided. - */ - public org.alfresco.repo.webservice.administration.UserDetails[] createUsers(org.alfresco.repo.webservice.administration.NewUserDetails[] newUsers) throws java.rmi.RemoteException, org.alfresco.repo.webservice.administration.AdministrationFault; - - /** - * Updates the details of the specified users. - */ - public org.alfresco.repo.webservice.administration.UserDetails[] updateUsers(org.alfresco.repo.webservice.administration.UserDetails[] users) throws java.rmi.RemoteException, org.alfresco.repo.webservice.administration.AdministrationFault; - - /** - * Changes the password of the specified user. - */ - public void changePassword(java.lang.String userName, java.lang.String oldPassword, java.lang.String newPassword) throws java.rmi.RemoteException, org.alfresco.repo.webservice.administration.AdministrationFault; - - /** - * Delete the specified users. - */ - public void deleteUsers(java.lang.String[] userNames) throws java.rmi.RemoteException, org.alfresco.repo.webservice.administration.AdministrationFault; -} diff --git a/source/generated/org/alfresco/repo/webservice/administration/NewUserDetails.java b/source/generated/org/alfresco/repo/webservice/administration/NewUserDetails.java deleted file mode 100644 index 28eb969fe7..0000000000 --- a/source/generated/org/alfresco/repo/webservice/administration/NewUserDetails.java +++ /dev/null @@ -1,209 +0,0 @@ -/** - * NewUserDetails.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.administration; - -public class NewUserDetails implements java.io.Serializable { - private java.lang.String userName; - - private java.lang.String password; - - private org.alfresco.repo.webservice.types.NamedValue[] properties; - - public NewUserDetails() { - } - - public NewUserDetails( - java.lang.String userName, - java.lang.String password, - org.alfresco.repo.webservice.types.NamedValue[] properties) { - this.userName = userName; - this.password = password; - this.properties = properties; - } - - - /** - * Gets the userName value for this NewUserDetails. - * - * @return userName - */ - public java.lang.String getUserName() { - return userName; - } - - - /** - * Sets the userName value for this NewUserDetails. - * - * @param userName - */ - public void setUserName(java.lang.String userName) { - this.userName = userName; - } - - - /** - * Gets the password value for this NewUserDetails. - * - * @return password - */ - public java.lang.String getPassword() { - return password; - } - - - /** - * Sets the password value for this NewUserDetails. - * - * @param password - */ - public void setPassword(java.lang.String password) { - this.password = password; - } - - - /** - * Gets the properties value for this NewUserDetails. - * - * @return properties - */ - public org.alfresco.repo.webservice.types.NamedValue[] getProperties() { - return properties; - } - - - /** - * Sets the properties value for this NewUserDetails. - * - * @param properties - */ - public void setProperties(org.alfresco.repo.webservice.types.NamedValue[] properties) { - this.properties = properties; - } - - public org.alfresco.repo.webservice.types.NamedValue getProperties(int i) { - return this.properties[i]; - } - - public void setProperties(int i, org.alfresco.repo.webservice.types.NamedValue _value) { - this.properties[i] = _value; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof NewUserDetails)) return false; - NewUserDetails other = (NewUserDetails) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.userName==null && other.getUserName()==null) || - (this.userName!=null && - this.userName.equals(other.getUserName()))) && - ((this.password==null && other.getPassword()==null) || - (this.password!=null && - this.password.equals(other.getPassword()))) && - ((this.properties==null && other.getProperties()==null) || - (this.properties!=null && - java.util.Arrays.equals(this.properties, other.getProperties()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getUserName() != null) { - _hashCode += getUserName().hashCode(); - } - if (getPassword() != null) { - _hashCode += getPassword().hashCode(); - } - if (getProperties() != null) { - for (int i=0; - i - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/source/generated/org/alfresco/repo/webservice/authentication/AuthenticationFault.java b/source/generated/org/alfresco/repo/webservice/authentication/AuthenticationFault.java deleted file mode 100644 index dcf7842852..0000000000 --- a/source/generated/org/alfresco/repo/webservice/authentication/AuthenticationFault.java +++ /dev/null @@ -1,158 +0,0 @@ -/** - * AuthenticationFault.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.authentication; - -public class AuthenticationFault extends org.apache.axis.AxisFault implements java.io.Serializable { - private int errorCode; - - private java.lang.String message1; - - public AuthenticationFault() { - } - - public AuthenticationFault( - int errorCode, - java.lang.String message1) { - this.errorCode = errorCode; - this.message1 = message1; - } - - - /** - * Gets the errorCode value for this AuthenticationFault. - * - * @return errorCode - */ - public int getErrorCode() { - return errorCode; - } - - - /** - * Sets the errorCode value for this AuthenticationFault. - * - * @param errorCode - */ - public void setErrorCode(int errorCode) { - this.errorCode = errorCode; - } - - - /** - * Gets the message1 value for this AuthenticationFault. - * - * @return message1 - */ - public java.lang.String getMessage1() { - return message1; - } - - - /** - * Sets the message1 value for this AuthenticationFault. - * - * @param message1 - */ - public void setMessage1(java.lang.String message1) { - this.message1 = message1; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof AuthenticationFault)) return false; - AuthenticationFault other = (AuthenticationFault) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - this.errorCode == other.getErrorCode() && - ((this.message1==null && other.getMessage1()==null) || - (this.message1!=null && - this.message1.equals(other.getMessage1()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - _hashCode += getErrorCode(); - if (getMessage1() != null) { - _hashCode += getMessage1().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(AuthenticationFault.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "AuthenticationFault")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("errorCode"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "errorCode")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("message1"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "message")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - - - /** - * Writes the exception data to the faultDetails - */ - public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException { - context.serialize(qname, null, this); - } -} diff --git a/source/generated/org/alfresco/repo/webservice/authentication/AuthenticationResult.java b/source/generated/org/alfresco/repo/webservice/authentication/AuthenticationResult.java deleted file mode 100644 index 1a6a9a6809..0000000000 --- a/source/generated/org/alfresco/repo/webservice/authentication/AuthenticationResult.java +++ /dev/null @@ -1,191 +0,0 @@ -/** - * AuthenticationResult.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.authentication; - -public class AuthenticationResult implements java.io.Serializable { - private java.lang.String username; - - private java.lang.String ticket; - - private java.lang.String sessionid; - - public AuthenticationResult() { - } - - public AuthenticationResult( - java.lang.String username, - java.lang.String ticket, - java.lang.String sessionid) { - this.username = username; - this.ticket = ticket; - this.sessionid = sessionid; - } - - - /** - * Gets the username value for this AuthenticationResult. - * - * @return username - */ - public java.lang.String getUsername() { - return username; - } - - - /** - * Sets the username value for this AuthenticationResult. - * - * @param username - */ - public void setUsername(java.lang.String username) { - this.username = username; - } - - - /** - * Gets the ticket value for this AuthenticationResult. - * - * @return ticket - */ - public java.lang.String getTicket() { - return ticket; - } - - - /** - * Sets the ticket value for this AuthenticationResult. - * - * @param ticket - */ - public void setTicket(java.lang.String ticket) { - this.ticket = ticket; - } - - - /** - * Gets the sessionid value for this AuthenticationResult. - * - * @return sessionid - */ - public java.lang.String getSessionid() { - return sessionid; - } - - - /** - * Sets the sessionid value for this AuthenticationResult. - * - * @param sessionid - */ - public void setSessionid(java.lang.String sessionid) { - this.sessionid = sessionid; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof AuthenticationResult)) return false; - AuthenticationResult other = (AuthenticationResult) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.username==null && other.getUsername()==null) || - (this.username!=null && - this.username.equals(other.getUsername()))) && - ((this.ticket==null && other.getTicket()==null) || - (this.ticket!=null && - this.ticket.equals(other.getTicket()))) && - ((this.sessionid==null && other.getSessionid()==null) || - (this.sessionid!=null && - this.sessionid.equals(other.getSessionid()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getUsername() != null) { - _hashCode += getUsername().hashCode(); - } - if (getTicket() != null) { - _hashCode += getTicket().hashCode(); - } - if (getSessionid() != null) { - _hashCode += getSessionid().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(AuthenticationResult.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "AuthenticationResult")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("username"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "username")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("ticket"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "ticket")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("sessionid"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authentication/1.0", "sessionid")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/authentication/AuthenticationServiceSoapPort.java b/source/generated/org/alfresco/repo/webservice/authentication/AuthenticationServiceSoapPort.java deleted file mode 100644 index 1544723039..0000000000 --- a/source/generated/org/alfresco/repo/webservice/authentication/AuthenticationServiceSoapPort.java +++ /dev/null @@ -1,13 +0,0 @@ -/** - * AuthenticationServiceSoapPort.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.authentication; - -public interface AuthenticationServiceSoapPort extends java.rmi.Remote { - public org.alfresco.repo.webservice.authentication.AuthenticationResult startSession(java.lang.String username, java.lang.String password) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authentication.AuthenticationFault; - public void endSession(java.lang.String ticket) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authentication.AuthenticationFault; -} diff --git a/source/generated/org/alfresco/repo/webservice/authentication/deploy.wsdd b/source/generated/org/alfresco/repo/webservice/authentication/deploy.wsdd deleted file mode 100644 index 7a7a3bc379..0000000000 --- a/source/generated/org/alfresco/repo/webservice/authentication/deploy.wsdd +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/source/generated/org/alfresco/repo/webservice/authoring/AuthoringFault.java b/source/generated/org/alfresco/repo/webservice/authoring/AuthoringFault.java deleted file mode 100644 index c7277cbbb5..0000000000 --- a/source/generated/org/alfresco/repo/webservice/authoring/AuthoringFault.java +++ /dev/null @@ -1,158 +0,0 @@ -/** - * AuthoringFault.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.authoring; - -public class AuthoringFault extends org.apache.axis.AxisFault implements java.io.Serializable { - private int errorCode; - - private java.lang.String message1; - - public AuthoringFault() { - } - - public AuthoringFault( - int errorCode, - java.lang.String message1) { - this.errorCode = errorCode; - this.message1 = message1; - } - - - /** - * Gets the errorCode value for this AuthoringFault. - * - * @return errorCode - */ - public int getErrorCode() { - return errorCode; - } - - - /** - * Sets the errorCode value for this AuthoringFault. - * - * @param errorCode - */ - public void setErrorCode(int errorCode) { - this.errorCode = errorCode; - } - - - /** - * Gets the message1 value for this AuthoringFault. - * - * @return message1 - */ - public java.lang.String getMessage1() { - return message1; - } - - - /** - * Sets the message1 value for this AuthoringFault. - * - * @param message1 - */ - public void setMessage1(java.lang.String message1) { - this.message1 = message1; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof AuthoringFault)) return false; - AuthoringFault other = (AuthoringFault) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - this.errorCode == other.getErrorCode() && - ((this.message1==null && other.getMessage1()==null) || - (this.message1!=null && - this.message1.equals(other.getMessage1()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - _hashCode += getErrorCode(); - if (getMessage1() != null) { - _hashCode += getMessage1().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(AuthoringFault.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "AuthoringFault")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("errorCode"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "errorCode")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("message1"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/authoring/1.0", "message")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - - - /** - * Writes the exception data to the faultDetails - */ - public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException { - context.serialize(qname, null, this); - } -} diff --git a/source/generated/org/alfresco/repo/webservice/authoring/AuthoringServiceSoapPort.java b/source/generated/org/alfresco/repo/webservice/authoring/AuthoringServiceSoapPort.java deleted file mode 100644 index 2534adb2af..0000000000 --- a/source/generated/org/alfresco/repo/webservice/authoring/AuthoringServiceSoapPort.java +++ /dev/null @@ -1,67 +0,0 @@ -/** - * AuthoringServiceSoapPort.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.authoring; - -public interface AuthoringServiceSoapPort extends java.rmi.Remote { - - /** - * Checkout a content resource for editing. - */ - public org.alfresco.repo.webservice.authoring.CheckoutResult checkout(org.alfresco.repo.webservice.types.Predicate items, org.alfresco.repo.webservice.types.ParentReference destination) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault; - - /** - * Checkin a content resource. - */ - public org.alfresco.repo.webservice.authoring.CheckinResult checkin(org.alfresco.repo.webservice.types.Predicate items, org.alfresco.repo.webservice.types.NamedValue[] comments, boolean keepCheckedOut) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault; - - /** - * Checkin an external content resource thus replacing the existing - * working content. - */ - public org.alfresco.repo.webservice.types.Reference checkinExternal(org.alfresco.repo.webservice.types.Reference items, org.alfresco.repo.webservice.types.NamedValue[] comments, boolean keepCheckedOut, org.alfresco.repo.webservice.types.ContentFormat format, byte[] content) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault; - - /** - * Cancels the checkout. - */ - public org.alfresco.repo.webservice.authoring.CancelCheckoutResult cancelCheckout(org.alfresco.repo.webservice.types.Predicate items) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault; - - /** - * Locks a content resource. - */ - public org.alfresco.repo.webservice.types.Reference[] lock(org.alfresco.repo.webservice.types.Predicate items, boolean lockChildren, org.alfresco.repo.webservice.authoring.LockTypeEnum lockType) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault; - - /** - * Unlocks a content resource. - */ - public org.alfresco.repo.webservice.types.Reference[] unlock(org.alfresco.repo.webservice.types.Predicate items, boolean unlockChildren) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault; - - /** - * Gets the lock status of the specified nodes. - */ - public org.alfresco.repo.webservice.authoring.LockStatus[] getLockStatus(org.alfresco.repo.webservice.types.Predicate items) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault; - - /** - * Create a snapshot of the specified node(s) in the version store. - */ - public org.alfresco.repo.webservice.authoring.VersionResult createVersion(org.alfresco.repo.webservice.types.Predicate items, org.alfresco.repo.webservice.types.NamedValue[] comments, boolean versionChildren) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault; - - /** - * Gets the version history for the specfied node. - */ - public org.alfresco.repo.webservice.types.VersionHistory getVersionHistory(org.alfresco.repo.webservice.types.Reference node) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault; - - /** - * Revert a node to the snapshot of the specified version. - */ - public void revertVersion(org.alfresco.repo.webservice.types.Reference node, java.lang.String versionLabel) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault; - - /** - * Delete all snapshot versions of the specified node. - */ - public org.alfresco.repo.webservice.types.VersionHistory deleteAllVersions(org.alfresco.repo.webservice.types.Reference node) throws java.rmi.RemoteException, org.alfresco.repo.webservice.authoring.AuthoringFault; -} diff --git a/source/generated/org/alfresco/repo/webservice/authoring/CancelCheckoutResult.java b/source/generated/org/alfresco/repo/webservice/authoring/CancelCheckoutResult.java deleted file mode 100644 index 5cd89d5cbc..0000000000 --- a/source/generated/org/alfresco/repo/webservice/authoring/CancelCheckoutResult.java +++ /dev/null @@ -1,191 +0,0 @@ -/** - * CancelCheckoutResult.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.authoring; - -public class CancelCheckoutResult implements java.io.Serializable { - private org.alfresco.repo.webservice.types.Reference[] workingCopies; - - private org.alfresco.repo.webservice.types.Reference[] originals; - - public CancelCheckoutResult() { - } - - public CancelCheckoutResult( - org.alfresco.repo.webservice.types.Reference[] workingCopies, - org.alfresco.repo.webservice.types.Reference[] originals) { - this.workingCopies = workingCopies; - this.originals = originals; - } - - - /** - * Gets the workingCopies value for this CancelCheckoutResult. - * - * @return workingCopies - */ - public org.alfresco.repo.webservice.types.Reference[] getWorkingCopies() { - return workingCopies; - } - - - /** - * Sets the workingCopies value for this CancelCheckoutResult. - * - * @param workingCopies - */ - public void setWorkingCopies(org.alfresco.repo.webservice.types.Reference[] workingCopies) { - this.workingCopies = workingCopies; - } - - public org.alfresco.repo.webservice.types.Reference getWorkingCopies(int i) { - return this.workingCopies[i]; - } - - public void setWorkingCopies(int i, org.alfresco.repo.webservice.types.Reference _value) { - this.workingCopies[i] = _value; - } - - - /** - * Gets the originals value for this CancelCheckoutResult. - * - * @return originals - */ - public org.alfresco.repo.webservice.types.Reference[] getOriginals() { - return originals; - } - - - /** - * Sets the originals value for this CancelCheckoutResult. - * - * @param originals - */ - public void setOriginals(org.alfresco.repo.webservice.types.Reference[] originals) { - this.originals = originals; - } - - public org.alfresco.repo.webservice.types.Reference getOriginals(int i) { - return this.originals[i]; - } - - public void setOriginals(int i, org.alfresco.repo.webservice.types.Reference _value) { - this.originals[i] = _value; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CancelCheckoutResult)) return false; - CancelCheckoutResult other = (CancelCheckoutResult) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.workingCopies==null && other.getWorkingCopies()==null) || - (this.workingCopies!=null && - java.util.Arrays.equals(this.workingCopies, other.getWorkingCopies()))) && - ((this.originals==null && other.getOriginals()==null) || - (this.originals!=null && - java.util.Arrays.equals(this.originals, other.getOriginals()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getWorkingCopies() != null) { - for (int i=0; - i - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/source/generated/org/alfresco/repo/webservice/classification/AppliedCategory.java b/source/generated/org/alfresco/repo/webservice/classification/AppliedCategory.java deleted file mode 100644 index adadc15040..0000000000 --- a/source/generated/org/alfresco/repo/webservice/classification/AppliedCategory.java +++ /dev/null @@ -1,173 +0,0 @@ -/** - * AppliedCategory.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.classification; - -public class AppliedCategory implements java.io.Serializable { - private java.lang.String classification; - - private org.alfresco.repo.webservice.types.Reference[] categories; - - public AppliedCategory() { - } - - public AppliedCategory( - java.lang.String classification, - org.alfresco.repo.webservice.types.Reference[] categories) { - this.classification = classification; - this.categories = categories; - } - - - /** - * Gets the classification value for this AppliedCategory. - * - * @return classification - */ - public java.lang.String getClassification() { - return classification; - } - - - /** - * Sets the classification value for this AppliedCategory. - * - * @param classification - */ - public void setClassification(java.lang.String classification) { - this.classification = classification; - } - - - /** - * Gets the categories value for this AppliedCategory. - * - * @return categories - */ - public org.alfresco.repo.webservice.types.Reference[] getCategories() { - return categories; - } - - - /** - * Sets the categories value for this AppliedCategory. - * - * @param categories - */ - public void setCategories(org.alfresco.repo.webservice.types.Reference[] categories) { - this.categories = categories; - } - - public org.alfresco.repo.webservice.types.Reference getCategories(int i) { - return this.categories[i]; - } - - public void setCategories(int i, org.alfresco.repo.webservice.types.Reference _value) { - this.categories[i] = _value; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof AppliedCategory)) return false; - AppliedCategory other = (AppliedCategory) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.classification==null && other.getClassification()==null) || - (this.classification!=null && - this.classification.equals(other.getClassification()))) && - ((this.categories==null && other.getCategories()==null) || - (this.categories!=null && - java.util.Arrays.equals(this.categories, other.getCategories()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getClassification() != null) { - _hashCode += getClassification().hashCode(); - } - if (getCategories() != null) { - for (int i=0; - i - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/source/generated/org/alfresco/repo/webservice/content/Content.java b/source/generated/org/alfresco/repo/webservice/content/Content.java deleted file mode 100644 index eed1a2c8e2..0000000000 --- a/source/generated/org/alfresco/repo/webservice/content/Content.java +++ /dev/null @@ -1,259 +0,0 @@ -/** - * Content.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.content; - -public class Content implements java.io.Serializable { - private org.alfresco.repo.webservice.types.Reference node; - - private java.lang.String property; - - private long length; - - private org.alfresco.repo.webservice.types.ContentFormat format; - - private java.lang.String url; - - public Content() { - } - - public Content( - org.alfresco.repo.webservice.types.Reference node, - java.lang.String property, - long length, - org.alfresco.repo.webservice.types.ContentFormat format, - java.lang.String url) { - this.node = node; - this.property = property; - this.length = length; - this.format = format; - this.url = url; - } - - - /** - * Gets the node value for this Content. - * - * @return node - */ - public org.alfresco.repo.webservice.types.Reference getNode() { - return node; - } - - - /** - * Sets the node value for this Content. - * - * @param node - */ - public void setNode(org.alfresco.repo.webservice.types.Reference node) { - this.node = node; - } - - - /** - * Gets the property value for this Content. - * - * @return property - */ - public java.lang.String getProperty() { - return property; - } - - - /** - * Sets the property value for this Content. - * - * @param property - */ - public void setProperty(java.lang.String property) { - this.property = property; - } - - - /** - * Gets the length value for this Content. - * - * @return length - */ - public long getLength() { - return length; - } - - - /** - * Sets the length value for this Content. - * - * @param length - */ - public void setLength(long length) { - this.length = length; - } - - - /** - * Gets the format value for this Content. - * - * @return format - */ - public org.alfresco.repo.webservice.types.ContentFormat getFormat() { - return format; - } - - - /** - * Sets the format value for this Content. - * - * @param format - */ - public void setFormat(org.alfresco.repo.webservice.types.ContentFormat format) { - this.format = format; - } - - - /** - * Gets the url value for this Content. - * - * @return url - */ - public java.lang.String getUrl() { - return url; - } - - - /** - * Sets the url value for this Content. - * - * @param url - */ - public void setUrl(java.lang.String url) { - this.url = url; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof Content)) return false; - Content other = (Content) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.node==null && other.getNode()==null) || - (this.node!=null && - this.node.equals(other.getNode()))) && - ((this.property==null && other.getProperty()==null) || - (this.property!=null && - this.property.equals(other.getProperty()))) && - this.length == other.getLength() && - ((this.format==null && other.getFormat()==null) || - (this.format!=null && - this.format.equals(other.getFormat()))) && - ((this.url==null && other.getUrl()==null) || - (this.url!=null && - this.url.equals(other.getUrl()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getNode() != null) { - _hashCode += getNode().hashCode(); - } - if (getProperty() != null) { - _hashCode += getProperty().hashCode(); - } - _hashCode += new Long(getLength()).hashCode(); - if (getFormat() != null) { - _hashCode += getFormat().hashCode(); - } - if (getUrl() != null) { - _hashCode += getUrl().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(Content.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "Content")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("node"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "node")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("property"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "property")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("length"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "length")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("format"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "format")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ContentFormat")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("url"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "url")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/content/ContentFault.java b/source/generated/org/alfresco/repo/webservice/content/ContentFault.java deleted file mode 100644 index 7c58416165..0000000000 --- a/source/generated/org/alfresco/repo/webservice/content/ContentFault.java +++ /dev/null @@ -1,158 +0,0 @@ -/** - * ContentFault.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.content; - -public class ContentFault extends org.apache.axis.AxisFault implements java.io.Serializable { - private int errorCode; - - private java.lang.String message1; - - public ContentFault() { - } - - public ContentFault( - int errorCode, - java.lang.String message1) { - this.errorCode = errorCode; - this.message1 = message1; - } - - - /** - * Gets the errorCode value for this ContentFault. - * - * @return errorCode - */ - public int getErrorCode() { - return errorCode; - } - - - /** - * Sets the errorCode value for this ContentFault. - * - * @param errorCode - */ - public void setErrorCode(int errorCode) { - this.errorCode = errorCode; - } - - - /** - * Gets the message1 value for this ContentFault. - * - * @return message1 - */ - public java.lang.String getMessage1() { - return message1; - } - - - /** - * Sets the message1 value for this ContentFault. - * - * @param message1 - */ - public void setMessage1(java.lang.String message1) { - this.message1 = message1; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof ContentFault)) return false; - ContentFault other = (ContentFault) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - this.errorCode == other.getErrorCode() && - ((this.message1==null && other.getMessage1()==null) || - (this.message1!=null && - this.message1.equals(other.getMessage1()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - _hashCode += getErrorCode(); - if (getMessage1() != null) { - _hashCode += getMessage1().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(ContentFault.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "ContentFault")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("errorCode"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "errorCode")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("message1"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "message")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - - - /** - * Writes the exception data to the faultDetails - */ - public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException { - context.serialize(qname, null, this); - } -} diff --git a/source/generated/org/alfresco/repo/webservice/content/ContentSegment.java b/source/generated/org/alfresco/repo/webservice/content/ContentSegment.java deleted file mode 100644 index ad8c8efa5c..0000000000 --- a/source/generated/org/alfresco/repo/webservice/content/ContentSegment.java +++ /dev/null @@ -1,147 +0,0 @@ -/** - * ContentSegment.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.content; - -public class ContentSegment implements java.io.Serializable { - private long offset; - - private long length; - - public ContentSegment() { - } - - public ContentSegment( - long offset, - long length) { - this.offset = offset; - this.length = length; - } - - - /** - * Gets the offset value for this ContentSegment. - * - * @return offset - */ - public long getOffset() { - return offset; - } - - - /** - * Sets the offset value for this ContentSegment. - * - * @param offset - */ - public void setOffset(long offset) { - this.offset = offset; - } - - - /** - * Gets the length value for this ContentSegment. - * - * @return length - */ - public long getLength() { - return length; - } - - - /** - * Sets the length value for this ContentSegment. - * - * @param length - */ - public void setLength(long length) { - this.length = length; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof ContentSegment)) return false; - ContentSegment other = (ContentSegment) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - this.offset == other.getOffset() && - this.length == other.getLength(); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - _hashCode += new Long(getOffset()).hashCode(); - _hashCode += new Long(getLength()).hashCode(); - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(ContentSegment.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "ContentSegment")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("offset"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "offset")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("length"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/content/1.0", "length")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/content/ContentServiceSoapPort.java b/source/generated/org/alfresco/repo/webservice/content/ContentServiceSoapPort.java deleted file mode 100644 index e37f45899a..0000000000 --- a/source/generated/org/alfresco/repo/webservice/content/ContentServiceSoapPort.java +++ /dev/null @@ -1,36 +0,0 @@ -/** - * ContentServiceSoapPort.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.content; - -public interface ContentServiceSoapPort extends java.rmi.Remote { - - /** - * Retrieves content from the repository. - */ - public org.alfresco.repo.webservice.content.Content[] read(org.alfresco.repo.webservice.types.Predicate items, java.lang.String property) throws java.rmi.RemoteException, org.alfresco.repo.webservice.content.ContentFault; - - /** - * Writes content to the repository. - */ - public org.alfresco.repo.webservice.content.Content write(org.alfresco.repo.webservice.types.Reference node, java.lang.String property, byte[] content, org.alfresco.repo.webservice.types.ContentFormat format) throws java.rmi.RemoteException, org.alfresco.repo.webservice.content.ContentFault; - - /** - * Writes the attached content into the repository. - */ - public org.alfresco.repo.webservice.content.Content writeWithAttachment(org.alfresco.repo.webservice.types.Reference node, java.lang.String property, org.alfresco.repo.webservice.types.ContentFormat format) throws java.rmi.RemoteException, org.alfresco.repo.webservice.content.ContentFault; - - /** - * Clears content from the repository. - */ - public org.alfresco.repo.webservice.content.Content[] clear(org.alfresco.repo.webservice.types.Predicate items, java.lang.String property) throws java.rmi.RemoteException, org.alfresco.repo.webservice.content.ContentFault; - - /** - * Transforms content from one mimetype to another. - */ - public org.alfresco.repo.webservice.content.Content transform(org.alfresco.repo.webservice.types.Reference source, java.lang.String property, org.alfresco.repo.webservice.types.Reference destinationReference, java.lang.String destinationProperty, org.alfresco.repo.webservice.types.ContentFormat destinationFormat) throws java.rmi.RemoteException, org.alfresco.repo.webservice.content.ContentFault; -} diff --git a/source/generated/org/alfresco/repo/webservice/content/deploy.wsdd b/source/generated/org/alfresco/repo/webservice/content/deploy.wsdd deleted file mode 100644 index 3b30c41ed3..0000000000 --- a/source/generated/org/alfresco/repo/webservice/content/deploy.wsdd +++ /dev/null @@ -1,305 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/source/generated/org/alfresco/repo/webservice/dictionary/ClassPredicate.java b/source/generated/org/alfresco/repo/webservice/dictionary/ClassPredicate.java deleted file mode 100644 index 840ab57826..0000000000 --- a/source/generated/org/alfresco/repo/webservice/dictionary/ClassPredicate.java +++ /dev/null @@ -1,201 +0,0 @@ -/** - * ClassPredicate.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.dictionary; - -public class ClassPredicate implements java.io.Serializable { - private java.lang.String[] names; - - private boolean followSubClass; - - private boolean followSuperClass; - - public ClassPredicate() { - } - - public ClassPredicate( - java.lang.String[] names, - boolean followSubClass, - boolean followSuperClass) { - this.names = names; - this.followSubClass = followSubClass; - this.followSuperClass = followSuperClass; - } - - - /** - * Gets the names value for this ClassPredicate. - * - * @return names - */ - public java.lang.String[] getNames() { - return names; - } - - - /** - * Sets the names value for this ClassPredicate. - * - * @param names - */ - public void setNames(java.lang.String[] names) { - this.names = names; - } - - public java.lang.String getNames(int i) { - return this.names[i]; - } - - public void setNames(int i, java.lang.String _value) { - this.names[i] = _value; - } - - - /** - * Gets the followSubClass value for this ClassPredicate. - * - * @return followSubClass - */ - public boolean isFollowSubClass() { - return followSubClass; - } - - - /** - * Sets the followSubClass value for this ClassPredicate. - * - * @param followSubClass - */ - public void setFollowSubClass(boolean followSubClass) { - this.followSubClass = followSubClass; - } - - - /** - * Gets the followSuperClass value for this ClassPredicate. - * - * @return followSuperClass - */ - public boolean isFollowSuperClass() { - return followSuperClass; - } - - - /** - * Sets the followSuperClass value for this ClassPredicate. - * - * @param followSuperClass - */ - public void setFollowSuperClass(boolean followSuperClass) { - this.followSuperClass = followSuperClass; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof ClassPredicate)) return false; - ClassPredicate other = (ClassPredicate) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.names==null && other.getNames()==null) || - (this.names!=null && - java.util.Arrays.equals(this.names, other.getNames()))) && - this.followSubClass == other.isFollowSubClass() && - this.followSuperClass == other.isFollowSuperClass(); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getNames() != null) { - for (int i=0; - i - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/source/generated/org/alfresco/repo/webservice/repository/Association.java b/source/generated/org/alfresco/repo/webservice/repository/Association.java deleted file mode 100644 index 94116d85f5..0000000000 --- a/source/generated/org/alfresco/repo/webservice/repository/Association.java +++ /dev/null @@ -1,155 +0,0 @@ -/** - * Association.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.repository; - -public class Association implements java.io.Serializable { - private java.lang.String associationType; - - private java.lang.String direction; - - public Association() { - } - - public Association( - java.lang.String associationType, - java.lang.String direction) { - this.associationType = associationType; - this.direction = direction; - } - - - /** - * Gets the associationType value for this Association. - * - * @return associationType - */ - public java.lang.String getAssociationType() { - return associationType; - } - - - /** - * Sets the associationType value for this Association. - * - * @param associationType - */ - public void setAssociationType(java.lang.String associationType) { - this.associationType = associationType; - } - - - /** - * Gets the direction value for this Association. - * - * @return direction - */ - public java.lang.String getDirection() { - return direction; - } - - - /** - * Sets the direction value for this Association. - * - * @param direction - */ - public void setDirection(java.lang.String direction) { - this.direction = direction; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof Association)) return false; - Association other = (Association) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.associationType==null && other.getAssociationType()==null) || - (this.associationType!=null && - this.associationType.equals(other.getAssociationType()))) && - ((this.direction==null && other.getDirection()==null) || - (this.direction!=null && - this.direction.equals(other.getDirection()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getAssociationType() != null) { - _hashCode += getAssociationType().hashCode(); - } - if (getDirection() != null) { - _hashCode += getDirection().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(Association.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "Association")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("associationType"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "associationType")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("direction"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "direction")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/repository/QueryResult.java b/source/generated/org/alfresco/repo/webservice/repository/QueryResult.java deleted file mode 100644 index ede9bab621..0000000000 --- a/source/generated/org/alfresco/repo/webservice/repository/QueryResult.java +++ /dev/null @@ -1,155 +0,0 @@ -/** - * QueryResult.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.repository; - -public class QueryResult implements java.io.Serializable { - private java.lang.String querySession; - - private org.alfresco.repo.webservice.types.ResultSet resultSet; - - public QueryResult() { - } - - public QueryResult( - java.lang.String querySession, - org.alfresco.repo.webservice.types.ResultSet resultSet) { - this.querySession = querySession; - this.resultSet = resultSet; - } - - - /** - * Gets the querySession value for this QueryResult. - * - * @return querySession - */ - public java.lang.String getQuerySession() { - return querySession; - } - - - /** - * Sets the querySession value for this QueryResult. - * - * @param querySession - */ - public void setQuerySession(java.lang.String querySession) { - this.querySession = querySession; - } - - - /** - * Gets the resultSet value for this QueryResult. - * - * @return resultSet - */ - public org.alfresco.repo.webservice.types.ResultSet getResultSet() { - return resultSet; - } - - - /** - * Sets the resultSet value for this QueryResult. - * - * @param resultSet - */ - public void setResultSet(org.alfresco.repo.webservice.types.ResultSet resultSet) { - this.resultSet = resultSet; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof QueryResult)) return false; - QueryResult other = (QueryResult) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.querySession==null && other.getQuerySession()==null) || - (this.querySession!=null && - this.querySession.equals(other.getQuerySession()))) && - ((this.resultSet==null && other.getResultSet()==null) || - (this.resultSet!=null && - this.resultSet.equals(other.getResultSet()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getQuerySession() != null) { - _hashCode += getQuerySession().hashCode(); - } - if (getResultSet() != null) { - _hashCode += getResultSet().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(QueryResult.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "QueryResult")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("querySession"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "querySession")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("resultSet"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "resultSet")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ResultSet")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/repository/RepositoryFault.java b/source/generated/org/alfresco/repo/webservice/repository/RepositoryFault.java deleted file mode 100644 index 9dcdd5fb1e..0000000000 --- a/source/generated/org/alfresco/repo/webservice/repository/RepositoryFault.java +++ /dev/null @@ -1,158 +0,0 @@ -/** - * RepositoryFault.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.repository; - -public class RepositoryFault extends org.apache.axis.AxisFault implements java.io.Serializable { - private int errorCode; - - private java.lang.String message1; - - public RepositoryFault() { - } - - public RepositoryFault( - int errorCode, - java.lang.String message1) { - this.errorCode = errorCode; - this.message1 = message1; - } - - - /** - * Gets the errorCode value for this RepositoryFault. - * - * @return errorCode - */ - public int getErrorCode() { - return errorCode; - } - - - /** - * Sets the errorCode value for this RepositoryFault. - * - * @param errorCode - */ - public void setErrorCode(int errorCode) { - this.errorCode = errorCode; - } - - - /** - * Gets the message1 value for this RepositoryFault. - * - * @return message1 - */ - public java.lang.String getMessage1() { - return message1; - } - - - /** - * Sets the message1 value for this RepositoryFault. - * - * @param message1 - */ - public void setMessage1(java.lang.String message1) { - this.message1 = message1; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof RepositoryFault)) return false; - RepositoryFault other = (RepositoryFault) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - this.errorCode == other.getErrorCode() && - ((this.message1==null && other.getMessage1()==null) || - (this.message1!=null && - this.message1.equals(other.getMessage1()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - _hashCode += getErrorCode(); - if (getMessage1() != null) { - _hashCode += getMessage1().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RepositoryFault.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "RepositoryFault")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("errorCode"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "errorCode")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("message1"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "message")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - - - /** - * Writes the exception data to the faultDetails - */ - public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException { - context.serialize(qname, null, this); - } -} diff --git a/source/generated/org/alfresco/repo/webservice/repository/RepositoryServiceSoapPort.java b/source/generated/org/alfresco/repo/webservice/repository/RepositoryServiceSoapPort.java deleted file mode 100644 index 924d2dc518..0000000000 --- a/source/generated/org/alfresco/repo/webservice/repository/RepositoryServiceSoapPort.java +++ /dev/null @@ -1,64 +0,0 @@ -/** - * RepositoryServiceSoapPort.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.repository; - -public interface RepositoryServiceSoapPort extends java.rmi.Remote { - - /** - * Creates a new repository store. - */ - public org.alfresco.repo.webservice.types.Store createStore(java.lang.String scheme, java.lang.String address) throws java.rmi.RemoteException, org.alfresco.repo.webservice.repository.RepositoryFault; - - /** - * Retrieves a list of stores where content resources are held. - */ - public org.alfresco.repo.webservice.types.Store[] getStores() throws java.rmi.RemoteException, org.alfresco.repo.webservice.repository.RepositoryFault; - - /** - * Executes a query against a store. - */ - public org.alfresco.repo.webservice.repository.QueryResult query(org.alfresco.repo.webservice.types.Store store, org.alfresco.repo.webservice.types.Query query, boolean includeMetaData) throws java.rmi.RemoteException, org.alfresco.repo.webservice.repository.RepositoryFault; - - /** - * Executes a query to retrieve the children of the specified - * resource. - */ - public org.alfresco.repo.webservice.repository.QueryResult queryChildren(org.alfresco.repo.webservice.types.Reference node) throws java.rmi.RemoteException, org.alfresco.repo.webservice.repository.RepositoryFault; - - /** - * Executes a query to retrieve the parents of the specified resource. - */ - public org.alfresco.repo.webservice.repository.QueryResult queryParents(org.alfresco.repo.webservice.types.Reference node) throws java.rmi.RemoteException, org.alfresco.repo.webservice.repository.RepositoryFault; - - /** - * Executes a query to retrieve associated resources of the specified - * resource. - */ - public org.alfresco.repo.webservice.repository.QueryResult queryAssociated(org.alfresco.repo.webservice.types.Reference node, org.alfresco.repo.webservice.repository.Association association) throws java.rmi.RemoteException, org.alfresco.repo.webservice.repository.RepositoryFault; - - /** - * Fetches the next batch of query results. - */ - public org.alfresco.repo.webservice.repository.QueryResult fetchMore(java.lang.String querySession) throws java.rmi.RemoteException, org.alfresco.repo.webservice.repository.RepositoryFault; - - /** - * Executes a CML script to manipulate the contents of a Repository - * store. - */ - public org.alfresco.repo.webservice.repository.UpdateResult[] update(org.alfresco.repo.webservice.types.CML statements) throws java.rmi.RemoteException, org.alfresco.repo.webservice.repository.RepositoryFault; - - /** - * Describes a content resource. - */ - public org.alfresco.repo.webservice.types.NodeDefinition[] describe(org.alfresco.repo.webservice.types.Predicate items) throws java.rmi.RemoteException, org.alfresco.repo.webservice.repository.RepositoryFault; - - /** - * Gets a resource from the repository. - */ - public org.alfresco.repo.webservice.types.Node[] get(org.alfresco.repo.webservice.types.Predicate where) throws java.rmi.RemoteException, org.alfresco.repo.webservice.repository.RepositoryFault; -} diff --git a/source/generated/org/alfresco/repo/webservice/repository/UpdateResult.java b/source/generated/org/alfresco/repo/webservice/repository/UpdateResult.java deleted file mode 100644 index 71d1cfaa68..0000000000 --- a/source/generated/org/alfresco/repo/webservice/repository/UpdateResult.java +++ /dev/null @@ -1,263 +0,0 @@ -/** - * UpdateResult.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.repository; - -public class UpdateResult implements java.io.Serializable { - private java.lang.String statement; - - private org.alfresco.repo.webservice.types.ResultSet updateCount; - - private java.lang.String sourceId; - - private org.alfresco.repo.webservice.types.Reference source; - - private org.alfresco.repo.webservice.types.Reference destination; - - public UpdateResult() { - } - - public UpdateResult( - java.lang.String statement, - org.alfresco.repo.webservice.types.ResultSet updateCount, - java.lang.String sourceId, - org.alfresco.repo.webservice.types.Reference source, - org.alfresco.repo.webservice.types.Reference destination) { - this.statement = statement; - this.updateCount = updateCount; - this.sourceId = sourceId; - this.source = source; - this.destination = destination; - } - - - /** - * Gets the statement value for this UpdateResult. - * - * @return statement - */ - public java.lang.String getStatement() { - return statement; - } - - - /** - * Sets the statement value for this UpdateResult. - * - * @param statement - */ - public void setStatement(java.lang.String statement) { - this.statement = statement; - } - - - /** - * Gets the updateCount value for this UpdateResult. - * - * @return updateCount - */ - public org.alfresco.repo.webservice.types.ResultSet getUpdateCount() { - return updateCount; - } - - - /** - * Sets the updateCount value for this UpdateResult. - * - * @param updateCount - */ - public void setUpdateCount(org.alfresco.repo.webservice.types.ResultSet updateCount) { - this.updateCount = updateCount; - } - - - /** - * Gets the sourceId value for this UpdateResult. - * - * @return sourceId - */ - public java.lang.String getSourceId() { - return sourceId; - } - - - /** - * Sets the sourceId value for this UpdateResult. - * - * @param sourceId - */ - public void setSourceId(java.lang.String sourceId) { - this.sourceId = sourceId; - } - - - /** - * Gets the source value for this UpdateResult. - * - * @return source - */ - public org.alfresco.repo.webservice.types.Reference getSource() { - return source; - } - - - /** - * Sets the source value for this UpdateResult. - * - * @param source - */ - public void setSource(org.alfresco.repo.webservice.types.Reference source) { - this.source = source; - } - - - /** - * Gets the destination value for this UpdateResult. - * - * @return destination - */ - public org.alfresco.repo.webservice.types.Reference getDestination() { - return destination; - } - - - /** - * Sets the destination value for this UpdateResult. - * - * @param destination - */ - public void setDestination(org.alfresco.repo.webservice.types.Reference destination) { - this.destination = destination; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof UpdateResult)) return false; - UpdateResult other = (UpdateResult) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.statement==null && other.getStatement()==null) || - (this.statement!=null && - this.statement.equals(other.getStatement()))) && - ((this.updateCount==null && other.getUpdateCount()==null) || - (this.updateCount!=null && - this.updateCount.equals(other.getUpdateCount()))) && - ((this.sourceId==null && other.getSourceId()==null) || - (this.sourceId!=null && - this.sourceId.equals(other.getSourceId()))) && - ((this.source==null && other.getSource()==null) || - (this.source!=null && - this.source.equals(other.getSource()))) && - ((this.destination==null && other.getDestination()==null) || - (this.destination!=null && - this.destination.equals(other.getDestination()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getStatement() != null) { - _hashCode += getStatement().hashCode(); - } - if (getUpdateCount() != null) { - _hashCode += getUpdateCount().hashCode(); - } - if (getSourceId() != null) { - _hashCode += getSourceId().hashCode(); - } - if (getSource() != null) { - _hashCode += getSource().hashCode(); - } - if (getDestination() != null) { - _hashCode += getDestination().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(UpdateResult.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "UpdateResult")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("statement"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "statement")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("updateCount"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "updateCount")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ResultSet")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("sourceId"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "sourceId")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("source"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "source")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("destination"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/service/repository/1.0", "destination")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/repository/deploy.wsdd b/source/generated/org/alfresco/repo/webservice/repository/deploy.wsdd deleted file mode 100644 index 2853e8a04d..0000000000 --- a/source/generated/org/alfresco/repo/webservice/repository/deploy.wsdd +++ /dev/null @@ -1,460 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/source/generated/org/alfresco/repo/webservice/types/AssociationDefinition.java b/source/generated/org/alfresco/repo/webservice/types/AssociationDefinition.java deleted file mode 100644 index e9a0f5d382..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/AssociationDefinition.java +++ /dev/null @@ -1,335 +0,0 @@ -/** - * AssociationDefinition.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class AssociationDefinition implements java.io.Serializable { - private java.lang.String name; - - private java.lang.String title; - - private java.lang.String description; - - private boolean isChild; - - private org.alfresco.repo.webservice.types.RoleDefinition sourceRole; - - private org.alfresco.repo.webservice.types.RoleDefinition targetRole; - - private java.lang.String targetClass; - - public AssociationDefinition() { - } - - public AssociationDefinition( - java.lang.String name, - java.lang.String title, - java.lang.String description, - boolean isChild, - org.alfresco.repo.webservice.types.RoleDefinition sourceRole, - org.alfresco.repo.webservice.types.RoleDefinition targetRole, - java.lang.String targetClass) { - this.name = name; - this.title = title; - this.description = description; - this.isChild = isChild; - this.sourceRole = sourceRole; - this.targetRole = targetRole; - this.targetClass = targetClass; - } - - - /** - * Gets the name value for this AssociationDefinition. - * - * @return name - */ - public java.lang.String getName() { - return name; - } - - - /** - * Sets the name value for this AssociationDefinition. - * - * @param name - */ - public void setName(java.lang.String name) { - this.name = name; - } - - - /** - * Gets the title value for this AssociationDefinition. - * - * @return title - */ - public java.lang.String getTitle() { - return title; - } - - - /** - * Sets the title value for this AssociationDefinition. - * - * @param title - */ - public void setTitle(java.lang.String title) { - this.title = title; - } - - - /** - * Gets the description value for this AssociationDefinition. - * - * @return description - */ - public java.lang.String getDescription() { - return description; - } - - - /** - * Sets the description value for this AssociationDefinition. - * - * @param description - */ - public void setDescription(java.lang.String description) { - this.description = description; - } - - - /** - * Gets the isChild value for this AssociationDefinition. - * - * @return isChild - */ - public boolean isIsChild() { - return isChild; - } - - - /** - * Sets the isChild value for this AssociationDefinition. - * - * @param isChild - */ - public void setIsChild(boolean isChild) { - this.isChild = isChild; - } - - - /** - * Gets the sourceRole value for this AssociationDefinition. - * - * @return sourceRole - */ - public org.alfresco.repo.webservice.types.RoleDefinition getSourceRole() { - return sourceRole; - } - - - /** - * Sets the sourceRole value for this AssociationDefinition. - * - * @param sourceRole - */ - public void setSourceRole(org.alfresco.repo.webservice.types.RoleDefinition sourceRole) { - this.sourceRole = sourceRole; - } - - - /** - * Gets the targetRole value for this AssociationDefinition. - * - * @return targetRole - */ - public org.alfresco.repo.webservice.types.RoleDefinition getTargetRole() { - return targetRole; - } - - - /** - * Sets the targetRole value for this AssociationDefinition. - * - * @param targetRole - */ - public void setTargetRole(org.alfresco.repo.webservice.types.RoleDefinition targetRole) { - this.targetRole = targetRole; - } - - - /** - * Gets the targetClass value for this AssociationDefinition. - * - * @return targetClass - */ - public java.lang.String getTargetClass() { - return targetClass; - } - - - /** - * Sets the targetClass value for this AssociationDefinition. - * - * @param targetClass - */ - public void setTargetClass(java.lang.String targetClass) { - this.targetClass = targetClass; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof AssociationDefinition)) return false; - AssociationDefinition other = (AssociationDefinition) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.name==null && other.getName()==null) || - (this.name!=null && - this.name.equals(other.getName()))) && - ((this.title==null && other.getTitle()==null) || - (this.title!=null && - this.title.equals(other.getTitle()))) && - ((this.description==null && other.getDescription()==null) || - (this.description!=null && - this.description.equals(other.getDescription()))) && - this.isChild == other.isIsChild() && - ((this.sourceRole==null && other.getSourceRole()==null) || - (this.sourceRole!=null && - this.sourceRole.equals(other.getSourceRole()))) && - ((this.targetRole==null && other.getTargetRole()==null) || - (this.targetRole!=null && - this.targetRole.equals(other.getTargetRole()))) && - ((this.targetClass==null && other.getTargetClass()==null) || - (this.targetClass!=null && - this.targetClass.equals(other.getTargetClass()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getName() != null) { - _hashCode += getName().hashCode(); - } - if (getTitle() != null) { - _hashCode += getTitle().hashCode(); - } - if (getDescription() != null) { - _hashCode += getDescription().hashCode(); - } - _hashCode += (isIsChild() ? Boolean.TRUE : Boolean.FALSE).hashCode(); - if (getSourceRole() != null) { - _hashCode += getSourceRole().hashCode(); - } - if (getTargetRole() != null) { - _hashCode += getTargetRole().hashCode(); - } - if (getTargetClass() != null) { - _hashCode += getTargetClass().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(AssociationDefinition.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "AssociationDefinition")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("title"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "title")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("description"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "description")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("isChild"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "isChild")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("sourceRole"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "sourceRole")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "RoleDefinition")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("targetRole"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "targetRole")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "RoleDefinition")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("targetClass"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "targetClass")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/CML.java b/source/generated/org/alfresco/repo/webservice/types/CML.java deleted file mode 100644 index 0c8587c9ef..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/CML.java +++ /dev/null @@ -1,731 +0,0 @@ -/** - * CML.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class CML implements java.io.Serializable { - private org.alfresco.repo.webservice.types.CMLCreate[] create; - - private org.alfresco.repo.webservice.types.CMLAddAspect[] addAspect; - - private org.alfresco.repo.webservice.types.CMLRemoveAspect[] removeAspect; - - private org.alfresco.repo.webservice.types.CMLUpdate[] update; - - private org.alfresco.repo.webservice.types.CMLWriteContent[] writeContent; - - private org.alfresco.repo.webservice.types.CMLDelete[] delete; - - private org.alfresco.repo.webservice.types.CMLMove[] move; - - private org.alfresco.repo.webservice.types.CMLCopy[] copy; - - private org.alfresco.repo.webservice.types.CMLAddChild[] addChild; - - private org.alfresco.repo.webservice.types.CMLRemoveChild[] removeChild; - - private org.alfresco.repo.webservice.types.CMLCreateAssociation[] createAssociation; - - private org.alfresco.repo.webservice.types.CMLRemoveAssociation[] removeAssociation; - - public CML() { - } - - public CML( - org.alfresco.repo.webservice.types.CMLCreate[] create, - org.alfresco.repo.webservice.types.CMLAddAspect[] addAspect, - org.alfresco.repo.webservice.types.CMLRemoveAspect[] removeAspect, - org.alfresco.repo.webservice.types.CMLUpdate[] update, - org.alfresco.repo.webservice.types.CMLWriteContent[] writeContent, - org.alfresco.repo.webservice.types.CMLDelete[] delete, - org.alfresco.repo.webservice.types.CMLMove[] move, - org.alfresco.repo.webservice.types.CMLCopy[] copy, - org.alfresco.repo.webservice.types.CMLAddChild[] addChild, - org.alfresco.repo.webservice.types.CMLRemoveChild[] removeChild, - org.alfresco.repo.webservice.types.CMLCreateAssociation[] createAssociation, - org.alfresco.repo.webservice.types.CMLRemoveAssociation[] removeAssociation) { - this.create = create; - this.addAspect = addAspect; - this.removeAspect = removeAspect; - this.update = update; - this.writeContent = writeContent; - this.delete = delete; - this.move = move; - this.copy = copy; - this.addChild = addChild; - this.removeChild = removeChild; - this.createAssociation = createAssociation; - this.removeAssociation = removeAssociation; - } - - - /** - * Gets the create value for this CML. - * - * @return create - */ - public org.alfresco.repo.webservice.types.CMLCreate[] getCreate() { - return create; - } - - - /** - * Sets the create value for this CML. - * - * @param create - */ - public void setCreate(org.alfresco.repo.webservice.types.CMLCreate[] create) { - this.create = create; - } - - public org.alfresco.repo.webservice.types.CMLCreate getCreate(int i) { - return this.create[i]; - } - - public void setCreate(int i, org.alfresco.repo.webservice.types.CMLCreate _value) { - this.create[i] = _value; - } - - - /** - * Gets the addAspect value for this CML. - * - * @return addAspect - */ - public org.alfresco.repo.webservice.types.CMLAddAspect[] getAddAspect() { - return addAspect; - } - - - /** - * Sets the addAspect value for this CML. - * - * @param addAspect - */ - public void setAddAspect(org.alfresco.repo.webservice.types.CMLAddAspect[] addAspect) { - this.addAspect = addAspect; - } - - public org.alfresco.repo.webservice.types.CMLAddAspect getAddAspect(int i) { - return this.addAspect[i]; - } - - public void setAddAspect(int i, org.alfresco.repo.webservice.types.CMLAddAspect _value) { - this.addAspect[i] = _value; - } - - - /** - * Gets the removeAspect value for this CML. - * - * @return removeAspect - */ - public org.alfresco.repo.webservice.types.CMLRemoveAspect[] getRemoveAspect() { - return removeAspect; - } - - - /** - * Sets the removeAspect value for this CML. - * - * @param removeAspect - */ - public void setRemoveAspect(org.alfresco.repo.webservice.types.CMLRemoveAspect[] removeAspect) { - this.removeAspect = removeAspect; - } - - public org.alfresco.repo.webservice.types.CMLRemoveAspect getRemoveAspect(int i) { - return this.removeAspect[i]; - } - - public void setRemoveAspect(int i, org.alfresco.repo.webservice.types.CMLRemoveAspect _value) { - this.removeAspect[i] = _value; - } - - - /** - * Gets the update value for this CML. - * - * @return update - */ - public org.alfresco.repo.webservice.types.CMLUpdate[] getUpdate() { - return update; - } - - - /** - * Sets the update value for this CML. - * - * @param update - */ - public void setUpdate(org.alfresco.repo.webservice.types.CMLUpdate[] update) { - this.update = update; - } - - public org.alfresco.repo.webservice.types.CMLUpdate getUpdate(int i) { - return this.update[i]; - } - - public void setUpdate(int i, org.alfresco.repo.webservice.types.CMLUpdate _value) { - this.update[i] = _value; - } - - - /** - * Gets the writeContent value for this CML. - * - * @return writeContent - */ - public org.alfresco.repo.webservice.types.CMLWriteContent[] getWriteContent() { - return writeContent; - } - - - /** - * Sets the writeContent value for this CML. - * - * @param writeContent - */ - public void setWriteContent(org.alfresco.repo.webservice.types.CMLWriteContent[] writeContent) { - this.writeContent = writeContent; - } - - public org.alfresco.repo.webservice.types.CMLWriteContent getWriteContent(int i) { - return this.writeContent[i]; - } - - public void setWriteContent(int i, org.alfresco.repo.webservice.types.CMLWriteContent _value) { - this.writeContent[i] = _value; - } - - - /** - * Gets the delete value for this CML. - * - * @return delete - */ - public org.alfresco.repo.webservice.types.CMLDelete[] getDelete() { - return delete; - } - - - /** - * Sets the delete value for this CML. - * - * @param delete - */ - public void setDelete(org.alfresco.repo.webservice.types.CMLDelete[] delete) { - this.delete = delete; - } - - public org.alfresco.repo.webservice.types.CMLDelete getDelete(int i) { - return this.delete[i]; - } - - public void setDelete(int i, org.alfresco.repo.webservice.types.CMLDelete _value) { - this.delete[i] = _value; - } - - - /** - * Gets the move value for this CML. - * - * @return move - */ - public org.alfresco.repo.webservice.types.CMLMove[] getMove() { - return move; - } - - - /** - * Sets the move value for this CML. - * - * @param move - */ - public void setMove(org.alfresco.repo.webservice.types.CMLMove[] move) { - this.move = move; - } - - public org.alfresco.repo.webservice.types.CMLMove getMove(int i) { - return this.move[i]; - } - - public void setMove(int i, org.alfresco.repo.webservice.types.CMLMove _value) { - this.move[i] = _value; - } - - - /** - * Gets the copy value for this CML. - * - * @return copy - */ - public org.alfresco.repo.webservice.types.CMLCopy[] getCopy() { - return copy; - } - - - /** - * Sets the copy value for this CML. - * - * @param copy - */ - public void setCopy(org.alfresco.repo.webservice.types.CMLCopy[] copy) { - this.copy = copy; - } - - public org.alfresco.repo.webservice.types.CMLCopy getCopy(int i) { - return this.copy[i]; - } - - public void setCopy(int i, org.alfresco.repo.webservice.types.CMLCopy _value) { - this.copy[i] = _value; - } - - - /** - * Gets the addChild value for this CML. - * - * @return addChild - */ - public org.alfresco.repo.webservice.types.CMLAddChild[] getAddChild() { - return addChild; - } - - - /** - * Sets the addChild value for this CML. - * - * @param addChild - */ - public void setAddChild(org.alfresco.repo.webservice.types.CMLAddChild[] addChild) { - this.addChild = addChild; - } - - public org.alfresco.repo.webservice.types.CMLAddChild getAddChild(int i) { - return this.addChild[i]; - } - - public void setAddChild(int i, org.alfresco.repo.webservice.types.CMLAddChild _value) { - this.addChild[i] = _value; - } - - - /** - * Gets the removeChild value for this CML. - * - * @return removeChild - */ - public org.alfresco.repo.webservice.types.CMLRemoveChild[] getRemoveChild() { - return removeChild; - } - - - /** - * Sets the removeChild value for this CML. - * - * @param removeChild - */ - public void setRemoveChild(org.alfresco.repo.webservice.types.CMLRemoveChild[] removeChild) { - this.removeChild = removeChild; - } - - public org.alfresco.repo.webservice.types.CMLRemoveChild getRemoveChild(int i) { - return this.removeChild[i]; - } - - public void setRemoveChild(int i, org.alfresco.repo.webservice.types.CMLRemoveChild _value) { - this.removeChild[i] = _value; - } - - - /** - * Gets the createAssociation value for this CML. - * - * @return createAssociation - */ - public org.alfresco.repo.webservice.types.CMLCreateAssociation[] getCreateAssociation() { - return createAssociation; - } - - - /** - * Sets the createAssociation value for this CML. - * - * @param createAssociation - */ - public void setCreateAssociation(org.alfresco.repo.webservice.types.CMLCreateAssociation[] createAssociation) { - this.createAssociation = createAssociation; - } - - public org.alfresco.repo.webservice.types.CMLCreateAssociation getCreateAssociation(int i) { - return this.createAssociation[i]; - } - - public void setCreateAssociation(int i, org.alfresco.repo.webservice.types.CMLCreateAssociation _value) { - this.createAssociation[i] = _value; - } - - - /** - * Gets the removeAssociation value for this CML. - * - * @return removeAssociation - */ - public org.alfresco.repo.webservice.types.CMLRemoveAssociation[] getRemoveAssociation() { - return removeAssociation; - } - - - /** - * Sets the removeAssociation value for this CML. - * - * @param removeAssociation - */ - public void setRemoveAssociation(org.alfresco.repo.webservice.types.CMLRemoveAssociation[] removeAssociation) { - this.removeAssociation = removeAssociation; - } - - public org.alfresco.repo.webservice.types.CMLRemoveAssociation getRemoveAssociation(int i) { - return this.removeAssociation[i]; - } - - public void setRemoveAssociation(int i, org.alfresco.repo.webservice.types.CMLRemoveAssociation _value) { - this.removeAssociation[i] = _value; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CML)) return false; - CML other = (CML) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.create==null && other.getCreate()==null) || - (this.create!=null && - java.util.Arrays.equals(this.create, other.getCreate()))) && - ((this.addAspect==null && other.getAddAspect()==null) || - (this.addAspect!=null && - java.util.Arrays.equals(this.addAspect, other.getAddAspect()))) && - ((this.removeAspect==null && other.getRemoveAspect()==null) || - (this.removeAspect!=null && - java.util.Arrays.equals(this.removeAspect, other.getRemoveAspect()))) && - ((this.update==null && other.getUpdate()==null) || - (this.update!=null && - java.util.Arrays.equals(this.update, other.getUpdate()))) && - ((this.writeContent==null && other.getWriteContent()==null) || - (this.writeContent!=null && - java.util.Arrays.equals(this.writeContent, other.getWriteContent()))) && - ((this.delete==null && other.getDelete()==null) || - (this.delete!=null && - java.util.Arrays.equals(this.delete, other.getDelete()))) && - ((this.move==null && other.getMove()==null) || - (this.move!=null && - java.util.Arrays.equals(this.move, other.getMove()))) && - ((this.copy==null && other.getCopy()==null) || - (this.copy!=null && - java.util.Arrays.equals(this.copy, other.getCopy()))) && - ((this.addChild==null && other.getAddChild()==null) || - (this.addChild!=null && - java.util.Arrays.equals(this.addChild, other.getAddChild()))) && - ((this.removeChild==null && other.getRemoveChild()==null) || - (this.removeChild!=null && - java.util.Arrays.equals(this.removeChild, other.getRemoveChild()))) && - ((this.createAssociation==null && other.getCreateAssociation()==null) || - (this.createAssociation!=null && - java.util.Arrays.equals(this.createAssociation, other.getCreateAssociation()))) && - ((this.removeAssociation==null && other.getRemoveAssociation()==null) || - (this.removeAssociation!=null && - java.util.Arrays.equals(this.removeAssociation, other.getRemoveAssociation()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getCreate() != null) { - for (int i=0; - iCML>create")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("addAspect"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "addAspect")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>addAspect")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("removeAspect"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "removeAspect")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>removeAspect")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("update"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "update")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>update")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("writeContent"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "writeContent")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>writeContent")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("delete"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "delete")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>delete")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("move"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "move")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>move")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("copy"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "copy")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>copy")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("addChild"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "addChild")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>addChild")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("removeChild"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "removeChild")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>removeChild")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("createAssociation"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "createAssociation")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>createAssociation")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("removeAssociation"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "removeAssociation")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>removeAssociation")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/CMLAddAspect.java b/source/generated/org/alfresco/repo/webservice/types/CMLAddAspect.java deleted file mode 100644 index 9f7400be16..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/CMLAddAspect.java +++ /dev/null @@ -1,247 +0,0 @@ -/** - * CMLAddAspect.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class CMLAddAspect implements java.io.Serializable { - private java.lang.String aspect; - - private org.alfresco.repo.webservice.types.NamedValue[] property; - - private org.alfresco.repo.webservice.types.Predicate where; - - private java.lang.String where_id; - - public CMLAddAspect() { - } - - public CMLAddAspect( - java.lang.String aspect, - org.alfresco.repo.webservice.types.NamedValue[] property, - org.alfresco.repo.webservice.types.Predicate where, - java.lang.String where_id) { - this.aspect = aspect; - this.property = property; - this.where = where; - this.where_id = where_id; - } - - - /** - * Gets the aspect value for this CMLAddAspect. - * - * @return aspect - */ - public java.lang.String getAspect() { - return aspect; - } - - - /** - * Sets the aspect value for this CMLAddAspect. - * - * @param aspect - */ - public void setAspect(java.lang.String aspect) { - this.aspect = aspect; - } - - - /** - * Gets the property value for this CMLAddAspect. - * - * @return property - */ - public org.alfresco.repo.webservice.types.NamedValue[] getProperty() { - return property; - } - - - /** - * Sets the property value for this CMLAddAspect. - * - * @param property - */ - public void setProperty(org.alfresco.repo.webservice.types.NamedValue[] property) { - this.property = property; - } - - public org.alfresco.repo.webservice.types.NamedValue getProperty(int i) { - return this.property[i]; - } - - public void setProperty(int i, org.alfresco.repo.webservice.types.NamedValue _value) { - this.property[i] = _value; - } - - - /** - * Gets the where value for this CMLAddAspect. - * - * @return where - */ - public org.alfresco.repo.webservice.types.Predicate getWhere() { - return where; - } - - - /** - * Sets the where value for this CMLAddAspect. - * - * @param where - */ - public void setWhere(org.alfresco.repo.webservice.types.Predicate where) { - this.where = where; - } - - - /** - * Gets the where_id value for this CMLAddAspect. - * - * @return where_id - */ - public java.lang.String getWhere_id() { - return where_id; - } - - - /** - * Sets the where_id value for this CMLAddAspect. - * - * @param where_id - */ - public void setWhere_id(java.lang.String where_id) { - this.where_id = where_id; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CMLAddAspect)) return false; - CMLAddAspect other = (CMLAddAspect) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.aspect==null && other.getAspect()==null) || - (this.aspect!=null && - this.aspect.equals(other.getAspect()))) && - ((this.property==null && other.getProperty()==null) || - (this.property!=null && - java.util.Arrays.equals(this.property, other.getProperty()))) && - ((this.where==null && other.getWhere()==null) || - (this.where!=null && - this.where.equals(other.getWhere()))) && - ((this.where_id==null && other.getWhere_id()==null) || - (this.where_id!=null && - this.where_id.equals(other.getWhere_id()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getAspect() != null) { - _hashCode += getAspect().hashCode(); - } - if (getProperty() != null) { - for (int i=0; - iCML>addAspect")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("aspect"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "aspect")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("property"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "property")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NamedValue")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/CMLAddChild.java b/source/generated/org/alfresco/repo/webservice/types/CMLAddChild.java deleted file mode 100644 index 3317866ddd..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/CMLAddChild.java +++ /dev/null @@ -1,305 +0,0 @@ -/** - * CMLAddChild.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class CMLAddChild implements java.io.Serializable { - private org.alfresco.repo.webservice.types.ParentReference to; - - private java.lang.String to_id; - - private java.lang.String associationType; - - private java.lang.String childName; - - private org.alfresco.repo.webservice.types.Predicate where; - - private java.lang.String where_id; - - public CMLAddChild() { - } - - public CMLAddChild( - org.alfresco.repo.webservice.types.ParentReference to, - java.lang.String to_id, - java.lang.String associationType, - java.lang.String childName, - org.alfresco.repo.webservice.types.Predicate where, - java.lang.String where_id) { - this.to = to; - this.to_id = to_id; - this.associationType = associationType; - this.childName = childName; - this.where = where; - this.where_id = where_id; - } - - - /** - * Gets the to value for this CMLAddChild. - * - * @return to - */ - public org.alfresco.repo.webservice.types.ParentReference getTo() { - return to; - } - - - /** - * Sets the to value for this CMLAddChild. - * - * @param to - */ - public void setTo(org.alfresco.repo.webservice.types.ParentReference to) { - this.to = to; - } - - - /** - * Gets the to_id value for this CMLAddChild. - * - * @return to_id - */ - public java.lang.String getTo_id() { - return to_id; - } - - - /** - * Sets the to_id value for this CMLAddChild. - * - * @param to_id - */ - public void setTo_id(java.lang.String to_id) { - this.to_id = to_id; - } - - - /** - * Gets the associationType value for this CMLAddChild. - * - * @return associationType - */ - public java.lang.String getAssociationType() { - return associationType; - } - - - /** - * Sets the associationType value for this CMLAddChild. - * - * @param associationType - */ - public void setAssociationType(java.lang.String associationType) { - this.associationType = associationType; - } - - - /** - * Gets the childName value for this CMLAddChild. - * - * @return childName - */ - public java.lang.String getChildName() { - return childName; - } - - - /** - * Sets the childName value for this CMLAddChild. - * - * @param childName - */ - public void setChildName(java.lang.String childName) { - this.childName = childName; - } - - - /** - * Gets the where value for this CMLAddChild. - * - * @return where - */ - public org.alfresco.repo.webservice.types.Predicate getWhere() { - return where; - } - - - /** - * Sets the where value for this CMLAddChild. - * - * @param where - */ - public void setWhere(org.alfresco.repo.webservice.types.Predicate where) { - this.where = where; - } - - - /** - * Gets the where_id value for this CMLAddChild. - * - * @return where_id - */ - public java.lang.String getWhere_id() { - return where_id; - } - - - /** - * Sets the where_id value for this CMLAddChild. - * - * @param where_id - */ - public void setWhere_id(java.lang.String where_id) { - this.where_id = where_id; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CMLAddChild)) return false; - CMLAddChild other = (CMLAddChild) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.to==null && other.getTo()==null) || - (this.to!=null && - this.to.equals(other.getTo()))) && - ((this.to_id==null && other.getTo_id()==null) || - (this.to_id!=null && - this.to_id.equals(other.getTo_id()))) && - ((this.associationType==null && other.getAssociationType()==null) || - (this.associationType!=null && - this.associationType.equals(other.getAssociationType()))) && - ((this.childName==null && other.getChildName()==null) || - (this.childName!=null && - this.childName.equals(other.getChildName()))) && - ((this.where==null && other.getWhere()==null) || - (this.where!=null && - this.where.equals(other.getWhere()))) && - ((this.where_id==null && other.getWhere_id()==null) || - (this.where_id!=null && - this.where_id.equals(other.getWhere_id()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getTo() != null) { - _hashCode += getTo().hashCode(); - } - if (getTo_id() != null) { - _hashCode += getTo_id().hashCode(); - } - if (getAssociationType() != null) { - _hashCode += getAssociationType().hashCode(); - } - if (getChildName() != null) { - _hashCode += getChildName().hashCode(); - } - if (getWhere() != null) { - _hashCode += getWhere().hashCode(); - } - if (getWhere_id() != null) { - _hashCode += getWhere_id().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(CMLAddChild.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>addChild")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("to"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ParentReference")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("to_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("associationType"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "associationType")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("childName"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "childName")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/CMLCopy.java b/source/generated/org/alfresco/repo/webservice/types/CMLCopy.java deleted file mode 100644 index a84feed2f4..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/CMLCopy.java +++ /dev/null @@ -1,342 +0,0 @@ -/** - * CMLCopy.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class CMLCopy implements java.io.Serializable { - private org.alfresco.repo.webservice.types.ParentReference to; - - private java.lang.String to_id; - - private java.lang.String associationType; - - private java.lang.String childName; - - private org.alfresco.repo.webservice.types.Predicate where; - - private java.lang.String where_id; - - private java.lang.Boolean children; - - public CMLCopy() { - } - - public CMLCopy( - org.alfresco.repo.webservice.types.ParentReference to, - java.lang.String to_id, - java.lang.String associationType, - java.lang.String childName, - org.alfresco.repo.webservice.types.Predicate where, - java.lang.String where_id, - java.lang.Boolean children) { - this.to = to; - this.to_id = to_id; - this.associationType = associationType; - this.childName = childName; - this.where = where; - this.where_id = where_id; - this.children = children; - } - - - /** - * Gets the to value for this CMLCopy. - * - * @return to - */ - public org.alfresco.repo.webservice.types.ParentReference getTo() { - return to; - } - - - /** - * Sets the to value for this CMLCopy. - * - * @param to - */ - public void setTo(org.alfresco.repo.webservice.types.ParentReference to) { - this.to = to; - } - - - /** - * Gets the to_id value for this CMLCopy. - * - * @return to_id - */ - public java.lang.String getTo_id() { - return to_id; - } - - - /** - * Sets the to_id value for this CMLCopy. - * - * @param to_id - */ - public void setTo_id(java.lang.String to_id) { - this.to_id = to_id; - } - - - /** - * Gets the associationType value for this CMLCopy. - * - * @return associationType - */ - public java.lang.String getAssociationType() { - return associationType; - } - - - /** - * Sets the associationType value for this CMLCopy. - * - * @param associationType - */ - public void setAssociationType(java.lang.String associationType) { - this.associationType = associationType; - } - - - /** - * Gets the childName value for this CMLCopy. - * - * @return childName - */ - public java.lang.String getChildName() { - return childName; - } - - - /** - * Sets the childName value for this CMLCopy. - * - * @param childName - */ - public void setChildName(java.lang.String childName) { - this.childName = childName; - } - - - /** - * Gets the where value for this CMLCopy. - * - * @return where - */ - public org.alfresco.repo.webservice.types.Predicate getWhere() { - return where; - } - - - /** - * Sets the where value for this CMLCopy. - * - * @param where - */ - public void setWhere(org.alfresco.repo.webservice.types.Predicate where) { - this.where = where; - } - - - /** - * Gets the where_id value for this CMLCopy. - * - * @return where_id - */ - public java.lang.String getWhere_id() { - return where_id; - } - - - /** - * Sets the where_id value for this CMLCopy. - * - * @param where_id - */ - public void setWhere_id(java.lang.String where_id) { - this.where_id = where_id; - } - - - /** - * Gets the children value for this CMLCopy. - * - * @return children - */ - public java.lang.Boolean getChildren() { - return children; - } - - - /** - * Sets the children value for this CMLCopy. - * - * @param children - */ - public void setChildren(java.lang.Boolean children) { - this.children = children; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CMLCopy)) return false; - CMLCopy other = (CMLCopy) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.to==null && other.getTo()==null) || - (this.to!=null && - this.to.equals(other.getTo()))) && - ((this.to_id==null && other.getTo_id()==null) || - (this.to_id!=null && - this.to_id.equals(other.getTo_id()))) && - ((this.associationType==null && other.getAssociationType()==null) || - (this.associationType!=null && - this.associationType.equals(other.getAssociationType()))) && - ((this.childName==null && other.getChildName()==null) || - (this.childName!=null && - this.childName.equals(other.getChildName()))) && - ((this.where==null && other.getWhere()==null) || - (this.where!=null && - this.where.equals(other.getWhere()))) && - ((this.where_id==null && other.getWhere_id()==null) || - (this.where_id!=null && - this.where_id.equals(other.getWhere_id()))) && - ((this.children==null && other.getChildren()==null) || - (this.children!=null && - this.children.equals(other.getChildren()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getTo() != null) { - _hashCode += getTo().hashCode(); - } - if (getTo_id() != null) { - _hashCode += getTo_id().hashCode(); - } - if (getAssociationType() != null) { - _hashCode += getAssociationType().hashCode(); - } - if (getChildName() != null) { - _hashCode += getChildName().hashCode(); - } - if (getWhere() != null) { - _hashCode += getWhere().hashCode(); - } - if (getWhere_id() != null) { - _hashCode += getWhere_id().hashCode(); - } - if (getChildren() != null) { - _hashCode += getChildren().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(CMLCopy.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>copy")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("to"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ParentReference")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("to_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("associationType"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "associationType")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("childName"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "childName")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("children"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "children")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/CMLCreate.java b/source/generated/org/alfresco/repo/webservice/types/CMLCreate.java deleted file mode 100644 index 31f5e5a692..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/CMLCreate.java +++ /dev/null @@ -1,359 +0,0 @@ -/** - * CMLCreate.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class CMLCreate implements java.io.Serializable { - private java.lang.String id; - - private org.alfresco.repo.webservice.types.ParentReference parent; - - private java.lang.String parent_id; - - private java.lang.String associationType; - - private java.lang.String childName; - - private java.lang.String type; - - private org.alfresco.repo.webservice.types.NamedValue[] property; - - public CMLCreate() { - } - - public CMLCreate( - java.lang.String id, - org.alfresco.repo.webservice.types.ParentReference parent, - java.lang.String parent_id, - java.lang.String associationType, - java.lang.String childName, - java.lang.String type, - org.alfresco.repo.webservice.types.NamedValue[] property) { - this.id = id; - this.parent = parent; - this.parent_id = parent_id; - this.associationType = associationType; - this.childName = childName; - this.type = type; - this.property = property; - } - - - /** - * Gets the id value for this CMLCreate. - * - * @return id - */ - public java.lang.String getId() { - return id; - } - - - /** - * Sets the id value for this CMLCreate. - * - * @param id - */ - public void setId(java.lang.String id) { - this.id = id; - } - - - /** - * Gets the parent value for this CMLCreate. - * - * @return parent - */ - public org.alfresco.repo.webservice.types.ParentReference getParent() { - return parent; - } - - - /** - * Sets the parent value for this CMLCreate. - * - * @param parent - */ - public void setParent(org.alfresco.repo.webservice.types.ParentReference parent) { - this.parent = parent; - } - - - /** - * Gets the parent_id value for this CMLCreate. - * - * @return parent_id - */ - public java.lang.String getParent_id() { - return parent_id; - } - - - /** - * Sets the parent_id value for this CMLCreate. - * - * @param parent_id - */ - public void setParent_id(java.lang.String parent_id) { - this.parent_id = parent_id; - } - - - /** - * Gets the associationType value for this CMLCreate. - * - * @return associationType - */ - public java.lang.String getAssociationType() { - return associationType; - } - - - /** - * Sets the associationType value for this CMLCreate. - * - * @param associationType - */ - public void setAssociationType(java.lang.String associationType) { - this.associationType = associationType; - } - - - /** - * Gets the childName value for this CMLCreate. - * - * @return childName - */ - public java.lang.String getChildName() { - return childName; - } - - - /** - * Sets the childName value for this CMLCreate. - * - * @param childName - */ - public void setChildName(java.lang.String childName) { - this.childName = childName; - } - - - /** - * Gets the type value for this CMLCreate. - * - * @return type - */ - public java.lang.String getType() { - return type; - } - - - /** - * Sets the type value for this CMLCreate. - * - * @param type - */ - public void setType(java.lang.String type) { - this.type = type; - } - - - /** - * Gets the property value for this CMLCreate. - * - * @return property - */ - public org.alfresco.repo.webservice.types.NamedValue[] getProperty() { - return property; - } - - - /** - * Sets the property value for this CMLCreate. - * - * @param property - */ - public void setProperty(org.alfresco.repo.webservice.types.NamedValue[] property) { - this.property = property; - } - - public org.alfresco.repo.webservice.types.NamedValue getProperty(int i) { - return this.property[i]; - } - - public void setProperty(int i, org.alfresco.repo.webservice.types.NamedValue _value) { - this.property[i] = _value; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CMLCreate)) return false; - CMLCreate other = (CMLCreate) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.id==null && other.getId()==null) || - (this.id!=null && - this.id.equals(other.getId()))) && - ((this.parent==null && other.getParent()==null) || - (this.parent!=null && - this.parent.equals(other.getParent()))) && - ((this.parent_id==null && other.getParent_id()==null) || - (this.parent_id!=null && - this.parent_id.equals(other.getParent_id()))) && - ((this.associationType==null && other.getAssociationType()==null) || - (this.associationType!=null && - this.associationType.equals(other.getAssociationType()))) && - ((this.childName==null && other.getChildName()==null) || - (this.childName!=null && - this.childName.equals(other.getChildName()))) && - ((this.type==null && other.getType()==null) || - (this.type!=null && - this.type.equals(other.getType()))) && - ((this.property==null && other.getProperty()==null) || - (this.property!=null && - java.util.Arrays.equals(this.property, other.getProperty()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getId() != null) { - _hashCode += getId().hashCode(); - } - if (getParent() != null) { - _hashCode += getParent().hashCode(); - } - if (getParent_id() != null) { - _hashCode += getParent_id().hashCode(); - } - if (getAssociationType() != null) { - _hashCode += getAssociationType().hashCode(); - } - if (getChildName() != null) { - _hashCode += getChildName().hashCode(); - } - if (getType() != null) { - _hashCode += getType().hashCode(); - } - if (getProperty() != null) { - for (int i=0; - iCML>create")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("parent"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "parent")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ParentReference")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("parent_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "parent_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("associationType"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "associationType")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("childName"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "childName")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("type"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "type")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("property"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "property")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NamedValue")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/CMLCreateAssociation.java b/source/generated/org/alfresco/repo/webservice/types/CMLCreateAssociation.java deleted file mode 100644 index d9a78b5b89..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/CMLCreateAssociation.java +++ /dev/null @@ -1,267 +0,0 @@ -/** - * CMLCreateAssociation.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class CMLCreateAssociation implements java.io.Serializable { - private org.alfresco.repo.webservice.types.Predicate from; - - private java.lang.String from_id; - - private org.alfresco.repo.webservice.types.Predicate to; - - private java.lang.String to_id; - - private java.lang.String association; - - public CMLCreateAssociation() { - } - - public CMLCreateAssociation( - org.alfresco.repo.webservice.types.Predicate from, - java.lang.String from_id, - org.alfresco.repo.webservice.types.Predicate to, - java.lang.String to_id, - java.lang.String association) { - this.from = from; - this.from_id = from_id; - this.to = to; - this.to_id = to_id; - this.association = association; - } - - - /** - * Gets the from value for this CMLCreateAssociation. - * - * @return from - */ - public org.alfresco.repo.webservice.types.Predicate getFrom() { - return from; - } - - - /** - * Sets the from value for this CMLCreateAssociation. - * - * @param from - */ - public void setFrom(org.alfresco.repo.webservice.types.Predicate from) { - this.from = from; - } - - - /** - * Gets the from_id value for this CMLCreateAssociation. - * - * @return from_id - */ - public java.lang.String getFrom_id() { - return from_id; - } - - - /** - * Sets the from_id value for this CMLCreateAssociation. - * - * @param from_id - */ - public void setFrom_id(java.lang.String from_id) { - this.from_id = from_id; - } - - - /** - * Gets the to value for this CMLCreateAssociation. - * - * @return to - */ - public org.alfresco.repo.webservice.types.Predicate getTo() { - return to; - } - - - /** - * Sets the to value for this CMLCreateAssociation. - * - * @param to - */ - public void setTo(org.alfresco.repo.webservice.types.Predicate to) { - this.to = to; - } - - - /** - * Gets the to_id value for this CMLCreateAssociation. - * - * @return to_id - */ - public java.lang.String getTo_id() { - return to_id; - } - - - /** - * Sets the to_id value for this CMLCreateAssociation. - * - * @param to_id - */ - public void setTo_id(java.lang.String to_id) { - this.to_id = to_id; - } - - - /** - * Gets the association value for this CMLCreateAssociation. - * - * @return association - */ - public java.lang.String getAssociation() { - return association; - } - - - /** - * Sets the association value for this CMLCreateAssociation. - * - * @param association - */ - public void setAssociation(java.lang.String association) { - this.association = association; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CMLCreateAssociation)) return false; - CMLCreateAssociation other = (CMLCreateAssociation) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.from==null && other.getFrom()==null) || - (this.from!=null && - this.from.equals(other.getFrom()))) && - ((this.from_id==null && other.getFrom_id()==null) || - (this.from_id!=null && - this.from_id.equals(other.getFrom_id()))) && - ((this.to==null && other.getTo()==null) || - (this.to!=null && - this.to.equals(other.getTo()))) && - ((this.to_id==null && other.getTo_id()==null) || - (this.to_id!=null && - this.to_id.equals(other.getTo_id()))) && - ((this.association==null && other.getAssociation()==null) || - (this.association!=null && - this.association.equals(other.getAssociation()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getFrom() != null) { - _hashCode += getFrom().hashCode(); - } - if (getFrom_id() != null) { - _hashCode += getFrom_id().hashCode(); - } - if (getTo() != null) { - _hashCode += getTo().hashCode(); - } - if (getTo_id() != null) { - _hashCode += getTo_id().hashCode(); - } - if (getAssociation() != null) { - _hashCode += getAssociation().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(CMLCreateAssociation.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>createAssociation")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("from"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "from")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("from_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "from_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("to"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("to_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("association"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "association")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/CMLDelete.java b/source/generated/org/alfresco/repo/webservice/types/CMLDelete.java deleted file mode 100644 index d994b32771..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/CMLDelete.java +++ /dev/null @@ -1,119 +0,0 @@ -/** - * CMLDelete.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class CMLDelete implements java.io.Serializable { - private org.alfresco.repo.webservice.types.Predicate where; - - public CMLDelete() { - } - - public CMLDelete( - org.alfresco.repo.webservice.types.Predicate where) { - this.where = where; - } - - - /** - * Gets the where value for this CMLDelete. - * - * @return where - */ - public org.alfresco.repo.webservice.types.Predicate getWhere() { - return where; - } - - - /** - * Sets the where value for this CMLDelete. - * - * @param where - */ - public void setWhere(org.alfresco.repo.webservice.types.Predicate where) { - this.where = where; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CMLDelete)) return false; - CMLDelete other = (CMLDelete) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.where==null && other.getWhere()==null) || - (this.where!=null && - this.where.equals(other.getWhere()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getWhere() != null) { - _hashCode += getWhere().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(CMLDelete.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>delete")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/CMLMove.java b/source/generated/org/alfresco/repo/webservice/types/CMLMove.java deleted file mode 100644 index 73ee9bc4fe..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/CMLMove.java +++ /dev/null @@ -1,305 +0,0 @@ -/** - * CMLMove.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class CMLMove implements java.io.Serializable { - private org.alfresco.repo.webservice.types.ParentReference to; - - private java.lang.String to_id; - - private java.lang.String associationType; - - private java.lang.String childName; - - private org.alfresco.repo.webservice.types.Predicate where; - - private java.lang.String where_id; - - public CMLMove() { - } - - public CMLMove( - org.alfresco.repo.webservice.types.ParentReference to, - java.lang.String to_id, - java.lang.String associationType, - java.lang.String childName, - org.alfresco.repo.webservice.types.Predicate where, - java.lang.String where_id) { - this.to = to; - this.to_id = to_id; - this.associationType = associationType; - this.childName = childName; - this.where = where; - this.where_id = where_id; - } - - - /** - * Gets the to value for this CMLMove. - * - * @return to - */ - public org.alfresco.repo.webservice.types.ParentReference getTo() { - return to; - } - - - /** - * Sets the to value for this CMLMove. - * - * @param to - */ - public void setTo(org.alfresco.repo.webservice.types.ParentReference to) { - this.to = to; - } - - - /** - * Gets the to_id value for this CMLMove. - * - * @return to_id - */ - public java.lang.String getTo_id() { - return to_id; - } - - - /** - * Sets the to_id value for this CMLMove. - * - * @param to_id - */ - public void setTo_id(java.lang.String to_id) { - this.to_id = to_id; - } - - - /** - * Gets the associationType value for this CMLMove. - * - * @return associationType - */ - public java.lang.String getAssociationType() { - return associationType; - } - - - /** - * Sets the associationType value for this CMLMove. - * - * @param associationType - */ - public void setAssociationType(java.lang.String associationType) { - this.associationType = associationType; - } - - - /** - * Gets the childName value for this CMLMove. - * - * @return childName - */ - public java.lang.String getChildName() { - return childName; - } - - - /** - * Sets the childName value for this CMLMove. - * - * @param childName - */ - public void setChildName(java.lang.String childName) { - this.childName = childName; - } - - - /** - * Gets the where value for this CMLMove. - * - * @return where - */ - public org.alfresco.repo.webservice.types.Predicate getWhere() { - return where; - } - - - /** - * Sets the where value for this CMLMove. - * - * @param where - */ - public void setWhere(org.alfresco.repo.webservice.types.Predicate where) { - this.where = where; - } - - - /** - * Gets the where_id value for this CMLMove. - * - * @return where_id - */ - public java.lang.String getWhere_id() { - return where_id; - } - - - /** - * Sets the where_id value for this CMLMove. - * - * @param where_id - */ - public void setWhere_id(java.lang.String where_id) { - this.where_id = where_id; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CMLMove)) return false; - CMLMove other = (CMLMove) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.to==null && other.getTo()==null) || - (this.to!=null && - this.to.equals(other.getTo()))) && - ((this.to_id==null && other.getTo_id()==null) || - (this.to_id!=null && - this.to_id.equals(other.getTo_id()))) && - ((this.associationType==null && other.getAssociationType()==null) || - (this.associationType!=null && - this.associationType.equals(other.getAssociationType()))) && - ((this.childName==null && other.getChildName()==null) || - (this.childName!=null && - this.childName.equals(other.getChildName()))) && - ((this.where==null && other.getWhere()==null) || - (this.where!=null && - this.where.equals(other.getWhere()))) && - ((this.where_id==null && other.getWhere_id()==null) || - (this.where_id!=null && - this.where_id.equals(other.getWhere_id()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getTo() != null) { - _hashCode += getTo().hashCode(); - } - if (getTo_id() != null) { - _hashCode += getTo_id().hashCode(); - } - if (getAssociationType() != null) { - _hashCode += getAssociationType().hashCode(); - } - if (getChildName() != null) { - _hashCode += getChildName().hashCode(); - } - if (getWhere() != null) { - _hashCode += getWhere().hashCode(); - } - if (getWhere_id() != null) { - _hashCode += getWhere_id().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(CMLMove.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>move")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("to"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ParentReference")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("to_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("associationType"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "associationType")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("childName"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "childName")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/CMLRemoveAspect.java b/source/generated/org/alfresco/repo/webservice/types/CMLRemoveAspect.java deleted file mode 100644 index 79f09b7882..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/CMLRemoveAspect.java +++ /dev/null @@ -1,193 +0,0 @@ -/** - * CMLRemoveAspect.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class CMLRemoveAspect implements java.io.Serializable { - private java.lang.String aspect; - - private org.alfresco.repo.webservice.types.Predicate where; - - private java.lang.String where_id; - - public CMLRemoveAspect() { - } - - public CMLRemoveAspect( - java.lang.String aspect, - org.alfresco.repo.webservice.types.Predicate where, - java.lang.String where_id) { - this.aspect = aspect; - this.where = where; - this.where_id = where_id; - } - - - /** - * Gets the aspect value for this CMLRemoveAspect. - * - * @return aspect - */ - public java.lang.String getAspect() { - return aspect; - } - - - /** - * Sets the aspect value for this CMLRemoveAspect. - * - * @param aspect - */ - public void setAspect(java.lang.String aspect) { - this.aspect = aspect; - } - - - /** - * Gets the where value for this CMLRemoveAspect. - * - * @return where - */ - public org.alfresco.repo.webservice.types.Predicate getWhere() { - return where; - } - - - /** - * Sets the where value for this CMLRemoveAspect. - * - * @param where - */ - public void setWhere(org.alfresco.repo.webservice.types.Predicate where) { - this.where = where; - } - - - /** - * Gets the where_id value for this CMLRemoveAspect. - * - * @return where_id - */ - public java.lang.String getWhere_id() { - return where_id; - } - - - /** - * Sets the where_id value for this CMLRemoveAspect. - * - * @param where_id - */ - public void setWhere_id(java.lang.String where_id) { - this.where_id = where_id; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CMLRemoveAspect)) return false; - CMLRemoveAspect other = (CMLRemoveAspect) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.aspect==null && other.getAspect()==null) || - (this.aspect!=null && - this.aspect.equals(other.getAspect()))) && - ((this.where==null && other.getWhere()==null) || - (this.where!=null && - this.where.equals(other.getWhere()))) && - ((this.where_id==null && other.getWhere_id()==null) || - (this.where_id!=null && - this.where_id.equals(other.getWhere_id()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getAspect() != null) { - _hashCode += getAspect().hashCode(); - } - if (getWhere() != null) { - _hashCode += getWhere().hashCode(); - } - if (getWhere_id() != null) { - _hashCode += getWhere_id().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(CMLRemoveAspect.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>removeAspect")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("aspect"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "aspect")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/CMLRemoveAssociation.java b/source/generated/org/alfresco/repo/webservice/types/CMLRemoveAssociation.java deleted file mode 100644 index 047aadb7ad..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/CMLRemoveAssociation.java +++ /dev/null @@ -1,267 +0,0 @@ -/** - * CMLRemoveAssociation.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class CMLRemoveAssociation implements java.io.Serializable { - private org.alfresco.repo.webservice.types.Predicate from; - - private java.lang.String from_id; - - private org.alfresco.repo.webservice.types.Predicate to; - - private java.lang.String to_id; - - private java.lang.String association; - - public CMLRemoveAssociation() { - } - - public CMLRemoveAssociation( - org.alfresco.repo.webservice.types.Predicate from, - java.lang.String from_id, - org.alfresco.repo.webservice.types.Predicate to, - java.lang.String to_id, - java.lang.String association) { - this.from = from; - this.from_id = from_id; - this.to = to; - this.to_id = to_id; - this.association = association; - } - - - /** - * Gets the from value for this CMLRemoveAssociation. - * - * @return from - */ - public org.alfresco.repo.webservice.types.Predicate getFrom() { - return from; - } - - - /** - * Sets the from value for this CMLRemoveAssociation. - * - * @param from - */ - public void setFrom(org.alfresco.repo.webservice.types.Predicate from) { - this.from = from; - } - - - /** - * Gets the from_id value for this CMLRemoveAssociation. - * - * @return from_id - */ - public java.lang.String getFrom_id() { - return from_id; - } - - - /** - * Sets the from_id value for this CMLRemoveAssociation. - * - * @param from_id - */ - public void setFrom_id(java.lang.String from_id) { - this.from_id = from_id; - } - - - /** - * Gets the to value for this CMLRemoveAssociation. - * - * @return to - */ - public org.alfresco.repo.webservice.types.Predicate getTo() { - return to; - } - - - /** - * Sets the to value for this CMLRemoveAssociation. - * - * @param to - */ - public void setTo(org.alfresco.repo.webservice.types.Predicate to) { - this.to = to; - } - - - /** - * Gets the to_id value for this CMLRemoveAssociation. - * - * @return to_id - */ - public java.lang.String getTo_id() { - return to_id; - } - - - /** - * Sets the to_id value for this CMLRemoveAssociation. - * - * @param to_id - */ - public void setTo_id(java.lang.String to_id) { - this.to_id = to_id; - } - - - /** - * Gets the association value for this CMLRemoveAssociation. - * - * @return association - */ - public java.lang.String getAssociation() { - return association; - } - - - /** - * Sets the association value for this CMLRemoveAssociation. - * - * @param association - */ - public void setAssociation(java.lang.String association) { - this.association = association; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CMLRemoveAssociation)) return false; - CMLRemoveAssociation other = (CMLRemoveAssociation) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.from==null && other.getFrom()==null) || - (this.from!=null && - this.from.equals(other.getFrom()))) && - ((this.from_id==null && other.getFrom_id()==null) || - (this.from_id!=null && - this.from_id.equals(other.getFrom_id()))) && - ((this.to==null && other.getTo()==null) || - (this.to!=null && - this.to.equals(other.getTo()))) && - ((this.to_id==null && other.getTo_id()==null) || - (this.to_id!=null && - this.to_id.equals(other.getTo_id()))) && - ((this.association==null && other.getAssociation()==null) || - (this.association!=null && - this.association.equals(other.getAssociation()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getFrom() != null) { - _hashCode += getFrom().hashCode(); - } - if (getFrom_id() != null) { - _hashCode += getFrom_id().hashCode(); - } - if (getTo() != null) { - _hashCode += getTo().hashCode(); - } - if (getTo_id() != null) { - _hashCode += getTo_id().hashCode(); - } - if (getAssociation() != null) { - _hashCode += getAssociation().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(CMLRemoveAssociation.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>removeAssociation")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("from"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "from")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("from_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "from_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("to"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("to_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "to_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("association"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "association")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/CMLRemoveChild.java b/source/generated/org/alfresco/repo/webservice/types/CMLRemoveChild.java deleted file mode 100644 index 14adfc9df3..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/CMLRemoveChild.java +++ /dev/null @@ -1,231 +0,0 @@ -/** - * CMLRemoveChild.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class CMLRemoveChild implements java.io.Serializable { - private org.alfresco.repo.webservice.types.Reference from; - - private java.lang.String from_id; - - private org.alfresco.repo.webservice.types.Predicate where; - - private java.lang.String where_id; - - public CMLRemoveChild() { - } - - public CMLRemoveChild( - org.alfresco.repo.webservice.types.Reference from, - java.lang.String from_id, - org.alfresco.repo.webservice.types.Predicate where, - java.lang.String where_id) { - this.from = from; - this.from_id = from_id; - this.where = where; - this.where_id = where_id; - } - - - /** - * Gets the from value for this CMLRemoveChild. - * - * @return from - */ - public org.alfresco.repo.webservice.types.Reference getFrom() { - return from; - } - - - /** - * Sets the from value for this CMLRemoveChild. - * - * @param from - */ - public void setFrom(org.alfresco.repo.webservice.types.Reference from) { - this.from = from; - } - - - /** - * Gets the from_id value for this CMLRemoveChild. - * - * @return from_id - */ - public java.lang.String getFrom_id() { - return from_id; - } - - - /** - * Sets the from_id value for this CMLRemoveChild. - * - * @param from_id - */ - public void setFrom_id(java.lang.String from_id) { - this.from_id = from_id; - } - - - /** - * Gets the where value for this CMLRemoveChild. - * - * @return where - */ - public org.alfresco.repo.webservice.types.Predicate getWhere() { - return where; - } - - - /** - * Sets the where value for this CMLRemoveChild. - * - * @param where - */ - public void setWhere(org.alfresco.repo.webservice.types.Predicate where) { - this.where = where; - } - - - /** - * Gets the where_id value for this CMLRemoveChild. - * - * @return where_id - */ - public java.lang.String getWhere_id() { - return where_id; - } - - - /** - * Sets the where_id value for this CMLRemoveChild. - * - * @param where_id - */ - public void setWhere_id(java.lang.String where_id) { - this.where_id = where_id; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CMLRemoveChild)) return false; - CMLRemoveChild other = (CMLRemoveChild) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.from==null && other.getFrom()==null) || - (this.from!=null && - this.from.equals(other.getFrom()))) && - ((this.from_id==null && other.getFrom_id()==null) || - (this.from_id!=null && - this.from_id.equals(other.getFrom_id()))) && - ((this.where==null && other.getWhere()==null) || - (this.where!=null && - this.where.equals(other.getWhere()))) && - ((this.where_id==null && other.getWhere_id()==null) || - (this.where_id!=null && - this.where_id.equals(other.getWhere_id()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getFrom() != null) { - _hashCode += getFrom().hashCode(); - } - if (getFrom_id() != null) { - _hashCode += getFrom_id().hashCode(); - } - if (getWhere() != null) { - _hashCode += getWhere().hashCode(); - } - if (getWhere_id() != null) { - _hashCode += getWhere_id().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(CMLRemoveChild.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", ">CML>removeChild")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("from"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "from")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("from_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "from_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/CMLUpdate.java b/source/generated/org/alfresco/repo/webservice/types/CMLUpdate.java deleted file mode 100644 index 58ca97b82a..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/CMLUpdate.java +++ /dev/null @@ -1,210 +0,0 @@ -/** - * CMLUpdate.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class CMLUpdate implements java.io.Serializable { - private org.alfresco.repo.webservice.types.NamedValue[] property; - - private org.alfresco.repo.webservice.types.Predicate where; - - private java.lang.String where_id; - - public CMLUpdate() { - } - - public CMLUpdate( - org.alfresco.repo.webservice.types.NamedValue[] property, - org.alfresco.repo.webservice.types.Predicate where, - java.lang.String where_id) { - this.property = property; - this.where = where; - this.where_id = where_id; - } - - - /** - * Gets the property value for this CMLUpdate. - * - * @return property - */ - public org.alfresco.repo.webservice.types.NamedValue[] getProperty() { - return property; - } - - - /** - * Sets the property value for this CMLUpdate. - * - * @param property - */ - public void setProperty(org.alfresco.repo.webservice.types.NamedValue[] property) { - this.property = property; - } - - public org.alfresco.repo.webservice.types.NamedValue getProperty(int i) { - return this.property[i]; - } - - public void setProperty(int i, org.alfresco.repo.webservice.types.NamedValue _value) { - this.property[i] = _value; - } - - - /** - * Gets the where value for this CMLUpdate. - * - * @return where - */ - public org.alfresco.repo.webservice.types.Predicate getWhere() { - return where; - } - - - /** - * Sets the where value for this CMLUpdate. - * - * @param where - */ - public void setWhere(org.alfresco.repo.webservice.types.Predicate where) { - this.where = where; - } - - - /** - * Gets the where_id value for this CMLUpdate. - * - * @return where_id - */ - public java.lang.String getWhere_id() { - return where_id; - } - - - /** - * Sets the where_id value for this CMLUpdate. - * - * @param where_id - */ - public void setWhere_id(java.lang.String where_id) { - this.where_id = where_id; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CMLUpdate)) return false; - CMLUpdate other = (CMLUpdate) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.property==null && other.getProperty()==null) || - (this.property!=null && - java.util.Arrays.equals(this.property, other.getProperty()))) && - ((this.where==null && other.getWhere()==null) || - (this.where!=null && - this.where.equals(other.getWhere()))) && - ((this.where_id==null && other.getWhere_id()==null) || - (this.where_id!=null && - this.where_id.equals(other.getWhere_id()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getProperty() != null) { - for (int i=0; - iCML>update")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("property"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "property")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "NamedValue")); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/CMLWriteContent.java b/source/generated/org/alfresco/repo/webservice/types/CMLWriteContent.java deleted file mode 100644 index aafb4a1d46..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/CMLWriteContent.java +++ /dev/null @@ -1,273 +0,0 @@ -/** - * CMLWriteContent.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class CMLWriteContent implements java.io.Serializable { - private java.lang.String property; - - private byte[] content; - - private org.alfresco.repo.webservice.types.ContentFormat format; - - private org.alfresco.repo.webservice.types.Predicate where; - - private java.lang.String where_id; - - public CMLWriteContent() { - } - - public CMLWriteContent( - java.lang.String property, - byte[] content, - org.alfresco.repo.webservice.types.ContentFormat format, - org.alfresco.repo.webservice.types.Predicate where, - java.lang.String where_id) { - this.property = property; - this.content = content; - this.format = format; - this.where = where; - this.where_id = where_id; - } - - - /** - * Gets the property value for this CMLWriteContent. - * - * @return property - */ - public java.lang.String getProperty() { - return property; - } - - - /** - * Sets the property value for this CMLWriteContent. - * - * @param property - */ - public void setProperty(java.lang.String property) { - this.property = property; - } - - - /** - * Gets the content value for this CMLWriteContent. - * - * @return content - */ - public byte[] getContent() { - return content; - } - - - /** - * Sets the content value for this CMLWriteContent. - * - * @param content - */ - public void setContent(byte[] content) { - this.content = content; - } - - - /** - * Gets the format value for this CMLWriteContent. - * - * @return format - */ - public org.alfresco.repo.webservice.types.ContentFormat getFormat() { - return format; - } - - - /** - * Sets the format value for this CMLWriteContent. - * - * @param format - */ - public void setFormat(org.alfresco.repo.webservice.types.ContentFormat format) { - this.format = format; - } - - - /** - * Gets the where value for this CMLWriteContent. - * - * @return where - */ - public org.alfresco.repo.webservice.types.Predicate getWhere() { - return where; - } - - - /** - * Sets the where value for this CMLWriteContent. - * - * @param where - */ - public void setWhere(org.alfresco.repo.webservice.types.Predicate where) { - this.where = where; - } - - - /** - * Gets the where_id value for this CMLWriteContent. - * - * @return where_id - */ - public java.lang.String getWhere_id() { - return where_id; - } - - - /** - * Sets the where_id value for this CMLWriteContent. - * - * @param where_id - */ - public void setWhere_id(java.lang.String where_id) { - this.where_id = where_id; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof CMLWriteContent)) return false; - CMLWriteContent other = (CMLWriteContent) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.property==null && other.getProperty()==null) || - (this.property!=null && - this.property.equals(other.getProperty()))) && - ((this.content==null && other.getContent()==null) || - (this.content!=null && - java.util.Arrays.equals(this.content, other.getContent()))) && - ((this.format==null && other.getFormat()==null) || - (this.format!=null && - this.format.equals(other.getFormat()))) && - ((this.where==null && other.getWhere()==null) || - (this.where!=null && - this.where.equals(other.getWhere()))) && - ((this.where_id==null && other.getWhere_id()==null) || - (this.where_id!=null && - this.where_id.equals(other.getWhere_id()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getProperty() != null) { - _hashCode += getProperty().hashCode(); - } - if (getContent() != null) { - for (int i=0; - iCML>writeContent")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("property"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "property")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("content"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "content")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "base64Binary")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("format"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "format")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ContentFormat")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Predicate")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("where_id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/cml/1.0", "where_id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/Cardinality.java b/source/generated/org/alfresco/repo/webservice/types/Cardinality.java deleted file mode 100644 index 5acd681f51..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/Cardinality.java +++ /dev/null @@ -1,74 +0,0 @@ -/** - * Cardinality.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class Cardinality implements java.io.Serializable { - private java.lang.String _value_; - private static java.util.HashMap _table_ = new java.util.HashMap(); - - // Constructor - protected Cardinality(java.lang.String value) { - _value_ = value; - _table_.put(_value_,this); - } - - public static final java.lang.String _value1 = "0..1"; - public static final java.lang.String _value2 = "1"; - public static final java.lang.String _value3 = "*"; - public static final java.lang.String _value4 = "1..*"; - public static final Cardinality value1 = new Cardinality(_value1); - public static final Cardinality value2 = new Cardinality(_value2); - public static final Cardinality value3 = new Cardinality(_value3); - public static final Cardinality value4 = new Cardinality(_value4); - public java.lang.String getValue() { return _value_;} - public static Cardinality fromValue(java.lang.String value) - throws java.lang.IllegalArgumentException { - Cardinality enumeration = (Cardinality) - _table_.get(value); - if (enumeration==null) throw new java.lang.IllegalArgumentException(); - return enumeration; - } - public static Cardinality fromString(java.lang.String value) - throws java.lang.IllegalArgumentException { - return fromValue(value); - } - public boolean equals(java.lang.Object obj) {return (obj == this);} - public int hashCode() { return toString().hashCode();} - public java.lang.String toString() { return _value_;} - public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);} - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.EnumSerializer( - _javaType, _xmlType); - } - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.EnumDeserializer( - _javaType, _xmlType); - } - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(Cardinality.class); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Cardinality")); - } - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/Category.java b/source/generated/org/alfresco/repo/webservice/types/Category.java deleted file mode 100644 index d1292d9a2d..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/Category.java +++ /dev/null @@ -1,193 +0,0 @@ -/** - * Category.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class Category implements java.io.Serializable { - private org.alfresco.repo.webservice.types.Reference id; - - private java.lang.String title; - - private java.lang.String description; - - public Category() { - } - - public Category( - org.alfresco.repo.webservice.types.Reference id, - java.lang.String title, - java.lang.String description) { - this.id = id; - this.title = title; - this.description = description; - } - - - /** - * Gets the id value for this Category. - * - * @return id - */ - public org.alfresco.repo.webservice.types.Reference getId() { - return id; - } - - - /** - * Sets the id value for this Category. - * - * @param id - */ - public void setId(org.alfresco.repo.webservice.types.Reference id) { - this.id = id; - } - - - /** - * Gets the title value for this Category. - * - * @return title - */ - public java.lang.String getTitle() { - return title; - } - - - /** - * Sets the title value for this Category. - * - * @param title - */ - public void setTitle(java.lang.String title) { - this.title = title; - } - - - /** - * Gets the description value for this Category. - * - * @return description - */ - public java.lang.String getDescription() { - return description; - } - - - /** - * Sets the description value for this Category. - * - * @param description - */ - public void setDescription(java.lang.String description) { - this.description = description; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof Category)) return false; - Category other = (Category) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.id==null && other.getId()==null) || - (this.id!=null && - this.id.equals(other.getId()))) && - ((this.title==null && other.getTitle()==null) || - (this.title!=null && - this.title.equals(other.getTitle()))) && - ((this.description==null && other.getDescription()==null) || - (this.description!=null && - this.description.equals(other.getDescription()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getId() != null) { - _hashCode += getId().hashCode(); - } - if (getTitle() != null) { - _hashCode += getTitle().hashCode(); - } - if (getDescription() != null) { - _hashCode += getDescription().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(Category.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Category")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Reference")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("title"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "title")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("description"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "description")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/ClassDefinition.java b/source/generated/org/alfresco/repo/webservice/types/ClassDefinition.java deleted file mode 100644 index f51ac8b752..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/ClassDefinition.java +++ /dev/null @@ -1,370 +0,0 @@ -/** - * ClassDefinition.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class ClassDefinition implements java.io.Serializable { - private java.lang.String name; - - private java.lang.String title; - - private java.lang.String description; - - private java.lang.String superClass; - - private boolean isAspect; - - private org.alfresco.repo.webservice.types.PropertyDefinition[] properties; - - private org.alfresco.repo.webservice.types.AssociationDefinition[] associations; - - public ClassDefinition() { - } - - public ClassDefinition( - java.lang.String name, - java.lang.String title, - java.lang.String description, - java.lang.String superClass, - boolean isAspect, - org.alfresco.repo.webservice.types.PropertyDefinition[] properties, - org.alfresco.repo.webservice.types.AssociationDefinition[] associations) { - this.name = name; - this.title = title; - this.description = description; - this.superClass = superClass; - this.isAspect = isAspect; - this.properties = properties; - this.associations = associations; - } - - - /** - * Gets the name value for this ClassDefinition. - * - * @return name - */ - public java.lang.String getName() { - return name; - } - - - /** - * Sets the name value for this ClassDefinition. - * - * @param name - */ - public void setName(java.lang.String name) { - this.name = name; - } - - - /** - * Gets the title value for this ClassDefinition. - * - * @return title - */ - public java.lang.String getTitle() { - return title; - } - - - /** - * Sets the title value for this ClassDefinition. - * - * @param title - */ - public void setTitle(java.lang.String title) { - this.title = title; - } - - - /** - * Gets the description value for this ClassDefinition. - * - * @return description - */ - public java.lang.String getDescription() { - return description; - } - - - /** - * Sets the description value for this ClassDefinition. - * - * @param description - */ - public void setDescription(java.lang.String description) { - this.description = description; - } - - - /** - * Gets the superClass value for this ClassDefinition. - * - * @return superClass - */ - public java.lang.String getSuperClass() { - return superClass; - } - - - /** - * Sets the superClass value for this ClassDefinition. - * - * @param superClass - */ - public void setSuperClass(java.lang.String superClass) { - this.superClass = superClass; - } - - - /** - * Gets the isAspect value for this ClassDefinition. - * - * @return isAspect - */ - public boolean isIsAspect() { - return isAspect; - } - - - /** - * Sets the isAspect value for this ClassDefinition. - * - * @param isAspect - */ - public void setIsAspect(boolean isAspect) { - this.isAspect = isAspect; - } - - - /** - * Gets the properties value for this ClassDefinition. - * - * @return properties - */ - public org.alfresco.repo.webservice.types.PropertyDefinition[] getProperties() { - return properties; - } - - - /** - * Sets the properties value for this ClassDefinition. - * - * @param properties - */ - public void setProperties(org.alfresco.repo.webservice.types.PropertyDefinition[] properties) { - this.properties = properties; - } - - public org.alfresco.repo.webservice.types.PropertyDefinition getProperties(int i) { - return this.properties[i]; - } - - public void setProperties(int i, org.alfresco.repo.webservice.types.PropertyDefinition _value) { - this.properties[i] = _value; - } - - - /** - * Gets the associations value for this ClassDefinition. - * - * @return associations - */ - public org.alfresco.repo.webservice.types.AssociationDefinition[] getAssociations() { - return associations; - } - - - /** - * Sets the associations value for this ClassDefinition. - * - * @param associations - */ - public void setAssociations(org.alfresco.repo.webservice.types.AssociationDefinition[] associations) { - this.associations = associations; - } - - public org.alfresco.repo.webservice.types.AssociationDefinition getAssociations(int i) { - return this.associations[i]; - } - - public void setAssociations(int i, org.alfresco.repo.webservice.types.AssociationDefinition _value) { - this.associations[i] = _value; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof ClassDefinition)) return false; - ClassDefinition other = (ClassDefinition) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.name==null && other.getName()==null) || - (this.name!=null && - this.name.equals(other.getName()))) && - ((this.title==null && other.getTitle()==null) || - (this.title!=null && - this.title.equals(other.getTitle()))) && - ((this.description==null && other.getDescription()==null) || - (this.description!=null && - this.description.equals(other.getDescription()))) && - ((this.superClass==null && other.getSuperClass()==null) || - (this.superClass!=null && - this.superClass.equals(other.getSuperClass()))) && - this.isAspect == other.isIsAspect() && - ((this.properties==null && other.getProperties()==null) || - (this.properties!=null && - java.util.Arrays.equals(this.properties, other.getProperties()))) && - ((this.associations==null && other.getAssociations()==null) || - (this.associations!=null && - java.util.Arrays.equals(this.associations, other.getAssociations()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getName() != null) { - _hashCode += getName().hashCode(); - } - if (getTitle() != null) { - _hashCode += getTitle().hashCode(); - } - if (getDescription() != null) { - _hashCode += getDescription().hashCode(); - } - if (getSuperClass() != null) { - _hashCode += getSuperClass().hashCode(); - } - _hashCode += (isIsAspect() ? Boolean.TRUE : Boolean.FALSE).hashCode(); - if (getProperties() != null) { - for (int i=0; - iResultSetRow>node")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/ResultSetRowNode.java b/source/generated/org/alfresco/repo/webservice/types/ResultSetRowNode.java deleted file mode 100644 index bdcdeac957..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/ResultSetRowNode.java +++ /dev/null @@ -1,209 +0,0 @@ -/** - * ResultSetRowNode.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class ResultSetRowNode implements java.io.Serializable { - private java.lang.String id; - - private java.lang.String type; - - private java.lang.String[] aspects; - - public ResultSetRowNode() { - } - - public ResultSetRowNode( - java.lang.String id, - java.lang.String type, - java.lang.String[] aspects) { - this.id = id; - this.type = type; - this.aspects = aspects; - } - - - /** - * Gets the id value for this ResultSetRowNode. - * - * @return id - */ - public java.lang.String getId() { - return id; - } - - - /** - * Sets the id value for this ResultSetRowNode. - * - * @param id - */ - public void setId(java.lang.String id) { - this.id = id; - } - - - /** - * Gets the type value for this ResultSetRowNode. - * - * @return type - */ - public java.lang.String getType() { - return type; - } - - - /** - * Sets the type value for this ResultSetRowNode. - * - * @param type - */ - public void setType(java.lang.String type) { - this.type = type; - } - - - /** - * Gets the aspects value for this ResultSetRowNode. - * - * @return aspects - */ - public java.lang.String[] getAspects() { - return aspects; - } - - - /** - * Sets the aspects value for this ResultSetRowNode. - * - * @param aspects - */ - public void setAspects(java.lang.String[] aspects) { - this.aspects = aspects; - } - - public java.lang.String getAspects(int i) { - return this.aspects[i]; - } - - public void setAspects(int i, java.lang.String _value) { - this.aspects[i] = _value; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof ResultSetRowNode)) return false; - ResultSetRowNode other = (ResultSetRowNode) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.id==null && other.getId()==null) || - (this.id!=null && - this.id.equals(other.getId()))) && - ((this.type==null && other.getType()==null) || - (this.type!=null && - this.type.equals(other.getType()))) && - ((this.aspects==null && other.getAspects()==null) || - (this.aspects!=null && - java.util.Arrays.equals(this.aspects, other.getAspects()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getId() != null) { - _hashCode += getId().hashCode(); - } - if (getType() != null) { - _hashCode += getType().hashCode(); - } - if (getAspects() != null) { - for (int i=0; - iResultSetRow>node")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("id"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("type"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "type")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("aspects"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "aspects")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Name")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - elemField.setMaxOccursUnbounded(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/RoleDefinition.java b/source/generated/org/alfresco/repo/webservice/types/RoleDefinition.java deleted file mode 100644 index fc36f99c89..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/RoleDefinition.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * RoleDefinition.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class RoleDefinition implements java.io.Serializable { - private java.lang.String name; - - private org.alfresco.repo.webservice.types.Cardinality cardinality; - - public RoleDefinition() { - } - - public RoleDefinition( - java.lang.String name, - org.alfresco.repo.webservice.types.Cardinality cardinality) { - this.name = name; - this.cardinality = cardinality; - } - - - /** - * Gets the name value for this RoleDefinition. - * - * @return name - */ - public java.lang.String getName() { - return name; - } - - - /** - * Sets the name value for this RoleDefinition. - * - * @param name - */ - public void setName(java.lang.String name) { - this.name = name; - } - - - /** - * Gets the cardinality value for this RoleDefinition. - * - * @return cardinality - */ - public org.alfresco.repo.webservice.types.Cardinality getCardinality() { - return cardinality; - } - - - /** - * Sets the cardinality value for this RoleDefinition. - * - * @param cardinality - */ - public void setCardinality(org.alfresco.repo.webservice.types.Cardinality cardinality) { - this.cardinality = cardinality; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof RoleDefinition)) return false; - RoleDefinition other = (RoleDefinition) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.name==null && other.getName()==null) || - (this.name!=null && - this.name.equals(other.getName()))) && - ((this.cardinality==null && other.getCardinality()==null) || - (this.cardinality!=null && - this.cardinality.equals(other.getCardinality()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getName() != null) { - _hashCode += getName().hashCode(); - } - if (getCardinality() != null) { - _hashCode += getCardinality().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RoleDefinition.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "RoleDefinition")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("cardinality"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "cardinality")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Cardinality")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/Store.java b/source/generated/org/alfresco/repo/webservice/types/Store.java deleted file mode 100644 index 1bfb3df1f6..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/Store.java +++ /dev/null @@ -1,157 +0,0 @@ -/** - * Store.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class Store implements java.io.Serializable { - private java.lang.String scheme; - - private java.lang.String address; - - public Store() { - } - - public Store( - java.lang.String scheme, - java.lang.String address) { - this.scheme = scheme; - this.address = address; - } - - - /** - * Gets the scheme value for this Store. - * - * @return scheme - */ - public java.lang.String getScheme() { - return scheme; - } - - - /** - * Sets the scheme value for this Store. - * - * @param scheme - */ - public void setScheme(java.lang.String scheme) { - this.scheme = scheme; - } - - - /** - * Gets the address value for this Store. - * - * @return address - */ - public java.lang.String getAddress() { - return address; - } - - - /** - * Sets the address value for this Store. - * - * @param address - */ - public void setAddress(java.lang.String address) { - this.address = address; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof Store)) return false; - Store other = (Store) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.scheme==null && other.getScheme()==null) || - (this.scheme!=null && - this.scheme.equals(other.getScheme()))) && - ((this.address==null && other.getAddress()==null) || - (this.address!=null && - this.address.equals(other.getAddress()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getScheme() != null) { - _hashCode += getScheme().hashCode(); - } - if (getAddress() != null) { - _hashCode += getAddress().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(Store.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "Store")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("scheme"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "scheme")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("address"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "address")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/ValueDefinition.java b/source/generated/org/alfresco/repo/webservice/types/ValueDefinition.java deleted file mode 100644 index 7c0ef7f814..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/ValueDefinition.java +++ /dev/null @@ -1,229 +0,0 @@ -/** - * ValueDefinition.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class ValueDefinition implements java.io.Serializable { - private java.lang.String name; - - private java.lang.String title; - - private java.lang.String description; - - private java.lang.String dataType; - - public ValueDefinition() { - } - - public ValueDefinition( - java.lang.String name, - java.lang.String title, - java.lang.String description, - java.lang.String dataType) { - this.name = name; - this.title = title; - this.description = description; - this.dataType = dataType; - } - - - /** - * Gets the name value for this ValueDefinition. - * - * @return name - */ - public java.lang.String getName() { - return name; - } - - - /** - * Sets the name value for this ValueDefinition. - * - * @param name - */ - public void setName(java.lang.String name) { - this.name = name; - } - - - /** - * Gets the title value for this ValueDefinition. - * - * @return title - */ - public java.lang.String getTitle() { - return title; - } - - - /** - * Sets the title value for this ValueDefinition. - * - * @param title - */ - public void setTitle(java.lang.String title) { - this.title = title; - } - - - /** - * Gets the description value for this ValueDefinition. - * - * @return description - */ - public java.lang.String getDescription() { - return description; - } - - - /** - * Sets the description value for this ValueDefinition. - * - * @param description - */ - public void setDescription(java.lang.String description) { - this.description = description; - } - - - /** - * Gets the dataType value for this ValueDefinition. - * - * @return dataType - */ - public java.lang.String getDataType() { - return dataType; - } - - - /** - * Sets the dataType value for this ValueDefinition. - * - * @param dataType - */ - public void setDataType(java.lang.String dataType) { - this.dataType = dataType; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof ValueDefinition)) return false; - ValueDefinition other = (ValueDefinition) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.name==null && other.getName()==null) || - (this.name!=null && - this.name.equals(other.getName()))) && - ((this.title==null && other.getTitle()==null) || - (this.title!=null && - this.title.equals(other.getTitle()))) && - ((this.description==null && other.getDescription()==null) || - (this.description!=null && - this.description.equals(other.getDescription()))) && - ((this.dataType==null && other.getDataType()==null) || - (this.dataType!=null && - this.dataType.equals(other.getDataType()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getName() != null) { - _hashCode += getName().hashCode(); - } - if (getTitle() != null) { - _hashCode += getTitle().hashCode(); - } - if (getDescription() != null) { - _hashCode += getDescription().hashCode(); - } - if (getDataType() != null) { - _hashCode += getDataType().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(ValueDefinition.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "ValueDefinition")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("title"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "title")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("description"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "description")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setMinOccurs(0); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("dataType"); - elemField.setXmlName(new javax.xml.namespace.QName("http://www.alfresco.org/ws/model/content/1.0", "dataType")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, - java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/source/generated/org/alfresco/repo/webservice/types/Version.java b/source/generated/org/alfresco/repo/webservice/types/Version.java deleted file mode 100644 index 1b1c96cdba..0000000000 --- a/source/generated/org/alfresco/repo/webservice/types/Version.java +++ /dev/null @@ -1,316 +0,0 @@ -/** - * Version.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package org.alfresco.repo.webservice.types; - -public class Version implements java.io.Serializable { - private org.alfresco.repo.webservice.types.Reference id; - - private java.util.Calendar created; - - private java.lang.String creator; - - private java.lang.String label; - - private boolean major; - - private org.alfresco.repo.webservice.types.NamedValue[] commentaries; - - public Version() { - } - - public Version( - org.alfresco.repo.webservice.types.Reference id, - java.util.Calendar created, - java.lang.String creator, - java.lang.String label, - boolean major, - org.alfresco.repo.webservice.types.NamedValue[] commentaries) { - this.id = id; - this.created = created; - this.creator = creator; - this.label = label; - this.major = major; - this.commentaries = commentaries; - } - - - /** - * Gets the id value for this Version. - * - * @return id - */ - public org.alfresco.repo.webservice.types.Reference getId() { - return id; - } - - - /** - * Sets the id value for this Version. - * - * @param id - */ - public void setId(org.alfresco.repo.webservice.types.Reference id) { - this.id = id; - } - - - /** - * Gets the created value for this Version. - * - * @return created - */ - public java.util.Calendar getCreated() { - return created; - } - - - /** - * Sets the created value for this Version. - * - * @param created - */ - public void setCreated(java.util.Calendar created) { - this.created = created; - } - - - /** - * Gets the creator value for this Version. - * - * @return creator - */ - public java.lang.String getCreator() { - return creator; - } - - - /** - * Sets the creator value for this Version. - * - * @param creator - */ - public void setCreator(java.lang.String creator) { - this.creator = creator; - } - - - /** - * Gets the label value for this Version. - * - * @return label - */ - public java.lang.String getLabel() { - return label; - } - - - /** - * Sets the label value for this Version. - * - * @param label - */ - public void setLabel(java.lang.String label) { - this.label = label; - } - - - /** - * Gets the major value for this Version. - * - * @return major - */ - public boolean isMajor() { - return major; - } - - - /** - * Sets the major value for this Version. - * - * @param major - */ - public void setMajor(boolean major) { - this.major = major; - } - - - /** - * Gets the commentaries value for this Version. - * - * @return commentaries - */ - public org.alfresco.repo.webservice.types.NamedValue[] getCommentaries() { - return commentaries; - } - - - /** - * Sets the commentaries value for this Version. - * - * @param commentaries - */ - public void setCommentaries(org.alfresco.repo.webservice.types.NamedValue[] commentaries) { - this.commentaries = commentaries; - } - - public org.alfresco.repo.webservice.types.NamedValue getCommentaries(int i) { - return this.commentaries[i]; - } - - public void setCommentaries(int i, org.alfresco.repo.webservice.types.NamedValue _value) { - this.commentaries[i] = _value; - } - - private java.lang.Object __equalsCalc = null; - public synchronized boolean equals(java.lang.Object obj) { - if (!(obj instanceof Version)) return false; - Version other = (Version) obj; - if (obj == null) return false; - if (this == obj) return true; - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.id==null && other.getId()==null) || - (this.id!=null && - this.id.equals(other.getId()))) && - ((this.created==null && other.getCreated()==null) || - (this.created!=null && - this.created.equals(other.getCreated()))) && - ((this.creator==null && other.getCreator()==null) || - (this.creator!=null && - this.creator.equals(other.getCreator()))) && - ((this.label==null && other.getLabel()==null) || - (this.label!=null && - this.label.equals(other.getLabel()))) && - this.major == other.isMajor() && - ((this.commentaries==null && other.getCommentaries()==null) || - (this.commentaries!=null && - java.util.Arrays.equals(this.commentaries, other.getCommentaries()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getId() != null) { - _hashCode += getId().hashCode(); - } - if (getCreated() != null) { - _hashCode += getCreated().hashCode(); - } - if (getCreator() != null) { - _hashCode += getCreator().hashCode(); - } - if (getLabel() != null) { - _hashCode += getLabel().hashCode(); - } - _hashCode += (isMajor() ? Boolean.TRUE : Boolean.FALSE).hashCode(); - if (getCommentaries() != null) { - for (int i=0; - i. - */ -package org.alfresco.repo.webservice; - -import java.util.Set; - -import org.alfresco.repo.webservice.types.ResultSetRowNode; -import org.alfresco.service.ServiceRegistry; -import org.alfresco.service.cmr.repository.NodeRef; -import org.alfresco.service.cmr.repository.NodeService; -import org.alfresco.service.namespace.QName; - -/** - * Abstract implementation of a QuerySession providing support for automatic id generation - * and provides support for paging through query results. - *

- * Before executing, all the services need to be set. - * - * @author gavinc - */ -public abstract class AbstractQuery implements ServerQuery -{ - public AbstractQuery() - { - } - - /** - * Override this method only if the query can limit the results without a post-query cut-off. - * - * {@inheritDoc} - */ - public RESULTSET execute(ServiceRegistry serviceRegistry, long maxResults) - { - return execute(serviceRegistry); - } - - /** - * Create a result set row node object for the provided node reference - * - * @param nodeRef - * the node reference - * @param nodeService - * the node service - * @return - * the result set row node - */ - protected ResultSetRowNode createResultSetRowNode(NodeRef nodeRef, NodeService nodeService) - { - // Get the type - String type = nodeService.getType(nodeRef).toString(); - - // Get the aspects applied to the node - Set aspects = nodeService.getAspects(nodeRef); - String[] aspectNames = new String[aspects.size()]; - int index = 0; - for (QName aspect : aspects) - { - aspectNames[index] = aspect.toString(); - index++; - } - - // Create and return the result set row node - return new ResultSetRowNode(nodeRef.getId(), type, aspectNames); - } -} \ No newline at end of file diff --git a/source/java/org/alfresco/repo/webservice/AbstractQuerySession.java b/source/java/org/alfresco/repo/webservice/AbstractQuerySession.java deleted file mode 100644 index 0cd77191a2..0000000000 --- a/source/java/org/alfresco/repo/webservice/AbstractQuerySession.java +++ /dev/null @@ -1,182 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice; - -import org.alfresco.service.ServiceRegistry; -import org.alfresco.util.GUID; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * An abstract implementation of the query session that keeps track of the paging data. - * It provides support for paging of results of Serializable[] instances. - * - * @author Derek Hulley - * @since 2.1 - */ -public abstract class AbstractQuerySession implements QuerySession -{ - private static Log logger = LogFactory.getLog(AbstractQuerySession.class); - - private String id; - private long maxResults; - private long batchSize; - private ServerQuery query; - /** a transient cache of the query results */ - private transient RESULTSET cachedResults; - - /** - * A pointer to the first row to be returned. When the last result is returned, the - * position will be out of range of the current results by 1. - */ - private long position; - /** - * Keep track of whether the position has previously passed the end of a set of results. - */ - private boolean expectMoreResults; - - /** - * Common constructor that initialises the session's id and batch size - * - * @param maxResults - * the maximum number of results to retrieve for the query. This is not the page - * size, which is normally significantly smaller. - * @param batchSize - * the batch size this session will use - * @param query - * the query that generates the results - */ - public AbstractQuerySession(long maxResults, long batchSize, ServerQuery query) - { - this.id = GUID.generate(); - this.batchSize = batchSize; - this.maxResults = maxResults; - this.query = query; - this.position = 0; - this.expectMoreResults = true; - } - - /** - * {@inheritDoc} - */ - public String getId() - { - return this.id; - } - - /** - * {@inheritDoc} - */ - public ServerQuery getQuery() - { - return query; - } - - /** - * Helper method to get the results. This may be a cached value or may be - * freshly retrieved from the query object. - * - * @param serviceRegistry the - * @return the query results, new or cached - */ - protected RESULTSET getQueryResults(ServiceRegistry serviceRegistry) - { - if (cachedResults != null) - { - return cachedResults; - } - // Get the results and cache them - cachedResults = query.execute(serviceRegistry, maxResults); - // Done - return cachedResults; - } - - /** - * {@inheritDoc} - */ - public boolean haveMoreResults() - { - return expectMoreResults; - } - - protected abstract RESULTSETROW[] makeArray(int size); - - /** - * Helper method to page through the results. The task of retrieving, unwrapping and - * rewrapping the array of results (rows) is left up to the derived implementations. - */ - protected final RESULTSETROW[] getNextResults(RESULTSETROW[] allResults) - { - /* - * This class can't manipulate the query to get the results because each - * query implementation's results (the array of rows) is contained within - * a different type of object. This method helps - */ - - long allResultsSize = allResults.length; - - RESULTSETROW[] batchedResults = null; - if (position >= allResultsSize) - { - // We are already past the last result - batchedResults = makeArray(0); - // Position is after last - position = allResultsSize; - } - else if (position == 0 && batchSize >= allResultsSize) - { - // We can give back the original results - batchedResults = allResults; - // Position is after last - position = allResultsSize; - } - else if ((position + batchSize) >= allResultsSize) - { - // There isn't an excess of rows remaining, so copy to the last one - long rowCopyCount = allResultsSize - position; //ETWOONE-396 second part - batchedResults = makeArray((int)rowCopyCount); - System.arraycopy(allResults, (int)position, batchedResults, 0, (int)rowCopyCount); - // Position is after last - position = allResultsSize; - } - else - { - // There are an excess of rows remaining - batchedResults = makeArray((int)batchSize); - System.arraycopy(allResults, (int)position, batchedResults, 0, (int)batchSize); - // Position increases by the batch size - position += batchSize; - } - // Keep track of whether we expect more results - if (position >= allResultsSize) - { - expectMoreResults = false; - } - // Done - if (logger.isDebugEnabled()) - { - logger.debug("\n" + - "Fetched next set of results: \n" + - " Total results count: " + allResultsSize + "\n" + - " Batch size: " + batchedResults.length + "\n" + - " New Position: " + position); - } - return batchedResults; - } -} diff --git a/source/java/org/alfresco/repo/webservice/AbstractWebService.java b/source/java/org/alfresco/repo/webservice/AbstractWebService.java deleted file mode 100644 index 308bd226d9..0000000000 --- a/source/java/org/alfresco/repo/webservice/AbstractWebService.java +++ /dev/null @@ -1,111 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice; - -import org.alfresco.repo.cache.SimpleCache; -import org.alfresco.service.ServiceRegistry; -import org.alfresco.service.cmr.dictionary.DictionaryService; -import org.alfresco.service.cmr.repository.ContentService; -import org.alfresco.service.cmr.repository.NodeService; -import org.alfresco.service.cmr.search.SearchService; -import org.alfresco.service.namespace.NamespaceService; - -/** - * Abstract base class for all web service implementations, provides support for common service injection - * - * @author gavinc - */ -public abstract class AbstractWebService -{ - protected ServiceRegistry serviceRegistry; - protected DictionaryService dictionaryService; - protected NodeService nodeService; - protected ContentService contentService; - protected SearchService searchService; - protected NamespaceService namespaceService; - - protected SimpleCache querySessionCache; - - public void setServiceRegistry(ServiceRegistry serviceRegistry) - { - this.serviceRegistry = serviceRegistry; - } - - /** - * Sets the instance of the DictionaryService to be used - * - * @param dictionaryService - * The DictionaryService - */ - public void setDictionaryService(DictionaryService dictionaryService) - { - this.dictionaryService = dictionaryService; - } - - /** - * Sets the instance of the NodeService to be used - * - * @param nodeService The NodeService - */ - public void setNodeService(NodeService nodeService) - { - this.nodeService = nodeService; - } - - /** - * Sets the ContentService instance to use - * - * @param contentSvc The ContentService - */ - public void setContentService(ContentService contentSvc) - { - this.contentService = contentSvc; - } - - /** - * Sets the instance of the SearchService to be used - * - * @param searchService The SearchService - */ - public void setSearchService(SearchService searchService) - { - this.searchService = searchService; - } - - /** - * Sets the instance of the NamespaceService to be used - * - * @param namespaceService The NamespaceService - */ - public void setNamespaceService(NamespaceService namespaceService) - { - this.namespaceService = namespaceService; - } - - /** - * Sets the cache to use for storing the the query session's paging information by query session ID. - * - * @param querySessionCache the cache. Cluster replication should be via serialization of - * the cache values. - */ - public void setQuerySessionCache(SimpleCache querySessionCache) - { - this.querySessionCache = querySessionCache; - } -} diff --git a/source/java/org/alfresco/repo/webservice/CMLUtil.java b/source/java/org/alfresco/repo/webservice/CMLUtil.java deleted file mode 100644 index e3f542c0d3..0000000000 --- a/source/java/org/alfresco/repo/webservice/CMLUtil.java +++ /dev/null @@ -1,714 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice; - -import java.io.ByteArrayInputStream; -import java.io.InputStream; -import java.io.Serializable; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.alfresco.error.AlfrescoRuntimeException; -import org.alfresco.repo.webservice.repository.UpdateResult; -import org.alfresco.repo.webservice.types.CML; -import org.alfresco.repo.webservice.types.CMLAddAspect; -import org.alfresco.repo.webservice.types.CMLAddChild; -import org.alfresco.repo.webservice.types.CMLCopy; -import org.alfresco.repo.webservice.types.CMLCreate; -import org.alfresco.repo.webservice.types.CMLCreateAssociation; -import org.alfresco.repo.webservice.types.CMLDelete; -import org.alfresco.repo.webservice.types.CMLMove; -import org.alfresco.repo.webservice.types.CMLRemoveAspect; -import org.alfresco.repo.webservice.types.CMLRemoveAssociation; -import org.alfresco.repo.webservice.types.CMLRemoveChild; -import org.alfresco.repo.webservice.types.CMLUpdate; -import org.alfresco.repo.webservice.types.CMLWriteContent; -import org.alfresco.repo.webservice.types.ContentFormat; -import org.alfresco.repo.webservice.types.NamedValue; -import org.alfresco.repo.webservice.types.ParentReference; -import org.alfresco.repo.webservice.types.Predicate; -import org.alfresco.repo.webservice.types.Reference; -import org.alfresco.service.cmr.dictionary.DictionaryService; -import org.alfresco.service.cmr.repository.ContentService; -import org.alfresco.service.cmr.repository.ContentWriter; -import org.alfresco.service.cmr.repository.CopyService; -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.namespace.NamespaceService; -import org.alfresco.service.namespace.QName; -import org.alfresco.util.PropertyMap; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * @author Roy Wetherall - */ -public class CMLUtil -{ - private static Log logger = LogFactory.getLog(CMLUtil.class); - - private static final String CREATE = "create"; - private static final String ADD_ASPECT = "addAspect"; - private static final String REMOVE_ASPECT = "removeAspect"; - private static final String UPDATE = "update"; - private static final String DELETE = "delete"; - private static final String MOVE = "move"; - private static final String COPY = "copy"; - private static final String ADD_CHILD = "addChild"; - private static final String REMOVE_CHILD = "removeChild"; - private static final String CREATE_ASSOCIATION = "createAssociation"; - private static final String REMOVE_ASSOCIATION = "removeAssociation"; - private static final String WRITE_CONTENT = "writeContent"; - - private NodeService nodeService; - private SearchService searchService; - private NamespaceService namespaceService; - private CopyService copyService; - private DictionaryService dictionaryService; - private ContentService contentService; - - public void setNodeService(NodeService nodeService) - { - this.nodeService = nodeService; - } - - public void setSearchService(SearchService searchService) - { - this.searchService = searchService; - } - - public void setNamespaceService(NamespaceService namespaceService) - { - this.namespaceService = namespaceService; - } - - public void setCopyService(CopyService copyService) - { - this.copyService = copyService; - } - - public void setDictionaryService(DictionaryService dictionaryService) - { - this.dictionaryService = dictionaryService; - } - - public void setContentService(ContentService contentService) - { - this.contentService = contentService; - } - - /** - * Execute a cml update query. - * - * @param cml the cml objects - * @return the update result - */ - public UpdateResult[] executeCML(CML cml) - { - ExecutionContext context = new ExecutionContext(); - List results = new ArrayList(); - - // Execute creates - CMLCreate[] creates = cml.getCreate(); - if (creates != null) - { - for (CMLCreate create : creates) - { - executeCMLCreate(create, context, results); - } - } - - // Exceute add aspect - CMLAddAspect[] addAspects = cml.getAddAspect(); - if (addAspects != null) - { - for (CMLAddAspect addAspect : addAspects) - { - executeCMLAddAspect(addAspect, context, results); - } - } - - // Execeute remove aspect - CMLRemoveAspect[] removeAspects = cml.getRemoveAspect(); - if (removeAspects != null) - { - for (CMLRemoveAspect removeAspect : removeAspects) - { - executeCMLRemoveAspect(removeAspect, context, results); - } - } - - // Execute update - CMLUpdate[] updates = cml.getUpdate(); - if (updates != null) - { - for (CMLUpdate update : updates) - { - executeCMLUpdate(update, context, results); - } - } - - CMLWriteContent[] writes = cml.getWriteContent(); - if (writes != null) - { - if (logger.isDebugEnabled() == true) - { - logger.debug(writes.length + " write content statements ready for execution."); - } - - for (CMLWriteContent write : writes) - { - executeCMLWriteContent(write, context, results); - } - } - - // Execute delete - CMLDelete[] deletes = cml.getDelete(); - if (deletes != null) - { - for (CMLDelete delete : deletes) - { - executeCMLDelete(delete, context, results); - } - } - - // Execute move - CMLMove[] moves = cml.getMove(); - if (moves != null) - { - for (CMLMove move : moves) - { - executeCMLMove(move, context, results); - } - } - - // Execute copy - CMLCopy[] copies = cml.getCopy(); - if (copies != null) - { - for (CMLCopy copy : copies) - { - executeCMLCopy(copy, context, results); - } - } - - // Execute addChild - CMLAddChild[] addChildren = cml.getAddChild(); - if (addChildren != null) - { - for (CMLAddChild addChild : addChildren) - { - executeCMLAddChild(addChild, context, results); - } - } - - // Execute removeChild - CMLRemoveChild[] removeChildren = cml.getRemoveChild(); - if (removeChildren != null) - { - for (CMLRemoveChild removeChild : removeChildren) - { - executeCMLRemoveChild(removeChild, context, results); - } - } - - // Execute createAssociation - CMLCreateAssociation[] createAssocs = cml.getCreateAssociation(); - if (createAssocs != null) - { - for (CMLCreateAssociation createAssoc : createAssocs) - { - executeCMLCreateAssociation(createAssoc, context, results); - } - } - - // Execute removeAssociation - CMLRemoveAssociation[] removeAssocs = cml.getRemoveAssociation(); - if (removeAssocs != null) - { - for (CMLRemoveAssociation removeAssoc : removeAssocs) - { - executeCMLRemoveAssociation(removeAssoc, context, results); - } - } - - return results.toArray(new UpdateResult[results.size()]); - } - - /** - * - * @param create - * @param result - */ - private void executeCMLCreate(CMLCreate create, ExecutionContext context, List results) - { - NodeRef parentNodeRef = null; - QName assocTypeQName = null; - QName assocQName = null; - - // Get the detail of the parent - ParentReference parentReference = create.getParent(); - if (parentReference != null) - { - parentNodeRef = Utils.convertToNodeRef( - parentReference, - this.nodeService, - this.searchService, - this.namespaceService); - assocTypeQName = QName.createQName(parentReference.getAssociationType()); - assocQName = QName.createQName(parentReference.getChildName()); - } - else - { - String parentId = create.getParent_id(); - if (parentId != null) - { - parentNodeRef = context.idMap.get(parentId); - } - assocTypeQName = QName.createQName(create.getAssociationType()); - assocQName = QName.createQName(create.getChildName()); - } - - if (parentNodeRef == null) - { - throw new AlfrescoRuntimeException("No parent details have been specified for the node being created."); - } - - // Get the type of the node to create - QName nodeTypeQName = QName.createQName(create.getType()); - - // Get the properties - PropertyMap properties = getPropertyMap(create.getProperty()); - - // Create the new node - NodeRef nodeRef = this.nodeService.createNode(parentNodeRef, assocTypeQName, assocQName, nodeTypeQName, properties).getChildRef(); - - // Store the node ref in the execution context (if appropraite) - String id = create.getId(); - if (id != null && id.length() != 0) - { - context.addId(id, nodeRef); - } - - results.add(createResult(CREATE, id, null, nodeRef)); - } - - /** - * Get a property map from the named value array that can be used when setting properties - * - * @param namedValues a array of named value properties - * @return a property map of vlaues - */ - private PropertyMap getPropertyMap(NamedValue[] namedValues) - { - PropertyMap properties = new PropertyMap(); - if (namedValues != null) - { - for (NamedValue value : namedValues) - { - QName qname = QName.createQName(value.getName()); - Serializable propValue = Utils.getValueFromNamedValue(this.dictionaryService, qname, value); - properties.put(qname, propValue); - } - } - return properties; - } - - private UpdateResult createResult(String cmd, String sourceId, NodeRef sourceNodeRef, NodeRef destinationNodeRef) - { - UpdateResult result = new UpdateResult(); - result.setStatement(cmd); - if (sourceId != null) - { - result.setSourceId(sourceId); - } - if (sourceNodeRef != null) - { - result.setSource(Utils.convertToReference(this.nodeService, this.namespaceService, sourceNodeRef)); - } - if (destinationNodeRef != null) - { - result.setDestination(Utils.convertToReference(this.nodeService, this.namespaceService, destinationNodeRef)); - } - // Sort out the count ??? - return result; - } - - /** - * - * @param addAspect - * @param result - */ - private void executeCMLAddAspect(CMLAddAspect addAspect, ExecutionContext context, List results) - { - // Get the node refs - List nodeRefs = getNodeRefList(addAspect.getWhere_id(), addAspect.getWhere(), context); - - // Get the aspect name and the properties - QName aspectQName = QName.createQName(addAspect.getAspect()); - PropertyMap properties = getPropertyMap(addAspect.getProperty()); - - for (NodeRef nodeRef : nodeRefs) - { - // Add the aspect - this.nodeService.addAspect(nodeRef, aspectQName, properties); - - // Create the result - results.add(createResult(ADD_ASPECT, null, nodeRef, nodeRef)); - } - } - - private void executeCMLRemoveAspect(CMLRemoveAspect removeAspect, ExecutionContext context, List results) - { - // Get the node refs - List nodeRefs = getNodeRefList(removeAspect.getWhere_id(), removeAspect.getWhere(), context); - - // Get the aspect name - QName aspectQName = QName.createQName(removeAspect.getAspect()); - - for (NodeRef nodeRef : nodeRefs) - { - // Add the aspect - this.nodeService.removeAspect(nodeRef, aspectQName); - - // Create the result - results.add(createResult(REMOVE_ASPECT, null, nodeRef, nodeRef)); - } - } - - private List getNodeRefList(String id, Predicate predicate, ExecutionContext context) - { - boolean bResolved = false; - List nodeRefs = new ArrayList(); - if (id != null && id.length() != 0) - { - NodeRef localNodeRef = context.getNodeRef(id); - if (localNodeRef != null) - { - if (logger.isDebugEnabled() == true) - { - logger.debug("Local node ref has been resolved for id = " + id); - } - - nodeRefs.add(localNodeRef); - bResolved = true; - } - } - - if (bResolved == false) - { - if (logger.isDebugEnabled() == true) - { - logger.debug("Trying to resolve predicate for where statement"); - if (predicate.getNodes() == null) - { - logger.debug("!! Predicate has no nodes !!"); - } - } - nodeRefs = Utils.resolvePredicate(predicate, this.nodeService, this.searchService, this.namespaceService); - } - return nodeRefs; - } - - private void executeCMLUpdate(CMLUpdate update, ExecutionContext context, List results) - { - // Get the nodes and properties - List nodeRefs = getNodeRefList(update.getWhere_id(), update.getWhere(), context); - PropertyMap props = getPropertyMap(update.getProperty()); - - for (NodeRef nodeRef : nodeRefs) - { - // Update the property values - Map currentProps = this.nodeService.getProperties(nodeRef); - currentProps.putAll(props); - this.nodeService.setProperties(nodeRef, currentProps); - - // Get the result - results.add(createResult(UPDATE, null, nodeRef, nodeRef)); - } - } - - private void executeCMLWriteContent(CMLWriteContent write, ExecutionContext context, List results) - { - // Get the nodes and content property - List nodeRefs = getNodeRefList(write.getWhere_id(), write.getWhere(), context); - QName property = QName.createQName(write.getProperty()); - ContentFormat format = write.getFormat(); - byte[] content = write.getContent(); - - if (logger.isDebugEnabled() == true) - { - if (nodeRefs != null) - { - logger.debug("Write content: " + nodeRefs.size() + " nodes found for execution"); - } - else - { - logger.debug("No nodes found to write content to!"); - } - } - - if (nodeRefs != null) - { - for (NodeRef nodeRef : nodeRefs) - { - //Get the content writer - ContentWriter writer = this.contentService.getWriter(nodeRef, property, true); - - // Set the content format details (if they have been specified) - if (format != null) - { - writer.setEncoding(format.getEncoding()); - writer.setMimetype(format.getMimetype()); - } - - // Write the content - InputStream is = new ByteArrayInputStream(content); - writer.putContent(is); - - if (logger.isDebugEnabled() == true) - { - logger.debug("Write content: content written on node " + nodeRef.toString() + " with format " + format.getMimetype() + "|" + format.getEncoding()); - } - - results.add(createResult(WRITE_CONTENT, null, nodeRef, nodeRef)); - } - } - } - - private void executeCMLDelete(CMLDelete delete, ExecutionContext context, List results) - { - List nodeRefs = Utils.resolvePredicate(delete.getWhere(), this.nodeService, this.searchService, this.namespaceService); - for (NodeRef nodeRef : nodeRefs) - { - // Delete the node - this.nodeService.deleteNode(nodeRef); - - // Create the result - results.add(createResult(DELETE, null, nodeRef, null)); - } - } - - private void executeCMLMove(CMLMove move, ExecutionContext context, List results) - { - NodeRef destinationNodeRef = getNodeRef(move.getTo_id(), move.getTo(), context); - if (destinationNodeRef != null) - { - QName assocType = null; - QName assocName = null; - if (move.getTo_id() != null) - { - assocType = QName.createQName(move.getAssociationType()); - assocName = QName.createQName(move.getChildName()); - } - else - { - assocType = QName.createQName(move.getTo().getAssociationType()); - assocName = QName.createQName(move.getTo().getChildName()); - } - - List nodesToMove = getNodeRefList(move.getWhere_id(), move.getWhere(), context); - for (NodeRef nodeToMove : nodesToMove) - { - NodeRef newNodeRef = this.nodeService.moveNode(nodeToMove, destinationNodeRef, assocType, assocName).getChildRef(); - - // Create the result - results.add(createResult(MOVE, null, nodeToMove, newNodeRef)); - } - } - } - - private NodeRef getNodeRef(String id, ParentReference parentReference, ExecutionContext context) - { - NodeRef nodeRef = null; - if (id != null && id.length() != 0) - { - nodeRef = context.getNodeRef(id); - } - else - { - nodeRef = Utils.convertToNodeRef(parentReference, this.nodeService, this.searchService, this.namespaceService); - } - - return nodeRef; - } - - private NodeRef getNodeRef(String id, Reference reference, ExecutionContext context) - { - NodeRef nodeRef = null; - if (id != null && id.length() != 0) - { - nodeRef = context.getNodeRef(id); - } - else - { - nodeRef = Utils.convertToNodeRef(reference, this.nodeService, this.searchService, this.namespaceService); - } - - return nodeRef; - } - - private void executeCMLCopy(CMLCopy copy, ExecutionContext context, List results) - { - NodeRef destinationNodeRef = getNodeRef(copy.getTo_id(), copy.getTo(), context); - if (destinationNodeRef != null) - { - QName assocType = null; - QName assocName = null; - if (copy.getTo_id() != null) - { - assocType = QName.createQName(copy.getAssociationType()); - assocName = QName.createQName(copy.getChildName()); - } - else - { - assocType = QName.createQName(copy.getTo().getAssociationType()); - assocName = QName.createQName(copy.getTo().getChildName()); - } - - boolean copyChildren = false; - Boolean value = copy.getChildren(); - if (value != null) - { - copyChildren = value.booleanValue(); - } - - List nodesToCopy = getNodeRefList(copy.getWhere_id(), copy.getWhere(), context); - for (NodeRef nodeToCopy : nodesToCopy) - { - NodeRef newNodeRef = this.copyService.copyAndRename(nodeToCopy, destinationNodeRef, assocType, assocName, copyChildren); - - // Create the result - results.add(createResult(COPY, null, nodeToCopy, newNodeRef)); - } - } - - } - - private void executeCMLAddChild(CMLAddChild addChild, ExecutionContext context, List results) - { - NodeRef nodeRef = getNodeRef(addChild.getTo_id(), addChild.getTo(), context); - if (nodeRef != null) - { - QName assocType = null; - QName assocName = null; - if (addChild.getTo_id() != null) - { - assocType = QName.createQName(addChild.getAssociationType()); - assocName = QName.createQName(addChild.getChildName()); - } - else - { - assocType = QName.createQName(addChild.getTo().getAssociationType()); - assocName = QName.createQName(addChild.getTo().getChildName()); - } - - List whereNodeRefs = getNodeRefList(addChild.getWhere_id(), addChild.getWhere(), context); - for (NodeRef whereNodeRef : whereNodeRefs) - { - this.nodeService.addChild(nodeRef, whereNodeRef, assocType, assocName); - - // Create the result - results.add(createResult(ADD_CHILD, null, nodeRef, whereNodeRef)); - } - } - } - - private void executeCMLRemoveChild(CMLRemoveChild removeChild, ExecutionContext context, List results) - { - NodeRef parentNodeRef = getNodeRef(removeChild.getFrom_id(), removeChild.getFrom(), context); - if (parentNodeRef != null) - { - List childNodeRefs = getNodeRefList(removeChild.getWhere_id(), removeChild.getWhere(), context); - for (NodeRef childNodeRef : childNodeRefs) - { - this.nodeService.removeChild(parentNodeRef, childNodeRef); - - // Create the result - results.add(createResult(REMOVE_CHILD, null, parentNodeRef, null)); - } - } - - } - - private void executeCMLCreateAssociation(CMLCreateAssociation createAssoc, ExecutionContext context, List results) - { - QName assocType = QName.createQName(createAssoc.getAssociation()); - if (assocType != null) - { - List fromNodeRefs = getNodeRefList(createAssoc.getFrom_id(), createAssoc.getFrom(), context); - List toNodeRefs = getNodeRefList(createAssoc.getTo_id(), createAssoc.getTo(), context); - for (NodeRef fromNodeRef : fromNodeRefs) - { - for (NodeRef toNodeRef : toNodeRefs) - { - this.nodeService.createAssociation(fromNodeRef, toNodeRef, assocType); - - // Create the result - results.add(createResult(CREATE_ASSOCIATION, null, fromNodeRef, toNodeRef)); - } - } - } - } - - private void executeCMLRemoveAssociation(CMLRemoveAssociation removeAssoc, ExecutionContext context, List results) - { - QName assocType = QName.createQName(removeAssoc.getAssociation()); - if (assocType != null) - { - List fromNodeRefs = getNodeRefList(removeAssoc.getFrom_id(), removeAssoc.getFrom(), context); - List toNodeRefs = getNodeRefList(removeAssoc.getTo_id(), removeAssoc.getTo(), context); - for (NodeRef fromNodeRef : fromNodeRefs) - { - for (NodeRef toNodeRef : toNodeRefs) - { - this.nodeService.removeAssociation(fromNodeRef, toNodeRef, assocType); - - // Create the result - results.add(createResult(REMOVE_ASSOCIATION, null, fromNodeRef, toNodeRef)); - } - } - } - } - - private class ExecutionContext - { - private Map idMap = new HashMap(); - private Map nodeRefMap = new HashMap(); - - public void addId(String id, NodeRef nodeRef) - { - this.idMap.put(id, nodeRef); - this.nodeRefMap.put(nodeRef, id); - } - - public NodeRef getNodeRef(String id) - { - return this.idMap.get(id); - } - - public String getId(NodeRef nodeRef) - { - return this.nodeRefMap.get(nodeRef); - } - } -} diff --git a/source/java/org/alfresco/repo/webservice/QuerySession.java b/source/java/org/alfresco/repo/webservice/QuerySession.java deleted file mode 100644 index cf03a5a1e8..0000000000 --- a/source/java/org/alfresco/repo/webservice/QuerySession.java +++ /dev/null @@ -1,61 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice; - -import java.io.Serializable; - -import org.alfresco.service.ServiceRegistry; - -/** - * An interface for objects that track the query and its results. The only commonality between - * the different types of results used in the WebServices return values is that they are - * Serializable. - * - * @author Derek Hulley - */ -public interface QuerySession extends Serializable -{ - /** - * Retrieves the id this query session can be identified as - * - * @return Id of this query session - */ - public String getId(); - - /** - * Check if the session is expecting more results. This will be false if the - * cursor previously passed the end of a given set of results. - */ - public boolean haveMoreResults(); - - /** - * Get the next batch of results from the full set of available results. If there are no results - * available, then this session must go and fetch them. It is up to the implementation to provide - * a means for this to occur. - * - * @param serviceRegistry - * the services to perform a query - * @param allResults - * All available results. It may be necessary to requery to get the results. - * @return - * Returns the next batch of results based on the maximum fetch size. If there are no - * more results, the resultset will be empty. - */ - public RESULTSET getNextResults(ServiceRegistry serviceRegistry); -} diff --git a/source/java/org/alfresco/repo/webservice/ServerQuery.java b/source/java/org/alfresco/repo/webservice/ServerQuery.java deleted file mode 100644 index 4ce8429861..0000000000 --- a/source/java/org/alfresco/repo/webservice/ServerQuery.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice; - -import java.io.Serializable; - -import org.alfresco.service.ServiceRegistry; - -/** - * Interface definition for a QuerySession. - * - * @author gavinc - */ -public interface ServerQuery extends Serializable -{ - /** System column namess */ - public static String SYS_COL_ASSOC_TYPE = "associationType"; - public static String SYS_COL_ASSOC_NAME = "associationName"; - public static String SYS_COL_IS_PRIMARY = "isPrimary"; - public static String SYS_COL_NTH_SIBLING = "nthSibling"; - - /** - * Executes the query and returns the full query results. - * - * @param - * The services to help make the query - * @return - * The full set of query results. - * The results must be empty if there are no results. - */ - public RESULTSET execute(ServiceRegistry serviceRegistry); - - /** - * Executes the query and return all results up to given maximum number. - * Note that this is not the same as the page size, but rather is a total - * upper limit to the number of results that can viewed. - * - * @param - * The services to help make the query - * @param maxResults - * the total number of results to retrieve - * @return - * The full set of query results up to the maximum given. - * The results must be empty if there are no results. - */ - public RESULTSET execute(ServiceRegistry serviceRegistry, long maxResults); -} \ No newline at end of file diff --git a/source/java/org/alfresco/repo/webservice/Utils.java b/source/java/org/alfresco/repo/webservice/Utils.java deleted file mode 100644 index 72ee2a4748..0000000000 --- a/source/java/org/alfresco/repo/webservice/Utils.java +++ /dev/null @@ -1,866 +0,0 @@ -/* - * Copyright (C) 2005-2013 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice; - -import java.io.Serializable; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Calendar; -import java.util.Collection; -import java.util.Date; -import java.util.List; -import java.util.Map; - -import javax.servlet.ServletContext; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpSession; -import javax.transaction.UserTransaction; -import javax.xml.rpc.server.ServletEndpointContext; - -import org.alfresco.repo.transaction.RetryingTransactionHelper; -import org.alfresco.repo.webservice.axis.QueryConfigHandler; -import org.alfresco.repo.webservice.types.AssociationDefinition; -import org.alfresco.repo.webservice.types.Cardinality; -import org.alfresco.repo.webservice.types.ClassDefinition; -import org.alfresco.repo.webservice.types.NamedValue; -import org.alfresco.repo.webservice.types.ParentReference; -import org.alfresco.repo.webservice.types.Predicate; -import org.alfresco.repo.webservice.types.PropertyDefinition; -import org.alfresco.repo.webservice.types.Query; -import org.alfresco.repo.webservice.types.Reference; -import org.alfresco.repo.webservice.types.RoleDefinition; -import org.alfresco.repo.webservice.types.Store; -import org.alfresco.repo.webservice.types.Version; -import org.alfresco.service.ServiceRegistry; -import org.alfresco.service.cmr.dictionary.DataTypeDefinition; -import org.alfresco.service.cmr.dictionary.DictionaryService; -import org.alfresco.service.cmr.repository.NodeRef; -import org.alfresco.service.cmr.repository.NodeService; -import org.alfresco.service.cmr.repository.StoreRef; -import org.alfresco.service.cmr.repository.datatype.DefaultTypeConverter; -import org.alfresco.service.cmr.search.ResultSet; -import org.alfresco.service.cmr.search.SearchService; -import org.alfresco.service.cmr.version.VersionType; -import org.alfresco.service.namespace.NamespaceService; -import org.alfresco.service.namespace.QName; -import org.alfresco.service.transaction.TransactionService; -import org.apache.axis.MessageContext; -import org.apache.axis.transport.http.HTTPConstants; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.springframework.web.context.WebApplicationContext; -import org.springframework.web.context.support.WebApplicationContextUtils; - -/** - * Helper class used by the web services - * - * @author gavinc - */ -public class Utils -{ - /** Default batch size for query results - 1000 */ - public static final int DEFAULT_BATCH_SIZE = 1000; - public static final String REPOSITORY_SERVICE_NAMESPACE = "http://www.alfresco.org/ws/service/repository/1.0"; - - /** Get the logger for this class */ - private static Log logger = LogFactory.getLog(Utils.class); - - private Utils() - { - // don't allow construction - } - - /** Query language names */ - public static final String QUERY_LANG_LUCENE = "lucene"; - public static final String QUERY_LANG_XPATH = "xpath"; - public static final String QUERY_LANG_CQL = "cql"; - - - /** - * Utility method to convert from a string representation of a property value into the correct object representation. - * - * @param dictionaryService the dictionary service - * @param propertyName the qname of the property in question - * @param propertyValue the property vlaue as a string - * @return the object value of the property - */ - public static Serializable getValueFromNamedValue(DictionaryService dictionaryService, QName propertyName, NamedValue namedValue) - { - Serializable result = null; - if (namedValue != null) - { - org.alfresco.service.cmr.dictionary.PropertyDefinition propDef = dictionaryService.getProperty(propertyName); - if (propDef == null) - { - if (namedValue.getIsMultiValue() == false) - { - result = namedValue.getValue(); - } - else - { - String[] values = namedValue.getValues(); - - if (values != null) - { - Collection collection = new ArrayList(values.length); - for (String value : values) - { - collection.add(value); - } - result = (Serializable)collection; - } - } - } - else - { - DataTypeDefinition propertyType = propDef.getDataType(); - if (propertyType != null) - { - if (namedValue.getIsMultiValue() == false) - { - if (logger.isDebugEnabled() == true) - { - logger.debug("Converting single-valued property '" + propertyName.toString() + "' with value " + namedValue.getValue()); - } - - result = (Serializable)DefaultTypeConverter.INSTANCE.convert(propertyType, namedValue.getValue()); - } - else - { - String[] values = namedValue.getValues(); - - if (logger.isDebugEnabled() == true) - { - logger.debug("Converting multi-valued property '" + propertyName.toString() + "' with values " + Arrays.toString(values)); - } - - if (values != null) - { - Collection collection = new ArrayList(values.length); - for (String value : values) - { - collection.add((Serializable)DefaultTypeConverter.INSTANCE.convert(propertyType, value)); - } - - if (logger.isDebugEnabled() == true) - { - logger.debug("The collection for the multi-value property has been generated '" + collection.toString()); - } - - result = (Serializable)collection; - } - } - } - else - { - if (logger.isDebugEnabled() == true) - { - logger.debug("No property definition was found for property '" + propertyName.toString() + "'"); - } - } - } - } - return result; - } - - /** - * Create a named value object from the property name and value informaiton - * - * @param dictionaryService the dictionary service - * @param propertyName the property qname - * @param propertyValue the property value - * @return the namedValue object - */ - public static NamedValue createNamedValue(DictionaryService dictionaryService, QName propertyName, Serializable propertyValue) - { - NamedValue namedValue = new NamedValue(); - namedValue.setName(propertyName.toString()); - - if (logger.isDebugEnabled() == true) - { - logger.debug("Creating named value for property '" + propertyName + "' with value '" + propertyValue + "'"); - } - - if (propertyValue != null) - { - org.alfresco.service.cmr.dictionary.PropertyDefinition propDef = dictionaryService.getProperty(propertyName); - if (propDef != null) - { - if (propDef.isMultiValued() == true) - { - namedValue.setIsMultiValue(true); - if (propertyValue instanceof Collection) - { - if (logger.isDebugEnabled() == true) - { - logger.debug("Converting multivalue for property '" + propertyName + "'"); - } - - Collection collection = (Collection)propertyValue; - String[] values = new String[collection.size()]; - int count = 0; - for (Serializable value : collection) - { - values[count] = DefaultTypeConverter.INSTANCE.convert(String.class, value); - count ++; - } - namedValue.setValues(values); - } - } - else - { - if (logger.isDebugEnabled() == true) - { - logger.debug("Converting single value for property '" + propertyName + "'"); - } - - namedValue.setIsMultiValue(false); - namedValue.setValue(DefaultTypeConverter.INSTANCE.convert(String.class, propertyValue)); - } - } - else - { - if (logger.isDebugEnabled() == true) - { - logger.debug("No property definition found for property '" + propertyName + "'"); - } - - namedValue.setIsMultiValue(false); - namedValue.setValue(propertyValue.toString()); - } - } - - return namedValue; - } - - /** - * Converts the web service Store type to a StoreRef used by the repository - * - * @param store - * The Store to convert - * @return The converted StoreRef - */ - public static StoreRef convertToStoreRef(Store store) - { - return new StoreRef(store.getScheme(), store.getAddress()); - } - - /** - * Converts a store reference ot a Store type - * - * @param ref - * the store reference - * @return the store - */ - public static Store convertToStore(StoreRef ref) - { - return new Store(ref.getProtocol(), ref - .getIdentifier()); - } - - /** - * Converts the given Reference web service type into a repository NodeRef - * - * @param ref - * The Reference to convert - * @return The NodeRef representation of the Reference - */ - public static NodeRef convertToNodeRef(Reference ref, - NodeService nodeService, SearchService searchService, - NamespaceService namespaceService) - { - return resolveToNodeRef(ref.getStore(), ref.getUuid(), ref.getPath(), - nodeService, searchService, namespaceService); - } - - /** - * Converts the given ParentReference web service type into a repository - * NodeRef - * - * @param parentRef - * The ParentReference to convert - * @return The NodeRef representation of the ParentReference - */ - public static NodeRef convertToNodeRef(ParentReference parentRef, - NodeService nodeService, SearchService searchService, - NamespaceService namespaceService) - { - // TODO: Also take into account any association information passed in - // the ParentReference - - return resolveToNodeRef(parentRef.getStore(), parentRef.getUuid(), - parentRef.getPath(), nodeService, searchService, - namespaceService); - } - - /** - * Converts the given repository NodeRef object into a web service Reference - * type - * - * @param node - * The node to create a Reference for - * @return The Reference - */ - public static Reference convertToReference(NodeService nodeService, NamespaceService namespaceService, NodeRef node) - { - Reference ref = new Reference(); - Store store = new Store(node.getStoreRef().getProtocol(), node.getStoreRef().getIdentifier()); - ref.setStore(store); - ref.setUuid(node.getId()); - - // Need to check if node still exists (e.g., after a delete operation) so getPath() - // doesn't fail - if(nodeService.exists(node) == true) - { - if (logger.isDebugEnabled()) - { - logger.debug("setting path for reference to: " + nodeService.getPath(node).toPrefixString(namespaceService)); - } - - // so clients can get the path too - ref.setPath(nodeService.getPath(node).toPrefixString(namespaceService)); - } - - return ref; - } - - /** - * Resolves the given parameters to a repository NodeRef - * - * @param store - * The Store to search within - * @param uuid - * The id of the required node.c - * @param path - * The path to the required node. If a uuid is given the uuid is used -+ * to find the node. Otherwise, the path is used. - * @param nodeService - * NodeService to use - * @param searchService - * SearchService to use - * @param namespaceService - * NamespaceService to use - * @return A repository NodeRef - */ - public static NodeRef resolveToNodeRef(Store store, String uuid, - String path, NodeService nodeService, SearchService searchService, - NamespaceService namespaceService) - { - if (store == null) - { - throw new IllegalArgumentException( - "A Store must be supplied to resolve to a NodeRef"); - } - - NodeRef nodeRef = null; - - // If uuid is null, then use the path to find the node - if (uuid == null || uuid.length() == 0) - { - if (path != null && path.length() != 0) - { - if (logger.isDebugEnabled() == true) - { - logger.debug("Resolving path: " + path); - } - - NodeRef rootNodeRef = nodeService.getRootNode(convertToStoreRef(store)); - List nodes = searchService.selectNodes(rootNodeRef, path, null, namespaceService, false); - - // make sure we only have one result - if (nodes.size() != 1) - { - StringBuilder builder = new StringBuilder( - "Failed to resolve to a single NodeRef with parameters (store="); - builder.append(store.getScheme()).append(":") - .append(store.getAddress()); - builder.append(" uuid=").append(uuid); - builder.append(" path=").append(path).append("), found "); - builder.append(nodes.size()).append(" nodes."); - throw new IllegalStateException(builder.toString()); - } - - nodeRef = nodes.get(0); - } - else - { - throw new IllegalArgumentException("A uuid or a path must be supplied to resolve to a NodeRef"); - } - - - } - else // use the uuid - { - nodeRef = new NodeRef(convertToStoreRef(store), uuid); - } - - return nodeRef; - } - - /** - * Resolves the given predicate into a list of NodeRefs that can be acted - * upon - * - * @param predicate - * The predicate passed from the client - * @param nodeService - * NodeService to use - * @param searchService - * SearchService to use - * @param namespaceService - * NamespaceService to use - * @return A List of NodeRef objects - */ - public static List resolvePredicate(Predicate predicate, - NodeService nodeService, SearchService searchService, - NamespaceService namespaceService) - { - List nodeRefs = null; - - if (predicate.getNodes() != null) - { - Reference[] nodes = predicate.getNodes(); - nodeRefs = new ArrayList(nodes.length); - - for (int x = 0; x < nodes.length; x++) - { - nodeRefs.add(convertToNodeRef(nodes[x], nodeService, - searchService, namespaceService)); - } - } - else if (predicate.getQuery() != null) - { - // make sure a query is present - Query query = predicate.getQuery(); - - if (query == null) - { - throw new IllegalStateException( - "Either a set of nodes or a query must be supplied in a Predicate."); - } - - // make sure a Store has been supplied too - if (predicate.getStore() == null) - { - throw new IllegalStateException( - "A Store has to be supplied to in order to execute a query."); - } - - String language = query.getLanguage(); - if (language.equals(QUERY_LANG_LUCENE) != true) - { - throw new IllegalArgumentException("Only '" - + QUERY_LANG_LUCENE - + "' queries are currently supported!"); - } - - // execute the query - ResultSet searchResults = null; - try - { - searchResults = searchService.query(Utils - .convertToStoreRef(predicate.getStore()), language, query.getStatement()); - // get hold of all the NodeRef's from the results - nodeRefs = searchResults.getNodeRefs(); - } - finally - { - if (searchResults != null) - { - searchResults.close(); - } - } - } - else if (predicate.getStore() != null) - { - // Since only the store was supplied interpret this to mean the predicate should be resolved to the - // stores root node - Store store = predicate.getStore(); - NodeRef rootNode = nodeService.getRootNode(Utils.convertToStoreRef(store)); - - nodeRefs = new ArrayList(); - nodeRefs.add(rootNode); - } - - return nodeRefs; - } - - /** - * Returns the current Spring WebApplicationContext object - * - * @param msgContext - * SOAP message context - * @return The Spring WebApplicationContext - */ - public static WebApplicationContext getSpringContext(MessageContext msgContext) - { - // get hold of the web application context via the message context - HttpServletRequest req = (HttpServletRequest) msgContext - .getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST); - ServletContext servletCtx = req.getSession().getServletContext(); - return WebApplicationContextUtils - .getRequiredWebApplicationContext(servletCtx); - } - - /** - * Returns a UserTransaction that can be used within a service call - * - * @param msgContext - * SOAP message context - * @return a UserTransaction - * - * @deprecated Use {@link #getRetryingTransactionHelper(MessageContext)} - */ - public static UserTransaction getUserTransaction(MessageContext msgContext) - { - // get the service regsistry - ServiceRegistry svcReg = (ServiceRegistry) getSpringContext(msgContext) - .getBean(ServiceRegistry.SERVICE_REGISTRY); - - TransactionService transactionService = svcReg.getTransactionService(); - return transactionService.getUserTransaction(); - } - - /** - * Get the executer to wrap transactional callbacks in for better transaction behaviour. - * - * @param msgContext - * SOAP message context - * @return - * a transactional, retrying, callback executer - */ - public static RetryingTransactionHelper getRetryingTransactionHelper(MessageContext msgContext) - { - // get the service regsistry - ServiceRegistry svcReg = (ServiceRegistry) getSpringContext(msgContext) - .getBean(ServiceRegistry.SERVICE_REGISTRY); - - TransactionService transactionService = svcReg.getTransactionService(); - return transactionService.getRetryingTransactionHelper(); - } - - /** - * Gets the current http session id - * - * @return the current http session id, null if none found - */ - public static String getSessionId() - { - HttpSession session = getSession(); - return ((session != null) ? (session.getId()) : (null)); - } - - private static HttpSession getSession() - { - HttpSession result = null; - - ServletEndpointContext endpointContext = (ServletEndpointContext) MessageContext.getCurrentContext().getProperty("servletEndpointContext"); - if (endpointContext != null) - { - result = endpointContext.getHttpSession(); - } - - return result; - } - - /** - * Invalidates the current http session - */ - public static void invalidateSession() - { - HttpSession session = getSession(); - if (session != null) - { - session.invalidate(); - } - } - - /** - * Returns the value of the fetchSize from the - * QueryConfiguration SOAP header (if present) - * - * @param msgContext - * The SOAP MessageContext - * @return The current batch size or -1 if the header is not present - */ - public static int getBatchSize(MessageContext msgContext) - { - int batchSize = DEFAULT_BATCH_SIZE; - - Integer batchConfigSize = (Integer) MessageContext.getCurrentContext() - .getProperty(QueryConfigHandler.ALF_FETCH_SIZE); - if (batchConfigSize != null) - { - batchSize = batchConfigSize.intValue(); - } - - return batchSize; - } - - /** - * Converts a repository version object into a web service version object. - * - * @param version - * the repository version object - * @return the web service version object - */ - public static Version convertToVersion( - NodeService nodeService, - NamespaceService namespaceService, - org.alfresco.service.cmr.version.Version version) - { - Version webServiceVersion = new Version(); - - // Set the basic properties - webServiceVersion.setId(Utils.convertToReference(nodeService, namespaceService, version - .getFrozenStateNodeRef())); - webServiceVersion.setCreator(version.getCreator()); - webServiceVersion.setLabel(version.getVersionLabel()); - - // Set the created date - Date createdDate = version.getCreatedDate(); - Calendar calendar = Calendar.getInstance(); - calendar.setTime(createdDate); - webServiceVersion.setCreated(calendar); - - // Set the falg to indicate whether the version was mojor or minor - boolean isMajor = false; - VersionType versionType = version.getVersionType(); - if (versionType != null - && versionType.equals(VersionType.MAJOR) == true) - { - isMajor = true; - } - webServiceVersion.setMajor(isMajor); - - // Set the commetary values - Map versionProps = version.getVersionProperties(); - NamedValue[] namedValues = new NamedValue[versionProps.size()]; - int iIndex = 0; - for (Map.Entry entry : versionProps.entrySet()) - { - String value = null; - try - { - value = DefaultTypeConverter.INSTANCE.convert(String.class, entry.getValue()); - } - catch (Throwable exception) - { - value = entry.getValue().toString(); - } - namedValues[iIndex] = new NamedValue(entry.getKey(), false, value, null); - iIndex++; - } - webServiceVersion.setCommentaries(namedValues); - - return webServiceVersion; - } - - /** - * Creates a ClassDefinition web service type object for the given - * repository ClassDefinition - * - * @param ddClassDef The repository ClassDefinition to generate - * @return The web service ClassDefinition representation - */ - public static ClassDefinition setupClassDefObject(DictionaryService dictionaryService, org.alfresco.service.cmr.dictionary.ClassDefinition ddClassDef) - { - ClassDefinition classDef = new ClassDefinition(); - classDef.setName(ddClassDef.getName().toString()); - classDef.setIsAspect(ddClassDef.isAspect()); - - if (ddClassDef.getTitle(dictionaryService) != null) - { - classDef.setTitle(ddClassDef.getTitle(dictionaryService)); - } - if (ddClassDef.getDescription(dictionaryService) != null) - { - classDef.setDescription(ddClassDef.getDescription(dictionaryService)); - } - if (ddClassDef.getParentName() != null) - { - classDef.setSuperClass(ddClassDef.getParentName().toString()); - } - - // represent the properties - Map props = ddClassDef.getProperties(); - if (props != null) - { - PropertyDefinition[] propDefs = new PropertyDefinition[props.size()]; - int pos = 0; - for (org.alfresco.service.cmr.dictionary.PropertyDefinition ddPropDef : props.values()) - { - PropertyDefinition propDef = setupPropertyDefObject(dictionaryService, ddPropDef); - propDefs[pos] = propDef; - pos++; - } - - // add properties to the overall ClassDefinition - classDef.setProperties(propDefs); - } - - // represent the associations - Map assocs = ddClassDef.getAssociations(); - if (assocs != null) - { - AssociationDefinition[] assocDefs = new AssociationDefinition[assocs.size()]; - int pos = 0; - for (org.alfresco.service.cmr.dictionary.AssociationDefinition ddAssocDef : assocs.values()) - { - AssociationDefinition assocDef = setupAssociationDefObject(dictionaryService, ddAssocDef); - assocDefs[pos] = assocDef; - pos++; - } - - classDef.setAssociations(assocDefs); - } - - return classDef; - } - - /** - * Creates a PropertyDefinition web service type object for the given - * repository PropertyDefinition - * - * @param ddPropertyDef The repository PropertyDefinition to generate - * @return The web service PropertyDefinition representation - */ - public static PropertyDefinition setupPropertyDefObject(DictionaryService dictionaryService, org.alfresco.service.cmr.dictionary.PropertyDefinition ddPropDef) - { - PropertyDefinition propDef = new PropertyDefinition(); - propDef.setName(ddPropDef.getName().toString()); - propDef.setDataType(ddPropDef.getDataType().getName().toString()); - propDef.setMandatory(ddPropDef.isMandatory()); - propDef.setReadOnly(ddPropDef.isProtected()); - if (ddPropDef.getDefaultValue() != null) - { - propDef.setDefaultValue(ddPropDef.getDefaultValue()); - } - if (ddPropDef.getTitle(dictionaryService) != null) - { - propDef.setTitle(ddPropDef.getTitle(dictionaryService)); - } - if (ddPropDef.getDescription(dictionaryService) != null) - { - propDef.setDescription(ddPropDef.getDescription(dictionaryService)); - } - return propDef; - } - - /** - * Creates an AssociationDefinition web service type object for the given - * repository AssociationDefinition - * - * @param ddAssociationDef The repository AssociationDefinition to generate - * @return The web service AssociationDefinition representation - */ - public static AssociationDefinition setupAssociationDefObject(DictionaryService dictionaryService, org.alfresco.service.cmr.dictionary.AssociationDefinition ddAssocDef) - { - AssociationDefinition assocDef = new AssociationDefinition(); - assocDef.setName(ddAssocDef.getName().toString()); - assocDef.setIsChild(ddAssocDef.isChild()); - if (ddAssocDef.getTitle(dictionaryService) != null) - { - assocDef.setTitle(ddAssocDef.getTitle(dictionaryService)); - } - if (ddAssocDef.getDescription(dictionaryService) != null) - { - assocDef.setDescription(ddAssocDef.getDescription(dictionaryService)); - } - - RoleDefinition sourceRole = new RoleDefinition(); - if (ddAssocDef.getSourceRoleName() != null) - { - sourceRole.setName(ddAssocDef.getSourceRoleName().toString()); - } - sourceRole.setCardinality(setupSourceCardinalityObject(ddAssocDef)); - assocDef.setSourceRole(sourceRole); - - RoleDefinition targetRole = new RoleDefinition(); - if (ddAssocDef.getTargetRoleName() != null) - { - targetRole.setName(ddAssocDef.getTargetRoleName().toString()); - } - targetRole.setCardinality(setupTargetCardinalityObject(ddAssocDef));; - assocDef.setTargetRole(targetRole); - assocDef.setTargetClass(ddAssocDef.getTargetClass().getName().toString()); - - return assocDef; - } - - /** - * Creates a web service Cardinality type for the source from the given repository AssociationDefinition - * - * @param ddAssocDef The AssociationDefinition to get the cardinality from - * @return The Cardinality - */ - private static Cardinality setupSourceCardinalityObject(org.alfresco.service.cmr.dictionary.AssociationDefinition ddAssocDef) - { - if (ddAssocDef.isSourceMandatory() == false && ddAssocDef.isSourceMany() == false) - { - // 0..1 - return Cardinality.value1; - } - else if (ddAssocDef.isSourceMandatory() && ddAssocDef.isSourceMany() == false) - { - // 1 - return Cardinality.value2; - } - else if (ddAssocDef.isSourceMandatory() && ddAssocDef.isSourceMany()) - { - // 1..* - return Cardinality.value4; - } - else - { - // * - return Cardinality.value3; - } - } - - /** - * Creates a web service Cardinality type for the target from the given repository AssociationDefinition - * - * @param ddAssocDef The AssociationDefinition to get the cardinality from - * @return The Cardinality - */ - private static Cardinality setupTargetCardinalityObject(org.alfresco.service.cmr.dictionary.AssociationDefinition ddAssocDef) - { - if (ddAssocDef.isTargetMandatory() == false && ddAssocDef.isTargetMany() == false) - { - // 0..1 - return Cardinality.value1; - } - else if (ddAssocDef.isTargetMandatory() && ddAssocDef.isTargetMany() == false) - { - // 1 - return Cardinality.value2; - } - else if (ddAssocDef.isTargetMandatory() && ddAssocDef.isTargetMany()) - { - // 1..* - return Cardinality.value4; - } - else - { - // * - return Cardinality.value3; - } - } -} diff --git a/source/java/org/alfresco/repo/webservice/accesscontrol/AccessControlWebService.java b/source/java/org/alfresco/repo/webservice/accesscontrol/AccessControlWebService.java deleted file mode 100644 index ca4348df08..0000000000 --- a/source/java/org/alfresco/repo/webservice/accesscontrol/AccessControlWebService.java +++ /dev/null @@ -1,795 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.accesscontrol; - -import java.rmi.RemoteException; -import java.util.ArrayList; -import java.util.List; -import java.util.Set; - -import org.alfresco.repo.transaction.TransactionServiceImpl; -import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback; -import org.alfresco.repo.webservice.AbstractWebService; -import org.alfresco.repo.webservice.Utils; -import org.alfresco.repo.webservice.action.ActionFault; -import org.alfresco.repo.webservice.types.Predicate; -import org.alfresco.service.cmr.repository.NodeRef; -import org.alfresco.service.cmr.security.AccessPermission; -import org.alfresco.service.cmr.security.AccessStatus; -import org.alfresco.service.cmr.security.AuthorityService; -import org.alfresco.service.cmr.security.AuthorityType; -import org.alfresco.service.cmr.security.OwnableService; -import org.alfresco.service.cmr.security.PermissionService; -import org.alfresco.service.namespace.QName; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -public class AccessControlWebService extends AbstractWebService implements AccessControlServiceSoapPort -{ - /** Log */ - private static Log logger = LogFactory.getLog(AccessControlWebService.class); - - /** Transaction service */ - private TransactionServiceImpl transactionService = null; - - /** Permission service */ - private PermissionService permissionService = null; - - /** Ownable service */ - private OwnableService ownableService = null; - - /** Authority service */ - private AuthorityService authorityService; - - /** - * Set the transaction service - * - * @param transactionService the transaction service - */ - public void setTransactionService(TransactionServiceImpl transactionService) - { - this.transactionService = transactionService; - } - - /** - * Set the permissions service - * - * @param permissionService the permissions service - */ - public void setPermissionService(PermissionService permissionService) - { - this.permissionService = permissionService; - } - - /** - * Set the ownable service - * - * @param ownableService the ownable service - */ - public void setOwnableService(OwnableService ownableService) - { - this.ownableService = ownableService; - } - - /** - * Set the authentication service - * - * @param authorityService the authentication service - */ - public void setAuthorityService(AuthorityService authorityService) - { - this.authorityService = authorityService; - } - - /** - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#getACLs(org.alfresco.repo.webservice.types.Predicate, org.alfresco.repo.webservice.accesscontrol.ACE) - */ - public ACL[] getACLs(final Predicate predicate, final ACE filter) throws RemoteException, AccessControlFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public ACL[] execute() throws Exception - { - return getACLsImpl(predicate, filter); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Get the ACL's for the predicate, filtered if appropraite. - * - * @param predicate the predicate - * @param filter the fileter (optional) - * @return an array of ACL's - */ - private ACL[] getACLsImpl(Predicate predicate, ACE filter) - { - // Resolve the nodes - List nodes = Utils.resolvePredicate(predicate, this.nodeService, this.searchService, this.namespaceService); - ACL[] acls = new ACL[nodes.size()]; - - int index = 0; - for (NodeRef node : nodes) - { - // Create ACL of node - ACL acl = getACLFromNodeRef(node, filter); - - // Add the acl to the results - acls[index] = acl; - index++; - } - - return acls; - } - - /** - * Given a node reference, creates the relating ACL - * - * @param node the node reference - * @return the ACL - */ - private ACL getACLFromNodeRef(NodeRef node, ACE filter) - { - // Create the acl - ACL acl = new ACL(); - acl.setReference(Utils.convertToReference(this.nodeService, this.namespaceService, node)); - - // Set the inhertied value - boolean inheritPermission = this.permissionService.getInheritParentPermissions(node); - acl.setInheritPermissions(inheritPermission); - - // Get the access permissions - Set accessPermissions = this.permissionService.getAllSetPermissions(node); - ACE[] aces = new ACE[accessPermissions.size()]; - - // Marshal the permissions into ACE's - int count = 0; - for (AccessPermission permission : accessPermissions) - { - // TODO need to filter the results accordingly using ACE filter - - // Create the ace - org.alfresco.repo.webservice.accesscontrol.AccessStatus accessStatus = org.alfresco.repo.webservice.accesscontrol.AccessStatus.declined; - if (AccessStatus.ALLOWED.equals(permission.getAccessStatus()) == true) - { - accessStatus = org.alfresco.repo.webservice.accesscontrol.AccessStatus.acepted; - } - - ACE ace = new ACE(permission.getAuthority(), - permission.getPermission(), - accessStatus); - - // Add ace to array - aces[count] = ace; - count ++; - } - acl.setAces(aces); - return acl; - } - - /** - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#addACEs(org.alfresco.repo.webservice.types.Predicate, org.alfresco.repo.webservice.accesscontrol.ACE[]) - */ - public ACL[] addACEs(final Predicate predicate, final ACE[] aces) throws RemoteException, AccessControlFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public ACL[] execute() throws Exception - { - return addACEsImpl(predicate, aces); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Add ACE to a collection of nodes - * - * @param predicate the predicate - * @param aces the ACE's to add - * @return the ACL's of the modified node - */ - private ACL[] addACEsImpl(Predicate predicate, ACE[] aces) - { - // Resolce the predicate - List nodes = Utils.resolvePredicate(predicate, this.nodeService, this.searchService, this.namespaceService); - ACL[] acls = new ACL[nodes.size()]; - - int count = 0; - for (NodeRef node : nodes) - { - // Add the permissions for each ace - for (ACE ace : aces) - { - // Add the permissions associated with the ace - boolean allow = false; - if (ace.getAccessStatus().equals(org.alfresco.repo.webservice.accesscontrol.AccessStatus.acepted) == true) - { - allow = true; - } - this.permissionService.setPermission(node, ace.getAuthority(), ace.getPermission(), allow); - } - - // Add the ACL for this node to the returned array - acls[count] = getACLFromNodeRef(node, null); - count++; - } - - return acls; - } - - /** - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#removeACEs(org.alfresco.repo.webservice.types.Predicate, org.alfresco.repo.webservice.accesscontrol.ACE[]) - */ - public ACL[] removeACEs(final Predicate predicate, final ACE[] aces) throws RemoteException, AccessControlFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public ACL[] execute() throws Exception - { - return removeACEsImpl(predicate, aces); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Remove specified ACE's from the nodes. Removes all permissions if no ACE's specified. - * - * @param predicate the predicate - * @param aces the ACE's to remove - * @return the modified ACL's - */ - private ACL[] removeACEsImpl(Predicate predicate, ACE[] aces) - { - // Resolce the predicate - List nodes = Utils.resolvePredicate(predicate, this.nodeService, this.searchService, this.namespaceService); - ACL[] acls = new ACL[nodes.size()]; - - int count = 0; - for (NodeRef node : nodes) - { - if (aces == null) - { - // Delete all the permissions - this.permissionService.deletePermissions(node); - } - else - { - // Delete the permissions for each ACE - for (ACE ace : aces) - { - this.permissionService.deletePermission(node, ace.getAuthority(), ace.getPermission()); - } - } - - // Add the ACL for this node to the returned array - acls[count] = getACLFromNodeRef(node, null); - count++; - } - - return acls; - } - - /** - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#getPermissions(org.alfresco.repo.webservice.types.Predicate) - */ - public GetPermissionsResult[] getPermissions(final Predicate predicate) throws RemoteException, AccessControlFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public GetPermissionsResult[] execute() throws Exception - { - return getPermissionsImpl(predicate); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Get the permissions - * - * @param predicate the predicate - * @return the permissions available - */ - private GetPermissionsResult[] getPermissionsImpl(Predicate predicate) - { - // Resolve the predicate - List nodes = Utils.resolvePredicate(predicate, this.nodeService, this.searchService, this.namespaceService); - GetPermissionsResult[] results = new GetPermissionsResult[nodes.size()]; - - int count = 0; - for (NodeRef node : nodes) - { - // Get the permissions - Set permissions = this.permissionService.getSettablePermissions(node); - - // Create the permissions result object - GetPermissionsResult result = new GetPermissionsResult(); - result.setReference(Utils.convertToReference(this.nodeService, this.namespaceService, node)); - result.setPermissions((String[])permissions.toArray(new String[permissions.size()])); - - // Add result to array - results[count] = result; - count ++; - } - - return results; - } - - /** - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#getClassPermissions(java.lang.String[]) - */ - public GetClassPermissionsResult[] getClassPermissions(final String[] classNames) throws RemoteException, AccessControlFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public GetClassPermissionsResult[] execute() throws Exception - { - return getClassPermissionsImpl(classNames); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Get the permissions based on type - * - * @param classNames the class names - * @return the permission results - */ - private GetClassPermissionsResult[] getClassPermissionsImpl(String[] classNames) - { - // Resolve the predicate - GetClassPermissionsResult[] results = new GetClassPermissionsResult[classNames.length]; - - int count = 0; - for (String className : classNames) - { - // Get the permissions - Set permissions = this.permissionService.getSettablePermissions(QName.createQName(className)); - - // Create the permissions result object - GetClassPermissionsResult result = new GetClassPermissionsResult(); - result.setClassName(className); - result.setPermissions((String[])permissions.toArray(new String[permissions.size()])); - - // Add result to array - results[count] = result; - count ++; - } - - return results; - } - - /** - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#hasPermissions(org.alfresco.repo.webservice.types.Predicate, java.lang.String[]) - */ - public HasPermissionsResult[] hasPermissions(final Predicate predicate, final String[] permissions) throws RemoteException, AccessControlFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public HasPermissionsResult[] execute() throws Exception - { - return hasPermissionsImpl(predicate, permissions); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Determines whether a set of node has a given set of permissions. - * - * @param predicate the predicate - * @param permissions the permissions - * @return the permissions result - */ - private HasPermissionsResult[] hasPermissionsImpl(Predicate predicate, String[] permissions) - { - // Resolve the predicate - List nodes = Utils.resolvePredicate(predicate, this.nodeService, this.searchService, this.namespaceService); - List results = new ArrayList(20); - - for (NodeRef node : nodes) - { - for (String permission : permissions) - { - // Detemine whether the node has the permissions - AccessStatus accessStatus = this.permissionService.hasPermission(node, permission); - org.alfresco.repo.webservice.accesscontrol.AccessStatus accessState = org.alfresco.repo.webservice.accesscontrol.AccessStatus.declined; - if (AccessStatus.ALLOWED.equals(accessStatus) == true) - { - accessState = org.alfresco.repo.webservice.accesscontrol.AccessStatus.acepted; - } - - // Add to the results list - results.add(new HasPermissionsResult(Utils.convertToReference(this.nodeService, this.namespaceService, node), permission, accessState)); - } - } - - return (HasPermissionsResult[])results.toArray(new HasPermissionsResult[results.size()]); - } - - /** - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#setInheritPermission(org.alfresco.repo.webservice.types.Predicate, boolean) - */ - public ACL[] setInheritPermission(final Predicate predicate, final boolean inheritPermission) throws RemoteException, AccessControlFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public ACL[] execute() throws Exception - { - return setInheritPermissionImpl(predicate, inheritPermission); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Set the inherit permissions flag - * - * @param predicate the predicate - * @param inheritPermission indicates whether the permissions are inherited or not - * @return the updated acl's - */ - private ACL[] setInheritPermissionImpl(Predicate predicate, boolean inheritPermission) - { - // Resolve the predicate - List nodes = Utils.resolvePredicate(predicate, this.nodeService, this.searchService, this.namespaceService); - ACL[] acls = new ACL[nodes.size()]; - - int count = 0; - for (NodeRef node : nodes) - { - // Set the inherited permission value - this.permissionService.setInheritParentPermissions(node, inheritPermission); - - // Add the ACL of the modified node to the result - acls[count] = getACLFromNodeRef(node, null); - count ++; - } - - return acls; - } - - /** - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#getOwners(org.alfresco.repo.webservice.types.Predicate) - */ - public OwnerResult[] getOwners(final Predicate predicate) throws RemoteException, AccessControlFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public OwnerResult[] execute() throws Exception - { - return getOwnersImpl(predicate); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Gets the owners of the nodes - * - * @param predicate the predicate - * @return the owner details - */ - private OwnerResult[] getOwnersImpl(Predicate predicate) - { - // Convert predicate - List nodes = Utils.resolvePredicate(predicate, this.nodeService, this.searchService, this.namespaceService); - OwnerResult[] result = new OwnerResult[nodes.size()]; - - int count = 0; - for (NodeRef node : nodes) - { - // Get the current owner of the node - String owner = this.ownableService.getOwner(node); - - // Marshal into result - result[count] = new OwnerResult(Utils.convertToReference(this.nodeService, this.namespaceService, node), owner); - count ++; - } - - return result; - } - - /** - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#setOwners(org.alfresco.repo.webservice.types.Predicate, java.lang.String) - */ - public OwnerResult[] setOwners(final Predicate predicate, final String owner) throws RemoteException, AccessControlFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public OwnerResult[] execute() throws Exception - { - return setOwnersImpl(predicate, owner); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Set the owner of a nodes - * - * @param predicate the predicate - * @param owner the owner - * @return the owner results updated - */ - private OwnerResult[] setOwnersImpl(Predicate predicate, String owner) - { - // Convert predicate - List nodes = Utils.resolvePredicate(predicate, this.nodeService, this.searchService, this.namespaceService); - OwnerResult[] result = new OwnerResult[nodes.size()]; - - int count = 0; - for (NodeRef node : nodes) - { - // Set the owner of the node - this.ownableService.setOwner(node, owner); - - // Marshal into result - result[count] = new OwnerResult(Utils.convertToReference(this.nodeService, this.namespaceService, node), owner); - count ++; - } - - return result; - } - - /** - * Add an existing authority as a child of another authority. - * - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#addChildAuthorities(java.lang.String, java.lang.String[]) - */ - public String[] addChildAuthorities(String parentAuthority, String[] authorities) - throws RemoteException, AccessControlFault - { - String[] result = new String[authorities.length]; - int index = 0; - for (String authority : authorities) - { - this.authorityService.addAuthority(parentAuthority, authority); - result[index] = authority; - index++; - } - return result; - } - - /** - * Creates a new authority under a given parent authority. If no parent authority is provided then the new authority is - * created at the root. - * - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#createAuthorities(java.lang.String, org.alfresco.repo.webservice.accesscontrol.NewAuthority[]) - */ - public String[] createAuthorities(String parentAuthority, NewAuthority[] newAuthorites) - throws RemoteException, AccessControlFault - { - String[] result = new String[newAuthorites.length]; - int index = 0; - for (NewAuthority newAuthority : newAuthorites) - { - AuthorityType authorityType = AuthorityType.valueOf(newAuthority.getAuthorityType()); - String authority = this.authorityService.createAuthority(authorityType, newAuthority.getName()); - if (parentAuthority != null) - { - this.authorityService.addAuthority(parentAuthority, authority); - } - result[index] = authority; - index++; - } - return result; - } - - /** - * Delete existing authority - * - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#deleteAuthorities(java.lang.String[]) - */ - public void deleteAuthorities(String[] authorities) - throws RemoteException, AccessControlFault - { - for (String authority : authorities) - { - this.authorityService.deleteAuthority(authority); - } - } - - /** - * Get all authorities that match the filter - * - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#getAllAuthorities(org.alfresco.repo.webservice.accesscontrol.AuthorityFilter) - */ - public String[] getAllAuthorities(AuthorityFilter filter) - throws RemoteException, AccessControlFault - { - List result = new ArrayList(10); - - AuthorityType authorityType = AuthorityType.valueOf(filter.getAuthorityType()); - if (filter.isRootOnly() == true) - { - result.addAll(this.authorityService.getAllRootAuthorities(authorityType)); - } - else - { - result.addAll(this.authorityService.getAllAuthorities(authorityType)); - } - - return (String[])result.toArray(new String[result.size()]); - } - - /** - * Gets all the authorities that the current user belongs to - * - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#getAuthorities() - */ - public String[] getAuthorities() - throws RemoteException, AccessControlFault - { - Set result = this.authorityService.getAuthorities(); - return (String[])result.toArray(new String[result.size()]); - } - - /** - * Gets all the child authorities of a given authority, taking into account a filter - * - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#getChildAuthorities(java.lang.String, org.alfresco.repo.webservice.accesscontrol.SiblingAuthorityFilter) - */ - public String[] getChildAuthorities(String authority, SiblingAuthorityFilter filter) - throws RemoteException, AccessControlFault - { - AuthorityType authorityType = AuthorityType.valueOf(filter.getAuthorityType()); - Set result = this.authorityService.getContainedAuthorities(authorityType, authority, filter.isImmediate()); - return (String[])result.toArray(new String[result.size()]); - } - - /** - * Gets all the parent authorities of a given authority, taking into account a filter - * - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#getParentAuthorities(java.lang.String, org.alfresco.repo.webservice.accesscontrol.SiblingAuthorityFilter) - */ - public String[] getParentAuthorities(String authority, SiblingAuthorityFilter filter) - throws RemoteException, AccessControlFault - { - AuthorityType authorityType = AuthorityType.valueOf(filter.getAuthorityType()); - Set result = this.authorityService.getContainingAuthorities(authorityType, authority, filter.isImmediate()); - return (String[])result.toArray(new String[result.size()]); - } - - /** - * Remove a child authority - * - * @see org.alfresco.repo.webservice.accesscontrol.AccessControlServiceSoapPort#removeChildAuthorities(java.lang.String, java.lang.String[]) - */ - public void removeChildAuthorities(String parentAuthority, String[] authorities) - throws RemoteException, AccessControlFault - { - for (String authority : authorities) - { - this.authorityService.removeAuthority(parentAuthority, authority); - } - } -} diff --git a/source/java/org/alfresco/repo/webservice/action/ActionWebService.java b/source/java/org/alfresco/repo/webservice/action/ActionWebService.java deleted file mode 100644 index 0a047e8cc9..0000000000 --- a/source/java/org/alfresco/repo/webservice/action/ActionWebService.java +++ /dev/null @@ -1,1164 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.action; - -import java.io.Serializable; -import java.rmi.RemoteException; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -import org.alfresco.repo.action.ActionConditionImpl; -import org.alfresco.repo.action.ActionImpl; -import org.alfresco.repo.action.CompositeActionImpl; -import org.alfresco.repo.action.executer.ActionExecuter; -import org.alfresco.repo.action.executer.CompositeActionExecuter; -import org.alfresco.repo.transaction.TransactionServiceImpl; -import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback; -import org.alfresco.repo.webservice.AbstractWebService; -import org.alfresco.repo.webservice.Utils; -import org.alfresco.repo.webservice.types.NamedValue; -import org.alfresco.repo.webservice.types.Predicate; -import org.alfresco.repo.webservice.types.Reference; -import org.alfresco.service.cmr.action.Action; -import org.alfresco.service.cmr.action.ActionCondition; -import org.alfresco.service.cmr.action.ActionConditionDefinition; -import org.alfresco.service.cmr.action.ActionDefinition; -import org.alfresco.service.cmr.action.ActionService; -import org.alfresco.service.cmr.action.CompositeAction; -import org.alfresco.service.cmr.action.ParameterDefinition; -import org.alfresco.service.cmr.action.ParameterizedItem; -import org.alfresco.service.cmr.action.ParameterizedItemDefinition; -import org.alfresco.service.cmr.dictionary.DataTypeDefinition; -import org.alfresco.service.cmr.dictionary.DictionaryService; -import org.alfresco.service.cmr.repository.NodeRef; -import org.alfresco.service.cmr.repository.datatype.DefaultTypeConverter; -import org.alfresco.service.cmr.rule.Rule; -import org.alfresco.service.cmr.rule.RuleService; -import org.alfresco.service.cmr.rule.RuleType; -import org.alfresco.util.GUID; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Action web service implementation - * - * @author Roy Wetherall - */ -public class ActionWebService extends AbstractWebService implements ActionServiceSoapPort -{ - /** Log */ - private static Log logger = LogFactory.getLog(ActionWebService.class); - - /** The action service */ - private ActionService actionService; - - /** The rule service */ - private RuleService ruleService; - - /** The dictionary service */ - private DictionaryService dictionaryService; - - /** The transaction service */ - private TransactionServiceImpl transactionService; - - /** - * Set the action service - * - * @param actionService the action service - */ - public void setActionService(ActionService actionService) - { - this.actionService = actionService; - } - - /** - * Set the rule service - * - * @param ruleService the rule service - */ - public void setRuleService(RuleService ruleService) - { - this.ruleService = ruleService; - } - - /** - * Set the dictionary service - * - * @param dictionaryService the dictionary service - */ - public void setDictionaryService(DictionaryService dictionaryService) - { - this.dictionaryService = dictionaryService; - } - - /** - * Sets the transaction service - * - * @param transactionService the transaction service - */ - public void setTransactionService(TransactionServiceImpl transactionService) - { - this.transactionService = transactionService; - } - - /** - * @see org.alfresco.repo.webservice.action.ActionServiceSoapPort#getConditionDefinitions() - */ - public ActionItemDefinition[] getConditionDefinitions() throws RemoteException, - ActionFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public ActionItemDefinition[] execute() throws Exception - { - return getConditionDefintionsImpl(); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * - * @return - * @throws RemoteException - */ - private ActionItemDefinition[] getConditionDefintionsImpl() throws RemoteException - { - // Get the action condition defintions from the action service - List definitions = this.actionService.getActionConditionDefinitions(); - - // Marshal the results into an array of action item types - ActionItemDefinition[] result = new ActionItemDefinition[definitions.size()]; - int index = 0; - for (ActionConditionDefinition definition : definitions) - { - result[index] = convertToActionItemDefintion(definition, ActionItemDefinitionType.condition); - index++; - } - - return result; - } - - /** - * @see org.alfresco.repo.webservice.action.ActionServiceSoapPort#getActionDefinitions() - */ - public ActionItemDefinition[] getActionDefinitions() throws RemoteException, - ActionFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public ActionItemDefinition[] execute() throws Exception - { - return getActionDefinitionsImpl(); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * - * @return - * @throws RemoteException - */ - private ActionItemDefinition[] getActionDefinitionsImpl() throws RemoteException - { - // Get the action defintions from the action service - List definitions = this.actionService.getActionDefinitions(); - - // Marshal the results into an array of action item types - ActionItemDefinition[] result = new ActionItemDefinition[definitions.size()]; - int index = 0; - for (ActionDefinition definition : definitions) - { - result[index] = convertToActionItemDefintion(definition, ActionItemDefinitionType.action); - index++; - } - - return result; - } - - /** - * @see org.alfresco.repo.webservice.action.ActionServiceSoapPort#getActionItemDefinition(java.lang.String, org.alfresco.repo.webservice.action.ActionItemDefinitionType) - */ - public ActionItemDefinition getActionItemDefinition(final String name, final ActionItemDefinitionType definitionType) throws RemoteException, ActionFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public ActionItemDefinition execute() throws Exception - { - return getActionItemDefinitionImpl(name, definitionType); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * - * @param name - * @param definitionType - * @return - * @throws RemoteException - * @throws ActionFault - */ - public ActionItemDefinition getActionItemDefinitionImpl(String name, ActionItemDefinitionType definitionType) throws RemoteException, ActionFault - { - ActionItemDefinition result = null; - - if (definitionType.equals(ActionItemDefinitionType.action) == true) - { - ActionDefinition actionDefinition = this.actionService.getActionDefinition(name); - if (actionDefinition != null) - { - result = convertToActionItemDefintion(actionDefinition, definitionType); - } - } - else - { - ActionConditionDefinition conditionDefinition = this.actionService.getActionConditionDefinition(name); - if (conditionDefinition != null) - { - result = convertToActionItemDefintion(conditionDefinition, definitionType); - } - } - - return result; - } - - /** - * Marshal the parameterized item defintion into a action item defition object. - * - * @param definition - * @param type - * @return - */ - private ActionItemDefinition convertToActionItemDefintion(ParameterizedItemDefinition definition, ActionItemDefinitionType type) - { - // Create action item defintion - ActionItemDefinition actionItemType = new ActionItemDefinition(); - actionItemType.setName(definition.getName()); - actionItemType.setType(type); - actionItemType.setTitle(definition.getTitle()); - actionItemType.setDescription(definition.getDescription()); - actionItemType.setAdHocPropertiesAllowed(definition.getAdhocPropertiesAllowed()); - - // Marshal the paremeter definitions - List params = definition.getParameterDefinitions(); - org.alfresco.repo.webservice.action.ParameterDefinition[] parameterDefinitions = new org.alfresco.repo.webservice.action.ParameterDefinition[params.size()]; - int index = 0; - for (ParameterDefinition paramDef : params) - { - org.alfresco.repo.webservice.action.ParameterDefinition parameterDefinition = new org.alfresco.repo.webservice.action.ParameterDefinition( - paramDef.getName(), - paramDef.getType().toString(), - paramDef.isMandatory(), - paramDef.getDisplayLabel()); - parameterDefinitions[index] = parameterDefinition; - index ++; - } - actionItemType.setParameterDefinition(parameterDefinitions); - - return actionItemType; - } - - /** - * @see org.alfresco.repo.webservice.action.ActionServiceSoapPort#getRuleTypes() - */ - public org.alfresco.repo.webservice.action.RuleType[] getRuleTypes() throws RemoteException, ActionFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public org.alfresco.repo.webservice.action.RuleType[] execute() throws Exception - { - return getRuleTypesImpl(); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - public org.alfresco.repo.webservice.action.RuleType[] getRuleTypesImpl() throws RemoteException, ActionFault - { - // Get the list of rule types - List ruleTypes = this.ruleService.getRuleTypes(); - - // Marshal the rule types into an array - org.alfresco.repo.webservice.action.RuleType[] results = new org.alfresco.repo.webservice.action.RuleType[ruleTypes.size()]; - int index = 0; - for (RuleType ruleType : ruleTypes) - { - org.alfresco.repo.webservice.action.RuleType webServiceRuleType = new org.alfresco.repo.webservice.action.RuleType( - ruleType.getName(), - ruleType.getDisplayLabel()); - results[index] = webServiceRuleType; - index ++; - } - - return results; - } - - /** - * @see org.alfresco.repo.webservice.action.ActionServiceSoapPort#getRuleType(java.lang.String) - */ - public org.alfresco.repo.webservice.action.RuleType getRuleType(final String name) throws RemoteException, ActionFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public org.alfresco.repo.webservice.action.RuleType execute() throws Exception - { - return getRuleTypeImpl(name); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - public org.alfresco.repo.webservice.action.RuleType getRuleTypeImpl(String name) throws RemoteException, ActionFault - { - org.alfresco.repo.webservice.action.RuleType result = null; - - RuleType ruleType = this.ruleService.getRuleType(name); - if (ruleType != null) - { - result = new org.alfresco.repo.webservice.action.RuleType(ruleType.getName(), ruleType.getDisplayLabel()); - } - - return result; - } - - /** - * @see org.alfresco.repo.webservice.action.ActionServiceSoapPort#getActions(org.alfresco.repo.webservice.types.Reference, java.lang.String[]) - */ - public org.alfresco.repo.webservice.action.Action[] getActions(final Reference reference, final ActionFilter filter) throws RemoteException, ActionFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public org.alfresco.repo.webservice.action.Action[] execute() throws Exception - { - return getActionsImpl(reference, filter); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - private org.alfresco.repo.webservice.action.Action[] getActionsImpl(Reference reference, ActionFilter filter) throws RemoteException, ActionFault - { - // Get the actions - NodeRef nodeRef = Utils.convertToNodeRef(reference, this.nodeService, this.searchService, this.namespaceService); - List actions = this.actionService.getActions(nodeRef); - - org.alfresco.repo.webservice.action.Action[] webServiceActions = new org.alfresco.repo.webservice.action.Action[actions.size()]; - - // Filter the results - if (filter != null) - { - // TODO implement the filters - } - - // Marshal the results - int index = 0; - for (Action action : actions) - { - webServiceActions[index] = convertToWebServiceAction(action); - index++; - } - - return webServiceActions; - } - - private org.alfresco.repo.webservice.action.Action convertToWebServiceAction(Action action) - { - // Get the parameters into a named value array - NamedValue[] namedValues = convertParametersToNamedValues(action); - - // Get the conditions - List conditions = action.getActionConditions(); - Condition[] webServiceConditions = new Condition[conditions.size()]; - int index2 = 0; - for (ActionCondition condition : conditions) - { - webServiceConditions[index2] = convertToWebServiceCondition(condition); - index2++; - } - - // Get the compenstaing action - Action compensatingAction = action.getCompensatingAction(); - org.alfresco.repo.webservice.action.Action webServiceCompensatingAction = null; - if (compensatingAction != null) - { - webServiceCompensatingAction = convertToWebServiceAction(compensatingAction); - } - - // Sort out any sub-actions - org.alfresco.repo.webservice.action.Action[] childWebServiceActions = null; - if (action instanceof CompositeAction) - { - List childActions = ((CompositeAction)action).getActions(); - childWebServiceActions = new org.alfresco.repo.webservice.action.Action[childActions.size()]; - int index3 = 0; - for (Action childAction : childActions) - { - childWebServiceActions[index3] = convertToWebServiceAction(childAction); - index3 ++; - } - } - - // Create the web service action object - org.alfresco.repo.webservice.action.Action webServiceAction = new org.alfresco.repo.webservice.action.Action( - Utils.convertToReference(this.nodeService, this.namespaceService, action.getNodeRef()), - action.getId(), - action.getActionDefinitionName(), - action.getTitle(), - action.getDescription(), - namedValues, - webServiceConditions, - webServiceCompensatingAction, - childWebServiceActions); - - return webServiceAction; - } - - /** - * - * @param item - * @return - */ - private NamedValue[] convertParametersToNamedValues(ParameterizedItem item) - { - NamedValue[] namedValues = null; - if (item != null) - { - Map params = item.getParameterValues(); - namedValues = new NamedValue[params.size()]; - int index = 0; - for (Map.Entry entry : params.entrySet()) - { - String value = null; - try - { - value = DefaultTypeConverter.INSTANCE.convert(String.class, entry.getValue()); - } - catch (Throwable exception) - { - value = entry.getValue().toString(); - } - NamedValue namedValue = new NamedValue(); - namedValue.setName(entry.getKey()); - namedValue.setIsMultiValue(false); - namedValue.setValue(value); - namedValues[index] = namedValue; - index++; - } - } - return namedValues; - } - - /** - * - * @param condition - * @return - */ - private Condition convertToWebServiceCondition(ActionCondition condition) - { - // Get the parameter values as an array of names values - NamedValue[] namedValues = convertParametersToNamedValues(condition); - - Condition webServiceCondition = new Condition( - condition.getId(), - condition.getActionConditionDefinitionName(), - condition.getInvertCondition(), - namedValues); - - return webServiceCondition; - } - - /** - * @see org.alfresco.repo.webservice.action.ActionServiceSoapPort#saveActions(org.alfresco.repo.webservice.types.Reference, org.alfresco.repo.webservice.action.Action[]) - */ - public org.alfresco.repo.webservice.action.Action[] saveActions( - final Reference reference, - final org.alfresco.repo.webservice.action.Action[] webServiceActions) throws RemoteException, ActionFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public org.alfresco.repo.webservice.action.Action[] execute() throws Exception - { - return saveActionsImpl(reference, webServiceActions); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * - * @param reference - * @param webServiceActions - * @return - * @throws RemoteException - * @throws ActionFault - */ - private org.alfresco.repo.webservice.action.Action[] saveActionsImpl( - Reference reference, - org.alfresco.repo.webservice.action.Action[] webServiceActions) throws RemoteException, ActionFault - { - // Get the node reference - NodeRef nodeRef = Utils.convertToNodeRef(reference, this.nodeService, this.searchService, this.namespaceService); - - // Create the result array - org.alfresco.repo.webservice.action.Action[] results = new org.alfresco.repo.webservice.action.Action[webServiceActions.length]; - - int index = 0; - for (org.alfresco.repo.webservice.action.Action webServiceAction : webServiceActions) - { - // Convert to a server action object - Action action = convertToAction(webServiceAction); - - // Save the action - this.actionService.saveAction(nodeRef, action); - - // Add the updated action to the results - results[index] = convertToWebServiceAction(action); - index++; - } - - return results; - } - - /** - * Convert a web service action object into a repository action object. - * - * @param webServiceAction the web service action object - * @return the repository action object - */ - private Action convertToAction(org.alfresco.repo.webservice.action.Action webServiceAction) - { - // If the id is null then generate one - String id = webServiceAction.getId(); - if (id == null || id.length() == 0) - { - id = GUID.generate(); - } - - // Try and get the action node reference - NodeRef actionNodeRef = null; - Reference actionReference = webServiceAction.getActionReference(); - if (actionReference != null) - { - actionNodeRef = Utils.convertToNodeRef(actionReference, this.nodeService, this.searchService, this.namespaceService); - } - - // Create the action (or composite action) - ActionImpl action = null; - String actionDefinitionName = webServiceAction.getActionName(); - if (CompositeActionExecuter.NAME.equals(actionDefinitionName) == true) - { - action = new CompositeActionImpl(actionNodeRef, id); - } - else - { - action = new ActionImpl(actionNodeRef, id, actionDefinitionName); - } - - // Set some of the action's details - action.setTitle(webServiceAction.getTitle()); - action.setDescription(webServiceAction.getDescription()); - - // Set the parameters - NamedValue[] namedValues = webServiceAction.getParameters(); - if (namedValues != null) - { - for (NamedValue namedValue : namedValues) - { - // Get the type of the property - DataTypeDefinition propertyType = null; - ActionDefinition actionDefintion = this.actionService.getActionDefinition(action.getActionDefinitionName()); - ParameterDefinition propertyDefintion = actionDefintion.getParameterDefintion(namedValue.getName()); - if (propertyDefintion != null) - { - propertyType = this.dictionaryService.getDataType(propertyDefintion.getType()); - } - - // Convert the value into the correct type - Serializable value = null; - if (propertyType != null) - { - value = (Serializable)DefaultTypeConverter.INSTANCE.convert(propertyType, namedValue.getValue()); - } - else - { - value = namedValue.getValue(); - } - - // Set the parameter - action.setParameterValue(namedValue.getName(), value); - } - } - - // Set the conditions - Condition[] webServiceConditions = webServiceAction.getConditions(); - if (webServiceConditions != null) - { - for (Condition webServiceCondition : webServiceConditions) - { - action.addActionCondition(convertToActionCondition(webServiceCondition)); - } - } - - // Set the compensating action - org.alfresco.repo.webservice.action.Action webServiceCompensatingAction = webServiceAction.getCompensatingAction(); - if (webServiceCompensatingAction != null) - { - Action compensatingAction = convertToAction(webServiceCompensatingAction); - action.setCompensatingAction(compensatingAction); - } - - // Set the child actions (if we are dealing with a composite action) - if (CompositeActionExecuter.NAME.equals(actionDefinitionName) == true) - { - org.alfresco.repo.webservice.action.Action[] webServiceChildActions = webServiceAction.getActions(); - if (webServiceChildActions != null) - { - for (org.alfresco.repo.webservice.action.Action webServiceChildAction : webServiceChildActions) - { - Action childAction = convertToAction(webServiceChildAction); - ((CompositeAction)action).addAction(childAction); - } - } - } - - return action; - } - - /** - * - * @param webServiceCondition - * @return - */ - private ActionCondition convertToActionCondition(Condition webServiceCondition) - { - // If the id is null then generate one - String id = webServiceCondition.getId(); - if (id == null || id.length() == 0) - { - id = GUID.generate(); - } - - // Create the action condition - ActionCondition actionCondition = new ActionConditionImpl(id, webServiceCondition.getConditionName()); - - // Set the details of the condition - actionCondition.setInvertCondition(webServiceCondition.isInvertCondition()); - - // Set the condition parameters - NamedValue[] namedValues = webServiceCondition.getParameters(); - if (namedValues != null) - { - for (NamedValue namedValue : namedValues) - { - // Get the type of the property - DataTypeDefinition propertyType = null; - ActionConditionDefinition actionConditionDefintion = this.actionService.getActionConditionDefinition(actionCondition.getActionConditionDefinitionName()); - ParameterDefinition propertyDefintion = actionConditionDefintion.getParameterDefintion(namedValue.getName()); - if (propertyDefintion != null) - { - propertyType = this.dictionaryService.getDataType(propertyDefintion.getType()); - } - - // Convert the value into the correct type - Serializable value = null; - if (propertyType != null) - { - value = (Serializable)DefaultTypeConverter.INSTANCE.convert(propertyType, namedValue.getValue()); - } - else - { - value = namedValue.getValue(); - } - - // Set the parameter - actionCondition.setParameterValue(namedValue.getName(), value); - } - } - - return actionCondition; - } - - /** - * @see org.alfresco.repo.webservice.action.ActionServiceSoapPort#removeActions(org.alfresco.repo.webservice.types.Reference, org.alfresco.repo.webservice.action.Action[]) - */ - public void removeActions(final Reference reference, final org.alfresco.repo.webservice.action.Action[] webServiceActions) - throws RemoteException, ActionFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public Object execute() throws Exception - { - removeActionsImpl(reference, webServiceActions); - return null; - } - }; - transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - private void removeActionsImpl(Reference reference, org.alfresco.repo.webservice.action.Action[] webServiceActions) - throws RemoteException, ActionFault - { - // Get the node reference - NodeRef nodeRef = Utils.convertToNodeRef(reference, this.nodeService, this.searchService, this.namespaceService); - - if (webServiceActions == null) - { - // Remove all the actions - this.actionService.removeAllActions(nodeRef); - } - else - { - for (org.alfresco.repo.webservice.action.Action webServiceAction : webServiceActions) - { - Action action = convertToAction(webServiceAction); - this.actionService.removeAction(nodeRef, action); - } - } - } - - /** - * @see org.alfresco.repo.webservice.action.ActionServiceSoapPort#executeActions(org.alfresco.repo.webservice.types.Predicate, org.alfresco.repo.webservice.action.Action[]) - */ - public ActionExecutionResult[] executeActions(final Predicate predicate, final org.alfresco.repo.webservice.action.Action[] webServiceActions) throws RemoteException, ActionFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public ActionExecutionResult[] execute() throws Exception - { - return executeActionsImpl(predicate, webServiceActions); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Execute actions implementation - * - * @param predicate - * @param webServiceActions - * @return - * @throws RemoteException - * @throws ActionFault - */ - public ActionExecutionResult[] executeActionsImpl(Predicate predicate, org.alfresco.repo.webservice.action.Action[] webServiceActions) throws RemoteException, ActionFault - { - List results = new ArrayList(10); - - // Resolve the predicate to a list of nodes - List nodeRefs = Utils.resolvePredicate(predicate, this.nodeService, this.searchService, this.namespaceService); - for (NodeRef nodeRef : nodeRefs) - { - // Create the execution result object and set the action reference - ActionExecutionResult executionResult = new ActionExecutionResult(); - executionResult.setReference(Utils.convertToReference(this.nodeService, this.namespaceService, nodeRef)); - - // Tyr and execute the actions - List executedActions = new ArrayList(10); - for (org.alfresco.repo.webservice.action.Action webServiceAction : webServiceActions) - { - // Get the repository action object - Action action = convertToAction(webServiceAction); - - // TODO what about condition inversion - if (this.actionService.evaluateAction(action, nodeRef) == true) - { - // Execute the action (now that we know the conditions have been met) - this.actionService.executeAction(action, nodeRef, false); - - // Add the result value to the executed action for return to the client - Serializable result = action.getParameterValue(ActionExecuter.PARAM_RESULT); - if (result != null) - { - // Convert the result to a string value - String convertedValue = DefaultTypeConverter.INSTANCE.convert(String.class, result); - NamedValue convertedNameValue = new NamedValue(ActionExecuter.PARAM_RESULT, false, convertedValue, null); - - // Append the new value to the current parameter array - NamedValue[] currentValues = webServiceAction.getParameters(); - NamedValue[] updatedValues = new NamedValue[currentValues.length+1]; - int index = 0; - for (NamedValue value : currentValues) - { - updatedValues[index] = value; - index ++; - } - updatedValues[index] = convertedNameValue; - - // Set the updated parameter values - webServiceAction.setParameters(updatedValues); - - } - - // Add the executed action to the result list - executedActions.add(webServiceAction); - } - } - - // Set the executed actions on the execution result object - org.alfresco.repo.webservice.action.Action[] executedWebServiceActions = (org.alfresco.repo.webservice.action.Action[])executedActions.toArray(new org.alfresco.repo.webservice.action.Action[executedActions.size()]); - executionResult.setActions(executedWebServiceActions); - - // Add the execution object to the result list - results.add(executionResult); - } - return (ActionExecutionResult[])results.toArray(new ActionExecutionResult[results.size()]); - } - - /** - * @see org.alfresco.repo.webservice.action.ActionServiceSoapPort#getRules(org.alfresco.repo.webservice.types.Reference, org.alfresco.repo.webservice.action.RuleFilter) - */ - public org.alfresco.repo.webservice.action.Rule[] getRules(final Reference reference, final RuleFilter ruleFilter) - throws RemoteException, ActionFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public org.alfresco.repo.webservice.action.Rule[] execute() throws Exception - { - return getRulesImpl(reference, ruleFilter); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - private org.alfresco.repo.webservice.action.Rule[] getRulesImpl(Reference reference, RuleFilter ruleFilter) - throws RemoteException, ActionFault - { - // Get the node reference - NodeRef nodeRef = Utils.convertToNodeRef(reference, this.nodeService, this.searchService, this.namespaceService); - - // Get the rules associtated with the node reference - List rules = this.ruleService.getRules(nodeRef); - - // Filter the results based on the rule filter passed - // TODO - - // Marshal the results - org.alfresco.repo.webservice.action.Rule[] webServiceRules = new org.alfresco.repo.webservice.action.Rule[rules.size()]; - int index = 0; - for (Rule rule : rules) - { - webServiceRules[index] = convertToWebServiceRule(rule); - index ++; - } - - - return webServiceRules; - } - - private org.alfresco.repo.webservice.action.Rule convertToWebServiceRule(Rule rule) - { - Reference owningReference = null; - NodeRef owningNodeRef = this.ruleService.getOwningNodeRef(rule); - if (owningNodeRef != null) - { - owningReference = Utils.convertToReference(this.nodeService, this.namespaceService, owningNodeRef); - } - - // Create the web service rule object - org.alfresco.repo.webservice.action.Rule webServiceRule = new org.alfresco.repo.webservice.action.Rule( - Utils.convertToReference(this.nodeService, this.namespaceService, rule.getNodeRef()), - owningReference, - rule.getRuleTypes().toArray(new String[rule.getRuleTypes().size()]), - rule.getTitle(), - rule.getDescription(), - rule.getExecuteAsynchronously(), - convertToWebServiceAction(rule.getAction())); - - return webServiceRule; - } - - /** - * @see org.alfresco.repo.webservice.action.ActionServiceSoapPort#saveRules(org.alfresco.repo.webservice.types.Reference, org.alfresco.repo.webservice.action.Rule[]) - */ - public org.alfresco.repo.webservice.action.Rule[] saveRules(final Reference reference, final org.alfresco.repo.webservice.action.Rule[] webServiceRules) - throws RemoteException, ActionFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public org.alfresco.repo.webservice.action.Rule[] execute() throws Exception - { - return saveRulesImpl(reference, webServiceRules); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - exception.printStackTrace(); - - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - private org.alfresco.repo.webservice.action.Rule[] saveRulesImpl(Reference reference, org.alfresco.repo.webservice.action.Rule[] webServiceRules) - throws RemoteException, ActionFault - { - // Get the node reference - NodeRef nodeRef = Utils.convertToNodeRef(reference, this.nodeService, this.searchService, this.namespaceService); - - // Create the result array - org.alfresco.repo.webservice.action.Rule[] results = new org.alfresco.repo.webservice.action.Rule[webServiceRules.length]; - - int index = 0; - for (org.alfresco.repo.webservice.action.Rule webServiceRule : webServiceRules) - { - // Convert to a server rule object - Rule rule = convertToRule(webServiceRule); - - // Save the rule - this.ruleService.saveRule(nodeRef, rule); - - // Add the updated rule to the results - results[index] = convertToWebServiceRule(rule); - index++; - } - - return results; - } - - /** - * @see org.alfresco.repo.webservice.action.ActionServiceSoapPort#removeRules(org.alfresco.repo.webservice.types.Reference, org.alfresco.repo.webservice.action.Rule[]) - */ - public void removeRules(final Reference reference, final org.alfresco.repo.webservice.action.Rule[] webServiceRules) - throws RemoteException, ActionFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public Object execute() throws Exception - { - removeRulesImpl(reference, webServiceRules); - return null; - } - }; - transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * - * @param reference - * @param webServiceRules - * @throws RemoteException - * @throws ActionFault - */ - public void removeRulesImpl(Reference reference, org.alfresco.repo.webservice.action.Rule[] webServiceRules) - throws RemoteException, ActionFault - { - // Get the node reference - NodeRef nodeRef = Utils.convertToNodeRef(reference, this.nodeService, this.searchService, this.namespaceService); - - if (webServiceRules == null) - { - // Remove all the actions - this.ruleService.removeAllRules(nodeRef); - } - else - { - for (org.alfresco.repo.webservice.action.Rule webServiceRule : webServiceRules) - { - Rule rule = convertToRule(webServiceRule); - this.ruleService.removeRule(nodeRef, rule); - } - } - - } - - /** - * - * @param webServiceRule - * @return - */ - private Rule convertToRule(org.alfresco.repo.webservice.action.Rule webServiceRule) - { - NodeRef ruleNodeRef = null; - if (webServiceRule.getRuleReference() != null) - { - ruleNodeRef = Utils.convertToNodeRef( - webServiceRule.getRuleReference(), - this.nodeService, - this.searchService, - this.namespaceService); - } - - // Get the rule type name - String[] ruleTypes = webServiceRule.getRuleTypes(); - - // Create the rule - Rule rule = new Rule(); - List ruleTypesList = new ArrayList(ruleTypes.length); - for (String ruleType : ruleTypes) - { - ruleTypesList.add(ruleType); - } - rule.setRuleTypes(ruleTypesList); - rule.setNodeRef(ruleNodeRef); - - // Set some of the rules details - rule.setTitle(webServiceRule.getTitle()); - rule.setDescription(webServiceRule.getDescription()); - rule.setExecuteAsynchronously(webServiceRule.isExecuteAsynchronously()); - - // Set the action - Action action = convertToAction(webServiceRule.getAction()); - rule.setAction(action); - - return rule; - } -} diff --git a/source/java/org/alfresco/repo/webservice/administration/AdministrationWebService.java b/source/java/org/alfresco/repo/webservice/administration/AdministrationWebService.java deleted file mode 100644 index 8fdfeccbed..0000000000 --- a/source/java/org/alfresco/repo/webservice/administration/AdministrationWebService.java +++ /dev/null @@ -1,600 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.administration; - -import java.io.Serializable; -import java.rmi.RemoteException; -import java.text.MessageFormat; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.HashSet; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.alfresco.error.AlfrescoRuntimeException; -import org.alfresco.model.ContentModel; -import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback; -import org.alfresco.repo.webservice.AbstractWebService; -import org.alfresco.repo.webservice.Utils; -import org.alfresco.repo.webservice.action.ActionFault; -import org.alfresco.repo.webservice.repository.RepositoryFault; -import org.alfresco.repo.webservice.types.NamedValue; -import org.alfresco.service.cmr.repository.NodeRef; -import org.alfresco.service.cmr.repository.NodeService; -import org.alfresco.service.cmr.repository.datatype.DefaultTypeConverter; -import org.alfresco.service.cmr.security.AuthorityService; -import org.alfresco.service.cmr.security.MutableAuthenticationService; -import org.alfresco.service.cmr.security.PersonService; -import org.alfresco.service.namespace.QName; -import org.alfresco.service.transaction.TransactionService; -import org.apache.axis.MessageContext; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * @author Roy Wetherall - */ -public class AdministrationWebService extends AbstractWebService implements - AdministrationServiceSoapPort -{ - /** Log */ - private static Log logger = LogFactory.getLog(AdministrationWebService.class); - - /** The person service */ - private PersonService personService = null; - - /** - * Indicates whether the user administration methods should manage the authentication - * details, or just the person details. - * - * Set this to true if an 3rd party authentication implementation has been pluged into - * the repository that manages authentication details. - */ - private boolean manageAuthenticationDetails = true; - - /** The authentication service */ - private MutableAuthenticationService authenticationService = null; - - private AuthorityService authorityService; - - /** The transaction service */ - private TransactionService transactionService = null; - - /** A set of ignored properties */ - private static Set ignoredProperties = new HashSet(3); - - /** - * Constructor - */ - public AdministrationWebService() - { - // Set properties to ignore - AdministrationWebService.ignoredProperties.add(ContentModel.PROP_STORE_PROTOCOL); - AdministrationWebService.ignoredProperties.add(ContentModel.PROP_STORE_IDENTIFIER); - AdministrationWebService.ignoredProperties.add(ContentModel.PROP_NODE_UUID); - } - - /** - * Set the flag that indicates whether this service should manage user authentication details as - * well as person details. - * - * @param manageAuthenticationDetails true if authentication details are managed, false otherwise - */ - public void setManageAuthenticationDetails(boolean manageAuthenticationDetails) - { - this.manageAuthenticationDetails = manageAuthenticationDetails; - } - - /** - * Set the transaction service - * - * @param transactionService the transaction service - */ - public void setTransactionService(TransactionService transactionService) - { - this.transactionService = transactionService; - } - - /** - * Set the person service - * - * @param personService sets the person service - */ - public void setPersonService(PersonService personService) - { - this.personService = personService; - } - - /** - * Set the authentication service - * - * @param authenticationService the authentication service - */ - public void setAuthenticationService(MutableAuthenticationService authenticationService) - { - this.authenticationService = authenticationService; - } - - /** - * Set the authority service used to determine admin rights. - * - * @param authorityService the service implementation - */ - public void setAuthorityService(AuthorityService authorityService) - { - this.authorityService = authorityService; - } - - /** - * @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#queryUsers(org.alfresco.repo.webservice.administration.UserFilter) - */ - public UserQueryResults queryUsers(final UserFilter filter) - throws RemoteException, AdministrationFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public UserQueryResults execute() throws Exception - { - return queryUsersImpl(filter); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Query users, batch by set size - * - * @param filter used to filter results - * @return user query results, optionally batched - */ - private UserQueryResults queryUsersImpl(UserFilter filter) - { - MessageContext msgContext = MessageContext.getCurrentContext(); - - // Create the query - UserQuery query = new UserQuery(filter); - - // Create a user query session - UserQuerySession userQuerySession = new UserQuerySession(Long.MAX_VALUE, Utils.getBatchSize(msgContext), query); - - // Get the next batch of results - UserQueryResults userQueryResults = userQuerySession.getNextResults(serviceRegistry); - - String querySessionId = userQuerySession.getId(); - // add the session to the cache if there are more results to come - boolean haveMoreResults = userQuerySession.haveMoreResults(); - if (haveMoreResults) - { - querySessionCache.put(querySessionId, userQuerySession); - } - - // Construct the return value - // TODO: http://issues.alfresco.com/browse/AR-1689 - // This looks odd, but I've chosen to be specific about when the ID is set on the return - // results and when it isn't. - UserQueryResults result = new UserQueryResults( - haveMoreResults ? querySessionId : null, - userQueryResults.getUserDetails()); - - // Done - return result; - } - - /** - * @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#fetchMoreUsers(java.lang.String) - */ - public UserQueryResults fetchMoreUsers(final String querySession) - throws RemoteException, AdministrationFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public UserQueryResults execute() throws Exception - { - return fetchMoreUsersImpl(querySession); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * - * @param querySessionId - * @return - */ - private UserQueryResults fetchMoreUsersImpl(String querySessionId) throws RepositoryFault - { - UserQuerySession session = null; - try - { - session = (UserQuerySession) querySessionCache.get(querySessionId); - } - catch (ClassCastException e) - { - if (logger.isDebugEnabled()) - { - logger.debug("Query session was not generated by the AdministrationWebService: " + querySessionId); - } - throw new RepositoryFault( - 4, - "querySession with id '" + querySessionId + "' is invalid"); - } - - UserQueryResults queryResult = null; - if (session != null) - { - queryResult = session.getNextResults(serviceRegistry); - if (!session.haveMoreResults()) - { - this.querySessionCache.remove(querySessionId); - } - else - { - // Update the cache instance so that it can trigger replication as required - querySessionCache.put(querySessionId, session); - } - } - - return queryResult; - } - - /** - * @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#getUser(java.lang.String) - */ - public UserDetails getUser(final String userName) throws RemoteException, AdministrationFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public UserDetails execute() throws Exception - { - return getUserImpl(userName); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Get the user details - * - * @param userName the user name - * @return the user details object - * @throws RemoteException - * @throws AdministrationFault - */ - private UserDetails getUserImpl(String userName) - { - NodeService nodeService = serviceRegistry.getNodeService(); - UserDetails userDetails = null; - - if (this.personService.personExists(userName) == true) - { - NodeRef nodeRef = this.personService.getPerson(userName); - userDetails = createUserDetails(nodeService, userName, nodeRef); - } - else - { - // Throw an exception to indicate that the user does not exist - throw new AlfrescoRuntimeException(MessageFormat.format("The user with name {0} does not exist.", new Object[]{userName})); - } - - return userDetails; - } - - /** - * Given a valid person node reference will create a user details object - * - * @param nodeRef the node reference - * @return the user details object populated with the appropriate property values - */ - /* package */ static UserDetails createUserDetails(NodeService nodeService, String userName, NodeRef nodeRef) - { - // Create the user details object - UserDetails userDetails = new UserDetails(); - - // Set the user name - userDetails.setUserName(userName); - - // Set the various property values - Map properties = nodeService.getProperties(nodeRef); - List namedValues = new ArrayList(properties.size()); - for (Map.Entry entry : properties.entrySet()) - { - if (AdministrationWebService.ignoredProperties.contains(entry.getKey()) == false) - { - String value = null; - try - { - value = DefaultTypeConverter.INSTANCE.convert(String.class, entry.getValue()); - } - catch (Throwable exception) - { - value = entry.getValue().toString(); - } - NamedValue namedValue = new NamedValue(); - namedValue.setName(entry.getKey().toString()); - namedValue.setIsMultiValue(false); - namedValue.setValue(value); - namedValues.add(namedValue); - } - } - userDetails.setProperties((NamedValue[])namedValues.toArray(new NamedValue[namedValues.size()])); - - return userDetails; - } - - /** - * @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#createUsers(org.alfresco.repo.webservice.administration.NewUserDetails[]) - */ - public UserDetails[] createUsers(final NewUserDetails[] newUsers) throws RemoteException, AdministrationFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public UserDetails[] execute() throws Exception - { - return createUsersImpl(newUsers); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Create the new users - * - * @param newUsers the new users detail - * @return the details of the created users - * @throws RemoteException - * @throws AdministrationFault - */ - private UserDetails[] createUsersImpl(NewUserDetails[] newUsers) - { - NodeService nodeService = serviceRegistry.getNodeService(); - UserDetails[] userDetails = new UserDetails[newUsers.length]; - - int index = 0; - for (NewUserDetails newUser : newUsers) - { - if (this.manageAuthenticationDetails == true) - { - // Create a new authentication - this.authenticationService.createAuthentication(newUser.getUserName(), newUser.getPassword().toCharArray()); - } - - // Create a new person - Map properties = new HashMap(7); - properties.put(ContentModel.PROP_USERNAME, newUser.getUserName()); - for (NamedValue namedValue : newUser.getProperties()) - { - properties.put(QName.createQName(namedValue.getName()), namedValue.getValue()); - } - NodeRef personNodeRef = this.personService.createPerson(properties); - - // Add the details to the result - userDetails[index] = createUserDetails(nodeService, newUser.getUserName(), personNodeRef); - index++; - } - - return userDetails; - } - - /** - * @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#updateUsers(org.alfresco.repo.webservice.administration.UserDetails[]) - */ - public UserDetails[] updateUsers(final UserDetails[] users) throws RemoteException, AdministrationFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public UserDetails[] execute() throws Exception - { - return updateUsersImpl(users); - } - }; - return transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Update the users details - * - * @param users the user details to update - * @return the updated user details - */ - private UserDetails[] updateUsersImpl(UserDetails[] users) - { - NodeService nodeService = serviceRegistry.getNodeService(); - UserDetails[] userDetails = new UserDetails[users.length]; - - int index = 0; - for (UserDetails user : users) - { - // Build the property map - Map properties = new HashMap(7); - properties.put(ContentModel.PROP_USERNAME, user.getUserName()); - for (NamedValue namedValue : user.getProperties()) - { - properties.put(QName.createQName(namedValue.getName()), namedValue.getValue()); - } - - // Update the properties of the person - this.personService.setPersonProperties(user.getUserName(), properties); - - // Add the details to the result - NodeRef nodeRef = this.personService.getPerson(user.getUserName()); - userDetails[index] = createUserDetails(nodeService, user.getUserName(), nodeRef); - index++; - } - - return userDetails; - } - - /** - * @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#changePassword(java.lang.String, java.lang.String, java.lang.String) - */ - public void changePassword(final String userName, final String oldPassword, final String newPassword) throws RemoteException, AdministrationFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public Object execute() throws Exception - { - changePasswordImpl(userName, oldPassword, newPassword); - return null; - } - }; - transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Change the current password of the user - * - * @param userName the user name - * @param oldPassword the old (current) password - * @param newPassword the new password - */ - private void changePasswordImpl(String userName, String oldPassword, String newPassword) - { - if (this.manageAuthenticationDetails == true) - { - // Update the authentication details - if (this.authorityService.hasAdminAuthority() == true) - { - this.authenticationService.setAuthentication(userName, newPassword.toCharArray()); - } - else - { - this.authenticationService.updateAuthentication(userName, oldPassword.toCharArray(), newPassword.toCharArray()); - } - } - else - { - throw new RuntimeException("Web service has been configured so that user authenticaiton details are not managed."); - } - } - - /** - * @see org.alfresco.repo.webservice.administration.AdministrationServiceSoapPort#deleteUsers(java.lang.String[]) - */ - public void deleteUsers(final String[] userNames) throws RemoteException, - AdministrationFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public Object execute() throws Exception - { - deleteUsersImpl(userNames); - return null; - } - }; - transactionService.getRetryingTransactionHelper().doInTransaction(callback); - } - catch (Throwable exception) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", exception); - } - - throw new ActionFault(0, exception.getMessage()); - } - } - - /** - * Delete users - * - * @param userNames the names of the users to delete - */ - private void deleteUsersImpl(String[] userNames) - { - for (String userName : userNames) - { - this.personService.deletePerson(userName); - } - } -} diff --git a/source/java/org/alfresco/repo/webservice/administration/UserQuery.java b/source/java/org/alfresco/repo/webservice/administration/UserQuery.java deleted file mode 100644 index e1ef291e73..0000000000 --- a/source/java/org/alfresco/repo/webservice/administration/UserQuery.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.administration; - -import java.util.ArrayList; -import java.util.List; -import java.util.Set; - -import org.alfresco.model.ContentModel; -import org.alfresco.repo.webservice.AbstractQuery; -import org.alfresco.service.ServiceRegistry; -import org.alfresco.service.cmr.repository.NodeRef; -import org.alfresco.service.cmr.repository.NodeService; -import org.alfresco.service.cmr.security.PersonService; - -/** - * A query to retrieve normal node associations. - * - * @author Derek Hulley - * @since 2.1 - */ -public class UserQuery extends AbstractQuery -{ - private static final long serialVersionUID = -672399618512462040L; - - private UserFilter userFilter; - - /** - * @param userFilter - * The user filter - */ - public UserQuery(UserFilter userFilter) - { - this.userFilter = userFilter; - } - - @Override - public String toString() - { - StringBuilder sb = new StringBuilder(128); - sb.append("AssociationQuery") - .append("[ userFilter=").append(userFilter.getUserName()) - .append("]"); - return sb.toString(); - } - - /** - * {@inheritDoc} - */ - public UserQueryResults execute(ServiceRegistry serviceRegistry) - { - PersonService personService = serviceRegistry.getPersonService(); - NodeService nodeService = serviceRegistry.getNodeService(); - - Set nodeRefs = personService.getAllPeople(); - - // Filter the results - List filteredNodeRefs = null; - if (userFilter != null && userFilter.getUserName() != null && userFilter.getUserName().length() != 0) - { - String userNameFilter = userFilter.getUserName(); - - filteredNodeRefs = new ArrayList(nodeRefs.size()); - for (NodeRef nodeRef : nodeRefs) - { - String userName = (String) nodeService.getProperty(nodeRef, ContentModel.PROP_USERNAME); - if (userName.matches(userNameFilter) == true) - { - filteredNodeRefs.add(nodeRef); - } - } - } - else - { - filteredNodeRefs = new ArrayList(nodeRefs); - } - - UserDetails[] results = new UserDetails[filteredNodeRefs.size()]; - int index = 0; - for (NodeRef nodeRef : filteredNodeRefs) - { - String userName = (String) nodeService.getProperty(nodeRef, ContentModel.PROP_USERNAME); - results[index] = AdministrationWebService.createUserDetails(nodeService, userName, nodeRef); - index++; - } - - UserQueryResults queryResults = new UserQueryResults(null, results); - - // Done - return queryResults; - } -} \ No newline at end of file diff --git a/source/java/org/alfresco/repo/webservice/administration/UserQuerySession.java b/source/java/org/alfresco/repo/webservice/administration/UserQuerySession.java deleted file mode 100644 index da0d8ace35..0000000000 --- a/source/java/org/alfresco/repo/webservice/administration/UserQuerySession.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.administration; - -import org.alfresco.repo.webservice.AbstractQuerySession; -import org.alfresco.repo.webservice.ServerQuery; -import org.alfresco.service.ServiceRegistry; - -/** - * A session for managing user-related queries. - * - * @author Derek Hulley - * @since 2.1 - */ -public class UserQuerySession extends AbstractQuerySession -{ - private static final long serialVersionUID = 1823253197962982642L; - - public UserQuerySession(long maxResults, long batchSize, ServerQuery query) - { - super(maxResults, batchSize, query); - } - - @Override - protected UserDetails[] makeArray(int size) - { - return new UserDetails[size]; - } - - public UserQueryResults getNextResults(ServiceRegistry serviceRegistry) - { - UserQueryResults queryResults = getQueryResults(serviceRegistry); - UserDetails[] allRows = queryResults.getUserDetails(); - UserDetails[] batchedRows = getNextResults(allRows); - // Build the user query results - UserQueryResults batchedResults = new UserQueryResults(); -// batchedResults.setQuerySession(getId()); TODO: http://issues.alfresco.com/browse/AR-1689 - - batchedResults.setUserDetails(batchedRows); - // Done - return batchedResults; - } -} diff --git a/source/java/org/alfresco/repo/webservice/authentication/AuthenticationWebService.java b/source/java/org/alfresco/repo/webservice/authentication/AuthenticationWebService.java deleted file mode 100644 index 362fb846fc..0000000000 --- a/source/java/org/alfresco/repo/webservice/authentication/AuthenticationWebService.java +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright (C) 2005-2013 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.authentication; - -import java.rmi.RemoteException; - -import org.alfresco.repo.security.authentication.AuthenticationComponent; -import org.alfresco.repo.security.authentication.AuthenticationException; -import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback; -import org.alfresco.repo.webservice.Utils; -import org.alfresco.service.cmr.security.AuthenticationService; -import org.apache.axis.MessageContext; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Web service implementation of the AuthenticationService. The WSDL for this - * service can be accessed from - * http://localhost:8080/alfresco/wsdl/authentication-service.wsdl - * - * @author gavinc - */ -public class AuthenticationWebService implements AuthenticationServiceSoapPort -{ - private static Log logger = LogFactory.getLog(AuthenticationWebService.class); - - private AuthenticationService authenticationService; - - private AuthenticationComponent authenticationComponent; - - /** - * Sets the AuthenticationService instance to use - * - * @param authenticationSvc - * The AuthenticationService - */ - public void setAuthenticationService(AuthenticationService authenticationSvc) - { - this.authenticationService = authenticationSvc; - } - - /** - * Set the authentication component - * - * @param authenticationComponent - */ - public void setAuthenticationComponent(AuthenticationComponent authenticationComponent) - { - this.authenticationComponent = authenticationComponent; - } - - /** - * @see org.alfresco.repo.webservice.authentication.AuthenticationServiceSoapPort#startSession(java.lang.String, - * java.lang.String) - */ - public AuthenticationResult startSession(final String username, final String password) - throws RemoteException, AuthenticationFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public AuthenticationResult execute() throws Throwable - { - authenticationService.authenticate(username, password.toCharArray()); - String ticket = authenticationService.getCurrentTicket(); - - if (logger.isDebugEnabled()) - { - logger.debug("Issued ticket '" + ticket + "' for '" + username + "'"); - } - - return new AuthenticationResult(username, ticket, Utils.getSessionId()); - } - }; - return Utils.getRetryingTransactionHelper(MessageContext.getCurrentContext()).doInTransaction(callback); - } - catch (AuthenticationException ae) - { - ae.printStackTrace(); - throw new AuthenticationFault(100, ae.getMessage()); - } - catch (Throwable e) - { - e.printStackTrace(); - throw new AuthenticationFault(0, e.getMessage()); - } - } - - /** - * @see org.alfresco.repo.webservice.authentication.AuthenticationServiceSoapPort#endSession() - */ - public void endSession(final String ticket) throws RemoteException, AuthenticationFault - { - try - { - if (ticket != null) - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public Object execute() throws Throwable - { - authenticationComponent.setSystemUserAsCurrentUser(); - authenticationService.invalidateTicket(ticket); - authenticationService.clearCurrentSecurityContext(); - - if (logger.isDebugEnabled()) - { - logger.debug("Session ended for ticket '" + ticket + "'"); - } - - return null; - } - }; - Utils.getRetryingTransactionHelper(MessageContext.getCurrentContext()).doInTransaction(callback); - Utils.invalidateSession(); - } - } - catch (Throwable e) - { - throw new AuthenticationFault(0, e.getMessage()); - } - } -} diff --git a/source/java/org/alfresco/repo/webservice/authoring/AuthoringWebService.java b/source/java/org/alfresco/repo/webservice/authoring/AuthoringWebService.java deleted file mode 100644 index 914463c720..0000000000 --- a/source/java/org/alfresco/repo/webservice/authoring/AuthoringWebService.java +++ /dev/null @@ -1,810 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.authoring; - -import java.io.ByteArrayInputStream; -import java.io.InputStream; -import java.io.Serializable; -import java.rmi.RemoteException; -import java.util.ArrayList; -import java.util.Collection; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import org.alfresco.model.ContentModel; -import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback; -import org.alfresco.repo.version.VersionModel; -import org.alfresco.repo.webservice.AbstractWebService; -import org.alfresco.repo.webservice.Utils; -import org.alfresco.repo.webservice.types.ContentFormat; -import org.alfresco.repo.webservice.types.NamedValue; -import org.alfresco.repo.webservice.types.ParentReference; -import org.alfresco.repo.webservice.types.Predicate; -import org.alfresco.repo.webservice.types.Reference; -import org.alfresco.repo.webservice.types.VersionHistory; -import org.alfresco.service.cmr.coci.CheckOutCheckInService; -import org.alfresco.service.cmr.lock.LockService; -import org.alfresco.service.cmr.lock.LockType; -import org.alfresco.service.cmr.repository.ContentWriter; -import org.alfresco.service.cmr.repository.NodeRef; -import org.alfresco.service.cmr.version.Version; -import org.alfresco.service.cmr.version.VersionService; -import org.alfresco.service.cmr.version.VersionType; -import org.alfresco.service.namespace.QName; -import org.alfresco.service.transaction.TransactionService; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Web service implementation of the AuthoringService. The WSDL for this service - * can be accessed from - * http://localhost:8080/alfresco/wsdl/authoring-service.wsdl - * - * @author gavinc - */ -public class AuthoringWebService extends AbstractWebService implements - AuthoringServiceSoapPort -{ - /** - * Logger - */ - private static Log logger = LogFactory.getLog(AuthoringWebService.class); - - /** - * The check in check out service - */ - private CheckOutCheckInService cociService; - - /** - * The lock service - */ - private LockService lockService; - - /** - * The version service - */ - private VersionService versionService; - - /** - * The transaction service - */ - private TransactionService transactionService; - - /** - * Sets the CheckInCheckOutService to use - * - * @param cociService - * The CheckInCheckOutService - */ - public void setCheckOutCheckinService(CheckOutCheckInService cociService) - { - this.cociService = cociService; - } - - /** - * Sets the LockService to use - * - * @param lockService the lock service - */ - public void setLockService(LockService lockService) - { - this.lockService = lockService; - } - - /** - * Set the version service - * - * @param versionService the version service - */ - public void setVersionService(VersionService versionService) - { - this.versionService = versionService; - } - - /** - * Set the transaction service - * - * @param transactionService - * the transaction service - */ - public void setTransactionService(TransactionService transactionService) - { - this.transactionService = transactionService; - } - - /** - * @see org.alfresco.repo.webservice.authoring.AuthoringServiceSoapPort#checkout(org.alfresco.repo.webservice.types.Predicate, - * org.alfresco.repo.webservice.types.ParentReference) - */ - public CheckoutResult checkout(final Predicate items, final ParentReference destination) throws RemoteException, - AuthoringFault - { - try - { - return transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public CheckoutResult execute() - { - List nodes = Utils.resolvePredicate(items, - AuthoringWebService.this.nodeService, - AuthoringWebService.this.searchService, - AuthoringWebService.this.namespaceService); - CheckoutResult checkoutResult = new CheckoutResult(); - Reference[] originals = new Reference[nodes.size()]; - Reference[] workingCopies = new Reference[nodes.size()]; - - // get a repository NodeRef for the destination (if - // there is one) - NodeRef destinationRef = null; - if (destination != null) - { - destinationRef = Utils.convertToNodeRef( - destination, - AuthoringWebService.this.nodeService, - AuthoringWebService.this.searchService, - AuthoringWebService.this.namespaceService); - } - - for (int x = 0; x < nodes.size(); x++) - { - // get the current node - NodeRef original = nodes.get(x); - - // call the appropriate service method depending on - // whether a destination has been provided - NodeRef workingCopy = null; - if (destinationRef != null) - { - workingCopy = AuthoringWebService.this.cociService - .checkout( - original, - destinationRef, - QName.createQName(destination.getAssociationType()), - QName.createQName(destination.getChildName())); - } else - { - workingCopy = AuthoringWebService.this.cociService - .checkout(original); - } - - // store the results - originals[x] = Utils.convertToReference(AuthoringWebService.this.nodeService, AuthoringWebService.this.namespaceService, original); - workingCopies[x] = Utils.convertToReference(AuthoringWebService.this.nodeService, AuthoringWebService.this.namespaceService, workingCopy); - } - - // setup the result object - checkoutResult.setOriginals(originals); - checkoutResult.setWorkingCopies(workingCopies); - - return checkoutResult; - } - }); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - throw new AuthoringFault(0, e.getMessage()); - } - } - - /** - * @see org.alfresco.repo.webservice.authoring.AuthoringServiceSoapPort#checkin(org.alfresco.repo.webservice.types.Predicate, - * org.alfresco.repo.webservice.types.NamedValue[], boolean) - */ - public CheckinResult checkin(final Predicate items, - final NamedValue[] comments, final boolean keepCheckedOut) - throws RemoteException, AuthoringFault - { - try - { - return transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public CheckinResult execute() - { - // Get the passed nodes - List nodes = Utils.resolvePredicate( - items, - AuthoringWebService.this.nodeService, - AuthoringWebService.this.searchService, - AuthoringWebService.this.namespaceService); - - // Map the comments into the expected map - Map mapComments = convertCommnets(comments); - - Reference[] checkedIn = new Reference[nodes.size()]; - List listWorkingCopies = new ArrayList(nodes.size()); - int iIndex = 0; - - // Execute checkin for each node - // TODO should be able to do this as a batch so that all the nodes are versioned together - for (NodeRef node : nodes) - { - // Checkin the node - NodeRef checkedInNode = AuthoringWebService.this.cociService.checkin(node, mapComments, null, keepCheckedOut); - - // Add the results to the array - checkedIn[iIndex] = Utils.convertToReference(AuthoringWebService.this.nodeService, AuthoringWebService.this.namespaceService, checkedInNode); - - // Only return the working copies if the node is keep checked out otherwise the working copies have been deleted - if (keepCheckedOut == true) - { - listWorkingCopies.add(Utils.convertToReference(AuthoringWebService.this.nodeService, AuthoringWebService.this.namespaceService, node)); - } - iIndex++; - } - - // Sort out the working copy list - Reference[] workingCopies = listWorkingCopies.toArray(new Reference[listWorkingCopies.size()]); - if (workingCopies == null) - { - workingCopies = new Reference[0]; - } - - // Create the result object - CheckinResult result = new CheckinResult(); - result.setCheckedIn(checkedIn); - result.setWorkingCopies(workingCopies); - - return result; - } - }); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - throw new AuthoringFault(0, e.getMessage()); - } - } - - /** - * Takes the named value array that contains the comments and converts it to a Map that the underlying - * services can understand. - * - * @param comments the comments named value array - * @return Map Map that can be used with the underlying services - */ - private Map convertCommnets(NamedValue[] comments) - { - // Map the comments into the expected map - Map mapComments = new HashMap(comments.length); - for (NamedValue value : comments) - { - if (value.getName().equals(VersionModel.PROP_VERSION_TYPE) == true) - { - mapComments.put(value.getName(), VersionType.valueOf(value.getValue())); - } - else - { - mapComments.put(value.getName(), value.getValue()); - } - } - return mapComments; - } - - /** - * @see org.alfresco.repo.webservice.authoring.AuthoringServiceSoapPort#checkinExternal(org.alfresco.repo.webservice.types.Reference, org.alfresco.repo.webservice.types.NamedValue[], boolean, org.alfresco.repo.webservice.types.ContentFormat, byte[]) - */ - public Reference checkinExternal(final Reference node, final NamedValue[] comments, final boolean keepCheckedOut, final ContentFormat format, final byte[] content) - throws RemoteException, AuthoringFault - { - try - { - return transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public Reference execute() - { - // Get the passed nodes - NodeRef nodeRef = Utils.convertToNodeRef( - node, - AuthoringWebService.this.nodeService, - AuthoringWebService.this.searchService, - AuthoringWebService.this.namespaceService); - - // Write the content to the server - // TODO: Need to get the property QName into this method - ContentWriter contentWriter = AuthoringWebService.this.contentService.getWriter(nodeRef, ContentModel.PROP_CONTENT, false); - if (contentWriter == null) - { - throw new RuntimeException("Unable to write external content before checkin."); - } - InputStream is = new ByteArrayInputStream(content); - contentWriter.setEncoding(format.getEncoding()); - contentWriter.setMimetype(format.getMimetype()); - contentWriter.putContent(is); - String contentUrl = contentWriter.getContentUrl(); - - // Get the version properties map - Map versionProperties = convertCommnets(comments); - - // CheckIn the content - NodeRef origNodeRef = AuthoringWebService.this.cociService.checkin( - nodeRef, - versionProperties, - contentUrl, - keepCheckedOut); - // Return the orig node ref - return Utils.convertToReference(AuthoringWebService.this.nodeService, AuthoringWebService.this.namespaceService, origNodeRef); - } - }); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - throw new AuthoringFault(0, e.getMessage()); - } - } - - /** - * @see org.alfresco.repo.webservice.authoring.AuthoringServiceSoapPort#cancelCheckout(org.alfresco.repo.webservice.types.Predicate) - */ - public CancelCheckoutResult cancelCheckout(final Predicate items) - throws RemoteException, AuthoringFault - { - try - { - return transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public CancelCheckoutResult execute() - { - // Get the passed nodes - List nodes = Utils.resolvePredicate( - items, - AuthoringWebService.this.nodeService, - AuthoringWebService.this.searchService, - AuthoringWebService.this.namespaceService); - - // Create the arrays to hold results - Reference[] origNodes = new Reference[nodes.size()]; - Reference[] workingCopies = new Reference[nodes.size()]; - int iIndex = 0; - - for (NodeRef node : nodes) - { - // Cancel the checkout - NodeRef origNode = AuthoringWebService.this.cociService.cancelCheckout(node); - - // Set the value in the arrays - origNodes[iIndex] = Utils.convertToReference(AuthoringWebService.this.nodeService, AuthoringWebService.this.namespaceService, origNode); - workingCopies[iIndex] = Utils.convertToReference(AuthoringWebService.this.nodeService, AuthoringWebService.this.namespaceService, node); - iIndex ++; - } - - CancelCheckoutResult result = new CancelCheckoutResult(); - result.setOriginals(origNodes); - result.setWorkingCopies(workingCopies); - - return result; - } - }); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - throw new AuthoringFault(0, e.getMessage()); - } - } - - /** - * @see org.alfresco.repo.webservice.authoring.AuthoringServiceSoapPort#lock(org.alfresco.repo.webservice.types.Predicate, - * boolean, org.alfresco.repo.webservice.authoring.LockTypeEnum) - */ - public Reference[] lock(final Predicate items, final boolean lockChildren, final LockTypeEnum lockType) - throws RemoteException, AuthoringFault - { - try - { - return transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public Reference[] execute() - { - // Get the passed nodes - List nodes = Utils.resolvePredicate( - items, - AuthoringWebService.this.nodeService, - AuthoringWebService.this.searchService, - AuthoringWebService.this.namespaceService); - - // Gather together the results - Reference[] result = new Reference[nodes.size()]; - int iIndex = 0; - for (NodeRef node : nodes) - { - LockType convertedLockType = convertToLockType(lockType); - AuthoringWebService.this.lockService.lock(node, convertedLockType, 0, lockChildren); - result[iIndex] = Utils.convertToReference(AuthoringWebService.this.nodeService, AuthoringWebService.this.namespaceService, node); - iIndex++; - } - - return result; - } - }); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - throw new AuthoringFault(0, e.getMessage()); - } - } - - /** - * Convert from the web service lock type to the Lock type enum value used by the service interface - * - * @param lockTypeEnum web service lock type value - * @return lock type enum value used by the service interface - */ - private LockType convertToLockType(LockTypeEnum lockTypeEnum) - { - LockType lockType = null; - if (lockTypeEnum.equals(LockTypeEnum.write) == true) - { - lockType = LockType.WRITE_LOCK; - } - else - { - lockType = LockType.READ_ONLY_LOCK; - } - return lockType; - } - - /** - * @see org.alfresco.repo.webservice.authoring.AuthoringServiceSoapPort#unlock(org.alfresco.repo.webservice.types.Predicate, - * boolean) - */ - public Reference[] unlock(final Predicate items, final boolean unlockChildren) - throws RemoteException, AuthoringFault - { - try - { - return transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public Reference[] execute() - { - // Get the passed nodes - List nodes = Utils.resolvePredicate( - items, - AuthoringWebService.this.nodeService, - AuthoringWebService.this.searchService, - AuthoringWebService.this.namespaceService); - - // Gather together the results - Reference[] result = new Reference[nodes.size()]; - int iIndex = 0; - for (NodeRef node : nodes) - { - AuthoringWebService.this.lockService.unlock(node, unlockChildren); - - result[iIndex] = Utils.convertToReference(AuthoringWebService.this.nodeService, AuthoringWebService.this.namespaceService, node); - iIndex++; - } - - return result; - } - }); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - throw new AuthoringFault(0, e.getMessage()); - } - } - - /** - * @see org.alfresco.repo.webservice.authoring.AuthoringServiceSoapPort#getLockStatus(org.alfresco.repo.webservice.types.Predicate) - */ - public LockStatus[] getLockStatus(final Predicate items) - throws RemoteException, AuthoringFault - { - try - { - return transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public LockStatus[] execute() - { - // Get the passed nodes - List nodes = Utils.resolvePredicate( - items, - AuthoringWebService.this.nodeService, - AuthoringWebService.this.searchService, - AuthoringWebService.this.namespaceService); - - // Gather together the results - LockStatus[] result = new LockStatus[nodes.size()]; - int iIndex = 0; - for (NodeRef node : nodes) - { - // Get the lock owner - String lockOwner = (String)AuthoringWebService.this.nodeService.getProperty(node, ContentModel.PROP_LOCK_OWNER); - - // Get the lock type - LockTypeEnum lockTypeEnum = convertFromLockType(AuthoringWebService.this.lockService.getLockType(node)); - - LockStatus lockStatus = new LockStatus(); - lockStatus.setLockOwner(lockOwner); - lockStatus.setLockType(lockTypeEnum); - lockStatus.setNode(Utils.convertToReference(AuthoringWebService.this.nodeService, AuthoringWebService.this.namespaceService, node)); - - result[iIndex] = lockStatus; - iIndex++; - } - - return result; - } - }); - } - catch (Throwable e) - { - - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - e.printStackTrace(); - throw new AuthoringFault(0, e.getMessage()); - } - } - - private LockTypeEnum convertFromLockType(LockType lockType) - { - LockTypeEnum result = null; - if (lockType != null) - { - switch (lockType) - { - case WRITE_LOCK: - result = LockTypeEnum.write; - break; - case READ_ONLY_LOCK: - result = LockTypeEnum.read; - break; - } - } - return result; - } - - /** - * @see org.alfresco.repo.webservice.authoring.AuthoringServiceSoapPort#createVersion(org.alfresco.repo.webservice.types.Predicate, - * org.alfresco.repo.webservice.types.NamedValue[], boolean) - */ - public VersionResult createVersion(final Predicate items, final NamedValue[] comments, final boolean versionChildren) - throws RemoteException, AuthoringFault - { - try - { - return transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public VersionResult execute() - { - // Get the passed nodes - List nodes = Utils.resolvePredicate( - items, - AuthoringWebService.this.nodeService, - AuthoringWebService.this.searchService, - AuthoringWebService.this.namespaceService); - - // Map the comments into the expected map - Map mapComments = convertCommnets(comments); - - List versionedReferences = new ArrayList(nodes.size()); - List webServiceVersions = new ArrayList(nodes.size()); - - // Version each node - for (NodeRef node : nodes) - { - Collection versions = AuthoringWebService.this.versionService.createVersion(node, mapComments, versionChildren); - for (Version version : versions) - { - versionedReferences.add(Utils.convertToReference(AuthoringWebService.this.nodeService, AuthoringWebService.this.namespaceService, version.getVersionedNodeRef())); - webServiceVersions.add(Utils.convertToVersion(AuthoringWebService.this.nodeService, AuthoringWebService.this.namespaceService, version)); - } - } - - VersionResult result = new VersionResult(); - result.setNodes(versionedReferences.toArray(new Reference[versionedReferences.size()])); - result.setVersions(webServiceVersions.toArray(new org.alfresco.repo.webservice.types.Version[webServiceVersions.size()])); - return result; - } - }); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - e.printStackTrace(); - - throw new AuthoringFault(0, e.getMessage()); - } - } - - /** - * @see org.alfresco.repo.webservice.authoring.AuthoringServiceSoapPort#getVersionHistory(org.alfresco.repo.webservice.types.Reference) - */ - public VersionHistory getVersionHistory(final Reference node) - throws RemoteException, AuthoringFault - { - try - { - return transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public VersionHistory execute() - { - org.alfresco.service.cmr.version.VersionHistory versionHistory = - AuthoringWebService.this.versionService.getVersionHistory( - Utils.convertToNodeRef( - node, - AuthoringWebService.this.nodeService, - AuthoringWebService.this.searchService, - AuthoringWebService.this.namespaceService)); - - VersionHistory webServiceVersionHistory = new VersionHistory(); - if (versionHistory != null) - { - Collection versions = versionHistory.getAllVersions(); - org.alfresco.repo.webservice.types.Version[] webServiceVersions = new org.alfresco.repo.webservice.types.Version[versions.size()]; - int iIndex = 0; - for (Version version : versions) - { - webServiceVersions[iIndex] = Utils.convertToVersion(AuthoringWebService.this.nodeService, AuthoringWebService.this.namespaceService, version); - iIndex ++; - } - webServiceVersionHistory.setVersions(webServiceVersions); - } - - return webServiceVersionHistory; - } - }); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - throw new AuthoringFault(0, e.getMessage()); - } - } - - /** - * @see org.alfresco.repo.webservice.authoring.AuthoringServiceSoapPort#revertVersion(org.alfresco.repo.webservice.types.Reference, - * java.lang.String) - */ - @SuppressWarnings("unchecked") - public void revertVersion(final Reference node, final String versionLabel) - throws RemoteException, AuthoringFault - { - try - { - transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public Object execute() - { - NodeRef nodeRef = Utils.convertToNodeRef( - node, - AuthoringWebService.this.nodeService, - AuthoringWebService.this.searchService, - AuthoringWebService.this.namespaceService); - - org.alfresco.service.cmr.version.VersionHistory versionHistory = AuthoringWebService.this.versionService.getVersionHistory(nodeRef); - if (versionHistory != null) - { - Version version = versionHistory.getVersion(versionLabel); - if (version != null) - { - AuthoringWebService.this.versionService.revert(nodeRef, version); - } - else - { - throw new RuntimeException("The node could not be reverted because the version label is invalid."); - } - } - else - { - throw new RuntimeException("A unversioned node cannot be reverted."); - } - - return null; - } - }); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - throw new AuthoringFault(0, e.getMessage()); - } - } - - /** - * @see org.alfresco.repo.webservice.authoring.AuthoringServiceSoapPort#deleteAllVersions(org.alfresco.repo.webservice.types.Reference) - */ - public VersionHistory deleteAllVersions(final Reference node) - throws RemoteException, AuthoringFault - { - try - { - return transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public VersionHistory execute() - { - NodeRef nodeRef = Utils.convertToNodeRef( - node, - AuthoringWebService.this.nodeService, - AuthoringWebService.this.searchService, - AuthoringWebService.this.namespaceService); - - AuthoringWebService.this.versionService.deleteVersionHistory(nodeRef); - - return new VersionHistory(); - } - }); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - throw new AuthoringFault(0, e.getMessage()); - } - } -} diff --git a/source/java/org/alfresco/repo/webservice/axis/QueryConfigHandler.java b/source/java/org/alfresco/repo/webservice/axis/QueryConfigHandler.java deleted file mode 100644 index a7f559ca30..0000000000 --- a/source/java/org/alfresco/repo/webservice/axis/QueryConfigHandler.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.axis; - -import org.alfresco.repo.webservice.Utils; -import org.alfresco.repo.webservice.types.QueryConfiguration; -import org.apache.axis.AxisFault; -import org.apache.axis.MessageContext; -import org.apache.axis.description.OperationDesc; -import org.apache.axis.handlers.BasicHandler; -import org.apache.axis.message.SOAPEnvelope; -import org.apache.axis.message.SOAPHeaderElement; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Axis handler to extract the fetchSize parameter from the QueryConfiguration SOAP header. - * The value of fetchSize is then placed in the MessageContext with a property name of - * ALF_FETCH_SIZE - * - * @author gavinc - */ -public class QueryConfigHandler extends BasicHandler -{ - public static final String ALF_FETCH_SIZE = "ALF_FETCH_SIZE"; - - private static final long serialVersionUID = 6467938074555362971L; - private static Log logger = LogFactory.getLog(QueryConfigHandler.class); - - /** - * @see org.apache.axis.Handler#invoke(org.apache.axis.MessageContext) - */ - public void invoke(MessageContext msgContext) throws AxisFault - { - try - { - // determine the method we are calling - String opName = "Unknown method"; - OperationDesc op = msgContext.getOperation(); - if (op != null) - { - opName = op.getName(); - } - - // try and find the appropriate header and extract info from it - SOAPEnvelope env = msgContext.getRequestMessage().getSOAPEnvelope(); - SOAPHeaderElement header = env.getHeaderByName(Utils.REPOSITORY_SERVICE_NAMESPACE, "QueryHeader"); - if (header != null) - { - if (logger.isDebugEnabled()) - logger.debug("Found QueryHeader for call to " + opName); - - QueryConfiguration queryCfg = (QueryConfiguration)header.getObjectValue(QueryConfiguration.class); - if (queryCfg != null) - { - int fetchSize = queryCfg.getFetchSize(); - - if (logger.isDebugEnabled()) - logger.debug("Fetch size for query = " + fetchSize); - - msgContext.setProperty(ALF_FETCH_SIZE, new Integer(fetchSize)); - } - else - { - if (logger.isDebugEnabled()) - logger.debug("Failed to find QueryConfiguration within QueryHeader"); - } - } - else - { - if (logger.isDebugEnabled()) - { - logger.debug("QueryHeader was not found for call to " + opName); - } - } - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - logger.debug("Failed to determine fetch size", e); - } - } -} diff --git a/source/java/org/alfresco/repo/webservice/axis/SpringBeanRPCProvider.java b/source/java/org/alfresco/repo/webservice/axis/SpringBeanRPCProvider.java deleted file mode 100644 index 7692277b25..0000000000 --- a/source/java/org/alfresco/repo/webservice/axis/SpringBeanRPCProvider.java +++ /dev/null @@ -1,120 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.axis; - -import org.alfresco.repo.webservice.Utils; -import org.apache.axis.AxisFault; -import org.apache.axis.MessageContext; -import org.apache.axis.handlers.soap.SOAPService; -import org.apache.axis.providers.java.RPCProvider; -import org.springframework.web.context.WebApplicationContext; - -/** - * A custom Axis RPC Provider that retrieves services via Spring - * - * @author gavinc - */ -public class SpringBeanRPCProvider extends RPCProvider -{ - private static final long serialVersionUID = 2173234269124176995L; - private static final String OPTION_NAME = "springBean"; - private static WebApplicationContext webAppCtx; - - /** - * Retrieves the class of the bean represented by the given name - * - * @see org.apache.axis.providers.java.JavaProvider#getServiceClass(java.lang.String, org.apache.axis.handlers.soap.SOAPService, org.apache.axis.MessageContext) - */ - @Override - protected Class getServiceClass(String beanName, SOAPService service, MessageContext msgCtx) throws AxisFault - { - Class clazz = null; - - Object bean = getBean(msgCtx, beanName); - if (bean != null) - { - clazz = bean.getClass(); - } - - return clazz; - } - - /** - * @see org.apache.axis.providers.java.JavaProvider#getServiceClassNameOptionName() - */ - @Override - protected String getServiceClassNameOptionName() - { - return OPTION_NAME; - } - - /** - * Retrieves the bean with the given name from the current spring context - * - * @see org.apache.axis.providers.java.JavaProvider#makeNewServiceObject(org.apache.axis.MessageContext, java.lang.String) - */ - @Override - protected Object makeNewServiceObject(MessageContext msgCtx, String beanName) throws Exception - { - return getBean(msgCtx, beanName); - } - - /** - * Retrieves the bean with the given name from the current spring context - * - * @param msgCtx Axis MessageContext - * @param beanName Name of the bean to lookup - * @return The instance of the bean - */ - private Object getBean(MessageContext msgCtx, String beanName) throws AxisFault - { - return getWebAppContext(msgCtx).getBean(beanName); - } - - /** - * Retrieves the Spring context from the web application - * - * @param msgCtx Axis MessageContext - * @return The Spring web app context - */ - private WebApplicationContext getWebAppContext(MessageContext msgCtx) throws AxisFault - { - if (webAppCtx == null && msgCtx != null) - { - webAppCtx = Utils.getSpringContext(msgCtx); - } - - if (webAppCtx == null) - { - throw new AxisFault("Failed to retrieve the Spring web application context"); - } - - return webAppCtx; - } - - @Override - public void initServiceDesc(SOAPService service, MessageContext msgContext) throws AxisFault - { - if( msgContext != null ) - { - getWebAppContext(msgContext); - } - super.initServiceDesc(service, msgContext); - } -} diff --git a/source/java/org/alfresco/repo/webservice/axis/TicketCallbackHandler.java b/source/java/org/alfresco/repo/webservice/axis/TicketCallbackHandler.java deleted file mode 100644 index 3a2a445c99..0000000000 --- a/source/java/org/alfresco/repo/webservice/axis/TicketCallbackHandler.java +++ /dev/null @@ -1,102 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.axis; - -import java.io.IOException; - -import javax.security.auth.callback.Callback; -import javax.security.auth.callback.CallbackHandler; -import javax.security.auth.callback.UnsupportedCallbackException; - -import org.alfresco.repo.security.authentication.AuthenticationException; -import org.alfresco.repo.webservice.authentication.AuthenticationFault; -import org.alfresco.service.cmr.security.AuthenticationService; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.ws.security.WSPasswordCallback; - -/** - * CallbackHandler that verifies the given ticket in the password element of the UsernameToken - * header is still a valid ticket - * - * @author gavinc - */ -public class TicketCallbackHandler implements CallbackHandler -{ - private static final Log logger = LogFactory.getLog(TicketCallbackHandler.class); - - private AuthenticationService authenticationService; - - /** - * Sets the AuthenticationService instance to use - * - * @param authenticationService The AuthenticationService - */ - public void setAuthenticationService(AuthenticationService authenticationService) - { - this.authenticationService = authenticationService; - } - - /** - * @see javax.security.auth.callback.CallbackHandler#handle(javax.security.auth.callback.Callback[]) - */ - public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException - { - for (int i = 0; i < callbacks.length; i++) - { - if (callbacks[i] instanceof WSPasswordCallback) - { - WSPasswordCallback pc = (WSPasswordCallback)callbacks[i]; - String ticket = pc.getPassword(); - - if (logger.isDebugEnabled()) - { - logger.debug("Verifying ticket for: " + pc.getIdentifer()); - logger.debug("Ticket: " + ticket); - } - - // ensure the ticket is valid - try - { - this.authenticationService.validate(ticket); - } - catch (AuthenticationException ae) - { - if (logger.isDebugEnabled()) - logger.debug("Ticket validation failed: " + ae.getMessage()); - - // NOTE: Throwing AuthenticationFault just gets consumed and the ws-security handler - // reports a missing password; we would need to modify the WSS4J code to let - // the exception bubble up so for now just let the default message get thrown - throw new AuthenticationFault(701, "Authentication failed due to an invalid ticket"); - } - - if (logger.isDebugEnabled()) - logger.debug("Ticket validated successfully"); - - // if all is well set the password to return as the given ticket - pc.setPassword(pc.getPassword()); - } - else - { - throw new UnsupportedCallbackException(callbacks[i], "Unrecognized Callback"); - } - } - } -} diff --git a/source/java/org/alfresco/repo/webservice/axis/TicketCallbackSpringHandler.java b/source/java/org/alfresco/repo/webservice/axis/TicketCallbackSpringHandler.java deleted file mode 100644 index afa741fcf3..0000000000 --- a/source/java/org/alfresco/repo/webservice/axis/TicketCallbackSpringHandler.java +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.axis; - -import javax.servlet.ServletContext; -import javax.servlet.http.HttpServletRequest; - -import org.apache.axis.AxisFault; -import org.apache.axis.MessageContext; -import org.apache.axis.handlers.BasicHandler; -import org.apache.axis.transport.http.HTTPConstants; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.apache.ws.security.handler.WSHandlerConstants; -import org.springframework.web.context.WebApplicationContext; -import org.springframework.web.context.support.WebApplicationContextUtils; - -/** - * Axis handler that retrieves the TicketCallbackHandler instance from - * a Spring context. The authentication service is injected by Spring - * so that when it gets called by the WSS4J handler it can verify the - * ticket passed to the service. - * The callback handler is then added to the MessageContext under the standard - * WsHandlerConstants.PW_CALLBACK_REF property. - * - * @author gavinc - */ -public class TicketCallbackSpringHandler extends BasicHandler -{ - @SuppressWarnings("unused") -private static final Log logger = LogFactory.getLog(TicketCallbackSpringHandler.class); - private static final String BEAN_NAME = "ticketCallbackHandler"; - private static final long serialVersionUID = -135125831180499667L; - - /** - * @see org.apache.axis.Handler#invoke(org.apache.axis.MessageContext) - */ - public void invoke(MessageContext msgContext) throws AxisFault - { - // get hold of the Spring context and retrieve the AuthenticationService - HttpServletRequest req = (HttpServletRequest)msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST); - ServletContext servletCtx = req.getSession().getServletContext(); - WebApplicationContext webAppCtx = WebApplicationContextUtils.getRequiredWebApplicationContext(servletCtx); - TicketCallbackHandler callback = (TicketCallbackHandler)webAppCtx.getBean(BEAN_NAME); - - // store the callback in the context where the WS-Security handler can pick it up from - msgContext.setProperty(WSHandlerConstants.PW_CALLBACK_REF, callback); - } -} diff --git a/source/java/org/alfresco/repo/webservice/axis/WSDDSpringBeanRPCProvider.java b/source/java/org/alfresco/repo/webservice/axis/WSDDSpringBeanRPCProvider.java deleted file mode 100644 index 6325674e80..0000000000 --- a/source/java/org/alfresco/repo/webservice/axis/WSDDSpringBeanRPCProvider.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.axis; - -import org.apache.axis.EngineConfiguration; -import org.apache.axis.Handler; -import org.apache.axis.deployment.wsdd.WSDDProvider; -import org.apache.axis.deployment.wsdd.WSDDService; - -/** - * Provider class loaded by Axis, used to identify and - * create an instance of our SpringRPC provider which in - * turn loads service endpoints from Spring configured beans - * - * @see org.alfresco.repo.webservice.axis.SpringBeanRPCProvider - * @author gavinc - */ -public class WSDDSpringBeanRPCProvider extends WSDDProvider -{ - private static final String PROVIDER_NAME = "SpringRPC"; - - /** - * @see org.apache.axis.deployment.wsdd.WSDDProvider#newProviderInstance(org.apache.axis.deployment.wsdd.WSDDService, org.apache.axis.EngineConfiguration) - */ - @Override - public Handler newProviderInstance(WSDDService service, EngineConfiguration registry) - throws Exception - { - return new SpringBeanRPCProvider(); - } - - /** - * @see org.apache.axis.deployment.wsdd.WSDDProvider#getName() - */ - @Override - public String getName() - { - return PROVIDER_NAME; - } - -} diff --git a/source/java/org/alfresco/repo/webservice/classification/ClassificationWebService.java b/source/java/org/alfresco/repo/webservice/classification/ClassificationWebService.java deleted file mode 100644 index 8de5f12a9a..0000000000 --- a/source/java/org/alfresco/repo/webservice/classification/ClassificationWebService.java +++ /dev/null @@ -1,459 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.classification; - -import java.rmi.RemoteException; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; -import java.util.Set; - -import org.alfresco.model.ContentModel; -import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback; -import org.alfresco.repo.webservice.AbstractWebService; -import org.alfresco.repo.webservice.Utils; -import org.alfresco.repo.webservice.types.Category; -import org.alfresco.repo.webservice.types.ClassDefinition; -import org.alfresco.repo.webservice.types.Classification; -import org.alfresco.repo.webservice.types.Predicate; -import org.alfresco.repo.webservice.types.Reference; -import org.alfresco.repo.webservice.types.Store; -import org.alfresco.service.cmr.dictionary.DataTypeDefinition; -import org.alfresco.service.cmr.dictionary.DictionaryService; -import org.alfresco.service.cmr.dictionary.PropertyDefinition; -import org.alfresco.service.cmr.repository.ChildAssociationRef; -import org.alfresco.service.cmr.repository.NodeRef; -import org.alfresco.service.cmr.repository.datatype.DefaultTypeConverter; -import org.alfresco.service.cmr.search.CategoryService; -import org.alfresco.service.namespace.QName; -import org.alfresco.service.transaction.TransactionService; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Web service implementation of the ClassificationService. The WSDL for this - * service can be accessed from - * http://localhost:8080/alfresco/wsdl/classification-service.wsdl - * - * @author gavinc - */ -public class ClassificationWebService extends AbstractWebService implements - ClassificationServiceSoapPort -{ - private static Log logger = LogFactory.getLog(ClassificationWebService.class); - - /** - * The category service - */ - private CategoryService categoryService; - - /** - * The dictionary service - */ - private DictionaryService dictionaryService; - - /** - * The transaction service - */ - private TransactionService transactionService; - - /** - * Set the category service - * - * @param categoryService the category service - */ - public void setCategoryService(CategoryService categoryService) - { - this.categoryService = categoryService; - } - - /** - * Set the transaction service - * - * @param transactionService the transaction service - */ - public void setTransactionService(TransactionService transactionService) - { - this.transactionService = transactionService; - } - - /** - * Set the dictionary service - * - * @param dictionaryService the dictionary service - */ - public void setDictionaryService(DictionaryService dictionaryService) - { - this.dictionaryService = dictionaryService; - } - - /** - * @see org.alfresco.repo.webservice.classification.ClassificationServiceSoapPort#getClassifications() - */ - public Classification[] getClassifications(final Store store) throws RemoteException, - ClassificationFault - { - try - { - return transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public Classification[] execute() - { - List classifications = new ArrayList(); - - Collection categoryAspects = ClassificationWebService.this.categoryService.getClassificationAspects(); - for (QName aspect : categoryAspects) - { - // Get the title of the cateogry - String title = null; - org.alfresco.service.cmr.dictionary.ClassDefinition aspectDefinition = ClassificationWebService.this.dictionaryService.getClass(aspect); - if (aspectDefinition != null) - { - title = aspectDefinition.getTitle(dictionaryService); - } - - if (logger.isDebugEnabled()) - { - logger.debug("Category aspect found: " + title + " (" + aspect.toString() + ")"); - } - - Collection assocs = ClassificationWebService.this.categoryService.getCategories( - Utils.convertToStoreRef(store), - aspect, - CategoryService.Depth.IMMEDIATE); - for (ChildAssociationRef assoc : assocs) - { - NodeRef categoryNodeRef = assoc.getChildRef(); - - Classification classification = new Classification(); - classification.setClassification(aspect.toString()); - classification.setTitle(title); - // TODO set the description - classification.setRootCategory(convertToCategory(categoryNodeRef)); - - classifications.add(classification); - } - } - - return classifications.toArray(new Classification[classifications.size()]); - } - }); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - throw new ClassificationFault(0, e.getMessage()); - } - } - - private Category convertToCategory(NodeRef nodeRef) - { - String title = (String)this.nodeService.getProperty(nodeRef, ContentModel.PROP_NAME); - - if (logger.isDebugEnabled()) - { - logger.debug("Category: " + title + "(" + nodeRef.toString() + ")"); - } - - Category category = new Category(); - category.setId(Utils.convertToReference(this.nodeService, this.namespaceService, nodeRef)); - category.setTitle(title); - // TODO need to set the description - return category; - } - - /** - * @see org.alfresco.repo.webservice.classification.ClassificationServiceSoapPort#getChildCategories(org.alfresco.repo.webservice.types.Reference) - */ - public Category[] getChildCategories(final Reference parentCategory) - throws RemoteException, ClassificationFault - { - try - { - return transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public Category[] execute() - { - NodeRef parentNodeRef = Utils.convertToNodeRef( - parentCategory, - ClassificationWebService.this.nodeService, - ClassificationWebService.this.searchService, - ClassificationWebService.this.namespaceService); - - Collection assocs = ClassificationWebService.this.categoryService.getChildren( - parentNodeRef, - CategoryService.Mode.SUB_CATEGORIES, - CategoryService.Depth.IMMEDIATE); - - List categories = new ArrayList(assocs.size()); - - for (ChildAssociationRef assoc : assocs) - { - NodeRef categoryNodeRef = assoc.getChildRef(); - categories.add(convertToCategory(categoryNodeRef)); - } - - return categories.toArray(new Category[categories.size()]); - } - }); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - throw new ClassificationFault(0, e.getMessage()); - } - } - - /** - * @see org.alfresco.repo.webservice.classification.ClassificationServiceSoapPort#getCategories(org.alfresco.repo.webservice.types.Predicate) - */ - public CategoriesResult[] getCategories(final Predicate items) - throws RemoteException, ClassificationFault - { - try - { - return transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public CategoriesResult[] execute() - { - List result = new ArrayList(); - - List nodeRefs = Utils.resolvePredicate( - items, - ClassificationWebService.this.nodeService, - ClassificationWebService.this.searchService, - ClassificationWebService.this.namespaceService); - - for (NodeRef nodeRef : nodeRefs) - { - List appliedCategories = new ArrayList(); - - Set apsects = ClassificationWebService.this.nodeService.getAspects(nodeRef); - for (QName aspect : apsects) - { - if (ClassificationWebService.this.dictionaryService.isSubClass(aspect, ContentModel.ASPECT_CLASSIFIABLE) == true) - { - QName categoryPropertyName = getPropertyName(aspect); - - if (categoryPropertyName != null) - { - // Get the category value - Collection categoryNodeRefs = DefaultTypeConverter.INSTANCE.getCollection( - NodeRef.class, - ClassificationWebService.this.nodeService.getProperty(nodeRef, categoryPropertyName)); - - Reference[] categoryReferences = new Reference[categoryNodeRefs.size()]; - int iIndex = 0; - for (NodeRef categoryNodeRef : categoryNodeRefs) - { - categoryReferences[iIndex] = Utils.convertToReference(ClassificationWebService.this.nodeService, ClassificationWebService.this.namespaceService, categoryNodeRef); - iIndex ++; - } - - - // Create the applied category object - AppliedCategory appliedCategory = new AppliedCategory(); - appliedCategory.setClassification(aspect.toString()); - appliedCategory.setCategories(categoryReferences); - - appliedCategories.add(appliedCategory); - } - } - } - - // Create the category result object - CategoriesResult categoryResult = new CategoriesResult(); - categoryResult.setNode(Utils.convertToReference(ClassificationWebService.this.nodeService, ClassificationWebService.this.namespaceService, nodeRef)); - categoryResult.setCategories(appliedCategories.toArray(new AppliedCategory[appliedCategories.size()])); - - result.add(categoryResult); - } - - return result.toArray(new CategoriesResult[result.size()]); - } - }); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - throw new ClassificationFault(0, e.getMessage()); - } - } - - /** - * Get the category property qname for a classifiable apsect - * - * @param aspect the aspect qname - * @return the property qname, null if none found - */ - private QName getPropertyName(QName aspect) - { - QName categoryPropertyName = null; - - // Need to get category property - org.alfresco.service.cmr.dictionary.ClassDefinition classDefinition = ClassificationWebService.this.dictionaryService.getClass(aspect); - for (PropertyDefinition propertyDefintion : classDefinition.getProperties().values()) - { - if (DataTypeDefinition.CATEGORY.equals(propertyDefintion.getDataType().getName()) == true) - { - // We have found the category property (assume there is only one) - categoryPropertyName = propertyDefintion.getName(); - break; - } - } - - return categoryPropertyName; - } - - /** - * @see org.alfresco.repo.webservice.classification.ClassificationServiceSoapPort#setCategories(org.alfresco.repo.webservice.types.Predicate, - * org.alfresco.repo.webservice.classification.AppliedCategory[]) - */ - public CategoriesResult[] setCategories(final Predicate items, final AppliedCategory[] categories) - throws RemoteException, ClassificationFault - { - try - { - return transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public CategoriesResult[] execute() - { - List result = new ArrayList(); - - List nodeRefs = Utils.resolvePredicate( - items, - ClassificationWebService.this.nodeService, - ClassificationWebService.this.searchService, - ClassificationWebService.this.namespaceService); - - for (NodeRef nodeRef : nodeRefs) - { - List appliedCategories = new ArrayList(); - - for (AppliedCategory category : categories) - { - QName aspect = QName.createQName(category.getClassification()); - QName propertyName = getPropertyName(aspect); - if (propertyName != null) - { - // First check that the aspect has been applied to the node - if (ClassificationWebService.this.nodeService.hasAspect(nodeRef, aspect) == false) - { - ClassificationWebService.this.nodeService.addAspect(nodeRef, aspect, null); - } - - Reference[] categories = category.getCategories(); - ArrayList categoryNodeRefs = null; - if(categories == null) - { - categoryNodeRefs = new ArrayList(0); - } - else - { - categoryNodeRefs = new ArrayList(categories.length); - for (Reference categoryReference : categories) - { - categoryNodeRefs.add(Utils.convertToNodeRef( - categoryReference, - ClassificationWebService.this.nodeService, - ClassificationWebService.this.searchService, - ClassificationWebService.this.namespaceService)); - } - } - - ClassificationWebService.this.nodeService.setProperty(nodeRef, propertyName, categoryNodeRefs); - - // Create the applied category object - AppliedCategory appliedCategory = new AppliedCategory(); - appliedCategory.setClassification(category.getClassification()); - appliedCategory.setCategories(category.getCategories()); - - appliedCategories.add(appliedCategory); - } - } - - - // Create the category result object - CategoriesResult categoryResult = new CategoriesResult(); - categoryResult.setNode(Utils.convertToReference(ClassificationWebService.this.nodeService, ClassificationWebService.this.namespaceService, nodeRef)); - categoryResult.setCategories(appliedCategories.toArray(new AppliedCategory[appliedCategories.size()])); - - result.add(categoryResult); - } - - return result.toArray(new CategoriesResult[result.size()]); - } - }); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - throw new ClassificationFault(0, e.getMessage()); - } - } - - /** - * @see org.alfresco.repo.webservice.classification.ClassificationServiceSoapPort#describeClassification(org.alfresco.repo.webservice.types.Reference) - */ - public ClassDefinition describeClassification(final String classification) - throws RemoteException, ClassificationFault - { - try - { - return transactionService.getRetryingTransactionHelper().doInTransaction( - new RetryingTransactionCallback() - { - public ClassDefinition execute() - { - org.alfresco.service.cmr.dictionary.ClassDefinition classDefinition = ClassificationWebService.this.dictionaryService.getClass(QName.createQName(classification)); - return Utils.setupClassDefObject(dictionaryService, classDefinition); - } - }); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - - throw new ClassificationFault(0, e.getMessage()); - } - } -} diff --git a/source/java/org/alfresco/repo/webservice/content/ContentWebService.java b/source/java/org/alfresco/repo/webservice/content/ContentWebService.java deleted file mode 100644 index 0706ff834c..0000000000 --- a/source/java/org/alfresco/repo/webservice/content/ContentWebService.java +++ /dev/null @@ -1,420 +0,0 @@ -/* - * Copyright (C) 2005-2012 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.content; - -import java.io.ByteArrayInputStream; -import java.io.InputStream; -import java.io.UnsupportedEncodingException; -import java.net.URLEncoder; -import java.rmi.RemoteException; -import java.text.MessageFormat; -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - -import javax.activation.DataHandler; -import javax.servlet.http.HttpServletRequest; - -import org.alfresco.error.AlfrescoRuntimeException; -import org.alfresco.model.ContentModel; -import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback; -import org.alfresco.repo.webservice.AbstractWebService; -import org.alfresco.repo.webservice.Utils; -import org.alfresco.repo.webservice.types.ContentFormat; -import org.alfresco.repo.webservice.types.Predicate; -import org.alfresco.repo.webservice.types.Reference; -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.repository.TransformationOptions; -import org.alfresco.service.namespace.QName; -import org.apache.axis.AxisFault; -import org.apache.axis.Message; -import org.apache.axis.MessageContext; -import org.apache.axis.attachments.AttachmentPart; -import org.apache.axis.attachments.Attachments; -import org.apache.axis.transport.http.HTTPConstants; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Web service implementation of the ContentService. The WSDL for this service - * can be accessed from http://localhost:8080/alfresco/wsdl/content-service.wsdl - * - * @author gavinc - */ -public class ContentWebService extends AbstractWebService implements - ContentServiceSoapPort -{ - private static Log logger = LogFactory.getLog(ContentWebService.class); - - private static final String BROWSER_URL = "{0}://{1}{2}/download/direct/{3}/{4}/{5}/{6}"; - - /** - * @see org.alfresco.repo.webservice.content.ContentServiceSoapPort#read(org.alfresco.repo.webservice.types.Reference) - */ - public Content[] read(final Predicate items, final String property) - throws RemoteException, ContentFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public Content[] execute() throws Throwable - { - // resolve the predicates - List nodes = Utils.resolvePredicate(items, nodeService, searchService, namespaceService); - List results = new ArrayList(nodes.size()); - for (NodeRef nodeRef : nodes) - { - // Add content to the result - results.add(createContent(nodeRef, property)); - } - - return results.toArray(new Content[results.size()]); - } - }; - return Utils.getRetryingTransactionHelper(MessageContext.getCurrentContext()).doInTransaction(callback); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - throw new ContentFault(0, e.getMessage()); - } - } - - /** - * Create the content object - * - * @param nodeRef the node reference - * @param property the content property - * @return the content object - * @throws UnsupportedEncodingException - */ - private Content createContent(NodeRef nodeRef, String property) - throws UnsupportedEncodingException - { - Content content = null; - - // Lets have a look and see if this node has any content on this node - ContentReader contentReader = this.contentService.getReader(nodeRef, QName.createQName(property)); - - if (contentReader != null) - { - // Work out what the server, port and context path are - HttpServletRequest req = (HttpServletRequest)MessageContext.getCurrentContext().getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST); - - String address = req.getServerName(); - if (req.getLocalPort() != 80) - { - address = address + ":" + req.getServerPort(); - } - - // Get the file name - String filename = (String)this.nodeService.getProperty(nodeRef, ContentModel.PROP_NAME); - - // Filename may not exist if this node isn't a cm:object - if (filename == null) - { - filename = "file.bin"; - } - - // format the URL that can be used to download the content - String downloadUrl = MessageFormat.format(BROWSER_URL, - new Object[] { req.getScheme(), address, - req.getContextPath(), - nodeRef.getStoreRef().getProtocol(), - nodeRef.getStoreRef().getIdentifier(), - nodeRef.getId(), - URLEncoder.encode(filename, "UTF-8") }); - - // Create the content object - ContentFormat format = new ContentFormat(contentReader.getMimetype(), contentReader.getEncoding()); - content = new Content(Utils.convertToReference(this.nodeService, this.namespaceService, nodeRef), property, contentReader.getSize(), format, downloadUrl); - - // Debug - if (logger.isDebugEnabled()) - { - logger.debug("Content: " + nodeRef.getId() + " name=" - + filename + " encoding=" - + content.getFormat().getEncoding() + " mimetype=" - + content.getFormat().getMimetype() + " size=" - + content.getLength() + " downloadURL=" - + content.getUrl()); - } - } - else - { - // Create an empty content object - content = new Content(Utils.convertToReference(this.nodeService, this.namespaceService, nodeRef), property, 0, null, null); - - // Debug - if (logger.isDebugEnabled()) - { - logger.debug("No content found: " + nodeRef.getId()); - } - } - - return content; - } - - /** - * @see org.alfresco.repo.webservice.content.ContentServiceSoapPort#write(org.alfresco.repo.webservice.types.Reference, - * byte[]) - */ - public Content write(final Reference node, final String property, final byte[] content, final ContentFormat format) - throws RemoteException, ContentFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public Content execute() throws Throwable - { - // create a NodeRef from the parent reference - NodeRef nodeRef = Utils.convertToNodeRef(node, nodeService, searchService, namespaceService); - - // Get the content writer - ContentWriter writer = contentService.getWriter(nodeRef, QName.createQName(property), true); - - // Set the content format details (if they have been specified) - if (format != null) - { - writer.setEncoding(format.getEncoding()); - writer.setMimetype(format.getMimetype()); - } - - // Write the content - InputStream is = new ByteArrayInputStream(content); - writer.putContent(is); - - // Debug - if (logger.isDebugEnabled()) - { - logger.debug("Updated content for node with id: " + nodeRef.getId()); - } - - // Return the content object - return createContent(nodeRef, property); - } - }; - return Utils.getRetryingTransactionHelper(MessageContext.getCurrentContext()).doInTransaction(callback); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - throw new ContentFault(0, e.getMessage()); - } - } - - /** - * @see org.alfresco.repo.webservice.content.ContentServiceSoapPort#writeWithAttachments(org.alfresco.repo.webservice.types.Reference[], java.lang.String[], org.alfresco.repo.webservice.types.ContentFormat[]) - */ - public Content writeWithAttachment(final Reference node, final String property, final ContentFormat format) - throws RemoteException, ContentFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public Content execute() throws Throwable - { - AttachmentPart[] attachments = getMessageAttachments(); - if (attachments.length != 1) - { - throw new AlfrescoRuntimeException("Expecting only one attachment"); - } - - // create a NodeRef from the parent reference - NodeRef nodeRef = Utils.convertToNodeRef(node, nodeService, searchService, namespaceService); - - // Get the content writer - ContentWriter writer = contentService.getWriter(nodeRef, QName.createQName(property), true); - - // Set the content format details (if they have been specified) - if (format != null) - { - writer.setEncoding(format.getEncoding()); - writer.setMimetype(format.getMimetype()); - } - - // Write the content (just need to get the first in the array since we are only expecting one attachment) - DataHandler dh = attachments[0].getDataHandler(); - InputStream is = dh.getInputStream(); - writer.putContent(is); - - // Debug - if (logger.isDebugEnabled()) - { - logger.debug("Updated content for node with id: " + nodeRef.getId()); - } - - // Return the content object - return createContent(nodeRef, property); - } - }; - return Utils.getRetryingTransactionHelper(MessageContext.getCurrentContext()).doInTransaction(callback); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - throw new ContentFault(0, e.getMessage()); - } - - - } - - @SuppressWarnings("unchecked") - private AttachmentPart[] getMessageAttachments() - throws AxisFault - { - MessageContext msgContext = MessageContext.getCurrentContext(); - Message reqMsg = msgContext.getRequestMessage(); - Attachments messageAttachments = reqMsg.getAttachmentsImpl(); - if (null == messageAttachments) - { - return new AttachmentPart[0]; - } - int attachmentCount = messageAttachments.getAttachmentCount(); - AttachmentPart attachments[] = new AttachmentPart[attachmentCount]; - Iterator it = messageAttachments.getAttachments().iterator(); - int count = 0; - while (it.hasNext()) - { - AttachmentPart part = (AttachmentPart)it.next(); - attachments[count++] = part; - } - - return attachments; - } - - /** - * @see org.alfresco.repo.webservice.content.ContentServiceSoapPort#clear(org.alfresco.repo.webservice.types.Predicate, - * java.lang.String) - */ - public Content[] clear(final Predicate items, final String property) throws RemoteException, ContentFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public Content[] execute() throws Throwable - { - List nodes = Utils.resolvePredicate(items, nodeService, searchService, namespaceService); - Content[] contents = new Content[nodes.size()]; - - // delete each node in the predicate - for (int x = 0; x < nodes.size(); x++) - { - NodeRef nodeRef = nodes.get(x); - - // Clear the content - nodeService.setProperty(nodeRef, QName.createQName(property), null); - - if (logger.isDebugEnabled()) - { - logger.debug("Cleared content node with id: " + nodeRef.getId()); - } - - contents[x] = createContent(nodeRef, property); - } - return contents; - } - }; - return Utils.getRetryingTransactionHelper(MessageContext.getCurrentContext()).doInTransaction(callback); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - throw new ContentFault(0, e.getMessage()); - } - } - - /** - * Transforms content from one node and mimetype to another node and mimetype - * - * @see org.alfresco.repo.webservice.content.ContentServiceSoapPort#transform(org.alfresco.repo.webservice.types.Reference, java.lang.String, org.alfresco.repo.webservice.types.Reference, java.lang.String, org.alfresco.repo.webservice.types.ContentFormat) - */ - public Content transform( - final Reference source, - final String property, - final Reference destinationReference, - final String destinationProperty, - final ContentFormat destinationFormat) - throws RemoteException, ContentFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public Content execute() throws Throwable - { - // Get the nodes and property qname's - NodeRef sourceNodeRef = Utils.convertToNodeRef(source, ContentWebService.this.nodeService, ContentWebService.this.searchService, ContentWebService.this.namespaceService); - NodeRef destinationNodeRef = Utils.convertToNodeRef(destinationReference, ContentWebService.this.nodeService, ContentWebService.this.searchService, ContentWebService.this.namespaceService); - QName sourceQName = QName.createQName(property); - QName destinationQName = QName.createQName(destinationProperty); - - // Get the content reader - ContentReader contentReader = ContentWebService.this.contentService.getReader(sourceNodeRef, sourceQName); - if (contentReader == null) - { - throw new AlfrescoRuntimeException("Source content does not exist. Transform could not take place."); - } - - // Get the content writer - ContentWriter contentWriter = ContentWebService.this.contentService.getWriter(destinationNodeRef, destinationQName, true); - contentWriter.setEncoding(destinationFormat.getEncoding()); - contentWriter.setMimetype(destinationFormat.getMimetype()); - - TransformationOptions options = new TransformationOptions(); - options.setSourceNodeRef(sourceNodeRef); - - // Transform the content - ContentWebService.this.contentService.transform(contentReader, contentWriter, options); - - // Return the content object to the user - return createContent(destinationNodeRef, destinationProperty); - } - }; - return Utils.getRetryingTransactionHelper(MessageContext.getCurrentContext()).doInTransaction(callback); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - throw new ContentFault(0, e.getMessage()); - } - - } -} diff --git a/source/java/org/alfresco/repo/webservice/dictionary/DictionaryWebService.java b/source/java/org/alfresco/repo/webservice/dictionary/DictionaryWebService.java deleted file mode 100644 index 2edf0e723a..0000000000 --- a/source/java/org/alfresco/repo/webservice/dictionary/DictionaryWebService.java +++ /dev/null @@ -1,306 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.dictionary; - -import java.rmi.RemoteException; -import java.util.ArrayList; -import java.util.Collection; -import java.util.HashSet; -import java.util.List; -import java.util.Set; - -import org.alfresco.error.AlfrescoRuntimeException; -import org.alfresco.repo.webservice.AbstractWebService; -import org.alfresco.repo.webservice.Utils; -import org.alfresco.repo.webservice.dictionary.ClassPredicate; -import org.alfresco.repo.webservice.dictionary.DictionaryFault; -import org.alfresco.repo.webservice.dictionary.DictionaryServiceSoapPort; -import org.alfresco.repo.webservice.types.AssociationDefinition; -import org.alfresco.repo.webservice.types.ClassDefinition; -import org.alfresco.repo.webservice.types.PropertyDefinition; -import org.alfresco.service.cmr.dictionary.DictionaryException; -import org.alfresco.service.cmr.dictionary.DictionaryService; -import org.alfresco.service.cmr.dictionary.InvalidClassException; -import org.alfresco.service.namespace.NamespaceService; -import org.alfresco.service.namespace.QName; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Web service implementation of the DictionaryService. The WSDL for this - * service can be accessed from - * http://localhost:8080/alfresco/wsdl/dictionary-service.wsdl - * - * @author davidc - */ -public class DictionaryWebService extends AbstractWebService implements DictionaryServiceSoapPort -{ - private static Log logger = LogFactory.getLog(DictionaryWebService.class); - - // dependencies - private DictionaryService dictionaryService; - private NamespaceService namespaceService; - - - /** - * Sets the instance of the DictionaryService to be used - * - * @param dictionaryService The DictionaryService - */ - public void setDictionaryService(DictionaryService dictionaryService) - { - this.dictionaryService = dictionaryService; - } - - /** - * Sets the instance of the NamespaceService to be used - */ - public void setNamespaceService(NamespaceService namespaceService) - { - this.namespaceService = namespaceService; - } - - - /* - * (non-Javadoc) - * @see org.alfresco.repo.webservice.dictionary.DictionaryServiceSoapPort#getClasses(org.alfresco.repo.webservice.dictionary.ClassPredicate[], org.alfresco.repo.webservice.dictionary.ClassPredicate[]) - */ - public ClassDefinition[] getClasses(ClassPredicate types, ClassPredicate aspects) throws RemoteException, DictionaryFault - { - try - { - Set classDefs = new HashSet(); - classDefs.addAll(getClassDefs(types, false)); - classDefs.addAll(getClassDefs(aspects, true)); - - List wsClassDefs = new ArrayList(classDefs.size()); - for (org.alfresco.service.cmr.dictionary.ClassDefinition classDef : classDefs) - { - wsClassDefs.add(Utils.setupClassDefObject(dictionaryService, classDef)); - } - - return wsClassDefs.toArray(new ClassDefinition[wsClassDefs.size()]); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - throw new DictionaryFault(0, e.getMessage()); - } - } - - - /* - * (non-Javadoc) - * @see org.alfresco.repo.webservice.dictionary.DictionaryServiceSoapPort#getProperties(java.lang.String[]) - */ - public PropertyDefinition[] getProperties(String[] propertyNames) throws RemoteException, DictionaryFault - { - try - { - PropertyDefinition[] propDefs = new PropertyDefinition[propertyNames.length]; - - int i = 0; - for (String propertyName : propertyNames) - { - QName propertyQName = QName.createQName(propertyName, namespaceService); - org.alfresco.service.cmr.dictionary.PropertyDefinition ddPropDef = dictionaryService.getProperty(propertyQName); - if (ddPropDef == null) - { - throw new AlfrescoRuntimeException("Property propertyName does not exist."); - } - propDefs[i++] = Utils.setupPropertyDefObject(dictionaryService, ddPropDef); - } - - return propDefs; - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - throw new DictionaryFault(0, e.getMessage()); - } - } - - - /* - * (non-Javadoc) - * @see org.alfresco.repo.webservice.dictionary.DictionaryServiceSoapPort#getAssociations(java.lang.String[]) - */ - public AssociationDefinition[] getAssociations(String[] associationNames) throws RemoteException, DictionaryFault - { - try - { - AssociationDefinition[] assocDefs = new AssociationDefinition[associationNames.length]; - - int i = 0; - for (String associationName : associationNames) - { - QName associationQName = QName.createQName(associationName, namespaceService); - org.alfresco.service.cmr.dictionary.AssociationDefinition ddAssocDef = dictionaryService.getAssociation(associationQName); - if (ddAssocDef == null) - { - throw new AlfrescoRuntimeException("Property propertyName does not exist."); - } - assocDefs[i++] = Utils.setupAssociationDefObject(dictionaryService, ddAssocDef); - } - - return assocDefs; - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - throw new DictionaryFault(0, e.getMessage()); - } - } - - - /* - * (non-Javadoc) - * @see org.alfresco.repo.webservice.dictionary.DictionaryServiceSoapPort#isSubClass(java.lang.String, java.lang.String) - */ - public boolean isSubClass(String className, String isSubClassOfName) throws RemoteException, DictionaryFault - { - try - { - QName classQName = QName.createQName(className, namespaceService); - QName isSubClassOfQName = QName.createQName(isSubClassOfName, namespaceService); - return dictionaryService.isSubClass(classQName, isSubClassOfQName); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - throw new DictionaryFault(0, e.getMessage()); - } - } - - - /** - * Retrieve class definitions that match the provided class predicate - * - * @param predicate the class predicate to filter by - * @param forAspects futher filtering on type or aspect - * @return class definitions that match - */ - private Set getClassDefs(ClassPredicate predicate, boolean forAspects) - { - Set classDefs = new HashSet(); - if (predicate != null) - { - String[] predicateTypeNames = predicate.getNames(); - if (predicateTypeNames != null) - { - // predicate class names have been provided, therefore retrieve class definitions for those - for (String predicateTypeName : predicateTypeNames) - { - QName classQName = QName.createQName(predicateTypeName, namespaceService); - org.alfresco.service.cmr.dictionary.ClassDefinition classDef = dictionaryService.getClass(classQName); - if (classDef == null || classDef.isAspect() != forAspects) - { - throw new InvalidClassException(classQName); - } - classDefs.add(classDef); - } - - // also retrieve sub-classes and super-classes as specified by predicate - if (predicate.isFollowSuperClass() || predicate.isFollowSubClass()) - { - Set touchedClassDefs = new HashSet(); - for (org.alfresco.service.cmr.dictionary.ClassDefinition classDef : classDefs) - { - if (predicate.isFollowSuperClass()) - { - getSuperClasses(classDef, touchedClassDefs, true); - } - else if (predicate.isFollowSubClass()) - { - getSubClasses(classDef, touchedClassDefs, true); - } - } - classDefs.addAll(touchedClassDefs); - } - } - } - else - { - // return all classes - Collection classQNames = (forAspects) ? dictionaryService.getAllAspects() : dictionaryService.getAllTypes(); - for (QName classQName : classQNames) - { - classDefs.add(dictionaryService.getClass(classQName)); - } - } - - return classDefs; - } - - - /** - * Retrieve the super-class of the specified class - * - * @param classDef the class definition to retrieve super-classes for - * @param superClasses the collection to place super-classes into - * @param recurse true => recurse down the sub-class hierarchy - */ - private void getSuperClasses(org.alfresco.service.cmr.dictionary.ClassDefinition classDef, Set superClasses, boolean recurse) - { - QName superClass = classDef.getParentName(); - if (superClass != null) - { - org.alfresco.service.cmr.dictionary.ClassDefinition superClassDef = dictionaryService.getClass(superClass); - superClasses.add(superClassDef); - if (recurse) - { - getSuperClasses(superClassDef, superClasses, recurse); - } - } - } - - - /** - * Retrieve the sub-class of the specified class - * - * @param classDef the class definition to retrieve sub-classes for - * @param superClasses the collection to place sub-classes into - * @param recurse true => recurse up the super-class hierarchy - */ - private void getSubClasses(org.alfresco.service.cmr.dictionary.ClassDefinition classDef, Set subClasses, boolean recurse) - { - QName superClass = classDef.getName(); - - Collection subClassNames = (classDef.isAspect()) ? dictionaryService.getSubAspects(superClass, recurse) : dictionaryService.getSubTypes(superClass, recurse); - - for (QName subClass : subClassNames) - { - org.alfresco.service.cmr.dictionary.ClassDefinition subClassDef = dictionaryService.getClass(subClass); - subClasses.add(subClassDef); - } - } - -} diff --git a/source/java/org/alfresco/repo/webservice/repository/AssociationQuery.java b/source/java/org/alfresco/repo/webservice/repository/AssociationQuery.java deleted file mode 100644 index a44c7df70d..0000000000 --- a/source/java/org/alfresco/repo/webservice/repository/AssociationQuery.java +++ /dev/null @@ -1,185 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.repository; - -import java.io.Serializable; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -import org.alfresco.repo.security.permissions.AccessDeniedException; -import org.alfresco.repo.webservice.AbstractQuery; -import org.alfresco.repo.webservice.Utils; -import org.alfresco.repo.webservice.types.NamedValue; -import org.alfresco.repo.webservice.types.Reference; -import org.alfresco.repo.webservice.types.ResultSet; -import org.alfresco.repo.webservice.types.ResultSetRow; -import org.alfresco.repo.webservice.types.ResultSetRowNode; -import org.alfresco.service.ServiceRegistry; -import org.alfresco.service.cmr.dictionary.DictionaryService; -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.namespace.NamespaceService; -import org.alfresco.service.namespace.QName; -import org.alfresco.service.namespace.QNamePattern; -import org.alfresco.service.namespace.RegexQNamePattern; - -/** - * A query to retrieve normal node associations. - * - * @author Derek Hulley - * @since 2.1 - */ -public class AssociationQuery extends AbstractQuery -{ - private static final long serialVersionUID = -672399618512462040L; - - private Reference node; - private Association association; - - private final static String SOURCE = "source"; - - /** - * @param node - * The node to query against - * @param association - * The association type to query or null to query all - */ - public AssociationQuery(Reference node, Association association) - { - this.node = node; - this.association = association; - } - - @Override - public String toString() - { - StringBuilder sb = new StringBuilder(128); - sb.append("AssociationQuery") - .append("[ node=").append(node.getUuid()) - .append(", association=").append(association) - .append("]"); - return sb.toString(); - } - - /** - * {@inheritDoc} - */ - public ResultSet execute(ServiceRegistry serviceRegistry) - { - SearchService searchService = serviceRegistry.getSearchService(); - NodeService nodeService = serviceRegistry.getNodeService(); - DictionaryService dictionaryService = serviceRegistry.getDictionaryService(); - NamespaceService namespaceService = serviceRegistry.getNamespaceService(); - - // create the node ref and get the children from the repository - NodeRef nodeRef = Utils.convertToNodeRef(node, nodeService, searchService, namespaceService); - List assocRefs = null; - if (this.association == null) - { - assocRefs = nodeService.getTargetAssocs(nodeRef, RegexQNamePattern.MATCH_ALL); - } - else - { - QNamePattern name = RegexQNamePattern.MATCH_ALL; - String assocType = this.association.getAssociationType(); - if (assocType != null) - { - name = QName.createQName(assocType); - } - if (SOURCE.equals(this.association.getDirection()) == true) - { - assocRefs = nodeService.getSourceAssocs(nodeRef, name); - } - else - { - assocRefs = nodeService.getTargetAssocs(nodeRef, name); - } - } - - ResultSet results = new ResultSet(); - List rows = new ArrayList(assocRefs.size()); - - int index = 0; - NodeRef childNodeRef = null; - for (AssociationRef assocRef : assocRefs) - { - if (SOURCE.equals(this.association.getDirection()) == true) - { - childNodeRef = assocRef.getSourceRef(); - } - else - { - childNodeRef = assocRef.getTargetRef(); - } - - Map props = null; - try - { - props = nodeService.getProperties(childNodeRef); - } - catch (AccessDeniedException e) - { - // user has no access to associated node - } - - if (props != null) - { - ResultSetRowNode rowNode = createResultSetRowNode(childNodeRef, nodeService); - - // create columns for all the properties of the node - // get the data for the row and build up the columns structure - NamedValue[] columns = new NamedValue[props.size()+2]; - int col = 0; - for (QName propName : props.keySet()) - { - columns[col] = Utils.createNamedValue(dictionaryService, propName, props.get(propName)); - col++; - } - - // Now add the system columns containing the association details - columns[col] = new NamedValue(SYS_COL_ASSOC_TYPE, Boolean.FALSE, assocRef.getTypeQName().toString(), null); - - // Add one more column for the node's path - col++; - columns[col] = Utils.createNamedValue( - dictionaryService, - QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, "path"), - nodeService.getPath(childNodeRef).toString()); - - ResultSetRow row = new ResultSetRow(); - row.setRowIndex(index); - row.setNode(rowNode); - row.setColumns(columns); - - // add the row to the overall results - rows.add(row); - index++; - } - } - - // add the rows to the result set and set the total row count - results.setRows(rows.toArray(new ResultSetRow[0])); - results.setTotalRowCount(rows.size()); - - return results; - } -} \ No newline at end of file diff --git a/source/java/org/alfresco/repo/webservice/repository/ChildAssociationQuery.java b/source/java/org/alfresco/repo/webservice/repository/ChildAssociationQuery.java deleted file mode 100644 index eca4b4eaad..0000000000 --- a/source/java/org/alfresco/repo/webservice/repository/ChildAssociationQuery.java +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.repository; - -import java.io.Serializable; -import java.util.List; -import java.util.Map; - -import org.alfresco.repo.webservice.AbstractQuery; -import org.alfresco.repo.webservice.Utils; -import org.alfresco.repo.webservice.types.NamedValue; -import org.alfresco.repo.webservice.types.Reference; -import org.alfresco.repo.webservice.types.ResultSet; -import org.alfresco.repo.webservice.types.ResultSetRow; -import org.alfresco.repo.webservice.types.ResultSetRowNode; -import org.alfresco.service.ServiceRegistry; -import org.alfresco.service.cmr.dictionary.DictionaryService; -import org.alfresco.service.cmr.repository.ChildAssociationRef; -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.namespace.NamespaceService; -import org.alfresco.service.namespace.QName; - -/** - * A query to retrieve all child associations on a node. - * - * @author Derek Hulley - * @since 2.1 - */ -public class ChildAssociationQuery extends AbstractQuery -{ - private static final long serialVersionUID = -4965097420552826582L; - - private Reference node; - - /** - * @param node - * The node to query against - */ - public ChildAssociationQuery(Reference node) - { - this.node = node; - } - - @Override - public String toString() - { - StringBuilder sb = new StringBuilder(128); - sb.append("ChildAssociationQuery") - .append("[ node=").append(node.getUuid()) - .append("]"); - return sb.toString(); - } - - /** - * {@inheritDoc} - */ - public ResultSet execute(ServiceRegistry serviceRegistry) - { - SearchService searchService = serviceRegistry.getSearchService(); - NodeService nodeService = serviceRegistry.getNodeService(); - DictionaryService dictionaryService = serviceRegistry.getDictionaryService(); - NamespaceService namespaceService = serviceRegistry.getNamespaceService(); - - // create the node ref and get the children from the repository - NodeRef nodeRef = Utils.convertToNodeRef(node, nodeService, searchService, namespaceService); - List assocRefs = nodeService.getChildAssocs(nodeRef); - - int totalRows = assocRefs.size(); - - ResultSet results = new ResultSet(); - ResultSetRow[] rows = new ResultSetRow[totalRows]; - - int index = 0; - for (ChildAssociationRef assocRef : assocRefs) - { - NodeRef childNodeRef = assocRef.getChildRef(); - ResultSetRowNode rowNode = createResultSetRowNode(childNodeRef, nodeService); - - // create columns for all the properties of the node - // get the data for the row and build up the columns structure - Map props = nodeService.getProperties(childNodeRef); - NamedValue[] columns = new NamedValue[props.size()+5]; - int col = 0; - for (QName propName : props.keySet()) - { - columns[col] = Utils.createNamedValue(dictionaryService, propName, props.get(propName)); - col++; - } - - // Now add the system columns containing the association details - columns[col] = new NamedValue(SYS_COL_ASSOC_TYPE, Boolean.FALSE, assocRef.getTypeQName().toString(), null); - col++; - columns[col] = new NamedValue(SYS_COL_ASSOC_NAME, Boolean.FALSE, assocRef.getQName().toString(), null); - col++; - columns[col] = new NamedValue(SYS_COL_IS_PRIMARY, Boolean.FALSE, Boolean.toString(assocRef.isPrimary()), null); - col++; - columns[col] = new NamedValue(SYS_COL_NTH_SIBLING, Boolean.FALSE, Integer.toString(assocRef.getNthSibling()), null); - - // Add one more column for the node's path - col++; - columns[col] = Utils.createNamedValue( - dictionaryService, - QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, "path"), - nodeService.getPath(childNodeRef).toString()); - - ResultSetRow row = new ResultSetRow(); - row.setRowIndex(index); - row.setNode(rowNode); - row.setColumns(columns); - - // add the row to the overall results - rows[index] = row; - index++; - } - - // add the rows to the result set and set the total row count - results.setRows(rows); - results.setTotalRowCount(totalRows); - - return results; - } -} \ No newline at end of file diff --git a/source/java/org/alfresco/repo/webservice/repository/ParentAssociationQuery.java b/source/java/org/alfresco/repo/webservice/repository/ParentAssociationQuery.java deleted file mode 100644 index e09e2ba75b..0000000000 --- a/source/java/org/alfresco/repo/webservice/repository/ParentAssociationQuery.java +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.repository; - -import java.io.Serializable; -import java.util.List; -import java.util.Map; - -import org.alfresco.repo.webservice.AbstractQuery; -import org.alfresco.repo.webservice.Utils; -import org.alfresco.repo.webservice.types.NamedValue; -import org.alfresco.repo.webservice.types.Reference; -import org.alfresco.repo.webservice.types.ResultSet; -import org.alfresco.repo.webservice.types.ResultSetRow; -import org.alfresco.repo.webservice.types.ResultSetRowNode; -import org.alfresco.service.ServiceRegistry; -import org.alfresco.service.cmr.dictionary.DictionaryService; -import org.alfresco.service.cmr.repository.ChildAssociationRef; -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.namespace.NamespaceService; -import org.alfresco.service.namespace.QName; - -/** - * A query to retrieve all parent associations on a node. - * - * @author Derek Hulley - * @since 2.1 - */ -public class ParentAssociationQuery extends AbstractQuery -{ - private static final long serialVersionUID = -4157476722256947274L; - - private Reference node; - - /** - * @param node - * The node to query against - */ - public ParentAssociationQuery(Reference node) - { - this.node = node; - } - - @Override - public String toString() - { - StringBuilder sb = new StringBuilder(128); - sb.append("ParentAssociationQuery") - .append("[ node=").append(node.getUuid()) - .append("]"); - return sb.toString(); - } - - /** - * {@inheritDoc} - */ - public ResultSet execute(ServiceRegistry serviceRegistry) - { - SearchService searchService = serviceRegistry.getSearchService(); - NodeService nodeService = serviceRegistry.getNodeService(); - DictionaryService dictionaryService = serviceRegistry.getDictionaryService(); - NamespaceService namespaceService = serviceRegistry.getNamespaceService(); - - // create the node ref and get the parent from the repository - NodeRef nodeRef = Utils.convertToNodeRef(node, nodeService, searchService, namespaceService); - List assocRefs = nodeService.getParentAssocs(nodeRef); - - int totalRows = assocRefs.size(); - - ResultSet results = new ResultSet(); - ResultSetRow[] rows = new ResultSetRow[totalRows]; - - int index = 0; - for (ChildAssociationRef assocRef : assocRefs) - { - NodeRef parentNodeRef = assocRef.getParentRef(); - ResultSetRowNode rowNode = createResultSetRowNode(parentNodeRef, nodeService); - - // create columns for all the properties of the node - // get the data for the row and build up the columns structure - Map props = nodeService.getProperties(parentNodeRef); - NamedValue[] columns = new NamedValue[props.size()+5]; - int col = 0; - for (QName propName : props.keySet()) - { - columns[col] = Utils.createNamedValue(dictionaryService, propName, props.get(propName)); - col++; - } - - // Now add the system columns containing the association details - columns[col] = new NamedValue(SYS_COL_ASSOC_TYPE, Boolean.FALSE, assocRef.getTypeQName().toString(), null); - col++; - columns[col] = new NamedValue(SYS_COL_ASSOC_NAME, Boolean.FALSE, assocRef.getQName().toString(), null); - col++; - columns[col] = new NamedValue(SYS_COL_IS_PRIMARY, Boolean.FALSE, Boolean.toString(assocRef.isPrimary()), null); - col++; - columns[col] = new NamedValue(SYS_COL_NTH_SIBLING, Boolean.FALSE, Integer.toString(assocRef.getNthSibling()), null); - - // Add one more column for the node's path - col++; - columns[col] = Utils.createNamedValue( - dictionaryService, - QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, "path"), - nodeService.getPath(parentNodeRef).toString()); - - ResultSetRow row = new ResultSetRow(); - row.setRowIndex(index); - row.setNode(rowNode); - row.setColumns(columns); - - // add the row to the overall results - rows[index] = row; - index++; - } - - // add the rows to the result set and set the total row count - results.setRows(rows); - results.setTotalRowCount(totalRows); - - return results; - } -} \ No newline at end of file diff --git a/source/java/org/alfresco/repo/webservice/repository/RepositoryQuerySession.java b/source/java/org/alfresco/repo/webservice/repository/RepositoryQuerySession.java deleted file mode 100644 index 2ec76a5901..0000000000 --- a/source/java/org/alfresco/repo/webservice/repository/RepositoryQuerySession.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.repository; - -import org.alfresco.repo.webservice.AbstractQuerySession; -import org.alfresco.repo.webservice.ServerQuery; -import org.alfresco.repo.webservice.types.ResultSet; -import org.alfresco.repo.webservice.types.ResultSetRow; -import org.alfresco.service.ServiceRegistry; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * A query session for use with {@linkplain RepositoryWebService node-related queries} against the - * repository. - * - * @author Derek Hulley - * @since 2.1 - */ -public class RepositoryQuerySession extends AbstractQuerySession -{ - private static final long serialVersionUID = -3621997639261137000L; - - private static Log logger = LogFactory.getLog(RepositoryQuerySession.class); - - public RepositoryQuerySession(long maxResults, long batchSize, ServerQuery query) - { - super(maxResults, batchSize, query); - } - - @Override - protected ResultSetRow[] makeArray(int size) - { - return new ResultSetRow[size]; - } - - /* (non-Javadoc) - * @see org.alfresco.repo.webservice.QuerySession#getNextResults(org.alfresco.service.ServiceRegistry) - */ - public ResultSet getNextResults(ServiceRegistry serviceRegistry) - { - ResultSet queryResults = getQueryResults(serviceRegistry); - ResultSetRow[] allRows = queryResults.getRows(); - ResultSetRow[] batchedRows = getNextResults(allRows); - // Build the resultset for the batched results - ResultSet batchedResults = new ResultSet(); - batchedResults.setMetaData(queryResults.getMetaData()); - batchedResults.setRows(batchedRows); - batchedResults.setTotalRowCount(allRows.length); - logger.debug("total row count :"+allRows.length); - // Done - return batchedResults; - } -} diff --git a/source/java/org/alfresco/repo/webservice/repository/RepositoryWebService.java b/source/java/org/alfresco/repo/webservice/repository/RepositoryWebService.java deleted file mode 100644 index 8aa57a34fd..0000000000 --- a/source/java/org/alfresco/repo/webservice/repository/RepositoryWebService.java +++ /dev/null @@ -1,479 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.repository; - -import java.io.Serializable; -import java.rmi.RemoteException; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; -import java.util.Set; - -import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback; -import org.alfresco.repo.webservice.AbstractWebService; -import org.alfresco.repo.webservice.CMLUtil; -import org.alfresco.repo.webservice.ServerQuery; -import org.alfresco.repo.webservice.Utils; -import org.alfresco.repo.webservice.types.CML; -import org.alfresco.repo.webservice.types.ClassDefinition; -import org.alfresco.repo.webservice.types.NamedValue; -import org.alfresco.repo.webservice.types.Node; -import org.alfresco.repo.webservice.types.NodeDefinition; -import org.alfresco.repo.webservice.types.Predicate; -import org.alfresco.repo.webservice.types.Query; -import org.alfresco.repo.webservice.types.Reference; -import org.alfresco.repo.webservice.types.ResultSet; -import org.alfresco.repo.webservice.types.Store; -import org.alfresco.service.cmr.dictionary.AspectDefinition; -import org.alfresco.service.cmr.dictionary.TypeDefinition; -import org.alfresco.service.cmr.repository.NodeRef; -import org.alfresco.service.cmr.repository.StoreRef; -import org.alfresco.service.namespace.QName; -import org.apache.axis.MessageContext; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Web service implementation of the RepositoryService. The WSDL for this - * service can be accessed from - * http://localhost:8080/alfresco/wsdl/repository-service.wsdl - * - * @author gavinc - */ -public class RepositoryWebService extends AbstractWebService implements - RepositoryServiceSoapPort -{ - private static Log logger = LogFactory.getLog(RepositoryWebService.class); - - private CMLUtil cmlUtil; - - /** - * Sets the CML Util - * - * @param cmlUtil CML util object - */ - public void setCmlUtil(CMLUtil cmlUtil) - { - this.cmlUtil = cmlUtil; - } - - /** - * {@inheritDoc} - */ - public Store createStore(String scheme, String address) throws RemoteException, RepositoryFault - { - StoreRef storeRef = this.nodeService.createStore(scheme, address); - return Utils.convertToStore(storeRef); - } - - /** - * {@inheritDoc} - */ - public Store[] getStores() throws RemoteException, RepositoryFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public Store[] execute() throws Throwable - { - List stores = nodeService.getStores(); - Store[] returnStores = new Store[stores.size()]; - for (int x = 0; x < stores.size(); x++) - { - StoreRef storeRef = stores.get(x); - - if (logger.isDebugEnabled() == true) - { - logger.debug("Store protocol :" + storeRef.getProtocol()); - } - - Store store = Utils.convertToStore(storeRef); - returnStores[x] = store; - } - - return returnStores; - } - }; - return Utils.getRetryingTransactionHelper(MessageContext.getCurrentContext()).doInTransaction(callback); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - throw new RepositoryFault(0, e.toString()); - } - } - - /** - * Executes the given query, caching the results as required. - */ - private QueryResult executeQuery(final MessageContext msgContext, final ServerQuery query) throws RepositoryFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public QueryResult execute() throws Throwable - { - // Construct a session to handle the iteration - long batchSize = Utils.getBatchSize(msgContext); - RepositoryQuerySession session = new RepositoryQuerySession(Long.MAX_VALUE, batchSize, query); - String sessionId = session.getId(); - - // Get the first batch of results - ResultSet batchedResults = session.getNextResults(serviceRegistry); - // Construct the result - // TODO: http://issues.alfresco.com/browse/AR-1689 - boolean haveMoreResults = session.haveMoreResults(); - QueryResult queryResult = new QueryResult( - haveMoreResults ? sessionId : null, - batchedResults); - - // Cache the session - if (session.haveMoreResults()) - { - querySessionCache.put(sessionId, session); - } - - // Done - return queryResult; - } - }; - return Utils.getRetryingTransactionHelper(MessageContext.getCurrentContext()).doInTransaction(callback, true); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - e.printStackTrace(); - throw new RepositoryFault(0, e.toString()); - } - } - - /** - * {@inheritDoc} - */ - public QueryResult query(final Store store, final Query query, final boolean includeMetaData) throws RemoteException, RepositoryFault - { - String language = query.getLanguage(); - if (language.equals(Utils.QUERY_LANG_LUCENE) == false) - { - throw new RepositoryFault(110, "Only '" - + Utils.QUERY_LANG_LUCENE - + "' queries are currently supported!"); - } - - final MessageContext msgContext = MessageContext.getCurrentContext(); - SearchQuery serverQuery = new SearchQuery(store, query); - QueryResult queryResult = executeQuery(msgContext, serverQuery); - // Done - return queryResult; - } - - /** - * {@inheritDoc} - */ - public QueryResult queryChildren(final Reference node) throws RemoteException, RepositoryFault - { - final MessageContext msgContext = MessageContext.getCurrentContext(); - ChildAssociationQuery query = new ChildAssociationQuery(node); - QueryResult queryResult = executeQuery(msgContext, query); - // Done - return queryResult; - } - - /** - * {@inheritDoc} - */ - public QueryResult queryParents(final Reference node) throws RemoteException, RepositoryFault - { - final MessageContext msgContext = MessageContext.getCurrentContext(); - ParentAssociationQuery query = new ParentAssociationQuery(node); - QueryResult queryResult = executeQuery(msgContext, query); - // Done - return queryResult; - } - - /** - * {@inheritDoc} - */ - public QueryResult queryAssociated(final Reference node, final Association association) throws RemoteException, RepositoryFault - { - final MessageContext msgContext = MessageContext.getCurrentContext(); - AssociationQuery query = new AssociationQuery(node, association); - QueryResult queryResult = executeQuery(msgContext, query); - // Done - return queryResult; - } - - /** - * {@inheritDoc} - */ - public QueryResult fetchMore(final String querySessionId) throws RemoteException, RepositoryFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public QueryResult execute() throws Throwable - { - RepositoryQuerySession session = null; - try - { - // try and get the QuerySession with the given id from the cache - session = (RepositoryQuerySession) querySessionCache.get(querySessionId); - } - catch (ClassCastException e) - { - if (logger.isDebugEnabled()) - { - logger.debug("Query session was not generated by the RepositoryWebService: " + querySessionId); - } - throw new RepositoryFault( - 4, - "querySession with id '" + querySessionId + "' is invalid"); - } - - if (session == null) - { - if (logger.isDebugEnabled()) - { - logger.debug("Invalid querySession id requested: " + querySessionId); - } - throw new RepositoryFault( - 4, - "querySession with id '" + querySessionId + "' is invalid"); - } - - ResultSet moreResults = session.getNextResults(serviceRegistry); - - // Drop the cache results if there are no more results expected - if (!session.haveMoreResults()) - { - querySessionCache.remove(querySessionId); - } - else - { - // We still need to update the cache with the latest session to - // ensure that the instance gets replicated to other listening caches - querySessionCache.put(querySessionId, session); - } - - // get the next batch of results - // TODO: http://issues.alfresco.com/browse/AR-1689 - boolean haveMoreResults = session.haveMoreResults(); - QueryResult queryResult = new QueryResult( - haveMoreResults ? querySessionId : null, - moreResults); - - // Done - return queryResult; - } - }; - return Utils.getRetryingTransactionHelper(MessageContext.getCurrentContext()).doInTransaction(callback, true); - } - catch (Throwable e) - { - if (e instanceof RepositoryFault) - { - throw (RepositoryFault) e; - } - else - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - throw new RepositoryFault(0, e.toString()); - } - } - } - - /** - * {@inheritDoc} - */ - public UpdateResult[] update(final CML statements) throws RemoteException, RepositoryFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public UpdateResult[] execute() throws Throwable - { - return cmlUtil.executeCML(statements); - } - }; - return Utils.getRetryingTransactionHelper(MessageContext.getCurrentContext()).doInTransaction(callback); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - throw new RepositoryFault(0, e.toString()); - } - } - - /** - * {@inheritDoc} - */ - public NodeDefinition[] describe(final Predicate items) throws RemoteException, RepositoryFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public NodeDefinition[] execute() throws Throwable - { - List nodes = Utils.resolvePredicate(items, nodeService, searchService, namespaceService); - NodeDefinition[] nodeDefs = new NodeDefinition[nodes.size()]; - - for (int x = 0; x < nodes.size(); x++) - { - nodeDefs[x] = setupNodeDefObject(nodes.get(x)); - } - - return nodeDefs; - } - }; - return Utils.getRetryingTransactionHelper(MessageContext.getCurrentContext()).doInTransaction(callback); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - throw new RepositoryFault(0, e.toString()); - } - } - - /** - * Creates a NodeDefinition web service type object for the given - * repository NodeRef instance - * - * @param nodeRef The NodeRef to generate the NodeDefinition for - * @return The NodeDefinition representation of nodeRef - */ - private NodeDefinition setupNodeDefObject(NodeRef nodeRef) - { - if (logger.isDebugEnabled()) - logger.debug("Building NodeDefinition for node: " + nodeRef); - - TypeDefinition ddTypeDef = this.dictionaryService - .getType(this.nodeService.getType(nodeRef)); - - // create the web service ClassDefinition type from the data dictionary TypeDefinition - ClassDefinition typeDef = Utils.setupClassDefObject(this.dictionaryService, ddTypeDef); - - Set aspectsQNames = this.nodeService.getAspects(nodeRef); - ClassDefinition[] aspectDefs = new ClassDefinition[aspectsQNames.size()]; - int pos = 0; - for (QName aspectQName : aspectsQNames) - { - AspectDefinition aspectDef = this.dictionaryService.getAspect(aspectQName); - aspectDefs[pos] = Utils.setupClassDefObject(this.dictionaryService, aspectDef); - pos++; - } - - return new NodeDefinition(typeDef, aspectDefs); - } - - /** - * Gets the nodes associatiated with the predicate provided. Usefull when the store and ids of the required - * nodes are known. - * - * {@inheritDoc} - */ - public Node[] get(final Predicate where) throws RemoteException, RepositoryFault - { - try - { - RetryingTransactionCallback callback = new RetryingTransactionCallback() - { - public Node[] execute() throws Throwable - { - // Resolve the predicate to a list of node references - List nodeRefs = Utils.resolvePredicate(where, nodeService, searchService, namespaceService); - List nodeList = new ArrayList(); - for (NodeRef nodeRef : nodeRefs) - { - // search can return nodes that no longer exist, so we need to ignore these - if(nodeService.exists(nodeRef) == false) - { - if(logger.isDebugEnabled()) - { - logger.warn("Search returned node that doesn't exist: " + nodeRef); - } - } - - // Get the nodes reference - Reference reference = Utils.convertToReference(nodeService, namespaceService, nodeRef); - - // Get the nodes type - String type = nodeService.getType(nodeRef).toString(); - - // Get the nodes aspects - Set aspectQNames = nodeService.getAspects(nodeRef); - String[] aspects = new String[aspectQNames.size()]; - int aspectIndex = 0; - for (QName aspectQName : aspectQNames) - { - aspects[aspectIndex] = aspectQName.toString(); - aspectIndex++; - } - - // Get the nodes properties - Map propertyMap = nodeService.getProperties(nodeRef); - NamedValue[] properties = new NamedValue[propertyMap.size()]; - int propertyIndex = 0; - for (Map.Entry entry : propertyMap.entrySet()) - { - properties[propertyIndex] = Utils.createNamedValue(dictionaryService, entry.getKey(), entry.getValue()); - propertyIndex++; - } - - // Create the node and add to the array - Node node = new Node(reference, type, aspects, properties); - nodeList.add(node); - } - - Node[] nodes = nodeList.toArray(new Node[nodeList.size()]); - - return nodes; - } - }; - return Utils.getRetryingTransactionHelper(MessageContext.getCurrentContext()).doInTransaction(callback); - } - catch (Throwable e) - { - if (logger.isDebugEnabled()) - { - logger.error("Unexpected error occurred", e); - } - throw new RepositoryFault(0, e.toString()); - } - } -} diff --git a/source/java/org/alfresco/repo/webservice/repository/SearchQuery.java b/source/java/org/alfresco/repo/webservice/repository/SearchQuery.java deleted file mode 100644 index fc2173f6e3..0000000000 --- a/source/java/org/alfresco/repo/webservice/repository/SearchQuery.java +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice.repository; - -import java.io.Serializable; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -import org.alfresco.repo.webservice.AbstractQuery; -import org.alfresco.repo.webservice.Utils; -import org.alfresco.repo.webservice.types.NamedValue; -import org.alfresco.repo.webservice.types.Query; -import org.alfresco.repo.webservice.types.ResultSet; -import org.alfresco.repo.webservice.types.ResultSetRow; -import org.alfresco.repo.webservice.types.ResultSetRowNode; -import org.alfresco.repo.webservice.types.Store; -import org.alfresco.service.ServiceRegistry; -import org.alfresco.service.cmr.dictionary.DictionaryService; -import org.alfresco.service.cmr.repository.NodeRef; -import org.alfresco.service.cmr.repository.NodeService; -import org.alfresco.service.cmr.repository.Path; -import org.alfresco.service.cmr.repository.StoreRef; -import org.alfresco.service.cmr.search.SearchService; -import org.alfresco.service.namespace.NamespaceService; -import org.alfresco.service.namespace.QName; - -/** - * A query to using full search. - * - * @author Derek Hulley - * @since 2.1 - */ -public class SearchQuery extends AbstractQuery -{ - private static final long serialVersionUID = 5429510102265380433L; - - private Store store; - private Query query; - - /** - * @param node The node to query against - * @param association The association type to query or null to query all - */ - public SearchQuery(Store store, Query query) - { - this.store = store; - this.query = query; - } - - @Override - public String toString() - { - StringBuilder sb = new StringBuilder(128); - sb.append("SearchQuery") - .append("[ store=").append(this.store.getScheme()).append(":").append(this.store.getAddress()) - .append(" language=").append(this.query.getLanguage()) - .append(" statement=").append(this.query.getStatement()) - .append("]"); - return sb.toString(); - } - - /** - * {@inheritDoc} - */ - public ResultSet execute(ServiceRegistry serviceRegistry) - { - SearchService searchService = serviceRegistry.getSearchService(); - NodeService nodeService = serviceRegistry.getNodeService(); - DictionaryService dictionaryService = serviceRegistry.getDictionaryService(); - - // handle the special search string of * meaning, get everything - String statement = query.getStatement(); - if (statement.equals("*")) - { - statement = "ISNODE:*"; - } - org.alfresco.service.cmr.search.ResultSet searchResults = null; - try - { - StoreRef storeRef = Utils.convertToStoreRef(store); - searchResults = searchService.query(storeRef, query.getLanguage(), statement); - return convert( - nodeService, - dictionaryService, - searchResults); - } - finally - { - if (searchResults != null) - { - try - { - searchResults.close(); - } - catch (Throwable e) - { - } - } - } - } - - private ResultSet convert( - NodeService nodeService, - DictionaryService dictionaryService, - org.alfresco.service.cmr.search.ResultSet searchResults) - { - ResultSet results = new ResultSet(); - List rowsList = new ArrayList(); - - int index = 0; - for (org.alfresco.service.cmr.search.ResultSetRow searchRow : searchResults) - { - NodeRef nodeRef = searchRow.getNodeRef(); - // Search can return nodes that no longer exist, so we need to ignore these - if (!nodeService.exists(nodeRef)) - { - continue; - } - ResultSetRowNode rowNode = createResultSetRowNode(nodeRef, nodeService); - - // get the data for the row and build up the columns structure - Map values = searchRow.getValues(); - NamedValue[] columns = new NamedValue[values.size() + 1]; - int col = 1; - for (String attributeName : values.keySet()) - { - columns[col] = Utils.createNamedValue(dictionaryService, QName.createQName(attributeName), values.get(attributeName)); - col++; - } - - // add one extra column for the node's path - columns[0] = Utils.createNamedValue(dictionaryService, QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, "path"), nodeService.getPath(nodeRef).toString()); - - ResultSetRow row = new org.alfresco.repo.webservice.types.ResultSetRow(); - row.setColumns(columns); - row.setScore(searchRow.getScore()); - row.setRowIndex(index); - row.setNode(rowNode); - - // add the row to the overall results list - rowsList.add(row); - index++; - } - - // Convert list to array - int totalRows = rowsList.size(); - ResultSetRow[] rows = rowsList.toArray(new org.alfresco.repo.webservice.types.ResultSetRow[totalRows]); - - // add the rows to the result set and set the total row count - results.setRows(rows); - results.setTotalRowCount(totalRows); - - return results; - } -} \ No newline at end of file diff --git a/source/java/org/alfresco/repo/ws/AuthenticationClearInterceptor.java b/source/java/org/alfresco/repo/ws/AuthenticationClearInterceptor.java deleted file mode 100644 index 509cd8b9f2..0000000000 --- a/source/java/org/alfresco/repo/ws/AuthenticationClearInterceptor.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.ws; - -import org.alfresco.repo.security.authentication.AuthenticationUtil; -import org.apache.cxf.binding.soap.SoapMessage; -import org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor; -import org.apache.cxf.interceptor.Fault; -import org.apache.cxf.phase.Phase; - -/** - * @author Dmitry Velichkevich - */ -public class AuthenticationClearInterceptor extends AbstractSoapInterceptor -{ - public AuthenticationClearInterceptor() - { - super(Phase.PRE_INVOKE); - } - - public void handleMessage(SoapMessage message) throws Fault - { - AuthenticationUtil.clearCurrentSecurityContext(); - } - - @Override - public void handleFault(SoapMessage message) - { - AuthenticationUtil.clearCurrentSecurityContext(); - super.handleFault(message); - } -} diff --git a/source/java/org/alfresco/repo/ws/AuthenticationInterceptor.java b/source/java/org/alfresco/repo/ws/AuthenticationInterceptor.java deleted file mode 100644 index e5ff588f2b..0000000000 --- a/source/java/org/alfresco/repo/ws/AuthenticationInterceptor.java +++ /dev/null @@ -1,92 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.ws; - -import java.util.List; - -import org.alfresco.repo.security.authentication.Authorization; -import org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback; -import org.alfresco.service.cmr.security.AuthenticationService; -import org.alfresco.service.transaction.TransactionService; -import org.apache.cxf.binding.soap.SoapMessage; -import org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor; -import org.apache.cxf.interceptor.Fault; -import org.apache.cxf.phase.Phase; -import org.apache.ws.security.WSSecurityEngineResult; -import org.apache.ws.security.WSUsernameTokenPrincipal; -import org.apache.ws.security.handler.WSHandlerConstants; -import org.apache.ws.security.handler.WSHandlerResult; - -/** - * @author Dmitry Velichkevich - */ -public class AuthenticationInterceptor extends AbstractSoapInterceptor -{ - private AuthenticationService authenticationService; - private TransactionService transactionService; - - public AuthenticationInterceptor() - { - super(Phase.PRE_INVOKE); - } - - public void handleMessage(SoapMessage message) throws Fault - { - @SuppressWarnings("unchecked") - WSHandlerResult handlerResult = ((List) message.getContextualProperty(WSHandlerConstants.RECV_RESULTS)).get(0); - WSSecurityEngineResult secRes = (WSSecurityEngineResult) handlerResult.getResults().get(0); - final WSUsernameTokenPrincipal principal = (WSUsernameTokenPrincipal) secRes.get(WSSecurityEngineResult.TAG_PRINCIPAL); - - // Authenticate - transactionService.getRetryingTransactionHelper().doInTransaction(new RetryingTransactionCallback() - { - public Object execute() throws Throwable - { - try - { - Authorization auth = new Authorization(principal.getName(), principal.getPassword()); - if (auth.isTicket()) - { - authenticationService.validate(auth.getTicket()); - } - else - { - authenticationService.authenticate(auth.getUserName(), auth.getPassword().toCharArray()); - } - } - catch (Throwable e) - { - throw new SecurityException("Invalid user name or password specified"); - } - - return null; - } - }); - } - - public void setAuthenticationService(AuthenticationService authenticationService) - { - this.authenticationService = authenticationService; - } - - public void setTransactionService(TransactionService transactionService) - { - this.transactionService = transactionService; - } -} diff --git a/source/java/org/alfresco/repo/ws/AuthenticationTokenCallbackHandler.java b/source/java/org/alfresco/repo/ws/AuthenticationTokenCallbackHandler.java deleted file mode 100644 index 112e3a101c..0000000000 --- a/source/java/org/alfresco/repo/ws/AuthenticationTokenCallbackHandler.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.ws; - -import java.io.IOException; - -import javax.security.auth.callback.Callback; -import javax.security.auth.callback.CallbackHandler; -import javax.security.auth.callback.UnsupportedCallbackException; - -import org.apache.ws.security.WSConstants; -import org.apache.ws.security.WSPasswordCallback; - -/** - * @author Dmitry Velichkevich - */ -public class AuthenticationTokenCallbackHandler implements CallbackHandler -{ - public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException - { - WSPasswordCallback wssPasswordCallback = (WSPasswordCallback) callbacks[0]; - - if ((WSPasswordCallback.USERNAME_TOKEN_UNKNOWN != wssPasswordCallback.getUsage()) && (WSPasswordCallback.USERNAME_TOKEN != wssPasswordCallback.getUsage())) - { - throw new SecurityException("Only 'UsernameToken' usage is supported."); - } - - if (!WSConstants.PASSWORD_TEXT.equals(wssPasswordCallback.getPasswordType())) - { - throw new SecurityException("Password type '" + wssPasswordCallback.getPasswordType() + "' unsupported. Only '" + WSConstants.PW_TEXT + "' is supported."); - } - } -} diff --git a/source/java/org/alfresco/repo/ws/ContentReaderDataSource.java b/source/java/org/alfresco/repo/ws/ContentReaderDataSource.java deleted file mode 100644 index 06e7f69a16..0000000000 --- a/source/java/org/alfresco/repo/ws/ContentReaderDataSource.java +++ /dev/null @@ -1,190 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.ws; - -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; -import java.math.BigInteger; - -import javax.activation.DataSource; - -import org.alfresco.service.cmr.repository.ContentReader; - -/** - * DataSource facade for an Alfresco Content Reader - * - * @author Dmitry Lazurkin - */ -public class ContentReaderDataSource implements DataSource -{ - 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, BigInteger offset, BigInteger length, long contentSize) - { - createContentReaderDataSource(contentReader.getContentInputStream(), contentReader.getMimetype(), name, offset, length, contentSize); - } - - public ContentReaderDataSource(InputStream contentInputStream, String mimeType, String name, BigInteger offset, BigInteger length) - { - try - { - createContentReaderDataSource(contentInputStream, mimeType, name, offset, length, contentInputStream.available()); - } - catch (IOException e) - { - throw new RuntimeException(e); - } - } - - public void createContentReaderDataSource(InputStream contentInputStream, String mimeType, String name, BigInteger offset, BigInteger length, long contentSize) - { - this.name = name; - this.mimetype = mimeType; - 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(contentInputStream); - } - catch (IOException e) - { - throw new RuntimeException(e); - } - } - - public String getContentType() - { - return mimetype; - } - - public InputStream getInputStream() throws IOException - { - return inputStream; - } - - public String getName() - { - return name; - } - - 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/ws/PasswordTypeInterceptor.java b/source/java/org/alfresco/repo/ws/PasswordTypeInterceptor.java deleted file mode 100644 index d30fcd439a..0000000000 --- a/source/java/org/alfresco/repo/ws/PasswordTypeInterceptor.java +++ /dev/null @@ -1,62 +0,0 @@ -package org.alfresco.repo.ws; - -import java.util.Arrays; - -import javax.xml.namespace.QName; -import javax.xml.soap.SOAPMessage; - -import org.apache.cxf.binding.soap.SoapMessage; -import org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor; -import org.apache.cxf.interceptor.Fault; -import org.apache.cxf.phase.Phase; -import org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor; -import org.apache.ws.security.WSConstants; -import org.w3c.dom.Attr; -import org.w3c.dom.Document; -import org.w3c.dom.NamedNodeMap; -import org.w3c.dom.Node; -import org.w3c.dom.NodeList; - - -/** - * Interceptor that by default adds PasswordText type to Password element - * if it doesn't have Type attribute. It should be done before WSSecurityEngine - * processes Security header in scope of WSS4JInInterceptor execution. - * - * @author Viachaslau Tsikhanovich - * - */ -public class PasswordTypeInterceptor extends AbstractSoapInterceptor -{ - - private QName securityHeader = new QName(WSConstants.WSSE_NS, WSConstants.WSSE_LN); - - public PasswordTypeInterceptor() - { - super(Phase.PRE_PROTOCOL); - addBefore(Arrays.asList(WSS4JInInterceptor.class.getName())); - } - - @Override - public void handleMessage(SoapMessage message) throws Fault - { - if (message.hasHeader(securityHeader)) - { - SOAPMessage saaj = message.getContent(SOAPMessage.class); - Document document = saaj.getSOAPPart(); - NodeList nodes = document.getElementsByTagNameNS("*", WSConstants.PASSWORD_LN); - if (nodes.getLength() > 0) - { - Node passwordNode = nodes.item(0); - NamedNodeMap atts = passwordNode.getAttributes(); - if (null == atts.getNamedItem(WSConstants.PASSWORD_TYPE_ATTR)) - { - Attr typeAttribute = document.createAttribute(WSConstants.PASSWORD_TYPE_ATTR); - typeAttribute.setValue(WSConstants.PASSWORD_TEXT); - atts.setNamedItem(typeAttribute); - } - } - } - } - -} diff --git a/source/sample/JavaCmisTest/.classpath b/source/sample/JavaCmisTest/.classpath deleted file mode 100644 index 90c1c47706..0000000000 --- a/source/sample/JavaCmisTest/.classpath +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/source/sample/JavaCmisTest/.project b/source/sample/JavaCmisTest/.project deleted file mode 100644 index 45174879fb..0000000000 --- a/source/sample/JavaCmisTest/.project +++ /dev/null @@ -1,19 +0,0 @@ - - - Sample CLient - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jem.workbench.JavaEMFNature - org.eclipse.jdt.core.javanature - org.eclipse.jem.beaninfo.BeanInfoNature - - diff --git a/source/sample/JavaCmisTest/build.xml b/source/sample/JavaCmisTest/build.xml deleted file mode 100644 index 8e73d0cf6e..0000000000 --- a/source/sample/JavaCmisTest/build.xml +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/source/sample/JavaCmisTest/cmis-test.bat b/source/sample/JavaCmisTest/cmis-test.bat deleted file mode 100644 index 547a3c8db7..0000000000 --- a/source/sample/JavaCmisTest/cmis-test.bat +++ /dev/null @@ -1,6 +0,0 @@ -@echo off - -set CLASSPATH=cmis-test-client.jar -for %%i in (./lib/*.jar) do call set CLASSPATH=./lib/%%~i;%%CLASSPATH%% - -java org.alfresco.cmis.ws.example.CmisSampleClient %1 %2 %3 diff --git a/source/sample/JavaCmisTest/cmis-test.sh b/source/sample/JavaCmisTest/cmis-test.sh deleted file mode 100644 index 2617c419a3..0000000000 --- a/source/sample/JavaCmisTest/cmis-test.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -export CLASSPATH=./cmis-test-client.jar -for jar in ./lib/*.jar; do export CLASSPATH=$CLASSPATH:$jar; done - -java org.alfresco.cmis.ws.example.CmisSampleClient $1 $2 $3 diff --git a/source/sample/JavaCmisTest/lib/FastInfoset-1.2.2.jar b/source/sample/JavaCmisTest/lib/FastInfoset-1.2.2.jar deleted file mode 100644 index 8f5e3fbf37..0000000000 Binary files a/source/sample/JavaCmisTest/lib/FastInfoset-1.2.2.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/XmlSchema-1.4.2.jar b/source/sample/JavaCmisTest/lib/XmlSchema-1.4.2.jar deleted file mode 100644 index 8798353f80..0000000000 Binary files a/source/sample/JavaCmisTest/lib/XmlSchema-1.4.2.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/cmis-types.jar b/source/sample/JavaCmisTest/lib/cmis-types.jar deleted file mode 100644 index e72980514a..0000000000 Binary files a/source/sample/JavaCmisTest/lib/cmis-types.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/commons-logging-1.1.1.jar b/source/sample/JavaCmisTest/lib/commons-logging-1.1.1.jar deleted file mode 100644 index 1deef144cb..0000000000 Binary files a/source/sample/JavaCmisTest/lib/commons-logging-1.1.1.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/cxf-2.1.2.jar b/source/sample/JavaCmisTest/lib/cxf-2.1.2.jar deleted file mode 100644 index a4403ea0bd..0000000000 Binary files a/source/sample/JavaCmisTest/lib/cxf-2.1.2.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/geronimo-annotation_1.0_spec-1.1.1.jar b/source/sample/JavaCmisTest/lib/geronimo-annotation_1.0_spec-1.1.1.jar deleted file mode 100644 index 2cdc01be7a..0000000000 Binary files a/source/sample/JavaCmisTest/lib/geronimo-annotation_1.0_spec-1.1.1.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/geronimo-javamail_1.4_spec-1.3.jar b/source/sample/JavaCmisTest/lib/geronimo-javamail_1.4_spec-1.3.jar deleted file mode 100644 index fc5bef477a..0000000000 Binary files a/source/sample/JavaCmisTest/lib/geronimo-javamail_1.4_spec-1.3.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/geronimo-jaxws_2.1_spec-1.0.jar b/source/sample/JavaCmisTest/lib/geronimo-jaxws_2.1_spec-1.0.jar deleted file mode 100644 index a7d6b956fd..0000000000 Binary files a/source/sample/JavaCmisTest/lib/geronimo-jaxws_2.1_spec-1.0.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/geronimo-servlet_2.5_spec-1.2.jar b/source/sample/JavaCmisTest/lib/geronimo-servlet_2.5_spec-1.2.jar deleted file mode 100644 index 00a2010036..0000000000 Binary files a/source/sample/JavaCmisTest/lib/geronimo-servlet_2.5_spec-1.2.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/geronimo-stax-api_1.0_spec-1.0.1.jar b/source/sample/JavaCmisTest/lib/geronimo-stax-api_1.0_spec-1.0.1.jar deleted file mode 100644 index ab1ee3ba60..0000000000 Binary files a/source/sample/JavaCmisTest/lib/geronimo-stax-api_1.0_spec-1.0.1.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/geronimo-ws-metadata_2.0_spec-1.1.2.jar b/source/sample/JavaCmisTest/lib/geronimo-ws-metadata_2.0_spec-1.1.2.jar deleted file mode 100644 index c8a795a103..0000000000 Binary files a/source/sample/JavaCmisTest/lib/geronimo-ws-metadata_2.0_spec-1.1.2.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/jaxb-api-2.1.jar b/source/sample/JavaCmisTest/lib/jaxb-api-2.1.jar deleted file mode 100644 index 5752f19462..0000000000 Binary files a/source/sample/JavaCmisTest/lib/jaxb-api-2.1.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/jaxb-impl-2.1.7.jar b/source/sample/JavaCmisTest/lib/jaxb-impl-2.1.7.jar deleted file mode 100644 index 034c158670..0000000000 Binary files a/source/sample/JavaCmisTest/lib/jaxb-impl-2.1.7.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/jaxb-xjc-2.1.7.jar b/source/sample/JavaCmisTest/lib/jaxb-xjc-2.1.7.jar deleted file mode 100644 index ba2ec468ed..0000000000 Binary files a/source/sample/JavaCmisTest/lib/jaxb-xjc-2.1.7.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/jetty-6.1.9.jar b/source/sample/JavaCmisTest/lib/jetty-6.1.9.jar deleted file mode 100644 index 59c11213f6..0000000000 Binary files a/source/sample/JavaCmisTest/lib/jetty-6.1.9.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/jetty-util-6.1.9.jar b/source/sample/JavaCmisTest/lib/jetty-util-6.1.9.jar deleted file mode 100644 index aeca351143..0000000000 Binary files a/source/sample/JavaCmisTest/lib/jetty-util-6.1.9.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/neethi-2.0.4.jar b/source/sample/JavaCmisTest/lib/neethi-2.0.4.jar deleted file mode 100644 index 87da3f0740..0000000000 Binary files a/source/sample/JavaCmisTest/lib/neethi-2.0.4.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/opensaml-1.0.1.jar b/source/sample/JavaCmisTest/lib/opensaml-1.0.1.jar deleted file mode 100644 index 4402187067..0000000000 Binary files a/source/sample/JavaCmisTest/lib/opensaml-1.0.1.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/saaj-api-1.3.jar b/source/sample/JavaCmisTest/lib/saaj-api-1.3.jar deleted file mode 100644 index a75a492616..0000000000 Binary files a/source/sample/JavaCmisTest/lib/saaj-api-1.3.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/saaj-impl-1.3.jar b/source/sample/JavaCmisTest/lib/saaj-impl-1.3.jar deleted file mode 100644 index e1fb59bb0a..0000000000 Binary files a/source/sample/JavaCmisTest/lib/saaj-impl-1.3.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/spring-beans-2.0.8.jar b/source/sample/JavaCmisTest/lib/spring-beans-2.0.8.jar deleted file mode 100644 index c82f5e6164..0000000000 Binary files a/source/sample/JavaCmisTest/lib/spring-beans-2.0.8.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/spring-context-2.0.8.jar b/source/sample/JavaCmisTest/lib/spring-context-2.0.8.jar deleted file mode 100644 index 9a1ca559a3..0000000000 Binary files a/source/sample/JavaCmisTest/lib/spring-context-2.0.8.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/spring-core-2.0.8.jar b/source/sample/JavaCmisTest/lib/spring-core-2.0.8.jar deleted file mode 100644 index 1e939cc469..0000000000 Binary files a/source/sample/JavaCmisTest/lib/spring-core-2.0.8.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/spring-web-2.0.8.jar b/source/sample/JavaCmisTest/lib/spring-web-2.0.8.jar deleted file mode 100644 index 7cb2e43b98..0000000000 Binary files a/source/sample/JavaCmisTest/lib/spring-web-2.0.8.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/stax-utils-20060502.jar b/source/sample/JavaCmisTest/lib/stax-utils-20060502.jar deleted file mode 100644 index b7da0ae009..0000000000 Binary files a/source/sample/JavaCmisTest/lib/stax-utils-20060502.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/velocity-1.4.jar b/source/sample/JavaCmisTest/lib/velocity-1.4.jar deleted file mode 100644 index 04ec9d2f85..0000000000 Binary files a/source/sample/JavaCmisTest/lib/velocity-1.4.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/velocity-dep-1.4.jar b/source/sample/JavaCmisTest/lib/velocity-dep-1.4.jar deleted file mode 100644 index 375712b0e8..0000000000 Binary files a/source/sample/JavaCmisTest/lib/velocity-dep-1.4.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/wsdl4j-1.6.2.jar b/source/sample/JavaCmisTest/lib/wsdl4j-1.6.2.jar deleted file mode 100644 index b9ffc36b9f..0000000000 Binary files a/source/sample/JavaCmisTest/lib/wsdl4j-1.6.2.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/wss4j-1.5.4.jar b/source/sample/JavaCmisTest/lib/wss4j-1.5.4.jar deleted file mode 100644 index d269862487..0000000000 Binary files a/source/sample/JavaCmisTest/lib/wss4j-1.5.4.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/wstx-asl-3.2.4.jar b/source/sample/JavaCmisTest/lib/wstx-asl-3.2.4.jar deleted file mode 100644 index 700ccf643e..0000000000 Binary files a/source/sample/JavaCmisTest/lib/wstx-asl-3.2.4.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/xml-resolver-1.2.jar b/source/sample/JavaCmisTest/lib/xml-resolver-1.2.jar deleted file mode 100644 index e535bdc073..0000000000 Binary files a/source/sample/JavaCmisTest/lib/xml-resolver-1.2.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/lib/xmlsec-1.3.0.jar b/source/sample/JavaCmisTest/lib/xmlsec-1.3.0.jar deleted file mode 100644 index 6b69b807ef..0000000000 Binary files a/source/sample/JavaCmisTest/lib/xmlsec-1.3.0.jar and /dev/null differ diff --git a/source/sample/JavaCmisTest/readme.txt b/source/sample/JavaCmisTest/readme.txt deleted file mode 100644 index 04d055f672..0000000000 --- a/source/sample/JavaCmisTest/readme.txt +++ /dev/null @@ -1,22 +0,0 @@ -This simple example connects to the Alfresco CMIS Server and displays the names -of the folders within the Alfresco root folder called "Company Home". - -The example utilizes the Alfresco CMIS Web Services interfaces. - -The example is stand-alone and includes all of its dependencies. - -Steps to execute the example... - -Pre-requisites: -a) The Alfresco Server must be running for the test client to succeed. -b) ant is required to build the test client - -1) Unpack JavaCmisTest.zip to -2) Run /ant -3) Run cmis-test.bat http://: - -Note: A cmis-test.sh also exists. - -Upon successful completion, a list of folder names is presented. - -The source code for the example is also included. \ No newline at end of file diff --git a/source/sample/JavaCmisTest/src/org/alfresco/cmis/ws/example/CmisSampleClient.java b/source/sample/JavaCmisTest/src/org/alfresco/cmis/ws/example/CmisSampleClient.java deleted file mode 100644 index b0ed3a8b44..0000000000 --- a/source/sample/JavaCmisTest/src/org/alfresco/cmis/ws/example/CmisSampleClient.java +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.cmis.ws.example; - -import java.util.List; - -import org.alfresco.repo.cmis.ws.CmisObjectInFolderType; -import org.alfresco.repo.cmis.ws.CmisObjectType; -import org.alfresco.repo.cmis.ws.CmisPropertiesType; -import org.alfresco.repo.cmis.ws.CmisProperty; -import org.alfresco.repo.cmis.ws.CmisPropertyId; -import org.alfresco.repo.cmis.ws.CmisPropertyString; - -/** - * This class expects next command-line parameters: - *
    - *
  • Server Address - with form: (IP_ADDRESS|DOMAIN_NAME):PORT;
  • - *
  • Username - login name of the existent user;
  • - *
  • Password - appropriate password for specified user.
  • - *
- * Example: 192.168.0.1:8080 admin admin - authenticate an user as admin on http://192.168.0.1:8080/alfresco/ server - * - * @author Dmitry Velichkevich - */ -public class CmisSampleClient -{ - private static final String NAME_PROPERTY = "cmis:name"; - private static final String BASE_TYPE_ID_PROPERTY = "cmis:baseTypeId"; - - /** - * Executable entry point - represents main life-cycle - * - * @param args - String[] array that contains command line arguments - */ - public static void main(String[] args) - { - String username = null; - String password = null; - String serverUrl = null; - - if (args.length != 3) - { - System.out.println("Usage: cmis-test.bat server_url username password"); - System.out.println("Example : cmis-test.bat http://localhost:8080 admin admin"); - return; - } - else - { - serverUrl = args[0]; - username = args[1]; - password = args[2]; - } - - CmisUtils servicesHelper; - try - { - servicesHelper = new CmisUtils(username, password, serverUrl); - } - catch (Exception e) - { - System.out.println("Can't connect to specified server. Cause error message: " + e.getMessage()); - return; - } - - List response; - try - { - response = servicesHelper.receiveFolderEntry(servicesHelper.getRootFolderId()); - } - catch (Exception e) - { - System.out.println("Can't receive content of Company Home caused: " + e.getMessage()); - e.printStackTrace(); - return; - } - - if (null == response) - { - System.out.println("Children for Company Home were not returned"); - } - else - { - System.out.println("Outing Company Home contents:"); - for (CmisObjectInFolderType item : response) - { - String itemName = "NULL"; - boolean thisIsFolder = false; - if ((null != item) && (null != item.getObject()) && (null != item.getObject().getProperties())) - { - CmisObjectType object = item.getObject(); - thisIsFolder = ((CmisPropertyId) getCmisProperty(object.getProperties(), BASE_TYPE_ID_PROPERTY)).getValue().get(0).contains("folder"); - itemName = ((CmisPropertyString) getCmisProperty(object.getProperties(), NAME_PROPERTY)).getValue().get(0); - } - System.out.println(((thisIsFolder) ? ("[") : ("")) + itemName + ((thisIsFolder) ? ("]") : (""))); - } - } - } - - private static CmisProperty getCmisProperty(CmisPropertiesType properties, String cmisPropertyName) - { - for (CmisProperty cmisProperty : properties.getProperty()) - { - if (cmisPropertyName.equals(getPropertyName(cmisProperty))) - { - return cmisProperty; - } - } - - return null; - } - - private static String getPropertyName(CmisProperty property) - { - String result = null; - if (null != property) - { - result = (null != property.getPropertyDefinitionId()) ? (property.getPropertyDefinitionId()) : (property.getLocalName()); - result = (null != result) ? (result) : (property.getDisplayName()); - } - return result; - } -} diff --git a/source/sample/JavaCmisTest/src/org/alfresco/cmis/ws/example/CmisUtils.java b/source/sample/JavaCmisTest/src/org/alfresco/cmis/ws/example/CmisUtils.java deleted file mode 100644 index 3ce56a1765..0000000000 --- a/source/sample/JavaCmisTest/src/org/alfresco/cmis/ws/example/CmisUtils.java +++ /dev/null @@ -1,213 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.cmis.ws.example; - -import java.io.IOException; -import java.math.BigInteger; -import java.net.MalformedURLException; -import java.net.URL; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -import javax.security.auth.callback.Callback; -import javax.security.auth.callback.CallbackHandler; -import javax.security.auth.callback.UnsupportedCallbackException; -import javax.xml.namespace.QName; -import javax.xml.ws.Service; - -import org.alfresco.repo.cmis.ws.CmisObjectInFolderListType; -import org.alfresco.repo.cmis.ws.CmisObjectInFolderType; -import org.alfresco.repo.cmis.ws.EnumIncludeRelationships; -import org.alfresco.repo.cmis.ws.NavigationServicePort; -import org.alfresco.repo.cmis.ws.RepositoryServicePort; -import org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor; -import org.apache.cxf.endpoint.Client; -import org.apache.cxf.frontend.ClientProxy; -import org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor; -import org.apache.ws.security.WSConstants; -import org.apache.ws.security.WSPasswordCallback; -import org.apache.ws.security.handler.WSHandlerConstants; - -/** - * This helper-class contain all necessary for SimpleCmisWsTest correct working service-methods - * - * @author Dmitry Velichkevich - */ -public class CmisUtils -{ - private static final QName NAVIGATION_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "NavigationService"); - private static final QName REPOSITORY_SERVICE_NAME = new QName("http://docs.oasis-open.org/ns/cmis/ws/200908/", "RepositoryService"); - - private static final String NAVIGATION_SERVER_URL_POSTFIX = "/alfresco/cmis/NavigationService?wsdl"; - private static final String REPOSITORY_SERVER_URL_POSTFIX = "/alfresco/cmis/RepositoryService?wsdl"; - - private String username; - private String password; - private Service navigationServicesFactory; - private Service repositoryServicesFactory; - - private RepositoryServicePort repositoryService; - private NavigationServicePort navigationService; - - private String repositoryId; - private String rootFolderId; - - /** - * @param username - an existent authentication user name - * @param password - appropriate password for specified user name - * @param serverAddress - IP address (or domain name) and port for the server to connect - * @throws Exception - an caught MalformedURLException in time of server connect URL creation - */ - public CmisUtils(String username, String password, String serverAddress) - { - this.username = username; - this.password = password; - - try - { - navigationServicesFactory = Service.create(new URL(serverAddress + NAVIGATION_SERVER_URL_POSTFIX), NAVIGATION_SERVICE_NAME); - repositoryServicesFactory = Service.create(new URL(serverAddress + REPOSITORY_SERVER_URL_POSTFIX), REPOSITORY_SERVICE_NAME); - } - catch (MalformedURLException e) - { - throw new RuntimeException("Field to connect to specified URL. Exception Message: " + e.getMessage()); - } - } - - /** - * This method simplify receiving of Root Folder Id - * - * @return String representation of Object Identificator - * @throws RuntimeException This exception will be thrown when any CMIS Services operation fail - */ - public String getRootFolderId() - { - if (null == rootFolderId) - { - try - { - rootFolderId = getRepositoryService().getRepositoryInfo(getRepositoryId(), null).getRootFolderId(); - } - catch (Exception e) - { - throw new RuntimeException("Can't receive Root Folder Id. Cause error message: " + e.toString()); - } - } - return rootFolderId; - } - - /** - * This method simplify receiving children objects of specified folder - * - * @param folderId - String value that represents parent folder id - * @return List<CmisObjectType> - list of all children elements of specified folder - * @throws RuntimeException This exception will be thrown when any CMIS Services operation fail - */ - public List receiveFolderEntry(String folderId) - { - CmisObjectInFolderListType result = null; - try - { - result = getNavigationService().getChildren(getRepositoryId(), folderId, "*", "", false, EnumIncludeRelationships.NONE, "", false, BigInteger.ZERO, BigInteger.ZERO, - null); - } - catch (Exception e) - { - throw new RuntimeException("Can't receive Children of specified folder with Id=" + folderId + ". Cause error message: " + e.toString()); - } - if ((null != result) && (result.getObjects() != null)) - { - return result.getObjects(); - } - else - { - return null; - } - } - - private String getRepositoryId() - { - if (null == repositoryId) - { - try - { - return getRepositoryService().getRepositories(null).get(0).getRepositoryId(); - } - catch (Exception e) - { - throw new RuntimeException("Can't receive Repository Id. Cause error message: " + e.toString()); - } - } - return repositoryId; - } - - /** - * This method simplify RepositoryServicePort instance creation - * - * @return an instance of RepositoryServicePort - */ - private RepositoryServicePort getRepositoryService() - { - if (null == repositoryService) - { - repositoryService = configureWss4jClient(repositoryServicesFactory.getPort(RepositoryServicePort.class)); - } - - return repositoryService; - } - - /** - * This method simplify NavigationServicePort instance creation - * - * @return an instance of NavigationServicePort - */ - private NavigationServicePort getNavigationService() - { - if (null == navigationService) - { - navigationService = configureWss4jClient(navigationServicesFactory.getPort(NavigationServicePort.class)); - } - - return navigationService; - } - - private ResultType configureWss4jClient(ResultType servicePort) - { - Map outInterceptorProperties = new HashMap(); - outInterceptorProperties.put(WSHandlerConstants.ACTION, WSHandlerConstants.USERNAME_TOKEN + " " + WSHandlerConstants.TIMESTAMP); - outInterceptorProperties.put(WSHandlerConstants.USER, username); - outInterceptorProperties.put(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PW_TEXT); - - outInterceptorProperties.put(WSHandlerConstants.PW_CALLBACK_REF, new CallbackHandler() - { - public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException - { - ((WSPasswordCallback) callbacks[0]).setPassword(password); - } - }); - - WSS4JOutInterceptor outInterceptor = new WSS4JOutInterceptor(outInterceptorProperties); - Client client = ClientProxy.getClient(servicePort); - client.getEndpoint().getOutInterceptors().add(new SAAJOutInterceptor()); - client.getEndpoint().getOutInterceptors().add(outInterceptor); - - return servicePort; - } -} diff --git a/source/sample/WcfCmisTest/CmisTest.exe b/source/sample/WcfCmisTest/CmisTest.exe deleted file mode 100644 index 4fd5f82217..0000000000 Binary files a/source/sample/WcfCmisTest/CmisTest.exe and /dev/null differ diff --git a/source/sample/WcfCmisTest/CmisTest.exe.config b/source/sample/WcfCmisTest/CmisTest.exe.config deleted file mode 100644 index d3a4ea2751..0000000000 --- a/source/sample/WcfCmisTest/CmisTest.exe.config +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/source/sample/WcfCmisTest/src/CmisTest.csproj b/source/sample/WcfCmisTest/src/CmisTest.csproj deleted file mode 100644 index 7f3fe9564b..0000000000 --- a/source/sample/WcfCmisTest/src/CmisTest.csproj +++ /dev/null @@ -1,165 +0,0 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {AA3B7140-D34D-430B-BAF8-29E8220263CA} - Exe - Properties - CmisTest - CmisTest - v3.5 - 512 - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - - - 3.5 - - - 3.0 - - - 3.0 - - - - 3.5 - - - - 3.5 - - - 3.5 - - - - - - - - - True - True - Reference.svcmap - - - - - - - - - - - - - - - False - .NET Framework 2.0 %28x86%29 - false - - - False - .NET Framework 3.0 %28x86%29 - false - - - False - .NET Framework 3.5 - true - - - False - Windows Installer 3.1 - true - - - - - - - - - - - - - - Reference.svcmap - - - Reference.svcmap - - - Reference.svcmap - - - Reference.svcmap - - - Reference.svcmap - - - Reference.svcmap - - - Reference.svcmap - - - Reference.svcmap - - - Reference.svcmap - - - WCF Proxy Generator - Reference.cs - - - - - diff --git a/source/sample/WcfCmisTest/src/CmisTest.sln b/source/sample/WcfCmisTest/src/CmisTest.sln deleted file mode 100644 index a24fd88c64..0000000000 --- a/source/sample/WcfCmisTest/src/CmisTest.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual C# Express 2008 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CmisTest", "CmisTest.csproj", "{AA3B7140-D34D-430B-BAF8-29E8220263CA}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {AA3B7140-D34D-430B-BAF8-29E8220263CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AA3B7140-D34D-430B-BAF8-29E8220263CA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AA3B7140-D34D-430B-BAF8-29E8220263CA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AA3B7140-D34D-430B-BAF8-29E8220263CA}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/source/sample/WcfCmisTest/src/Program.cs b/source/sample/WcfCmisTest/src/Program.cs deleted file mode 100644 index afb03edb7b..0000000000 --- a/source/sample/WcfCmisTest/src/Program.cs +++ /dev/null @@ -1,155 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -using System; -using System.Net; -using System.Net.Security; -using System.Security.Cryptography.X509Certificates; -using System.ServiceModel; -using WcfCmisWSTests.CmisServices; -using System.Reflection; - -namespace CmisTest -{ - public class Program - { - private const string INVALID_REACTION_MESSAGE = "Invalid Reaction! Exception should be thrown"; - - private static RepositoryServicePortClient repositoryService = null; - private static NavigationServicePortClient navigationService = null; - private static ObjectServicePortClient objectService = null; - - public static void Main(string[] args) - { - initialize(); - - cmisRepositoryEntryType[] repositories = repositoryService.getRepositories(null); - string repositoryId = repositories[0].repositoryId; - Console.WriteLine("Repositories description were received. Repositories amount: '" + repositories.Length + "'. First Repository Id='" + repositoryId + "'."); - string rootFolder = repositoryService.getRepositoryInfo(repositoryId, null).rootFolderId; - Console.WriteLine("Root folder Id='" + rootFolder + "'.\n"); - - Console.WriteLine("Trying to get RepositoryInfo for the first repository:"); - cmisRepositoryInfoType repositoryInfo = repositoryService.getRepositoryInfo(repositoryId, null); - Console.WriteLine("Repository info was received, name='" + repositoryInfo.repositoryName + "'.\n"); - - try - { - Console.WriteLine("Actual Reaction of ObjectService.getProperties() service method with invalid Object Id:"); - objectService.getProperties(repositoryId, "Invalid Object Id", "*", null); - Console.WriteLine(INVALID_REACTION_MESSAGE); - } - catch (FaultException e) - { - Console.WriteLine("Expected error was returned. Message: " + e.Message + "\n"); - } - - cmisObjectInFolderListType childrenResponse = null; - try - { - Console.WriteLine("Trying to receive the first 20 Children of Root Folder..."); - childrenResponse = navigationService.getChildren(repositoryId, rootFolder, "*", null, false, enumIncludeRelationships.none, null, false, "20", "0", null); - } - catch (FaultException e) - { - Console.WriteLine("Can't receive children of Root Folder. Cause error message: " + e.Message); - } - - if (null != childrenResponse && null != childrenResponse.objects) - { - Console.WriteLine("Children of Root Folder were received."); - Console.WriteLine("Total amount: '" + childrenResponse.numItems + "'"); - Console.WriteLine("Received: '" + childrenResponse.objects.Length + "'"); - Console.WriteLine("Has More Items='" + childrenResponse.hasMoreItems + "'"); - Console.WriteLine("Root folder listing: "); - foreach (cmisObjectInFolderType cmisObject in childrenResponse.objects) - { - if (null != cmisObject && null != cmisObject.@object) - { - cmisProperty nameProperty = searchForProperty(cmisObject.@object.properties, "cmis:name"); - cmisProperty baseTypeProperty = searchForProperty(cmisObject.@object.properties, "cmis:baseTypeId"); - Console.WriteLine((("[" + getPropertyValue(baseTypeProperty) + "] ")) + getPropertyValue(nameProperty) + "'"); - } - } - } - } - - private static void initialize() - { - ServicePointManager.ServerCertificateValidationCallback = delegate(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) - { - return true; - }; - - repositoryService = new RepositoryServicePortClient(); - repositoryService.ClientCredentials.UserName.UserName = "admin"; - repositoryService.ClientCredentials.UserName.Password = "admin"; - navigationService = new NavigationServicePortClient(); - navigationService.ClientCredentials.UserName.UserName = "admin"; - navigationService.ClientCredentials.UserName.Password = "admin"; - objectService = new ObjectServicePortClient(); - objectService.ClientCredentials.UserName.UserName = "admin"; - objectService.ClientCredentials.UserName.Password = "admin"; - } - - private static string getPropertyName(cmisProperty property) - { - string result = null; - if (null != property) - { - result = (null != property.propertyDefinitionId) ? (property.propertyDefinitionId) : (property.localName); - } - return result; - } - - private static object getPropertyValue(cmisProperty property) - { - if (null != property) - { - Type propertyType = property.GetType(); - PropertyInfo valueProperty = propertyType.GetProperty("value"); - if ((null != valueProperty) && valueProperty.CanRead) - { - object[] values = (object[])valueProperty.GetValue(property, null); - if ((null != values) && (values.Length > 0)) - { - return values[0]; - } - } - } - return null; - } - - private static cmisProperty searchForProperty(cmisPropertiesType properties, string propertyName) - { - if ((null != properties) && (null != properties.Items) && (properties.Items.Length > 0) && (null != propertyName) && !"".Equals(propertyName)) - { - foreach (cmisProperty property in properties.Items) - { - string name = getPropertyName(property); - if ((null != name) && name.Equals(propertyName)) - { - return property; - } - } - } - return null; - } - - } -} diff --git a/source/sample/WcfCmisTest/src/Properties/AssemblyInfo.cs b/source/sample/WcfCmisTest/src/Properties/AssemblyInfo.cs deleted file mode 100644 index 7dd0073d9f..0000000000 --- a/source/sample/WcfCmisTest/src/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Alfresco Software")] -[assembly: AssemblyProduct("Sample Cmis Client")] -[assembly: AssemblyCopyright("Copyright © 2005-2009 Alfresco Software Limited")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("43cb4231-e775-417e-bc2c-4fd2d6ed15ea")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/source/sample/WcfCmisTest/src/Service References/CmisServices/Reference.cs b/source/sample/WcfCmisTest/src/Service References/CmisServices/Reference.cs deleted file mode 100644 index d92ebe6ae5..0000000000 --- a/source/sample/WcfCmisTest/src/Service References/CmisServices/Reference.cs +++ /dev/null @@ -1,10219 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:2.0.50727.3053 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace WcfCmisWSTests.CmisServices -{ - using System.Runtime.Serialization; - - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")] - [System.Runtime.Serialization.DataContractAttribute(Name = "enumIncludeRelationships", Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumIncludeRelationships : int - { - - [System.Runtime.Serialization.EnumMemberAttribute()] - none = 0, - - [System.Runtime.Serialization.EnumMemberAttribute()] - source = 1, - - [System.Runtime.Serialization.EnumMemberAttribute()] - target = 2, - - [System.Runtime.Serialization.EnumMemberAttribute()] - both = 3, - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")] - [System.Xml.Serialization.XmlSchemaProviderAttribute("ExportSchema")] - [System.Xml.Serialization.XmlRootAttribute(ElementName = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsNullable = false)] - public partial class cmisFaultType : object, System.Xml.Serialization.IXmlSerializable - { - - private System.Xml.XmlNode[] nodesField; - - private static System.Xml.XmlQualifiedName typeName = new System.Xml.XmlQualifiedName("cmisFaultType", "http://docs.oasis-open.org/ns/cmis/messaging/200908/"); - - public System.Xml.XmlNode[] Nodes - { - get - { - return this.nodesField; - } - set - { - this.nodesField = value; - } - } - - public void ReadXml(System.Xml.XmlReader reader) - { - this.nodesField = System.Runtime.Serialization.XmlSerializableServices.ReadNodes(reader); - } - - public void WriteXml(System.Xml.XmlWriter writer) - { - System.Runtime.Serialization.XmlSerializableServices.WriteNodes(writer, this.Nodes); - } - - public System.Xml.Schema.XmlSchema GetSchema() - { - return null; - } - - public static System.Xml.XmlQualifiedName ExportSchema(System.Xml.Schema.XmlSchemaSet schemas) - { - System.Runtime.Serialization.XmlSerializableServices.AddDefaultSchema(schemas, typeName); - return typeName; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")] - [System.Runtime.Serialization.DataContractAttribute(Name = "enumServiceException", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - public enum enumServiceException : int - { - - [System.Runtime.Serialization.EnumMemberAttribute()] - constraint = 0, - - [System.Runtime.Serialization.EnumMemberAttribute()] - nameConstraintViolation = 1, - - [System.Runtime.Serialization.EnumMemberAttribute()] - contentAlreadyExists = 2, - - [System.Runtime.Serialization.EnumMemberAttribute()] - filterNotValid = 3, - - [System.Runtime.Serialization.EnumMemberAttribute()] - invalidArgument = 4, - - [System.Runtime.Serialization.EnumMemberAttribute()] - notSupported = 5, - - [System.Runtime.Serialization.EnumMemberAttribute()] - objectNotFound = 6, - - [System.Runtime.Serialization.EnumMemberAttribute()] - permissionDenied = 7, - - [System.Runtime.Serialization.EnumMemberAttribute()] - runtime = 8, - - [System.Runtime.Serialization.EnumMemberAttribute()] - storage = 9, - - [System.Runtime.Serialization.EnumMemberAttribute()] - streamNotSupported = 10, - - [System.Runtime.Serialization.EnumMemberAttribute()] - updateConflict = 11, - - [System.Runtime.Serialization.EnumMemberAttribute()] - versioning = 12, - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")] - [System.Runtime.Serialization.DataContractAttribute(Name = "enumVersioningState", Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumVersioningState : int - { - - [System.Runtime.Serialization.EnumMemberAttribute()] - none = 0, - - [System.Runtime.Serialization.EnumMemberAttribute()] - checkedout = 1, - - [System.Runtime.Serialization.EnumMemberAttribute()] - minor = 2, - - [System.Runtime.Serialization.EnumMemberAttribute()] - major = 3, - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")] - [System.Runtime.Serialization.DataContractAttribute(Name = "enumRelationshipDirection", Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumRelationshipDirection : int - { - - [System.Runtime.Serialization.EnumMemberAttribute()] - source = 0, - - [System.Runtime.Serialization.EnumMemberAttribute()] - target = 1, - - [System.Runtime.Serialization.EnumMemberAttribute()] - either = 2, - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")] - [System.Xml.Serialization.XmlSchemaProviderAttribute("ExportSchema")] - [System.Xml.Serialization.XmlRootAttribute(IsNullable = false)] - public partial class cmisACLType : object, System.Xml.Serialization.IXmlSerializable - { - - private System.Xml.XmlNode[] nodesField; - - private static System.Xml.XmlQualifiedName typeName = new System.Xml.XmlQualifiedName("cmisACLType", "http://docs.oasis-open.org/ns/cmis/messaging/200908/"); - - public System.Xml.XmlNode[] Nodes - { - get - { - return this.nodesField; - } - set - { - this.nodesField = value; - } - } - - public void ReadXml(System.Xml.XmlReader reader) - { - this.nodesField = System.Runtime.Serialization.XmlSerializableServices.ReadNodes(reader); - } - - public void WriteXml(System.Xml.XmlWriter writer) - { - System.Runtime.Serialization.XmlSerializableServices.WriteNodes(writer, this.Nodes); - } - - public System.Xml.Schema.XmlSchema GetSchema() - { - return null; - } - - public static System.Xml.XmlQualifiedName ExportSchema(System.Xml.Schema.XmlSchemaSet schemas) - { - System.Runtime.Serialization.XmlSerializableServices.AddDefaultSchema(schemas, typeName); - return typeName; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")] - [System.Runtime.Serialization.DataContractAttribute(Name = "enumACLPropagation", Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumACLPropagation : int - { - - [System.Runtime.Serialization.EnumMemberAttribute()] - repositorydetermined = 0, - - [System.Runtime.Serialization.EnumMemberAttribute()] - objectonly = 1, - - [System.Runtime.Serialization.EnumMemberAttribute()] - propagate = 2, - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.ServiceContractAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", ConfigurationName = "DiscoveryServicePort")] - public interface DiscoveryServicePort - { - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message queryRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - WcfCmisWSTests.CmisServices.queryResponse query(WcfCmisWSTests.CmisServices.queryRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getContentChangesRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - WcfCmisWSTests.CmisServices.getContentChangesResponse getContentChanges(WcfCmisWSTests.CmisServices.getContentChangesRequest request); - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "query", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class queryRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string statement; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public System.Nullable searchAllVersions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - public System.Nullable includeAllowableActions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - public System.Nullable includeRelationships; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - public string renditionFilter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - public System.Nullable maxItems; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 7)] - public System.Nullable skipCount; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 8)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public queryRequest() - { - } - - public queryRequest(string repositoryId, string statement, System.Nullable searchAllVersions, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable maxItems, System.Nullable skipCount, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.statement = statement; - this.searchAllVersions = searchAllVersions; - this.includeAllowableActions = includeAllowableActions; - this.includeRelationships = includeRelationships; - this.renditionFilter = renditionFilter; - this.maxItems = maxItems; - this.skipCount = skipCount; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "queryResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class queryResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisObjectListType objects; - - public queryResponse() - { - } - - public queryResponse(WcfCmisWSTests.CmisServices.cmisObjectListType objects) - { - this.objects = objects; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getContentChanges", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getContentChangesRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string changeLogToken; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public System.Nullable includeProperties; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - public string filter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - public System.Nullable includePolicyIds; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - public System.Nullable includeACL; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - public System.Nullable maxItems; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 7)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getContentChangesRequest() - { - } - - public getContentChangesRequest(string repositoryId, string changeLogToken, System.Nullable includeProperties, string filter, System.Nullable includePolicyIds, System.Nullable includeACL, System.Nullable maxItems, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.changeLogToken = changeLogToken; - this.includeProperties = includeProperties; - this.filter = filter; - this.includePolicyIds = includePolicyIds; - this.includeACL = includeACL; - this.maxItems = maxItems; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getContentChangesResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getContentChangesResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisObjectListType objects; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string changeLogToken; - - public getContentChangesResponse() - { - } - - public getContentChangesResponse(WcfCmisWSTests.CmisServices.cmisObjectListType objects, string changeLogToken) - { - this.objects = objects; - this.changeLogToken = changeLogToken; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public interface DiscoveryServicePortChannel : WcfCmisWSTests.CmisServices.DiscoveryServicePort, System.ServiceModel.IClientChannel - { - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public partial class DiscoveryServicePortClient : System.ServiceModel.ClientBase, WcfCmisWSTests.CmisServices.DiscoveryServicePort - { - - public DiscoveryServicePortClient() - { - } - - public DiscoveryServicePortClient(string endpointConfigurationName) : - base(endpointConfigurationName) - { - } - - public DiscoveryServicePortClient(string endpointConfigurationName, string remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public DiscoveryServicePortClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public DiscoveryServicePortClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : - base(binding, remoteAddress) - { - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.queryResponse WcfCmisWSTests.CmisServices.DiscoveryServicePort.query(WcfCmisWSTests.CmisServices.queryRequest request) - { - return base.Channel.query(request); - } - - public WcfCmisWSTests.CmisServices.cmisObjectListType query(string repositoryId, string statement, System.Nullable searchAllVersions, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable maxItems, System.Nullable skipCount, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.queryRequest inValue = new WcfCmisWSTests.CmisServices.queryRequest(); - inValue.repositoryId = repositoryId; - inValue.statement = statement; - inValue.searchAllVersions = searchAllVersions; - inValue.includeAllowableActions = includeAllowableActions; - inValue.includeRelationships = includeRelationships; - inValue.renditionFilter = renditionFilter; - inValue.maxItems = maxItems; - inValue.skipCount = skipCount; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.queryResponse retVal = ((WcfCmisWSTests.CmisServices.DiscoveryServicePort)(this)).query(inValue); - return retVal.objects; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getContentChangesResponse WcfCmisWSTests.CmisServices.DiscoveryServicePort.getContentChanges(WcfCmisWSTests.CmisServices.getContentChangesRequest request) - { - return base.Channel.getContentChanges(request); - } - - public WcfCmisWSTests.CmisServices.cmisObjectListType getContentChanges(string repositoryId, ref string changeLogToken, System.Nullable includeProperties, string filter, System.Nullable includePolicyIds, System.Nullable includeACL, System.Nullable maxItems, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getContentChangesRequest inValue = new WcfCmisWSTests.CmisServices.getContentChangesRequest(); - inValue.repositoryId = repositoryId; - inValue.changeLogToken = changeLogToken; - inValue.includeProperties = includeProperties; - inValue.filter = filter; - inValue.includePolicyIds = includePolicyIds; - inValue.includeACL = includeACL; - inValue.maxItems = maxItems; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getContentChangesResponse retVal = ((WcfCmisWSTests.CmisServices.DiscoveryServicePort)(this)).getContentChanges(inValue); - changeLogToken = retVal.changeLogToken; - return retVal.objects; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.ServiceContractAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", ConfigurationName = "MultiFilingServicePort")] - public interface MultiFilingServicePort - { - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message addObjectToFolderRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - WcfCmisWSTests.CmisServices.addObjectToFolderResponse addObjectToFolder(WcfCmisWSTests.CmisServices.addObjectToFolderRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message removeObjectFromFolderRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - WcfCmisWSTests.CmisServices.removeObjectFromFolderResponse removeObjectFromFolder(WcfCmisWSTests.CmisServices.removeObjectFromFolderRequest request); - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "addObjectToFolder", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class addObjectToFolderRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public string folderId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - public bool allVersions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public addObjectToFolderRequest() - { - } - - public addObjectToFolderRequest(string repositoryId, string objectId, string folderId, bool allVersions, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.folderId = folderId; - this.allVersions = allVersions; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "addObjectToFolderResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class addObjectToFolderResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public addObjectToFolderResponse() - { - } - - public addObjectToFolderResponse(WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "removeObjectFromFolder", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class removeObjectFromFolderRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public string folderId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public removeObjectFromFolderRequest() - { - } - - public removeObjectFromFolderRequest(string repositoryId, string objectId, string folderId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.folderId = folderId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "removeObjectFromFolderResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class removeObjectFromFolderResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public removeObjectFromFolderResponse() - { - } - - public removeObjectFromFolderResponse(WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.extension = extension; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public interface MultiFilingServicePortChannel : WcfCmisWSTests.CmisServices.MultiFilingServicePort, System.ServiceModel.IClientChannel - { - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public partial class MultiFilingServicePortClient : System.ServiceModel.ClientBase, WcfCmisWSTests.CmisServices.MultiFilingServicePort - { - - public MultiFilingServicePortClient() - { - } - - public MultiFilingServicePortClient(string endpointConfigurationName) : - base(endpointConfigurationName) - { - } - - public MultiFilingServicePortClient(string endpointConfigurationName, string remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public MultiFilingServicePortClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public MultiFilingServicePortClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : - base(binding, remoteAddress) - { - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.addObjectToFolderResponse WcfCmisWSTests.CmisServices.MultiFilingServicePort.addObjectToFolder(WcfCmisWSTests.CmisServices.addObjectToFolderRequest request) - { - return base.Channel.addObjectToFolder(request); - } - - public void addObjectToFolder(string repositoryId, string objectId, string folderId, bool allVersions, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.addObjectToFolderRequest inValue = new WcfCmisWSTests.CmisServices.addObjectToFolderRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.folderId = folderId; - inValue.allVersions = allVersions; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.addObjectToFolderResponse retVal = ((WcfCmisWSTests.CmisServices.MultiFilingServicePort)(this)).addObjectToFolder(inValue); - extension = retVal.extension; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.removeObjectFromFolderResponse WcfCmisWSTests.CmisServices.MultiFilingServicePort.removeObjectFromFolder(WcfCmisWSTests.CmisServices.removeObjectFromFolderRequest request) - { - return base.Channel.removeObjectFromFolder(request); - } - - public void removeObjectFromFolder(string repositoryId, string objectId, string folderId, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.removeObjectFromFolderRequest inValue = new WcfCmisWSTests.CmisServices.removeObjectFromFolderRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.folderId = folderId; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.removeObjectFromFolderResponse retVal = ((WcfCmisWSTests.CmisServices.MultiFilingServicePort)(this)).removeObjectFromFolder(inValue); - extension = retVal.extension; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.ServiceContractAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", ConfigurationName = "NavigationServicePort")] - public interface NavigationServicePort - { - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getDescendantsRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getDescendantsResponse getDescendants(WcfCmisWSTests.CmisServices.getDescendantsRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getChildrenRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getChildrenResponse getChildren(WcfCmisWSTests.CmisServices.getChildrenRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getFolderParentRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getFolderParentResponse getFolderParent(WcfCmisWSTests.CmisServices.getFolderParentRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getFolderTreeRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getFolderTreeResponse getFolderTree(WcfCmisWSTests.CmisServices.getFolderTreeRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getObjectParentsRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getObjectParentsResponse getObjectParents(WcfCmisWSTests.CmisServices.getObjectParentsRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getCheckedOutDocsRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getCheckedOutDocsResponse getCheckedOutDocs(WcfCmisWSTests.CmisServices.getCheckedOutDocsRequest request); - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.648")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisExtensionType - { - - private System.Xml.XmlElement[] anyField; - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 0)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - public partial class cmisTypeContainer - { - - private cmisTypeDefinitionType typeField; - - private cmisTypeContainer[] childrenField; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public cmisTypeDefinitionType type - { - get - { - return this.typeField; - } - set - { - this.typeField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("children", Order = 1)] - public cmisTypeContainer[] children - { - get - { - return this.childrenField; - } - set - { - this.childrenField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisTypePolicyDefinitionType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisTypeRelationshipDefinitionType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisTypeFolderDefinitionType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisTypeDocumentDefinitionType))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisTypeDefinitionType - { - - private string idField; - - private string localNameField; - - private string localNamespaceField; - - private string displayNameField; - - private string queryNameField; - - private string descriptionField; - - private enumBaseObjectTypeIds baseIdField; - - private string parentIdField; - - private bool creatableField; - - private bool fileableField; - - private bool queryableField; - - private bool fulltextIndexedField; - - private bool includedInSupertypeQueryField; - - private bool controllablePolicyField; - - private bool controllableACLField; - - private cmisPropertyDefinitionType[] itemsField; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - public cmisTypeDefinitionType() - { - this.includedInSupertypeQueryField = true; - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public string id - { - get - { - return this.idField; - } - set - { - this.idField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public string localName - { - get - { - return this.localNameField; - } - set - { - this.localNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", IsNullable = true, Order = 2)] - public string localNamespace - { - get - { - return this.localNamespaceField; - } - set - { - this.localNamespaceField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 3)] - public string displayName - { - get - { - return this.displayNameField; - } - set - { - this.displayNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 4)] - public string queryName - { - get - { - return this.queryNameField; - } - set - { - this.queryNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 5)] - public string description - { - get - { - return this.descriptionField; - } - set - { - this.descriptionField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 6)] - public enumBaseObjectTypeIds baseId - { - get - { - return this.baseIdField; - } - set - { - this.baseIdField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 7)] - public string parentId - { - get - { - return this.parentIdField; - } - set - { - this.parentIdField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 8)] - public bool creatable - { - get - { - return this.creatableField; - } - set - { - this.creatableField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 9)] - public bool fileable - { - get - { - return this.fileableField; - } - set - { - this.fileableField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 10)] - public bool queryable - { - get - { - return this.queryableField; - } - set - { - this.queryableField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 11)] - public bool fulltextIndexed - { - get - { - return this.fulltextIndexedField; - } - set - { - this.fulltextIndexedField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 12)] - public bool includedInSupertypeQuery - { - get - { - return this.includedInSupertypeQueryField; - } - set - { - this.includedInSupertypeQueryField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 13)] - public bool controllablePolicy - { - get - { - return this.controllablePolicyField; - } - set - { - this.controllablePolicyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 14)] - public bool controllableACL - { - get - { - return this.controllableACLField; - } - set - { - this.controllableACLField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("propertyBooleanDefinition", typeof(cmisPropertyBooleanDefinitionType), Order = 15)] - [System.Xml.Serialization.XmlElementAttribute("propertyDateTimeDefinition", typeof(cmisPropertyDateTimeDefinitionType), Order = 15)] - [System.Xml.Serialization.XmlElementAttribute("propertyDecimalDefinition", typeof(cmisPropertyDecimalDefinitionType), Order = 15)] - [System.Xml.Serialization.XmlElementAttribute("propertyHtmlDefinition", typeof(cmisPropertyHtmlDefinitionType), Order = 15)] - [System.Xml.Serialization.XmlElementAttribute("propertyIdDefinition", typeof(cmisPropertyIdDefinitionType), Order = 15)] - [System.Xml.Serialization.XmlElementAttribute("propertyIntegerDefinition", typeof(cmisPropertyIntegerDefinitionType), Order = 15)] - [System.Xml.Serialization.XmlElementAttribute("propertyStringDefinition", typeof(cmisPropertyStringDefinitionType), Order = 15)] - [System.Xml.Serialization.XmlElementAttribute("propertyUriDefinition", typeof(cmisPropertyUriDefinitionType), Order = 15)] - public cmisPropertyDefinitionType[] Items - { - get - { - return this.itemsField; - } - set - { - this.itemsField = value; - } - } - - private bool versionableField; - - private enumContentStreamAllowed contentStreamAllowedField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 16)] - public bool versionable - { - get - { - return this.versionableField; - } - set - { - this.versionableField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 17)] - public enumContentStreamAllowed contentStreamAllowed - { - get - { - return this.contentStreamAllowedField; - } - set - { - this.contentStreamAllowedField = value; - } - } - - private string[] allowedSourceTypesField; - - private string[] allowedTargetTypesField; - - /// - [System.Xml.Serialization.XmlElementAttribute("allowedSourceTypes", Order = 18)] - public string[] allowedSourceTypes - { - get - { - return this.allowedSourceTypesField; - } - set - { - this.allowedSourceTypesField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("allowedTargetTypes", Order = 19)] - public string[] allowedTargetTypes - { - get - { - return this.allowedTargetTypesField; - } - set - { - this.allowedTargetTypesField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 20)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumBaseObjectTypeIds - { - - /// - [System.Xml.Serialization.XmlEnumAttribute("cmis:document")] - cmisdocument, - - /// - [System.Xml.Serialization.XmlEnumAttribute("cmis:folder")] - cmisfolder, - - /// - [System.Xml.Serialization.XmlEnumAttribute("cmis:relationship")] - cmisrelationship, - - /// - [System.Xml.Serialization.XmlEnumAttribute("cmis:policy")] - cmispolicy, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyBooleanDefinitionType : cmisPropertyDefinitionType - { - - private cmisPropertyBoolean defaultValueField; - - private cmisChoiceBoolean[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public cmisPropertyBoolean defaultValue - { - get - { - return this.defaultValueField; - } - set - { - this.defaultValueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 1)] - public cmisChoiceBoolean[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyBoolean : cmisProperty - { - - private bool[] valueField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)] - public bool[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - } - - /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyUri))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyString))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyHtml))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyDecimal))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyDateTime))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyInteger))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyId))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyBoolean))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisProperty - { - - private string propertyDefinitionIdField; - - private string localNameField; - - private string displayNameField; - - private string queryNameField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string propertyDefinitionId - { - get - { - return this.propertyDefinitionIdField; - } - set - { - this.propertyDefinitionIdField = value; - } - } - - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string localName - { - get - { - return this.localNameField; - } - set - { - this.localNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string displayName - { - get - { - return this.displayNameField; - } - set - { - this.displayNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string queryName - { - get - { - return this.queryNameField; - } - set - { - this.queryNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyUri : cmisProperty - { - - private string[] valueField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", DataType = "anyURI", Order = 0)] - public string[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyString : cmisProperty - { - - private string[] valueField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)] - public string[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyHtml : cmisProperty - { - - private string[] valueField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)] - public string[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyDecimal : cmisProperty - { - - private decimal[] valueField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)] - public decimal[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyDateTime : cmisProperty - { - - private System.DateTime[] valueField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)] - public System.DateTime[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyInteger : cmisProperty - { - - private string[] valueField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", DataType = "integer", Order = 0)] - public string[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyId : cmisProperty - { - - private string[] valueField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)] - public string[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisChoiceBoolean : cmisChoice - { - - private bool[] valueField; - - private cmisChoiceBoolean[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)] - public bool[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 1)] - public cmisChoiceBoolean[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisChoiceUri))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisChoiceString))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisChoiceHtml))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisChoiceDecimal))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisChoiceDateTime))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisChoiceInteger))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisChoiceId))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisChoiceBoolean))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisChoice - { - - private string displayNameField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlAttributeAttribute()] - public string displayName - { - get - { - return this.displayNameField; - } - set - { - this.displayNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisChoiceUri : cmisChoice - { - - private string[] valueField; - - private cmisChoiceUri[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", DataType = "anyURI", Order = 0)] - public string[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 1)] - public cmisChoiceUri[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisChoiceString : cmisChoice - { - - private string[] valueField; - - private cmisChoiceString[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)] - public string[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 1)] - public cmisChoiceString[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisChoiceHtml : cmisChoice - { - - private string[] valueField; - - private cmisChoiceHtml[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)] - public string[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 1)] - public cmisChoiceHtml[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisChoiceDecimal : cmisChoice - { - - private decimal[] valueField; - - private cmisChoiceDecimal[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)] - public decimal[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 1)] - public cmisChoiceDecimal[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisChoiceDateTime : cmisChoice - { - - private System.DateTime[] valueField; - - private cmisChoiceDateTime[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)] - public System.DateTime[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 1)] - public cmisChoiceDateTime[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisChoiceInteger : cmisChoice - { - - private string[] valueField; - - private cmisChoiceInteger[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", DataType = "integer", Order = 0)] - public string[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 1)] - public cmisChoiceInteger[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisChoiceId : cmisChoice - { - - private string[] valueField; - - private cmisChoiceId[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute("value", Order = 0)] - public string[] value - { - get - { - return this.valueField; - } - set - { - this.valueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 1)] - public cmisChoiceId[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyUriDefinitionType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyStringDefinitionType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyHtmlDefinitionType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyDecimalDefinitionType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyDateTimeDefinitionType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyIntegerDefinitionType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyIdDefinitionType))] - [System.Xml.Serialization.XmlIncludeAttribute(typeof(cmisPropertyBooleanDefinitionType))] - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyDefinitionType - { - - private string idField; - - private string localNameField; - - private string localNamespaceField; - - private string displayNameField; - - private string queryNameField; - - private string descriptionField; - - private enumPropertyType propertyTypeField; - - private enumCardinality cardinalityField; - - private enumUpdatability updatabilityField; - - private bool inheritedField; - - private bool inheritedFieldSpecified; - - private bool requiredField; - - private bool queryableField; - - private bool orderableField; - - private bool openChoiceField; - - private bool openChoiceFieldSpecified; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public string id - { - get - { - return this.idField; - } - set - { - this.idField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public string localName - { - get - { - return this.localNameField; - } - set - { - this.localNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 2)] - public string localNamespace - { - get - { - return this.localNamespaceField; - } - set - { - this.localNamespaceField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 3)] - public string displayName - { - get - { - return this.displayNameField; - } - set - { - this.displayNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 4)] - public string queryName - { - get - { - return this.queryNameField; - } - set - { - this.queryNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 5)] - public string description - { - get - { - return this.descriptionField; - } - set - { - this.descriptionField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 6)] - public enumPropertyType propertyType - { - get - { - return this.propertyTypeField; - } - set - { - this.propertyTypeField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 7)] - public enumCardinality cardinality - { - get - { - return this.cardinalityField; - } - set - { - this.cardinalityField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 8)] - public enumUpdatability updatability - { - get - { - return this.updatabilityField; - } - set - { - this.updatabilityField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 9)] - public bool inherited - { - get - { - return this.inheritedField; - } - set - { - this.inheritedField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool inheritedSpecified - { - get - { - return this.inheritedFieldSpecified; - } - set - { - this.inheritedFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 10)] - public bool required - { - get - { - return this.requiredField; - } - set - { - this.requiredField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 11)] - public bool queryable - { - get - { - return this.queryableField; - } - set - { - this.queryableField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 12)] - public bool orderable - { - get - { - return this.orderableField; - } - set - { - this.orderableField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 13)] - public bool openChoice - { - get - { - return this.openChoiceField; - } - set - { - this.openChoiceField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool openChoiceSpecified - { - get - { - return this.openChoiceFieldSpecified; - } - set - { - this.openChoiceFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 14)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumPropertyType - { - - /// - boolean, - - /// - id, - - /// - integer, - - /// - datetime, - - /// - @decimal, - - /// - html, - - /// - @string, - - /// - uri, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumCardinality - { - - /// - single, - - /// - multi, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumUpdatability - { - - /// - @readonly, - - /// - readwrite, - - /// - whencheckedout, - - /// - oncreate, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyUriDefinitionType : cmisPropertyDefinitionType - { - - private cmisPropertyUri defaultValueField; - - private cmisChoiceUri[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public cmisPropertyUri defaultValue - { - get - { - return this.defaultValueField; - } - set - { - this.defaultValueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 1)] - public cmisChoiceUri[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyStringDefinitionType : cmisPropertyDefinitionType - { - - private cmisPropertyString defaultValueField; - - private string maxLengthField; - - private cmisChoiceString[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public cmisPropertyString defaultValue - { - get - { - return this.defaultValueField; - } - set - { - this.defaultValueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", Order = 1)] - public string maxLength - { - get - { - return this.maxLengthField; - } - set - { - this.maxLengthField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 2)] - public cmisChoiceString[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyHtmlDefinitionType : cmisPropertyDefinitionType - { - - private cmisPropertyHtml defaultValueField; - - private cmisChoiceHtml[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public cmisPropertyHtml defaultValue - { - get - { - return this.defaultValueField; - } - set - { - this.defaultValueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 1)] - public cmisChoiceHtml[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyDecimalDefinitionType : cmisPropertyDefinitionType - { - - private cmisPropertyDecimal defaultValueField; - - private decimal maxValueField; - - private bool maxValueFieldSpecified; - - private decimal minValueField; - - private bool minValueFieldSpecified; - - private enumDecimalPrecision precisionField; - - private bool precisionFieldSpecified; - - private cmisChoiceDecimal[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public cmisPropertyDecimal defaultValue - { - get - { - return this.defaultValueField; - } - set - { - this.defaultValueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public decimal maxValue - { - get - { - return this.maxValueField; - } - set - { - this.maxValueField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool maxValueSpecified - { - get - { - return this.maxValueFieldSpecified; - } - set - { - this.maxValueFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 2)] - public decimal minValue - { - get - { - return this.minValueField; - } - set - { - this.minValueField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool minValueSpecified - { - get - { - return this.minValueFieldSpecified; - } - set - { - this.minValueFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 3)] - public enumDecimalPrecision precision - { - get - { - return this.precisionField; - } - set - { - this.precisionField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool precisionSpecified - { - get - { - return this.precisionFieldSpecified; - } - set - { - this.precisionFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 4)] - public cmisChoiceDecimal[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumDecimalPrecision - { - - /// - [System.Xml.Serialization.XmlEnumAttribute("32")] - Item32, - - /// - [System.Xml.Serialization.XmlEnumAttribute("64")] - Item64, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyDateTimeDefinitionType : cmisPropertyDefinitionType - { - - private cmisPropertyDateTime defaultValueField; - - private enumDateTimeResolution resolutionField; - - private bool resolutionFieldSpecified; - - private cmisChoiceDateTime[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public cmisPropertyDateTime defaultValue - { - get - { - return this.defaultValueField; - } - set - { - this.defaultValueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public enumDateTimeResolution resolution - { - get - { - return this.resolutionField; - } - set - { - this.resolutionField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool resolutionSpecified - { - get - { - return this.resolutionFieldSpecified; - } - set - { - this.resolutionFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 2)] - public cmisChoiceDateTime[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumDateTimeResolution - { - - /// - year, - - /// - date, - - /// - time, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyIntegerDefinitionType : cmisPropertyDefinitionType - { - - private cmisPropertyInteger defaultValueField; - - private string maxValueField; - - private string minValueField; - - private cmisChoiceInteger[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public cmisPropertyInteger defaultValue - { - get - { - return this.defaultValueField; - } - set - { - this.defaultValueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", Order = 1)] - public string maxValue - { - get - { - return this.maxValueField; - } - set - { - this.maxValueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", Order = 2)] - public string minValue - { - get - { - return this.minValueField; - } - set - { - this.minValueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 3)] - public cmisChoiceInteger[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertyIdDefinitionType : cmisPropertyDefinitionType - { - - private cmisPropertyId defaultValueField; - - private cmisChoiceId[] choiceField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public cmisPropertyId defaultValue - { - get - { - return this.defaultValueField; - } - set - { - this.defaultValueField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("choice", Order = 1)] - public cmisChoiceId[] choice - { - get - { - return this.choiceField; - } - set - { - this.choiceField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisTypePolicyDefinitionType : cmisTypeDefinitionType - { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisTypeRelationshipDefinitionType : cmisTypeDefinitionType - { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisTypeFolderDefinitionType : cmisTypeDefinitionType - { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisTypeDocumentDefinitionType : cmisTypeDefinitionType - { - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumContentStreamAllowed - { - - /// - notallowed, - - /// - allowed, - - /// - required, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - public partial class cmisTypeDefinitionListType - { - - private cmisTypeDefinitionType[] typesField; - - private bool hasMoreItemsField; - - private string numItemsField; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute("types", Order = 0)] - public cmisTypeDefinitionType[] types - { - get - { - return this.typesField; - } - set - { - this.typesField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public bool hasMoreItems - { - get - { - return this.hasMoreItemsField; - } - set - { - this.hasMoreItemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", Order = 2)] - public string numItems - { - get - { - return this.numItemsField; - } - set - { - this.numItemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 3)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPermissionMapping - { - - private enumAllowableActionsKey keyField; - - private string[] permissionField; - - private System.Xml.XmlElement[] anyField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public enumAllowableActionsKey key - { - get - { - return this.keyField; - } - set - { - this.keyField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("permission", Order = 1)] - public string[] permission - { - get - { - return this.permissionField; - } - set - { - this.permissionField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumAllowableActionsKey - { - - /// - [System.Xml.Serialization.XmlEnumAttribute("canGetDescendents.Folder")] - canGetDescendentsFolder, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canGetChildren.Folder")] - canGetChildrenFolder, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canGetParents.Folder")] - canGetParentsFolder, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canGetFolderParent.Object")] - canGetFolderParentObject, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canCreateDocument.Type")] - canCreateDocumentType, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canCreateDocument.Folder")] - canCreateDocumentFolder, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canCreateFolder.Type")] - canCreateFolderType, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canCreateFolder.Folder")] - canCreateFolderFolder, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canCreateRelationship.Type")] - canCreateRelationshipType, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canCreateRelationship.Source")] - canCreateRelationshipSource, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canCreateRelationship.Target")] - canCreateRelationshipTarget, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canCreatePolicy.Type")] - canCreatePolicyType, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canGetProperties.Object")] - canGetPropertiesObject, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canViewContent.Object")] - canViewContentObject, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canUpdateProperties.Object")] - canUpdatePropertiesObject, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canMove.Object")] - canMoveObject, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canMove.Target")] - canMoveTarget, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canMove.Source")] - canMoveSource, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canDelete.Object")] - canDeleteObject, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canDeleteTree.Folder")] - canDeleteTreeFolder, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canSetContent.Document")] - canSetContentDocument, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canDeleteContent.Document")] - canDeleteContentDocument, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canAddToFolder.Object")] - canAddToFolderObject, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canAddToFolder.Folder")] - canAddToFolderFolder, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canRemoveFromFolder.Object")] - canRemoveFromFolderObject, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canRemoveFromFolder.Folder")] - canRemoveFromFolderFolder, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canCheckout.Document")] - canCheckoutDocument, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canCancelCheckout.Document")] - canCancelCheckoutDocument, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canCheckin.Document")] - canCheckinDocument, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canGetAllVersions.VersionSeries")] - canGetAllVersionsVersionSeries, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canGetObjectRelationships.Object")] - canGetObjectRelationshipsObject, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canAddPolicy.Object")] - canAddPolicyObject, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canAddPolicy.Policy")] - canAddPolicyPolicy, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canRemovePolicy.Object")] - canRemovePolicyObject, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canRemovePolicy.Policy")] - canRemovePolicyPolicy, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canGetAppliedPolicies.Object")] - canGetAppliedPoliciesObject, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canGetACL.Object")] - canGetACLObject, - - /// - [System.Xml.Serialization.XmlEnumAttribute("canApplyACL.Object")] - canApplyACLObject, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPermissionDefinition - { - - private string permissionField; - - private string descriptionField; - - private System.Xml.XmlElement[] anyField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public string permission - { - get - { - return this.permissionField; - } - set - { - this.permissionField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public string description - { - get - { - return this.descriptionField; - } - set - { - this.descriptionField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisACLCapabilityType - { - - private enumACLPropagation propagationField; - - private cmisPermissionDefinition[] permissionsField; - - private cmisPermissionMapping[] mappingField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public enumACLPropagation propagation - { - get - { - return this.propagationField; - } - set - { - this.propagationField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("permissions", Order = 1)] - public cmisPermissionDefinition[] permissions - { - get - { - return this.permissionsField; - } - set - { - this.permissionsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("mapping", Order = 2)] - public cmisPermissionMapping[] mapping - { - get - { - return this.mappingField; - } - set - { - this.mappingField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisRepositoryCapabilitiesType - { - - private enumCapabilityACL capabilityACLField; - - private bool capabilityAllVersionsSearchableField; - - private enumCapabilityChanges capabilityChangesField; - - private enumCapabilityContentStreamUpdates capabilityContentStreamUpdatabilityField; - - private bool capabilityGetDescendantsField; - - private bool capabilityGetFolderTreeField; - - private bool capabilityMultifilingField; - - private bool capabilityPWCSearchableField; - - private bool capabilityPWCUpdatableField; - - private enumCapabilityQuery capabilityQueryField; - - private enumCapabilityRendition capabilityRenditionsField; - - private bool capabilityUnfilingField; - - private bool capabilityVersionSpecificFilingField; - - private enumCapabilityJoin capabilityJoinField; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public enumCapabilityACL capabilityACL - { - get - { - return this.capabilityACLField; - } - set - { - this.capabilityACLField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public bool capabilityAllVersionsSearchable - { - get - { - return this.capabilityAllVersionsSearchableField; - } - set - { - this.capabilityAllVersionsSearchableField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 2)] - public enumCapabilityChanges capabilityChanges - { - get - { - return this.capabilityChangesField; - } - set - { - this.capabilityChangesField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 3)] - public enumCapabilityContentStreamUpdates capabilityContentStreamUpdatability - { - get - { - return this.capabilityContentStreamUpdatabilityField; - } - set - { - this.capabilityContentStreamUpdatabilityField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 4)] - public bool capabilityGetDescendants - { - get - { - return this.capabilityGetDescendantsField; - } - set - { - this.capabilityGetDescendantsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 5)] - public bool capabilityGetFolderTree - { - get - { - return this.capabilityGetFolderTreeField; - } - set - { - this.capabilityGetFolderTreeField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 6)] - public bool capabilityMultifiling - { - get - { - return this.capabilityMultifilingField; - } - set - { - this.capabilityMultifilingField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 7)] - public bool capabilityPWCSearchable - { - get - { - return this.capabilityPWCSearchableField; - } - set - { - this.capabilityPWCSearchableField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 8)] - public bool capabilityPWCUpdatable - { - get - { - return this.capabilityPWCUpdatableField; - } - set - { - this.capabilityPWCUpdatableField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 9)] - public enumCapabilityQuery capabilityQuery - { - get - { - return this.capabilityQueryField; - } - set - { - this.capabilityQueryField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 10)] - public enumCapabilityRendition capabilityRenditions - { - get - { - return this.capabilityRenditionsField; - } - set - { - this.capabilityRenditionsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 11)] - public bool capabilityUnfiling - { - get - { - return this.capabilityUnfilingField; - } - set - { - this.capabilityUnfilingField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 12)] - public bool capabilityVersionSpecificFiling - { - get - { - return this.capabilityVersionSpecificFilingField; - } - set - { - this.capabilityVersionSpecificFilingField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 13)] - public enumCapabilityJoin capabilityJoin - { - get - { - return this.capabilityJoinField; - } - set - { - this.capabilityJoinField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 14)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumCapabilityACL - { - - /// - none, - - /// - discover, - - /// - manage, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumCapabilityChanges - { - - /// - none, - - /// - objectidsonly, - - /// - properties, - - /// - all, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumCapabilityContentStreamUpdates - { - - /// - anytime, - - /// - pwconly, - - /// - none, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumCapabilityQuery - { - - /// - none, - - /// - metadataonly, - - /// - fulltextonly, - - /// - bothseparate, - - /// - bothcombined, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumCapabilityRendition - { - - /// - none, - - /// - read, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumCapabilityJoin - { - - /// - none, - - /// - inneronly, - - /// - innerandouter, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisRepositoryInfoType - { - - private string repositoryIdField; - - private string repositoryNameField; - - private string repositoryDescriptionField; - - private string vendorNameField; - - private string productNameField; - - private string productVersionField; - - private string rootFolderIdField; - - private string latestChangeLogTokenField; - - private cmisRepositoryCapabilitiesType capabilitiesField; - - private cmisACLCapabilityType aclCapabilityField; - - private decimal cmisVersionSupportedField; - - private string thinClientURIField; - - private bool changesIncompleteField; - - private bool changesIncompleteFieldSpecified; - - private enumBaseObjectTypeIds[] changesOnTypeField; - - private string principalAnonymousField; - - private string principalAnyoneField; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public string repositoryId - { - get - { - return this.repositoryIdField; - } - set - { - this.repositoryIdField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public string repositoryName - { - get - { - return this.repositoryNameField; - } - set - { - this.repositoryNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 2)] - public string repositoryDescription - { - get - { - return this.repositoryDescriptionField; - } - set - { - this.repositoryDescriptionField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 3)] - public string vendorName - { - get - { - return this.vendorNameField; - } - set - { - this.vendorNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 4)] - public string productName - { - get - { - return this.productNameField; - } - set - { - this.productNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 5)] - public string productVersion - { - get - { - return this.productVersionField; - } - set - { - this.productVersionField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 6)] - public string rootFolderId - { - get - { - return this.rootFolderIdField; - } - set - { - this.rootFolderIdField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 7)] - public string latestChangeLogToken - { - get - { - return this.latestChangeLogTokenField; - } - set - { - this.latestChangeLogTokenField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 8)] - public cmisRepositoryCapabilitiesType capabilities - { - get - { - return this.capabilitiesField; - } - set - { - this.capabilitiesField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 9)] - public cmisACLCapabilityType aclCapability - { - get - { - return this.aclCapabilityField; - } - set - { - this.aclCapabilityField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 10)] - public decimal cmisVersionSupported - { - get - { - return this.cmisVersionSupportedField; - } - set - { - this.cmisVersionSupportedField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "anyURI", Order = 11)] - public string thinClientURI - { - get - { - return this.thinClientURIField; - } - set - { - this.thinClientURIField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 12)] - public bool changesIncomplete - { - get - { - return this.changesIncompleteField; - } - set - { - this.changesIncompleteField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool changesIncompleteSpecified - { - get - { - return this.changesIncompleteFieldSpecified; - } - set - { - this.changesIncompleteFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("changesOnType", Order = 13)] - public enumBaseObjectTypeIds[] changesOnType - { - get - { - return this.changesOnTypeField; - } - set - { - this.changesOnTypeField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 14)] - public string principalAnonymous - { - get - { - return this.principalAnonymousField; - } - set - { - this.principalAnonymousField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 15)] - public string principalAnyone - { - get - { - return this.principalAnyoneField; - } - set - { - this.principalAnyoneField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 16)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - public partial class cmisRepositoryEntryType - { - - private string repositoryIdField; - - private string repositoryNameField; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public string repositoryId - { - get - { - return this.repositoryIdField; - } - set - { - this.repositoryIdField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public string repositoryName - { - get - { - return this.repositoryNameField; - } - set - { - this.repositoryNameField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.648")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - public partial class cmisContentStreamType - { - - private string lengthField; - - private string mimeTypeField; - - private string filenameField; - - private byte[] streamField; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", Order = 0)] - public string length - { - get - { - return this.lengthField; - } - set - { - this.lengthField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public string mimeType - { - get - { - return this.mimeTypeField; - } - set - { - this.mimeTypeField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 2)] - public string filename - { - get - { - return this.filenameField; - } - set - { - this.filenameField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "base64Binary", Order = 3)] - public byte[] stream - { - get - { - return this.streamField; - } - set - { - this.streamField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 4)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.648")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - public partial class cmisObjectListType - { - - private cmisObjectType[] objectsField; - - private bool hasMoreItemsField; - - private string numItemsField; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute("objects", Order = 0)] - public cmisObjectType[] objects - { - get - { - return this.objectsField; - } - set - { - this.objectsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public bool hasMoreItems - { - get - { - return this.hasMoreItemsField; - } - set - { - this.hasMoreItemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", Order = 2)] - public string numItems - { - get - { - return this.numItemsField; - } - set - { - this.numItemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 3)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisObjectType - { - - private cmisPropertiesType propertiesField; - - private cmisAllowableActionsType allowableActionsField; - - private cmisObjectType[] relationshipField; - - private cmisChangeEventType changeEventInfoField; - - private cmisAccessControlListType aclField; - - private bool exactACLField; - - private bool exactACLFieldSpecified; - - private cmisListOfIdsType policyIdsField; - - private cmisRenditionType[] renditionField; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public cmisPropertiesType properties - { - get - { - return this.propertiesField; - } - set - { - this.propertiesField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public cmisAllowableActionsType allowableActions - { - get - { - return this.allowableActionsField; - } - set - { - this.allowableActionsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("relationship", Order = 2)] - public cmisObjectType[] relationship - { - get - { - return this.relationshipField; - } - set - { - this.relationshipField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 3)] - public cmisChangeEventType changeEventInfo - { - get - { - return this.changeEventInfoField; - } - set - { - this.changeEventInfoField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 4)] - public cmisAccessControlListType acl - { - get - { - return this.aclField; - } - set - { - this.aclField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 5)] - public bool exactACL - { - get - { - return this.exactACLField; - } - set - { - this.exactACLField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool exactACLSpecified - { - get - { - return this.exactACLFieldSpecified; - } - set - { - this.exactACLFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 6)] - public cmisListOfIdsType policyIds - { - get - { - return this.policyIdsField; - } - set - { - this.policyIdsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("rendition", Order = 7)] - public cmisRenditionType[] rendition - { - get - { - return this.renditionField; - } - set - { - this.renditionField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 8)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.648")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisPropertiesType - { - - private cmisProperty[] itemsField; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute("propertyBoolean", typeof(cmisPropertyBoolean), IsNullable = true, Order = 0)] - [System.Xml.Serialization.XmlElementAttribute("propertyDateTime", typeof(cmisPropertyDateTime), IsNullable = true, Order = 0)] - [System.Xml.Serialization.XmlElementAttribute("propertyDecimal", typeof(cmisPropertyDecimal), IsNullable = true, Order = 0)] - [System.Xml.Serialization.XmlElementAttribute("propertyHtml", typeof(cmisPropertyHtml), IsNullable = true, Order = 0)] - [System.Xml.Serialization.XmlElementAttribute("propertyId", typeof(cmisPropertyId), IsNullable = true, Order = 0)] - [System.Xml.Serialization.XmlElementAttribute("propertyInteger", typeof(cmisPropertyInteger), IsNullable = true, Order = 0)] - [System.Xml.Serialization.XmlElementAttribute("propertyString", typeof(cmisPropertyString), IsNullable = true, Order = 0)] - [System.Xml.Serialization.XmlElementAttribute("propertyUri", typeof(cmisPropertyUri), IsNullable = true, Order = 0)] - public cmisProperty[] Items - { - get - { - return this.itemsField; - } - set - { - this.itemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisAllowableActionsType - { - - private bool canDeleteObjectField; - - private bool canDeleteObjectFieldSpecified; - - private bool canUpdatePropertiesField; - - private bool canUpdatePropertiesFieldSpecified; - - private bool canGetFolderTreeField; - - private bool canGetFolderTreeFieldSpecified; - - private bool canGetPropertiesField; - - private bool canGetPropertiesFieldSpecified; - - private bool canGetObjectRelationshipsField; - - private bool canGetObjectRelationshipsFieldSpecified; - - private bool canGetObjectParentsField; - - private bool canGetObjectParentsFieldSpecified; - - private bool canGetFolderParentField; - - private bool canGetFolderParentFieldSpecified; - - private bool canGetDescendantsField; - - private bool canGetDescendantsFieldSpecified; - - private bool canMoveObjectField; - - private bool canMoveObjectFieldSpecified; - - private bool canDeleteContentStreamField; - - private bool canDeleteContentStreamFieldSpecified; - - private bool canCheckOutField; - - private bool canCheckOutFieldSpecified; - - private bool canCancelCheckOutField; - - private bool canCancelCheckOutFieldSpecified; - - private bool canCheckInField; - - private bool canCheckInFieldSpecified; - - private bool canSetContentStreamField; - - private bool canSetContentStreamFieldSpecified; - - private bool canGetAllVersionsField; - - private bool canGetAllVersionsFieldSpecified; - - private bool canAddObjectToFolderField; - - private bool canAddObjectToFolderFieldSpecified; - - private bool canRemoveObjectFromFolderField; - - private bool canRemoveObjectFromFolderFieldSpecified; - - private bool canGetContentStreamField; - - private bool canGetContentStreamFieldSpecified; - - private bool canApplyPolicyField; - - private bool canApplyPolicyFieldSpecified; - - private bool canGetAppliedPoliciesField; - - private bool canGetAppliedPoliciesFieldSpecified; - - private bool canRemovePolicyField; - - private bool canRemovePolicyFieldSpecified; - - private bool canGetChildrenField; - - private bool canGetChildrenFieldSpecified; - - private bool canCreateDocumentField; - - private bool canCreateDocumentFieldSpecified; - - private bool canCreateFolderField; - - private bool canCreateFolderFieldSpecified; - - private bool canCreateRelationshipField; - - private bool canCreateRelationshipFieldSpecified; - - private bool canCreatePolicyField; - - private bool canCreatePolicyFieldSpecified; - - private bool canDeleteTreeField; - - private bool canDeleteTreeFieldSpecified; - - private bool canGetRenditionsField; - - private bool canGetRenditionsFieldSpecified; - - private bool canGetACLField; - - private bool canGetACLFieldSpecified; - - private bool canApplyACLField; - - private bool canApplyACLFieldSpecified; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public bool canDeleteObject - { - get - { - return this.canDeleteObjectField; - } - set - { - this.canDeleteObjectField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canDeleteObjectSpecified - { - get - { - return this.canDeleteObjectFieldSpecified; - } - set - { - this.canDeleteObjectFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public bool canUpdateProperties - { - get - { - return this.canUpdatePropertiesField; - } - set - { - this.canUpdatePropertiesField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canUpdatePropertiesSpecified - { - get - { - return this.canUpdatePropertiesFieldSpecified; - } - set - { - this.canUpdatePropertiesFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 2)] - public bool canGetFolderTree - { - get - { - return this.canGetFolderTreeField; - } - set - { - this.canGetFolderTreeField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canGetFolderTreeSpecified - { - get - { - return this.canGetFolderTreeFieldSpecified; - } - set - { - this.canGetFolderTreeFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 3)] - public bool canGetProperties - { - get - { - return this.canGetPropertiesField; - } - set - { - this.canGetPropertiesField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canGetPropertiesSpecified - { - get - { - return this.canGetPropertiesFieldSpecified; - } - set - { - this.canGetPropertiesFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 4)] - public bool canGetObjectRelationships - { - get - { - return this.canGetObjectRelationshipsField; - } - set - { - this.canGetObjectRelationshipsField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canGetObjectRelationshipsSpecified - { - get - { - return this.canGetObjectRelationshipsFieldSpecified; - } - set - { - this.canGetObjectRelationshipsFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 5)] - public bool canGetObjectParents - { - get - { - return this.canGetObjectParentsField; - } - set - { - this.canGetObjectParentsField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canGetObjectParentsSpecified - { - get - { - return this.canGetObjectParentsFieldSpecified; - } - set - { - this.canGetObjectParentsFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 6)] - public bool canGetFolderParent - { - get - { - return this.canGetFolderParentField; - } - set - { - this.canGetFolderParentField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canGetFolderParentSpecified - { - get - { - return this.canGetFolderParentFieldSpecified; - } - set - { - this.canGetFolderParentFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 7)] - public bool canGetDescendants - { - get - { - return this.canGetDescendantsField; - } - set - { - this.canGetDescendantsField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canGetDescendantsSpecified - { - get - { - return this.canGetDescendantsFieldSpecified; - } - set - { - this.canGetDescendantsFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 8)] - public bool canMoveObject - { - get - { - return this.canMoveObjectField; - } - set - { - this.canMoveObjectField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canMoveObjectSpecified - { - get - { - return this.canMoveObjectFieldSpecified; - } - set - { - this.canMoveObjectFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 9)] - public bool canDeleteContentStream - { - get - { - return this.canDeleteContentStreamField; - } - set - { - this.canDeleteContentStreamField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canDeleteContentStreamSpecified - { - get - { - return this.canDeleteContentStreamFieldSpecified; - } - set - { - this.canDeleteContentStreamFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 10)] - public bool canCheckOut - { - get - { - return this.canCheckOutField; - } - set - { - this.canCheckOutField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canCheckOutSpecified - { - get - { - return this.canCheckOutFieldSpecified; - } - set - { - this.canCheckOutFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 11)] - public bool canCancelCheckOut - { - get - { - return this.canCancelCheckOutField; - } - set - { - this.canCancelCheckOutField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canCancelCheckOutSpecified - { - get - { - return this.canCancelCheckOutFieldSpecified; - } - set - { - this.canCancelCheckOutFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 12)] - public bool canCheckIn - { - get - { - return this.canCheckInField; - } - set - { - this.canCheckInField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canCheckInSpecified - { - get - { - return this.canCheckInFieldSpecified; - } - set - { - this.canCheckInFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 13)] - public bool canSetContentStream - { - get - { - return this.canSetContentStreamField; - } - set - { - this.canSetContentStreamField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canSetContentStreamSpecified - { - get - { - return this.canSetContentStreamFieldSpecified; - } - set - { - this.canSetContentStreamFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 14)] - public bool canGetAllVersions - { - get - { - return this.canGetAllVersionsField; - } - set - { - this.canGetAllVersionsField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canGetAllVersionsSpecified - { - get - { - return this.canGetAllVersionsFieldSpecified; - } - set - { - this.canGetAllVersionsFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 15)] - public bool canAddObjectToFolder - { - get - { - return this.canAddObjectToFolderField; - } - set - { - this.canAddObjectToFolderField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canAddObjectToFolderSpecified - { - get - { - return this.canAddObjectToFolderFieldSpecified; - } - set - { - this.canAddObjectToFolderFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 16)] - public bool canRemoveObjectFromFolder - { - get - { - return this.canRemoveObjectFromFolderField; - } - set - { - this.canRemoveObjectFromFolderField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canRemoveObjectFromFolderSpecified - { - get - { - return this.canRemoveObjectFromFolderFieldSpecified; - } - set - { - this.canRemoveObjectFromFolderFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 17)] - public bool canGetContentStream - { - get - { - return this.canGetContentStreamField; - } - set - { - this.canGetContentStreamField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canGetContentStreamSpecified - { - get - { - return this.canGetContentStreamFieldSpecified; - } - set - { - this.canGetContentStreamFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 18)] - public bool canApplyPolicy - { - get - { - return this.canApplyPolicyField; - } - set - { - this.canApplyPolicyField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canApplyPolicySpecified - { - get - { - return this.canApplyPolicyFieldSpecified; - } - set - { - this.canApplyPolicyFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 19)] - public bool canGetAppliedPolicies - { - get - { - return this.canGetAppliedPoliciesField; - } - set - { - this.canGetAppliedPoliciesField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canGetAppliedPoliciesSpecified - { - get - { - return this.canGetAppliedPoliciesFieldSpecified; - } - set - { - this.canGetAppliedPoliciesFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 20)] - public bool canRemovePolicy - { - get - { - return this.canRemovePolicyField; - } - set - { - this.canRemovePolicyField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canRemovePolicySpecified - { - get - { - return this.canRemovePolicyFieldSpecified; - } - set - { - this.canRemovePolicyFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 21)] - public bool canGetChildren - { - get - { - return this.canGetChildrenField; - } - set - { - this.canGetChildrenField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canGetChildrenSpecified - { - get - { - return this.canGetChildrenFieldSpecified; - } - set - { - this.canGetChildrenFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 22)] - public bool canCreateDocument - { - get - { - return this.canCreateDocumentField; - } - set - { - this.canCreateDocumentField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canCreateDocumentSpecified - { - get - { - return this.canCreateDocumentFieldSpecified; - } - set - { - this.canCreateDocumentFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 23)] - public bool canCreateFolder - { - get - { - return this.canCreateFolderField; - } - set - { - this.canCreateFolderField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canCreateFolderSpecified - { - get - { - return this.canCreateFolderFieldSpecified; - } - set - { - this.canCreateFolderFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 24)] - public bool canCreateRelationship - { - get - { - return this.canCreateRelationshipField; - } - set - { - this.canCreateRelationshipField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canCreateRelationshipSpecified - { - get - { - return this.canCreateRelationshipFieldSpecified; - } - set - { - this.canCreateRelationshipFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 25)] - public bool canCreatePolicy - { - get - { - return this.canCreatePolicyField; - } - set - { - this.canCreatePolicyField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canCreatePolicySpecified - { - get - { - return this.canCreatePolicyFieldSpecified; - } - set - { - this.canCreatePolicyFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 26)] - public bool canDeleteTree - { - get - { - return this.canDeleteTreeField; - } - set - { - this.canDeleteTreeField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canDeleteTreeSpecified - { - get - { - return this.canDeleteTreeFieldSpecified; - } - set - { - this.canDeleteTreeFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 27)] - public bool canGetRenditions - { - get - { - return this.canGetRenditionsField; - } - set - { - this.canGetRenditionsField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canGetRenditionsSpecified - { - get - { - return this.canGetRenditionsFieldSpecified; - } - set - { - this.canGetRenditionsFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 28)] - public bool canGetACL - { - get - { - return this.canGetACLField; - } - set - { - this.canGetACLField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canGetACLSpecified - { - get - { - return this.canGetACLFieldSpecified; - } - set - { - this.canGetACLFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 29)] - public bool canApplyACL - { - get - { - return this.canApplyACLField; - } - set - { - this.canApplyACLField = value; - } - } - - /// - [System.Xml.Serialization.XmlIgnoreAttribute()] - public bool canApplyACLSpecified - { - get - { - return this.canApplyACLFieldSpecified; - } - set - { - this.canApplyACLFieldSpecified = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 30)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisChangeEventType - { - - private enumTypeOfChanges changeTypeField; - - private System.DateTime changeTimeField; - - private System.Xml.XmlElement[] anyField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public enumTypeOfChanges changeType - { - get - { - return this.changeTypeField; - } - set - { - this.changeTypeField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public System.DateTime changeTime - { - get - { - return this.changeTimeField; - } - set - { - this.changeTimeField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumTypeOfChanges - { - - /// - created, - - /// - updated, - - /// - deleted, - - /// - security, - } - - /// - [System.SerializableAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisAccessControlListType - { - - private cmisAccessControlEntryType[] permissionField; - - private System.Xml.XmlElement[] anyField; - - /// - [System.Xml.Serialization.XmlElementAttribute("permission", Order = 0)] - public cmisAccessControlEntryType[] permission - { - get - { - return this.permissionField; - } - set - { - this.permissionField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.648")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisAccessControlEntryType - { - - private cmisAccessControlPrincipalType principalField; - - private string[] permissionField; - - private bool directField; - - private System.Xml.XmlElement[] anyField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public cmisAccessControlPrincipalType principal - { - get - { - return this.principalField; - } - set - { - this.principalField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("permission", Order = 1)] - public string[] permission - { - get - { - return this.permissionField; - } - set - { - this.permissionField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 2)] - public bool direct - { - get - { - return this.directField; - } - set - { - this.directField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 3)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisAccessControlPrincipalType - { - - private string principalIdField; - - private System.Xml.XmlElement[] anyField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public string principalId - { - get - { - return this.principalIdField; - } - set - { - this.principalIdField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisListOfIdsType - { - - private string[] idField; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute("id", Order = 0)] - public string[] id - { - get - { - return this.idField; - } - set - { - this.idField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public partial class cmisRenditionType - { - - private string streamIdField; - - private string mimetypeField; - - private string lengthField; - - private string kindField; - - private string titleField; - - private string heightField; - - private string widthField; - - private string renditionDocumentIdField; - - private System.Xml.XmlElement[] anyField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public string streamId - { - get - { - return this.streamIdField; - } - set - { - this.streamIdField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public string mimetype - { - get - { - return this.mimetypeField; - } - set - { - this.mimetypeField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", Order = 2)] - public string length - { - get - { - return this.lengthField; - } - set - { - this.lengthField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 3)] - public string kind - { - get - { - return this.kindField; - } - set - { - this.kindField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 4)] - public string title - { - get - { - return this.titleField; - } - set - { - this.titleField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", Order = 5)] - public string height - { - get - { - return this.heightField; - } - set - { - this.heightField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", Order = 6)] - public string width - { - get - { - return this.widthField; - } - set - { - this.widthField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 7)] - public string renditionDocumentId - { - get - { - return this.renditionDocumentIdField; - } - set - { - this.renditionDocumentIdField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 8)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - public partial class cmisObjectParentsType - { - - private cmisObjectType objectField; - - private string relativePathSegmentField; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public cmisObjectType @object - { - get - { - return this.objectField; - } - set - { - this.objectField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public string relativePathSegment - { - get - { - return this.relativePathSegmentField; - } - set - { - this.relativePathSegmentField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - public partial class cmisObjectInFolderListType - { - - private cmisObjectInFolderType[] objectsField; - - private bool hasMoreItemsField; - - private string numItemsField; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute("objects", Order = 0)] - public cmisObjectInFolderType[] objects - { - get - { - return this.objectsField; - } - set - { - this.objectsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public bool hasMoreItems - { - get - { - return this.hasMoreItemsField; - } - set - { - this.hasMoreItemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", Order = 2)] - public string numItems - { - get - { - return this.numItemsField; - } - set - { - this.numItemsField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 3)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - public partial class cmisObjectInFolderType - { - - private cmisObjectType objectField; - - private string pathSegmentField; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public cmisObjectType @object - { - get - { - return this.objectField; - } - set - { - this.objectField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 1)] - public string pathSegment - { - get - { - return this.pathSegmentField; - } - set - { - this.pathSegmentField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - public partial class cmisObjectInFolderContainerType - { - - private cmisObjectInFolderType objectInFolderField; - - private cmisObjectInFolderContainerType[] childrenField; - - private System.Xml.XmlElement[] anyField; - - private System.Xml.XmlAttribute[] anyAttrField; - - /// - [System.Xml.Serialization.XmlElementAttribute(Order = 0)] - public cmisObjectInFolderType objectInFolder - { - get - { - return this.objectInFolderField; - } - set - { - this.objectInFolderField = value; - } - } - - /// - [System.Xml.Serialization.XmlElementAttribute("children", Order = 1)] - public cmisObjectInFolderContainerType[] children - { - get - { - return this.childrenField; - } - set - { - this.childrenField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 2)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyAttributeAttribute()] - public System.Xml.XmlAttribute[] AnyAttr - { - get - { - return this.anyAttrField; - } - set - { - this.anyAttrField = value; - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getDescendants", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getDescendantsRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string folderId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", IsNullable = true)] - public string depth; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string filter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeAllowableActions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeRelationships; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string renditionFilter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 7)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includePathSegments; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 8)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getDescendantsRequest() - { - } - - public getDescendantsRequest(string repositoryId, string folderId, string depth, string filter, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable includePathSegments, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.folderId = folderId; - this.depth = depth; - this.filter = filter; - this.includeAllowableActions = includeAllowableActions; - this.includeRelationships = includeRelationships; - this.renditionFilter = renditionFilter; - this.includePathSegments = includePathSegments; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getDescendantsResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getDescendantsResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - [System.Xml.Serialization.XmlElementAttribute("objects")] - public cmisObjectInFolderContainerType[] objects; - - public getDescendantsResponse() - { - } - - public getDescendantsResponse(cmisObjectInFolderContainerType[] objects) - { - this.objects = objects; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getChildren", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getChildrenRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string folderId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string filter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string orderBy; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeAllowableActions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeRelationships; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string renditionFilter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 7)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includePathSegments; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 8)] - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", IsNullable = true)] - public string maxItems; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 9)] - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", IsNullable = true)] - public string skipCount; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 10)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getChildrenRequest() - { - } - - public getChildrenRequest(string repositoryId, string folderId, string filter, string orderBy, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable includePathSegments, string maxItems, string skipCount, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.folderId = folderId; - this.filter = filter; - this.orderBy = orderBy; - this.includeAllowableActions = includeAllowableActions; - this.includeRelationships = includeRelationships; - this.renditionFilter = renditionFilter; - this.includePathSegments = includePathSegments; - this.maxItems = maxItems; - this.skipCount = skipCount; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getChildrenResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getChildrenResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisObjectInFolderListType objects; - - public getChildrenResponse() - { - } - - public getChildrenResponse(WcfCmisWSTests.CmisServices.cmisObjectInFolderListType objects) - { - this.objects = objects; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getFolderParent", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getFolderParentRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string folderId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public string filter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getFolderParentRequest() - { - } - - public getFolderParentRequest(string repositoryId, string folderId, string filter, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.folderId = folderId; - this.filter = filter; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getFolderParentResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getFolderParentResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisObjectType @object; - - public getFolderParentResponse() - { - } - - public getFolderParentResponse(WcfCmisWSTests.CmisServices.cmisObjectType @object) - { - this.@object = @object; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getFolderTree", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getFolderTreeRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string folderId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", IsNullable = true)] - public string depth; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string filter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeAllowableActions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeRelationships; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string renditionFilter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 7)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includePathSegments; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 8)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getFolderTreeRequest() - { - } - - public getFolderTreeRequest(string repositoryId, string folderId, string depth, string filter, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable includePathSegments, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.folderId = folderId; - this.depth = depth; - this.filter = filter; - this.includeAllowableActions = includeAllowableActions; - this.includeRelationships = includeRelationships; - this.renditionFilter = renditionFilter; - this.includePathSegments = includePathSegments; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getFolderTreeResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getFolderTreeResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - [System.Xml.Serialization.XmlElementAttribute("objects")] - public cmisObjectInFolderContainerType[] objects; - - public getFolderTreeResponse() - { - } - - public getFolderTreeResponse(cmisObjectInFolderContainerType[] objects) - { - this.objects = objects; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getObjectParents", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getObjectParentsRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string filter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeAllowableActions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeRelationships; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string renditionFilter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeRelativePathSegment; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 7)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getObjectParentsRequest() - { - } - - public getObjectParentsRequest(string repositoryId, string objectId, string filter, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable includeRelativePathSegment, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.filter = filter; - this.includeAllowableActions = includeAllowableActions; - this.includeRelationships = includeRelationships; - this.renditionFilter = renditionFilter; - this.includeRelativePathSegment = includeRelativePathSegment; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getObjectParentsResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getObjectParentsResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - [System.Xml.Serialization.XmlElementAttribute("parents")] - public cmisObjectParentsType[] parents; - - public getObjectParentsResponse() - { - } - - public getObjectParentsResponse(cmisObjectParentsType[] parents) - { - this.parents = parents; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getCheckedOutDocs", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getCheckedOutDocsRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string folderId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string filter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string orderBy; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeAllowableActions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeRelationships; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string renditionFilter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 7)] - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", IsNullable = true)] - public string maxItems; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 8)] - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", IsNullable = true)] - public string skipCount; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 9)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getCheckedOutDocsRequest() - { - } - - public getCheckedOutDocsRequest(string repositoryId, string folderId, string filter, string orderBy, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, string maxItems, string skipCount, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.folderId = folderId; - this.filter = filter; - this.orderBy = orderBy; - this.includeAllowableActions = includeAllowableActions; - this.includeRelationships = includeRelationships; - this.renditionFilter = renditionFilter; - this.maxItems = maxItems; - this.skipCount = skipCount; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getCheckedOutDocsResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getCheckedOutDocsResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisObjectListType objects; - - public getCheckedOutDocsResponse() - { - } - - public getCheckedOutDocsResponse(WcfCmisWSTests.CmisServices.cmisObjectListType objects) - { - this.objects = objects; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public interface NavigationServicePortChannel : WcfCmisWSTests.CmisServices.NavigationServicePort, System.ServiceModel.IClientChannel - { - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public partial class NavigationServicePortClient : System.ServiceModel.ClientBase, WcfCmisWSTests.CmisServices.NavigationServicePort - { - - public NavigationServicePortClient() - { - } - - public NavigationServicePortClient(string endpointConfigurationName) : - base(endpointConfigurationName) - { - } - - public NavigationServicePortClient(string endpointConfigurationName, string remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public NavigationServicePortClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public NavigationServicePortClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : - base(binding, remoteAddress) - { - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getDescendantsResponse WcfCmisWSTests.CmisServices.NavigationServicePort.getDescendants(WcfCmisWSTests.CmisServices.getDescendantsRequest request) - { - return base.Channel.getDescendants(request); - } - - public cmisObjectInFolderContainerType[] getDescendants(string repositoryId, string folderId, string depth, string filter, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable includePathSegments, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getDescendantsRequest inValue = new WcfCmisWSTests.CmisServices.getDescendantsRequest(); - inValue.repositoryId = repositoryId; - inValue.folderId = folderId; - inValue.depth = depth; - inValue.filter = filter; - inValue.includeAllowableActions = includeAllowableActions; - inValue.includeRelationships = includeRelationships; - inValue.renditionFilter = renditionFilter; - inValue.includePathSegments = includePathSegments; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getDescendantsResponse retVal = ((WcfCmisWSTests.CmisServices.NavigationServicePort)(this)).getDescendants(inValue); - return retVal.objects; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getChildrenResponse WcfCmisWSTests.CmisServices.NavigationServicePort.getChildren(WcfCmisWSTests.CmisServices.getChildrenRequest request) - { - return base.Channel.getChildren(request); - } - - public WcfCmisWSTests.CmisServices.cmisObjectInFolderListType getChildren(string repositoryId, string folderId, string filter, string orderBy, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable includePathSegments, string maxItems, string skipCount, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getChildrenRequest inValue = new WcfCmisWSTests.CmisServices.getChildrenRequest(); - inValue.repositoryId = repositoryId; - inValue.folderId = folderId; - inValue.filter = filter; - inValue.orderBy = orderBy; - inValue.includeAllowableActions = includeAllowableActions; - inValue.includeRelationships = includeRelationships; - inValue.renditionFilter = renditionFilter; - inValue.includePathSegments = includePathSegments; - inValue.maxItems = maxItems; - inValue.skipCount = skipCount; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getChildrenResponse retVal = ((WcfCmisWSTests.CmisServices.NavigationServicePort)(this)).getChildren(inValue); - return retVal.objects; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getFolderParentResponse WcfCmisWSTests.CmisServices.NavigationServicePort.getFolderParent(WcfCmisWSTests.CmisServices.getFolderParentRequest request) - { - return base.Channel.getFolderParent(request); - } - - public WcfCmisWSTests.CmisServices.cmisObjectType getFolderParent(string repositoryId, string folderId, string filter, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getFolderParentRequest inValue = new WcfCmisWSTests.CmisServices.getFolderParentRequest(); - inValue.repositoryId = repositoryId; - inValue.folderId = folderId; - inValue.filter = filter; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getFolderParentResponse retVal = ((WcfCmisWSTests.CmisServices.NavigationServicePort)(this)).getFolderParent(inValue); - return retVal.@object; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getFolderTreeResponse WcfCmisWSTests.CmisServices.NavigationServicePort.getFolderTree(WcfCmisWSTests.CmisServices.getFolderTreeRequest request) - { - return base.Channel.getFolderTree(request); - } - - public cmisObjectInFolderContainerType[] getFolderTree(string repositoryId, string folderId, string depth, string filter, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable includePathSegments, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getFolderTreeRequest inValue = new WcfCmisWSTests.CmisServices.getFolderTreeRequest(); - inValue.repositoryId = repositoryId; - inValue.folderId = folderId; - inValue.depth = depth; - inValue.filter = filter; - inValue.includeAllowableActions = includeAllowableActions; - inValue.includeRelationships = includeRelationships; - inValue.renditionFilter = renditionFilter; - inValue.includePathSegments = includePathSegments; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getFolderTreeResponse retVal = ((WcfCmisWSTests.CmisServices.NavigationServicePort)(this)).getFolderTree(inValue); - return retVal.objects; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getObjectParentsResponse WcfCmisWSTests.CmisServices.NavigationServicePort.getObjectParents(WcfCmisWSTests.CmisServices.getObjectParentsRequest request) - { - return base.Channel.getObjectParents(request); - } - - public cmisObjectParentsType[] getObjectParents(string repositoryId, string objectId, string filter, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable includeRelativePathSegment, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getObjectParentsRequest inValue = new WcfCmisWSTests.CmisServices.getObjectParentsRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.filter = filter; - inValue.includeAllowableActions = includeAllowableActions; - inValue.includeRelationships = includeRelationships; - inValue.renditionFilter = renditionFilter; - inValue.includeRelativePathSegment = includeRelativePathSegment; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getObjectParentsResponse retVal = ((WcfCmisWSTests.CmisServices.NavigationServicePort)(this)).getObjectParents(inValue); - return retVal.parents; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getCheckedOutDocsResponse WcfCmisWSTests.CmisServices.NavigationServicePort.getCheckedOutDocs(WcfCmisWSTests.CmisServices.getCheckedOutDocsRequest request) - { - return base.Channel.getCheckedOutDocs(request); - } - - public WcfCmisWSTests.CmisServices.cmisObjectListType getCheckedOutDocs(string repositoryId, string folderId, string filter, string orderBy, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, string maxItems, string skipCount, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getCheckedOutDocsRequest inValue = new WcfCmisWSTests.CmisServices.getCheckedOutDocsRequest(); - inValue.repositoryId = repositoryId; - inValue.folderId = folderId; - inValue.filter = filter; - inValue.orderBy = orderBy; - inValue.includeAllowableActions = includeAllowableActions; - inValue.includeRelationships = includeRelationships; - inValue.renditionFilter = renditionFilter; - inValue.maxItems = maxItems; - inValue.skipCount = skipCount; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getCheckedOutDocsResponse retVal = ((WcfCmisWSTests.CmisServices.NavigationServicePort)(this)).getCheckedOutDocs(inValue); - return retVal.objects; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.ServiceContractAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", ConfigurationName = "ObjectServicePort")] - public interface ObjectServicePort - { - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message createDocumentRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.createDocumentResponse createDocument(WcfCmisWSTests.CmisServices.createDocumentRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message createDocumentFromSourceRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.createDocumentFromSourceResponse createDocumentFromSource(WcfCmisWSTests.CmisServices.createDocumentFromSourceRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message createFolderRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.createFolderResponse createFolder(WcfCmisWSTests.CmisServices.createFolderRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message createRelationshipRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.createRelationshipResponse createRelationship(WcfCmisWSTests.CmisServices.createRelationshipRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message createPolicyRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.createPolicyResponse createPolicy(WcfCmisWSTests.CmisServices.createPolicyRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getAllowableActionsRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getAllowableActionsResponse getAllowableActions(WcfCmisWSTests.CmisServices.getAllowableActionsRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getObjectRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getObjectResponse getObject(WcfCmisWSTests.CmisServices.getObjectRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getPropertiesRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getPropertiesResponse getProperties(WcfCmisWSTests.CmisServices.getPropertiesRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getRenditionsRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getRenditionsResponse getRenditions(WcfCmisWSTests.CmisServices.getRenditionsRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getObjectByPathRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getObjectByPathResponse getObjectByPath(WcfCmisWSTests.CmisServices.getObjectByPathRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getContentStreamRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getContentStreamResponse getContentStream(WcfCmisWSTests.CmisServices.getContentStreamRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message updatePropertiesRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.updatePropertiesResponse updateProperties(WcfCmisWSTests.CmisServices.updatePropertiesRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message moveObjectRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.moveObjectResponse moveObject(WcfCmisWSTests.CmisServices.moveObjectRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message deleteObjectRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.deleteObjectResponse deleteObject(WcfCmisWSTests.CmisServices.deleteObjectRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message deleteTreeRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.deleteTreeResponse deleteTree(WcfCmisWSTests.CmisServices.deleteTreeRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message setContentStreamRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.setContentStreamResponse setContentStream(WcfCmisWSTests.CmisServices.setContentStreamRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message deleteContentStreamRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.deleteContentStreamResponse deleteContentStream(WcfCmisWSTests.CmisServices.deleteContentStreamRequest request); - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "createDocument", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class createDocumentRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public WcfCmisWSTests.CmisServices.cmisPropertiesType properties; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string folderId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisContentStreamType contentStream; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable versioningState; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute("policies", IsNullable = true)] - public string[] policies; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 7)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 8)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public createDocumentRequest() - { - } - - public createDocumentRequest(string repositoryId, WcfCmisWSTests.CmisServices.cmisPropertiesType properties, string folderId, WcfCmisWSTests.CmisServices.cmisContentStreamType contentStream, System.Nullable versioningState, string[] policies, WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs, WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.properties = properties; - this.folderId = folderId; - this.contentStream = contentStream; - this.versioningState = versioningState; - this.policies = policies; - this.addACEs = addACEs; - this.removeACEs = removeACEs; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "createDocumentResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class createDocumentResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public createDocumentResponse() - { - } - - public createDocumentResponse(string objectId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.objectId = objectId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "createDocumentFromSource", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class createDocumentFromSourceRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string sourceId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public WcfCmisWSTests.CmisServices.cmisPropertiesType properties; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string folderId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable versioningState; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute("policies", IsNullable = true)] - public string[] policies; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 7)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 8)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public createDocumentFromSourceRequest() - { - } - - public createDocumentFromSourceRequest(string repositoryId, string sourceId, WcfCmisWSTests.CmisServices.cmisPropertiesType properties, string folderId, System.Nullable versioningState, string[] policies, WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs, WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.sourceId = sourceId; - this.properties = properties; - this.folderId = folderId; - this.versioningState = versioningState; - this.policies = policies; - this.addACEs = addACEs; - this.removeACEs = removeACEs; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "createDocumentFromSourceResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class createDocumentFromSourceResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public createDocumentFromSourceResponse() - { - } - - public createDocumentFromSourceResponse(string objectId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.objectId = objectId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "createFolder", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class createFolderRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public WcfCmisWSTests.CmisServices.cmisPropertiesType properties; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public string folderId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute("policies", IsNullable = true)] - public string[] policies; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public createFolderRequest() - { - } - - public createFolderRequest(string repositoryId, WcfCmisWSTests.CmisServices.cmisPropertiesType properties, string folderId, string[] policies, WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs, WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.properties = properties; - this.folderId = folderId; - this.policies = policies; - this.addACEs = addACEs; - this.removeACEs = removeACEs; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "createFolderResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class createFolderResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public createFolderResponse() - { - } - - public createFolderResponse(string objectId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.objectId = objectId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "createRelationship", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class createRelationshipRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public WcfCmisWSTests.CmisServices.cmisPropertiesType properties; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute("policies", IsNullable = true)] - public string[] policies; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public createRelationshipRequest() - { - } - - public createRelationshipRequest(string repositoryId, WcfCmisWSTests.CmisServices.cmisPropertiesType properties, string[] policies, WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs, WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.properties = properties; - this.policies = policies; - this.addACEs = addACEs; - this.removeACEs = removeACEs; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "createRelationshipResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class createRelationshipResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public createRelationshipResponse() - { - } - - public createRelationshipResponse(string objectId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.objectId = objectId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "createPolicy", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class createPolicyRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public WcfCmisWSTests.CmisServices.cmisPropertiesType properties; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string folderId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute("policies", IsNullable = true)] - public string[] policies; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public createPolicyRequest() - { - } - - public createPolicyRequest(string repositoryId, WcfCmisWSTests.CmisServices.cmisPropertiesType properties, string folderId, string[] policies, WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs, WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.properties = properties; - this.folderId = folderId; - this.policies = policies; - this.addACEs = addACEs; - this.removeACEs = removeACEs; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "createPolicyResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class createPolicyResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public createPolicyResponse() - { - } - - public createPolicyResponse(string objectId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.objectId = objectId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getAllowableActions", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getAllowableActionsRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getAllowableActionsRequest() - { - } - - public getAllowableActionsRequest(string repositoryId, string objectId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getAllowableActionsResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getAllowableActionsResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisAllowableActionsType allowableActions; - - public getAllowableActionsResponse() - { - } - - public getAllowableActionsResponse(WcfCmisWSTests.CmisServices.cmisAllowableActionsType allowableActions) - { - this.allowableActions = allowableActions; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getObject", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getObjectRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string filter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeAllowableActions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeRelationships; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string renditionFilter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includePolicyIds; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 7)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeACL; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 8)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getObjectRequest() - { - } - - public getObjectRequest(string repositoryId, string objectId, string filter, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable includePolicyIds, System.Nullable includeACL, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.filter = filter; - this.includeAllowableActions = includeAllowableActions; - this.includeRelationships = includeRelationships; - this.renditionFilter = renditionFilter; - this.includePolicyIds = includePolicyIds; - this.includeACL = includeACL; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getObjectResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getObjectResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisObjectType @object; - - public getObjectResponse() - { - } - - public getObjectResponse(WcfCmisWSTests.CmisServices.cmisObjectType @object) - { - this.@object = @object; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getProperties", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getPropertiesRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string filter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getPropertiesRequest() - { - } - - public getPropertiesRequest(string repositoryId, string objectId, string filter, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.filter = filter; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getPropertiesResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getPropertiesResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisPropertiesType properties; - - public getPropertiesResponse() - { - } - - public getPropertiesResponse(WcfCmisWSTests.CmisServices.cmisPropertiesType properties) - { - this.properties = properties; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getRenditions", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getRenditionsRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string renditionFilter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", IsNullable = true)] - public string maxItems; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", IsNullable = true)] - public string skipCount; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getRenditionsRequest() - { - } - - public getRenditionsRequest(string repositoryId, string objectId, string renditionFilter, string maxItems, string skipCount, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.renditionFilter = renditionFilter; - this.maxItems = maxItems; - this.skipCount = skipCount; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getRenditionsResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getRenditionsResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - [System.Xml.Serialization.XmlElementAttribute("renditions")] - public cmisRenditionType[] renditions; - - public getRenditionsResponse() - { - } - - public getRenditionsResponse(cmisRenditionType[] renditions) - { - this.renditions = renditions; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getObjectByPath", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getObjectByPathRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string path; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string filter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeAllowableActions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeRelationships; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string renditionFilter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includePolicyIds; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 7)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeACL; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 8)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getObjectByPathRequest() - { - } - - public getObjectByPathRequest(string repositoryId, string path, string filter, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable includePolicyIds, System.Nullable includeACL, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.path = path; - this.filter = filter; - this.includeAllowableActions = includeAllowableActions; - this.includeRelationships = includeRelationships; - this.renditionFilter = renditionFilter; - this.includePolicyIds = includePolicyIds; - this.includeACL = includeACL; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getObjectByPathResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getObjectByPathResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisObjectType @object; - - public getObjectByPathResponse() - { - } - - public getObjectByPathResponse(WcfCmisWSTests.CmisServices.cmisObjectType @object) - { - this.@object = @object; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getContentStream", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getContentStreamRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string streamId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", IsNullable = true)] - public string offset; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", IsNullable = true)] - public string length; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getContentStreamRequest() - { - } - - public getContentStreamRequest(string repositoryId, string objectId, string streamId, string offset, string length, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.streamId = streamId; - this.offset = offset; - this.length = length; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getContentStreamResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getContentStreamResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisContentStreamType contentStream; - - public getContentStreamResponse() - { - } - - public getContentStreamResponse(WcfCmisWSTests.CmisServices.cmisContentStreamType contentStream) - { - this.contentStream = contentStream; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "updateProperties", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class updatePropertiesRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string changeToken; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - public WcfCmisWSTests.CmisServices.cmisPropertiesType properties; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public updatePropertiesRequest() - { - } - - public updatePropertiesRequest(string repositoryId, string objectId, string changeToken, WcfCmisWSTests.CmisServices.cmisPropertiesType properties, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.changeToken = changeToken; - this.properties = properties; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "updatePropertiesResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class updatePropertiesResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string changeToken; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public updatePropertiesResponse() - { - } - - public updatePropertiesResponse(string objectId, string changeToken, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.objectId = objectId; - this.changeToken = changeToken; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "moveObject", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class moveObjectRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public string targetFolderId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - public string sourceFolderId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public moveObjectRequest() - { - } - - public moveObjectRequest(string repositoryId, string objectId, string targetFolderId, string sourceFolderId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.targetFolderId = targetFolderId; - this.sourceFolderId = sourceFolderId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "moveObjectResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class moveObjectResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public moveObjectResponse() - { - } - - public moveObjectResponse(string objectId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.objectId = objectId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "deleteObject", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class deleteObjectRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable allVersions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public deleteObjectRequest() - { - } - - public deleteObjectRequest(string repositoryId, string objectId, System.Nullable allVersions, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.allVersions = allVersions; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "deleteObjectResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class deleteObjectResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public deleteObjectResponse() - { - } - - public deleteObjectResponse(WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.extension = extension; - } - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/core/200908/")] - public enum enumUnfileObject - { - - /// - unfile, - - /// - deletesinglefiled, - - /// - delete, - } - - /// - [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")] - [System.SerializableAttribute()] - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.ComponentModel.DesignerCategoryAttribute("code")] - [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - public partial class deleteTreeResponseFailedToDelete - { - - private string[] objectIdsField; - - private System.Xml.XmlElement[] anyField; - - /// - [System.Xml.Serialization.XmlElementAttribute("objectIds", Order = 0)] - public string[] objectIds - { - get - { - return this.objectIdsField; - } - set - { - this.objectIdsField = value; - } - } - - /// - [System.Xml.Serialization.XmlAnyElementAttribute(Order = 1)] - public System.Xml.XmlElement[] Any - { - get - { - return this.anyField; - } - set - { - this.anyField = value; - } - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "deleteTree", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class deleteTreeRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string folderId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable allVersions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable unfileObject; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable continueOnFailure; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public deleteTreeRequest() - { - } - - public deleteTreeRequest(string repositoryId, string folderId, System.Nullable allVersions, System.Nullable unfileObject, System.Nullable continueOnFailure, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.folderId = folderId; - this.allVersions = allVersions; - this.unfileObject = unfileObject; - this.continueOnFailure = continueOnFailure; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "deleteTreeResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class deleteTreeResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.deleteTreeResponseFailedToDelete failedToDelete; - - public deleteTreeResponse() - { - } - - public deleteTreeResponse(WcfCmisWSTests.CmisServices.deleteTreeResponseFailedToDelete failedToDelete) - { - this.failedToDelete = failedToDelete; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "setContentStream", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class setContentStreamRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable overwriteFlag; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string changeToken; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - public WcfCmisWSTests.CmisServices.cmisContentStreamType contentStream; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public setContentStreamRequest() - { - } - - public setContentStreamRequest(string repositoryId, string objectId, System.Nullable overwriteFlag, string changeToken, WcfCmisWSTests.CmisServices.cmisContentStreamType contentStream, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.overwriteFlag = overwriteFlag; - this.changeToken = changeToken; - this.contentStream = contentStream; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "setContentStreamResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class setContentStreamResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string changeToken; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public setContentStreamResponse() - { - } - - public setContentStreamResponse(string objectId, string changeToken, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.objectId = objectId; - this.changeToken = changeToken; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "deleteContentStream", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class deleteContentStreamRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public string changeToken; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public deleteContentStreamRequest() - { - } - - public deleteContentStreamRequest(string repositoryId, string objectId, string changeToken, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.changeToken = changeToken; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "deleteContentStreamResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class deleteContentStreamResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string changeToken; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public deleteContentStreamResponse() - { - } - - public deleteContentStreamResponse(string objectId, string changeToken, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.objectId = objectId; - this.changeToken = changeToken; - this.extension = extension; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public interface ObjectServicePortChannel : WcfCmisWSTests.CmisServices.ObjectServicePort, System.ServiceModel.IClientChannel - { - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public partial class ObjectServicePortClient : System.ServiceModel.ClientBase, WcfCmisWSTests.CmisServices.ObjectServicePort - { - - public ObjectServicePortClient() - { - } - - public ObjectServicePortClient(string endpointConfigurationName) : - base(endpointConfigurationName) - { - } - - public ObjectServicePortClient(string endpointConfigurationName, string remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public ObjectServicePortClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public ObjectServicePortClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : - base(binding, remoteAddress) - { - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.createDocumentResponse WcfCmisWSTests.CmisServices.ObjectServicePort.createDocument(WcfCmisWSTests.CmisServices.createDocumentRequest request) - { - return base.Channel.createDocument(request); - } - - public string createDocument(string repositoryId, WcfCmisWSTests.CmisServices.cmisPropertiesType properties, string folderId, WcfCmisWSTests.CmisServices.cmisContentStreamType contentStream, System.Nullable versioningState, string[] policies, WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs, WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.createDocumentRequest inValue = new WcfCmisWSTests.CmisServices.createDocumentRequest(); - inValue.repositoryId = repositoryId; - inValue.properties = properties; - inValue.folderId = folderId; - inValue.contentStream = contentStream; - inValue.versioningState = versioningState; - inValue.policies = policies; - inValue.addACEs = addACEs; - inValue.removeACEs = removeACEs; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.createDocumentResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).createDocument(inValue); - extension = retVal.extension; - return retVal.objectId; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.createDocumentFromSourceResponse WcfCmisWSTests.CmisServices.ObjectServicePort.createDocumentFromSource(WcfCmisWSTests.CmisServices.createDocumentFromSourceRequest request) - { - return base.Channel.createDocumentFromSource(request); - } - - public string createDocumentFromSource(string repositoryId, string sourceId, WcfCmisWSTests.CmisServices.cmisPropertiesType properties, string folderId, System.Nullable versioningState, string[] policies, WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs, WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.createDocumentFromSourceRequest inValue = new WcfCmisWSTests.CmisServices.createDocumentFromSourceRequest(); - inValue.repositoryId = repositoryId; - inValue.sourceId = sourceId; - inValue.properties = properties; - inValue.folderId = folderId; - inValue.versioningState = versioningState; - inValue.policies = policies; - inValue.addACEs = addACEs; - inValue.removeACEs = removeACEs; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.createDocumentFromSourceResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).createDocumentFromSource(inValue); - extension = retVal.extension; - return retVal.objectId; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.createFolderResponse WcfCmisWSTests.CmisServices.ObjectServicePort.createFolder(WcfCmisWSTests.CmisServices.createFolderRequest request) - { - return base.Channel.createFolder(request); - } - - public string createFolder(string repositoryId, WcfCmisWSTests.CmisServices.cmisPropertiesType properties, string folderId, string[] policies, WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs, WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.createFolderRequest inValue = new WcfCmisWSTests.CmisServices.createFolderRequest(); - inValue.repositoryId = repositoryId; - inValue.properties = properties; - inValue.folderId = folderId; - inValue.policies = policies; - inValue.addACEs = addACEs; - inValue.removeACEs = removeACEs; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.createFolderResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).createFolder(inValue); - extension = retVal.extension; - return retVal.objectId; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.createRelationshipResponse WcfCmisWSTests.CmisServices.ObjectServicePort.createRelationship(WcfCmisWSTests.CmisServices.createRelationshipRequest request) - { - return base.Channel.createRelationship(request); - } - - public string createRelationship(string repositoryId, WcfCmisWSTests.CmisServices.cmisPropertiesType properties, string[] policies, WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs, WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.createRelationshipRequest inValue = new WcfCmisWSTests.CmisServices.createRelationshipRequest(); - inValue.repositoryId = repositoryId; - inValue.properties = properties; - inValue.policies = policies; - inValue.addACEs = addACEs; - inValue.removeACEs = removeACEs; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.createRelationshipResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).createRelationship(inValue); - extension = retVal.extension; - return retVal.objectId; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.createPolicyResponse WcfCmisWSTests.CmisServices.ObjectServicePort.createPolicy(WcfCmisWSTests.CmisServices.createPolicyRequest request) - { - return base.Channel.createPolicy(request); - } - - public string createPolicy(string repositoryId, WcfCmisWSTests.CmisServices.cmisPropertiesType properties, string folderId, string[] policies, WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs, WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.createPolicyRequest inValue = new WcfCmisWSTests.CmisServices.createPolicyRequest(); - inValue.repositoryId = repositoryId; - inValue.properties = properties; - inValue.folderId = folderId; - inValue.policies = policies; - inValue.addACEs = addACEs; - inValue.removeACEs = removeACEs; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.createPolicyResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).createPolicy(inValue); - extension = retVal.extension; - return retVal.objectId; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getAllowableActionsResponse WcfCmisWSTests.CmisServices.ObjectServicePort.getAllowableActions(WcfCmisWSTests.CmisServices.getAllowableActionsRequest request) - { - return base.Channel.getAllowableActions(request); - } - - public WcfCmisWSTests.CmisServices.cmisAllowableActionsType getAllowableActions(string repositoryId, string objectId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getAllowableActionsRequest inValue = new WcfCmisWSTests.CmisServices.getAllowableActionsRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getAllowableActionsResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).getAllowableActions(inValue); - return retVal.allowableActions; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getObjectResponse WcfCmisWSTests.CmisServices.ObjectServicePort.getObject(WcfCmisWSTests.CmisServices.getObjectRequest request) - { - return base.Channel.getObject(request); - } - - public WcfCmisWSTests.CmisServices.cmisObjectType getObject(string repositoryId, string objectId, string filter, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable includePolicyIds, System.Nullable includeACL, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getObjectRequest inValue = new WcfCmisWSTests.CmisServices.getObjectRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.filter = filter; - inValue.includeAllowableActions = includeAllowableActions; - inValue.includeRelationships = includeRelationships; - inValue.renditionFilter = renditionFilter; - inValue.includePolicyIds = includePolicyIds; - inValue.includeACL = includeACL; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getObjectResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).getObject(inValue); - return retVal.@object; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getPropertiesResponse WcfCmisWSTests.CmisServices.ObjectServicePort.getProperties(WcfCmisWSTests.CmisServices.getPropertiesRequest request) - { - return base.Channel.getProperties(request); - } - - public WcfCmisWSTests.CmisServices.cmisPropertiesType getProperties(string repositoryId, string objectId, string filter, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getPropertiesRequest inValue = new WcfCmisWSTests.CmisServices.getPropertiesRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.filter = filter; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getPropertiesResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).getProperties(inValue); - return retVal.properties; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getRenditionsResponse WcfCmisWSTests.CmisServices.ObjectServicePort.getRenditions(WcfCmisWSTests.CmisServices.getRenditionsRequest request) - { - return base.Channel.getRenditions(request); - } - - public cmisRenditionType[] getRenditions(string repositoryId, string objectId, string renditionFilter, string maxItems, string skipCount, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getRenditionsRequest inValue = new WcfCmisWSTests.CmisServices.getRenditionsRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.renditionFilter = renditionFilter; - inValue.maxItems = maxItems; - inValue.skipCount = skipCount; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getRenditionsResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).getRenditions(inValue); - return retVal.renditions; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getObjectByPathResponse WcfCmisWSTests.CmisServices.ObjectServicePort.getObjectByPath(WcfCmisWSTests.CmisServices.getObjectByPathRequest request) - { - return base.Channel.getObjectByPath(request); - } - - public WcfCmisWSTests.CmisServices.cmisObjectType getObjectByPath(string repositoryId, string path, string filter, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable includePolicyIds, System.Nullable includeACL, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getObjectByPathRequest inValue = new WcfCmisWSTests.CmisServices.getObjectByPathRequest(); - inValue.repositoryId = repositoryId; - inValue.path = path; - inValue.filter = filter; - inValue.includeAllowableActions = includeAllowableActions; - inValue.includeRelationships = includeRelationships; - inValue.renditionFilter = renditionFilter; - inValue.includePolicyIds = includePolicyIds; - inValue.includeACL = includeACL; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getObjectByPathResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).getObjectByPath(inValue); - return retVal.@object; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getContentStreamResponse WcfCmisWSTests.CmisServices.ObjectServicePort.getContentStream(WcfCmisWSTests.CmisServices.getContentStreamRequest request) - { - return base.Channel.getContentStream(request); - } - - public WcfCmisWSTests.CmisServices.cmisContentStreamType getContentStream(string repositoryId, string objectId, string streamId, string offset, string length, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getContentStreamRequest inValue = new WcfCmisWSTests.CmisServices.getContentStreamRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.streamId = streamId; - inValue.offset = offset; - inValue.length = length; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getContentStreamResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).getContentStream(inValue); - return retVal.contentStream; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.updatePropertiesResponse WcfCmisWSTests.CmisServices.ObjectServicePort.updateProperties(WcfCmisWSTests.CmisServices.updatePropertiesRequest request) - { - return base.Channel.updateProperties(request); - } - - public void updateProperties(string repositoryId, ref string objectId, ref string changeToken, WcfCmisWSTests.CmisServices.cmisPropertiesType properties, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.updatePropertiesRequest inValue = new WcfCmisWSTests.CmisServices.updatePropertiesRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.changeToken = changeToken; - inValue.properties = properties; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.updatePropertiesResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).updateProperties(inValue); - objectId = retVal.objectId; - changeToken = retVal.changeToken; - extension = retVal.extension; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.moveObjectResponse WcfCmisWSTests.CmisServices.ObjectServicePort.moveObject(WcfCmisWSTests.CmisServices.moveObjectRequest request) - { - return base.Channel.moveObject(request); - } - - public void moveObject(string repositoryId, ref string objectId, string targetFolderId, string sourceFolderId, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.moveObjectRequest inValue = new WcfCmisWSTests.CmisServices.moveObjectRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.targetFolderId = targetFolderId; - inValue.sourceFolderId = sourceFolderId; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.moveObjectResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).moveObject(inValue); - objectId = retVal.objectId; - extension = retVal.extension; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.deleteObjectResponse WcfCmisWSTests.CmisServices.ObjectServicePort.deleteObject(WcfCmisWSTests.CmisServices.deleteObjectRequest request) - { - return base.Channel.deleteObject(request); - } - - public void deleteObject(string repositoryId, string objectId, System.Nullable allVersions, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.deleteObjectRequest inValue = new WcfCmisWSTests.CmisServices.deleteObjectRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.allVersions = allVersions; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.deleteObjectResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).deleteObject(inValue); - extension = retVal.extension; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.deleteTreeResponse WcfCmisWSTests.CmisServices.ObjectServicePort.deleteTree(WcfCmisWSTests.CmisServices.deleteTreeRequest request) - { - return base.Channel.deleteTree(request); - } - - public WcfCmisWSTests.CmisServices.deleteTreeResponseFailedToDelete deleteTree(string repositoryId, string folderId, System.Nullable allVersions, System.Nullable unfileObject, System.Nullable continueOnFailure, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.deleteTreeRequest inValue = new WcfCmisWSTests.CmisServices.deleteTreeRequest(); - inValue.repositoryId = repositoryId; - inValue.folderId = folderId; - inValue.allVersions = allVersions; - inValue.unfileObject = unfileObject; - inValue.continueOnFailure = continueOnFailure; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.deleteTreeResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).deleteTree(inValue); - return retVal.failedToDelete; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.setContentStreamResponse WcfCmisWSTests.CmisServices.ObjectServicePort.setContentStream(WcfCmisWSTests.CmisServices.setContentStreamRequest request) - { - return base.Channel.setContentStream(request); - } - - public void setContentStream(string repositoryId, ref string objectId, System.Nullable overwriteFlag, ref string changeToken, WcfCmisWSTests.CmisServices.cmisContentStreamType contentStream, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.setContentStreamRequest inValue = new WcfCmisWSTests.CmisServices.setContentStreamRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.overwriteFlag = overwriteFlag; - inValue.changeToken = changeToken; - inValue.contentStream = contentStream; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.setContentStreamResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).setContentStream(inValue); - objectId = retVal.objectId; - changeToken = retVal.changeToken; - extension = retVal.extension; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.deleteContentStreamResponse WcfCmisWSTests.CmisServices.ObjectServicePort.deleteContentStream(WcfCmisWSTests.CmisServices.deleteContentStreamRequest request) - { - return base.Channel.deleteContentStream(request); - } - - public void deleteContentStream(string repositoryId, ref string objectId, ref string changeToken, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.deleteContentStreamRequest inValue = new WcfCmisWSTests.CmisServices.deleteContentStreamRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.changeToken = changeToken; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.deleteContentStreamResponse retVal = ((WcfCmisWSTests.CmisServices.ObjectServicePort)(this)).deleteContentStream(inValue); - objectId = retVal.objectId; - changeToken = retVal.changeToken; - extension = retVal.extension; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.ServiceContractAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", ConfigurationName = "PolicyServicePort")] - public interface PolicyServicePort - { - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message applyPolicyRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.applyPolicyResponse applyPolicy(WcfCmisWSTests.CmisServices.applyPolicyRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message removePolicyRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.removePolicyResponse removePolicy(WcfCmisWSTests.CmisServices.removePolicyRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getAppliedPoliciesRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getAppliedPoliciesResponse getAppliedPolicies(WcfCmisWSTests.CmisServices.getAppliedPoliciesRequest request); - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "applyPolicy", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class applyPolicyRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string policyId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public applyPolicyRequest() - { - } - - public applyPolicyRequest(string repositoryId, string policyId, string objectId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.policyId = policyId; - this.objectId = objectId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "applyPolicyResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class applyPolicyResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public applyPolicyResponse() - { - } - - public applyPolicyResponse(WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "removePolicy", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class removePolicyRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string policyId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public removePolicyRequest() - { - } - - public removePolicyRequest(string repositoryId, string policyId, string objectId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.policyId = policyId; - this.objectId = objectId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "removePolicyResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class removePolicyResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public removePolicyResponse() - { - } - - public removePolicyResponse(WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getAppliedPolicies", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getAppliedPoliciesRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string filter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getAppliedPoliciesRequest() - { - } - - public getAppliedPoliciesRequest(string repositoryId, string objectId, string filter, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.filter = filter; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getAppliedPoliciesResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getAppliedPoliciesResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - [System.Xml.Serialization.XmlElementAttribute("objects")] - public cmisObjectType[] objects; - - public getAppliedPoliciesResponse() - { - } - - public getAppliedPoliciesResponse(cmisObjectType[] objects) - { - this.objects = objects; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public interface PolicyServicePortChannel : WcfCmisWSTests.CmisServices.PolicyServicePort, System.ServiceModel.IClientChannel - { - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public partial class PolicyServicePortClient : System.ServiceModel.ClientBase, WcfCmisWSTests.CmisServices.PolicyServicePort - { - - public PolicyServicePortClient() - { - } - - public PolicyServicePortClient(string endpointConfigurationName) : - base(endpointConfigurationName) - { - } - - public PolicyServicePortClient(string endpointConfigurationName, string remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public PolicyServicePortClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public PolicyServicePortClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : - base(binding, remoteAddress) - { - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.applyPolicyResponse WcfCmisWSTests.CmisServices.PolicyServicePort.applyPolicy(WcfCmisWSTests.CmisServices.applyPolicyRequest request) - { - return base.Channel.applyPolicy(request); - } - - public void applyPolicy(string repositoryId, string policyId, string objectId, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.applyPolicyRequest inValue = new WcfCmisWSTests.CmisServices.applyPolicyRequest(); - inValue.repositoryId = repositoryId; - inValue.policyId = policyId; - inValue.objectId = objectId; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.applyPolicyResponse retVal = ((WcfCmisWSTests.CmisServices.PolicyServicePort)(this)).applyPolicy(inValue); - extension = retVal.extension; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.removePolicyResponse WcfCmisWSTests.CmisServices.PolicyServicePort.removePolicy(WcfCmisWSTests.CmisServices.removePolicyRequest request) - { - return base.Channel.removePolicy(request); - } - - public void removePolicy(string repositoryId, string policyId, string objectId, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.removePolicyRequest inValue = new WcfCmisWSTests.CmisServices.removePolicyRequest(); - inValue.repositoryId = repositoryId; - inValue.policyId = policyId; - inValue.objectId = objectId; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.removePolicyResponse retVal = ((WcfCmisWSTests.CmisServices.PolicyServicePort)(this)).removePolicy(inValue); - extension = retVal.extension; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getAppliedPoliciesResponse WcfCmisWSTests.CmisServices.PolicyServicePort.getAppliedPolicies(WcfCmisWSTests.CmisServices.getAppliedPoliciesRequest request) - { - return base.Channel.getAppliedPolicies(request); - } - - public cmisObjectType[] getAppliedPolicies(string repositoryId, string objectId, string filter, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getAppliedPoliciesRequest inValue = new WcfCmisWSTests.CmisServices.getAppliedPoliciesRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.filter = filter; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getAppliedPoliciesResponse retVal = ((WcfCmisWSTests.CmisServices.PolicyServicePort)(this)).getAppliedPolicies(inValue); - return retVal.objects; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.ServiceContractAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", ConfigurationName = "RelationshipServicePort")] - public interface RelationshipServicePort - { - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getObjectRelationshipsRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - WcfCmisWSTests.CmisServices.getObjectRelationshipsResponse getObjectRelationships(WcfCmisWSTests.CmisServices.getObjectRelationshipsRequest request); - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getObjectRelationships", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getObjectRelationshipsRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public bool includeSubRelationshipTypes; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - public System.Nullable relationshipDirection; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - public string typeId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - public string filter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - public System.Nullable includeAllowableActions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 7)] - public System.Nullable maxItems; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 8)] - public System.Nullable skipCount; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 9)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getObjectRelationshipsRequest() - { - } - - public getObjectRelationshipsRequest(string repositoryId, string objectId, bool includeSubRelationshipTypes, System.Nullable relationshipDirection, string typeId, string filter, System.Nullable includeAllowableActions, System.Nullable maxItems, System.Nullable skipCount, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.includeSubRelationshipTypes = includeSubRelationshipTypes; - this.relationshipDirection = relationshipDirection; - this.typeId = typeId; - this.filter = filter; - this.includeAllowableActions = includeAllowableActions; - this.maxItems = maxItems; - this.skipCount = skipCount; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getObjectRelationshipsResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getObjectRelationshipsResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisObjectListType objects; - - public getObjectRelationshipsResponse() - { - } - - public getObjectRelationshipsResponse(WcfCmisWSTests.CmisServices.cmisObjectListType objects) - { - this.objects = objects; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public interface RelationshipServicePortChannel : WcfCmisWSTests.CmisServices.RelationshipServicePort, System.ServiceModel.IClientChannel - { - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public partial class RelationshipServicePortClient : System.ServiceModel.ClientBase, WcfCmisWSTests.CmisServices.RelationshipServicePort - { - - public RelationshipServicePortClient() - { - } - - public RelationshipServicePortClient(string endpointConfigurationName) : - base(endpointConfigurationName) - { - } - - public RelationshipServicePortClient(string endpointConfigurationName, string remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public RelationshipServicePortClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public RelationshipServicePortClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : - base(binding, remoteAddress) - { - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getObjectRelationshipsResponse WcfCmisWSTests.CmisServices.RelationshipServicePort.getObjectRelationships(WcfCmisWSTests.CmisServices.getObjectRelationshipsRequest request) - { - return base.Channel.getObjectRelationships(request); - } - - public WcfCmisWSTests.CmisServices.cmisObjectListType getObjectRelationships(string repositoryId, string objectId, bool includeSubRelationshipTypes, System.Nullable relationshipDirection, string typeId, string filter, System.Nullable includeAllowableActions, System.Nullable maxItems, System.Nullable skipCount, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getObjectRelationshipsRequest inValue = new WcfCmisWSTests.CmisServices.getObjectRelationshipsRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.includeSubRelationshipTypes = includeSubRelationshipTypes; - inValue.relationshipDirection = relationshipDirection; - inValue.typeId = typeId; - inValue.filter = filter; - inValue.includeAllowableActions = includeAllowableActions; - inValue.maxItems = maxItems; - inValue.skipCount = skipCount; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getObjectRelationshipsResponse retVal = ((WcfCmisWSTests.CmisServices.RelationshipServicePort)(this)).getObjectRelationships(inValue); - return retVal.objects; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.ServiceContractAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", ConfigurationName = "RepositoryServicePort")] - public interface RepositoryServicePort - { - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getRepositoriesRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getRepositoriesResponse getRepositories(WcfCmisWSTests.CmisServices.getRepositoriesRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getRepositoryInfoRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getRepositoryInfoResponse getRepositoryInfo(WcfCmisWSTests.CmisServices.getRepositoryInfoRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getTypeChildrenRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getTypeChildrenResponse getTypeChildren(WcfCmisWSTests.CmisServices.getTypeChildrenRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getTypeDescendantsRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getTypeDescendantsResponse getTypeDescendants(WcfCmisWSTests.CmisServices.getTypeDescendantsRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getTypeDefinitionRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getTypeDefinitionResponse getTypeDefinition(WcfCmisWSTests.CmisServices.getTypeDefinitionRequest request); - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getRepositories", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getRepositoriesRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getRepositoriesRequest() - { - } - - public getRepositoriesRequest(WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getRepositoriesResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getRepositoriesResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - [System.Xml.Serialization.XmlElementAttribute("repositories", IsNullable = true)] - public cmisRepositoryEntryType[] repositories; - - public getRepositoriesResponse() - { - } - - public getRepositoriesResponse(cmisRepositoryEntryType[] repositories) - { - this.repositories = repositories; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getRepositoryInfo", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getRepositoryInfoRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getRepositoryInfoRequest() - { - } - - public getRepositoryInfoRequest(string repositoryId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getRepositoryInfoResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getRepositoryInfoResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisRepositoryInfoType repositoryInfo; - - public getRepositoryInfoResponse() - { - } - - public getRepositoryInfoResponse(WcfCmisWSTests.CmisServices.cmisRepositoryInfoType repositoryInfo) - { - this.repositoryInfo = repositoryInfo; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getTypeChildren", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getTypeChildrenRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string typeId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includePropertyDefinitions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", IsNullable = true)] - public string maxItems; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", IsNullable = true)] - public string skipCount; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getTypeChildrenRequest() - { - } - - public getTypeChildrenRequest(string repositoryId, string typeId, System.Nullable includePropertyDefinitions, string maxItems, string skipCount, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.typeId = typeId; - this.includePropertyDefinitions = includePropertyDefinitions; - this.maxItems = maxItems; - this.skipCount = skipCount; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getTypeChildrenResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getTypeChildrenResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisTypeDefinitionListType types; - - public getTypeChildrenResponse() - { - } - - public getTypeChildrenResponse(WcfCmisWSTests.CmisServices.cmisTypeDefinitionListType types) - { - this.types = types; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getTypeDescendants", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getTypeDescendantsRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string typeId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(DataType = "integer", IsNullable = true)] - public string depth; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includePropertyDefinitions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getTypeDescendantsRequest() - { - } - - public getTypeDescendantsRequest(string repositoryId, string typeId, string depth, System.Nullable includePropertyDefinitions, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.typeId = typeId; - this.depth = depth; - this.includePropertyDefinitions = includePropertyDefinitions; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getTypeDescendantsResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getTypeDescendantsResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - [System.Xml.Serialization.XmlElementAttribute("types")] - public cmisTypeContainer[] types; - - public getTypeDescendantsResponse() - { - } - - public getTypeDescendantsResponse(cmisTypeContainer[] types) - { - this.types = types; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getTypeDefinition", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getTypeDefinitionRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string typeId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getTypeDefinitionRequest() - { - } - - public getTypeDefinitionRequest(string repositoryId, string typeId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.typeId = typeId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getTypeDefinitionResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getTypeDefinitionResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisTypeDefinitionType type; - - public getTypeDefinitionResponse() - { - } - - public getTypeDefinitionResponse(WcfCmisWSTests.CmisServices.cmisTypeDefinitionType type) - { - this.type = type; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public interface RepositoryServicePortChannel : WcfCmisWSTests.CmisServices.RepositoryServicePort, System.ServiceModel.IClientChannel - { - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public partial class RepositoryServicePortClient : System.ServiceModel.ClientBase, WcfCmisWSTests.CmisServices.RepositoryServicePort - { - - public RepositoryServicePortClient() - { - } - - public RepositoryServicePortClient(string endpointConfigurationName) : - base(endpointConfigurationName) - { - } - - public RepositoryServicePortClient(string endpointConfigurationName, string remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public RepositoryServicePortClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public RepositoryServicePortClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : - base(binding, remoteAddress) - { - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getRepositoriesResponse WcfCmisWSTests.CmisServices.RepositoryServicePort.getRepositories(WcfCmisWSTests.CmisServices.getRepositoriesRequest request) - { - return base.Channel.getRepositories(request); - } - - public cmisRepositoryEntryType[] getRepositories(WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getRepositoriesRequest inValue = new WcfCmisWSTests.CmisServices.getRepositoriesRequest(); - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getRepositoriesResponse retVal = ((WcfCmisWSTests.CmisServices.RepositoryServicePort)(this)).getRepositories(inValue); - return retVal.repositories; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getRepositoryInfoResponse WcfCmisWSTests.CmisServices.RepositoryServicePort.getRepositoryInfo(WcfCmisWSTests.CmisServices.getRepositoryInfoRequest request) - { - return base.Channel.getRepositoryInfo(request); - } - - public WcfCmisWSTests.CmisServices.cmisRepositoryInfoType getRepositoryInfo(string repositoryId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getRepositoryInfoRequest inValue = new WcfCmisWSTests.CmisServices.getRepositoryInfoRequest(); - inValue.repositoryId = repositoryId; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getRepositoryInfoResponse retVal = ((WcfCmisWSTests.CmisServices.RepositoryServicePort)(this)).getRepositoryInfo(inValue); - return retVal.repositoryInfo; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getTypeChildrenResponse WcfCmisWSTests.CmisServices.RepositoryServicePort.getTypeChildren(WcfCmisWSTests.CmisServices.getTypeChildrenRequest request) - { - return base.Channel.getTypeChildren(request); - } - - public WcfCmisWSTests.CmisServices.cmisTypeDefinitionListType getTypeChildren(string repositoryId, string typeId, System.Nullable includePropertyDefinitions, string maxItems, string skipCount, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getTypeChildrenRequest inValue = new WcfCmisWSTests.CmisServices.getTypeChildrenRequest(); - inValue.repositoryId = repositoryId; - inValue.typeId = typeId; - inValue.includePropertyDefinitions = includePropertyDefinitions; - inValue.maxItems = maxItems; - inValue.skipCount = skipCount; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getTypeChildrenResponse retVal = ((WcfCmisWSTests.CmisServices.RepositoryServicePort)(this)).getTypeChildren(inValue); - return retVal.types; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getTypeDescendantsResponse WcfCmisWSTests.CmisServices.RepositoryServicePort.getTypeDescendants(WcfCmisWSTests.CmisServices.getTypeDescendantsRequest request) - { - return base.Channel.getTypeDescendants(request); - } - - public cmisTypeContainer[] getTypeDescendants(string repositoryId, string typeId, string depth, System.Nullable includePropertyDefinitions, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getTypeDescendantsRequest inValue = new WcfCmisWSTests.CmisServices.getTypeDescendantsRequest(); - inValue.repositoryId = repositoryId; - inValue.typeId = typeId; - inValue.depth = depth; - inValue.includePropertyDefinitions = includePropertyDefinitions; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getTypeDescendantsResponse retVal = ((WcfCmisWSTests.CmisServices.RepositoryServicePort)(this)).getTypeDescendants(inValue); - return retVal.types; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getTypeDefinitionResponse WcfCmisWSTests.CmisServices.RepositoryServicePort.getTypeDefinition(WcfCmisWSTests.CmisServices.getTypeDefinitionRequest request) - { - return base.Channel.getTypeDefinition(request); - } - - public WcfCmisWSTests.CmisServices.cmisTypeDefinitionType getTypeDefinition(string repositoryId, string typeId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getTypeDefinitionRequest inValue = new WcfCmisWSTests.CmisServices.getTypeDefinitionRequest(); - inValue.repositoryId = repositoryId; - inValue.typeId = typeId; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getTypeDefinitionResponse retVal = ((WcfCmisWSTests.CmisServices.RepositoryServicePort)(this)).getTypeDefinition(inValue); - return retVal.type; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.ServiceContractAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", ConfigurationName = "VersioningServicePort")] - public interface VersioningServicePort - { - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message checkOutRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.checkOutResponse checkOut(WcfCmisWSTests.CmisServices.checkOutRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message cancelCheckOutRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.cancelCheckOutResponse cancelCheckOut(WcfCmisWSTests.CmisServices.cancelCheckOutRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message checkInRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.checkInResponse checkIn(WcfCmisWSTests.CmisServices.checkInRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getObjectOfLatestVersionRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getObjectOfLatestVersionResponse getObjectOfLatestVersion(WcfCmisWSTests.CmisServices.getObjectOfLatestVersionRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getPropertiesOfLatestVersionRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getPropertiesOfLatestVersionResponse getPropertiesOfLatestVersion(WcfCmisWSTests.CmisServices.getPropertiesOfLatestVersionRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getAllVersionsRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - [System.ServiceModel.XmlSerializerFormatAttribute()] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisChoice))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisPropertyDefinitionType))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(cmisProperty))] - WcfCmisWSTests.CmisServices.getAllVersionsResponse getAllVersions(WcfCmisWSTests.CmisServices.getAllVersionsRequest request); - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "checkOut", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class checkOutRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public checkOutRequest() - { - } - - public checkOutRequest(string repositoryId, string objectId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "checkOutResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class checkOutResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public bool contentCopied; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public checkOutResponse() - { - } - - public checkOutResponse(string objectId, bool contentCopied, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.objectId = objectId; - this.contentCopied = contentCopied; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "cancelCheckOut", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class cancelCheckOutRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public cancelCheckOutRequest() - { - } - - public cancelCheckOutRequest(string repositoryId, string objectId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "cancelCheckOutResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class cancelCheckOutResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public cancelCheckOutResponse() - { - } - - public cancelCheckOutResponse(WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "checkIn", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class checkInRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable major; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisPropertiesType properties; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisContentStreamType contentStream; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string checkinComment; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - [System.Xml.Serialization.XmlElementAttribute("policies", IsNullable = true)] - public string[] policies; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 7)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 8)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 9)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public checkInRequest() - { - } - - public checkInRequest(string repositoryId, string objectId, System.Nullable major, WcfCmisWSTests.CmisServices.cmisPropertiesType properties, WcfCmisWSTests.CmisServices.cmisContentStreamType contentStream, string checkinComment, string[] policies, WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs, WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.major = major; - this.properties = properties; - this.contentStream = contentStream; - this.checkinComment = checkinComment; - this.policies = policies; - this.addACEs = addACEs; - this.removeACEs = removeACEs; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "checkInResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class checkInResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public checkInResponse() - { - } - - public checkInResponse(string objectId, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.objectId = objectId; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getObjectOfLatestVersion", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getObjectOfLatestVersionRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public bool major; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string filter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeAllowableActions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeRelationships; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 6)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string renditionFilter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 7)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includePolicyIds; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 8)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeACL; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 9)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getObjectOfLatestVersionRequest() - { - } - - public getObjectOfLatestVersionRequest(string repositoryId, string objectId, bool major, string filter, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable includePolicyIds, System.Nullable includeACL, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.major = major; - this.filter = filter; - this.includeAllowableActions = includeAllowableActions; - this.includeRelationships = includeRelationships; - this.renditionFilter = renditionFilter; - this.includePolicyIds = includePolicyIds; - this.includeACL = includeACL; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getObjectOfLatestVersionResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getObjectOfLatestVersionResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisObjectType @object; - - public getObjectOfLatestVersionResponse() - { - } - - public getObjectOfLatestVersionResponse(WcfCmisWSTests.CmisServices.cmisObjectType @object) - { - this.@object = @object; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getPropertiesOfLatestVersion", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getPropertiesOfLatestVersionRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public bool major; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string filter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getPropertiesOfLatestVersionRequest() - { - } - - public getPropertiesOfLatestVersionRequest(string repositoryId, string objectId, bool major, string filter, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.major = major; - this.filter = filter; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getPropertiesOfLatestVersionResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getPropertiesOfLatestVersionResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisPropertiesType properties; - - public getPropertiesOfLatestVersionResponse() - { - } - - public getPropertiesOfLatestVersionResponse(WcfCmisWSTests.CmisServices.cmisPropertiesType properties) - { - this.properties = properties; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getAllVersions", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getAllVersionsRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public string filter; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public System.Nullable includeAllowableActions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getAllVersionsRequest() - { - } - - public getAllVersionsRequest(string repositoryId, string objectId, string filter, System.Nullable includeAllowableActions, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.filter = filter; - this.includeAllowableActions = includeAllowableActions; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getAllVersionsResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getAllVersionsResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - [System.Xml.Serialization.XmlElementAttribute("objects")] - public cmisObjectType[] objects; - - public getAllVersionsResponse() - { - } - - public getAllVersionsResponse(cmisObjectType[] objects) - { - this.objects = objects; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public interface VersioningServicePortChannel : WcfCmisWSTests.CmisServices.VersioningServicePort, System.ServiceModel.IClientChannel - { - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public partial class VersioningServicePortClient : System.ServiceModel.ClientBase, WcfCmisWSTests.CmisServices.VersioningServicePort - { - - public VersioningServicePortClient() - { - } - - public VersioningServicePortClient(string endpointConfigurationName) : - base(endpointConfigurationName) - { - } - - public VersioningServicePortClient(string endpointConfigurationName, string remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public VersioningServicePortClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public VersioningServicePortClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : - base(binding, remoteAddress) - { - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.checkOutResponse WcfCmisWSTests.CmisServices.VersioningServicePort.checkOut(WcfCmisWSTests.CmisServices.checkOutRequest request) - { - return base.Channel.checkOut(request); - } - - public bool checkOut(string repositoryId, ref string objectId, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.checkOutRequest inValue = new WcfCmisWSTests.CmisServices.checkOutRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.checkOutResponse retVal = ((WcfCmisWSTests.CmisServices.VersioningServicePort)(this)).checkOut(inValue); - objectId = retVal.objectId; - extension = retVal.extension; - return retVal.contentCopied; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.cancelCheckOutResponse WcfCmisWSTests.CmisServices.VersioningServicePort.cancelCheckOut(WcfCmisWSTests.CmisServices.cancelCheckOutRequest request) - { - return base.Channel.cancelCheckOut(request); - } - - public void cancelCheckOut(string repositoryId, string objectId, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.cancelCheckOutRequest inValue = new WcfCmisWSTests.CmisServices.cancelCheckOutRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.cancelCheckOutResponse retVal = ((WcfCmisWSTests.CmisServices.VersioningServicePort)(this)).cancelCheckOut(inValue); - extension = retVal.extension; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.checkInResponse WcfCmisWSTests.CmisServices.VersioningServicePort.checkIn(WcfCmisWSTests.CmisServices.checkInRequest request) - { - return base.Channel.checkIn(request); - } - - public void checkIn(string repositoryId, ref string objectId, System.Nullable major, WcfCmisWSTests.CmisServices.cmisPropertiesType properties, WcfCmisWSTests.CmisServices.cmisContentStreamType contentStream, string checkinComment, string[] policies, WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs, WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs, ref WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.checkInRequest inValue = new WcfCmisWSTests.CmisServices.checkInRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.major = major; - inValue.properties = properties; - inValue.contentStream = contentStream; - inValue.checkinComment = checkinComment; - inValue.policies = policies; - inValue.addACEs = addACEs; - inValue.removeACEs = removeACEs; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.checkInResponse retVal = ((WcfCmisWSTests.CmisServices.VersioningServicePort)(this)).checkIn(inValue); - objectId = retVal.objectId; - extension = retVal.extension; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getObjectOfLatestVersionResponse WcfCmisWSTests.CmisServices.VersioningServicePort.getObjectOfLatestVersion(WcfCmisWSTests.CmisServices.getObjectOfLatestVersionRequest request) - { - return base.Channel.getObjectOfLatestVersion(request); - } - - public WcfCmisWSTests.CmisServices.cmisObjectType getObjectOfLatestVersion(string repositoryId, string objectId, bool major, string filter, System.Nullable includeAllowableActions, System.Nullable includeRelationships, string renditionFilter, System.Nullable includePolicyIds, System.Nullable includeACL, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getObjectOfLatestVersionRequest inValue = new WcfCmisWSTests.CmisServices.getObjectOfLatestVersionRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.major = major; - inValue.filter = filter; - inValue.includeAllowableActions = includeAllowableActions; - inValue.includeRelationships = includeRelationships; - inValue.renditionFilter = renditionFilter; - inValue.includePolicyIds = includePolicyIds; - inValue.includeACL = includeACL; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getObjectOfLatestVersionResponse retVal = ((WcfCmisWSTests.CmisServices.VersioningServicePort)(this)).getObjectOfLatestVersion(inValue); - return retVal.@object; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getPropertiesOfLatestVersionResponse WcfCmisWSTests.CmisServices.VersioningServicePort.getPropertiesOfLatestVersion(WcfCmisWSTests.CmisServices.getPropertiesOfLatestVersionRequest request) - { - return base.Channel.getPropertiesOfLatestVersion(request); - } - - public WcfCmisWSTests.CmisServices.cmisPropertiesType getPropertiesOfLatestVersion(string repositoryId, string objectId, bool major, string filter, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getPropertiesOfLatestVersionRequest inValue = new WcfCmisWSTests.CmisServices.getPropertiesOfLatestVersionRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.major = major; - inValue.filter = filter; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getPropertiesOfLatestVersionResponse retVal = ((WcfCmisWSTests.CmisServices.VersioningServicePort)(this)).getPropertiesOfLatestVersion(inValue); - return retVal.properties; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getAllVersionsResponse WcfCmisWSTests.CmisServices.VersioningServicePort.getAllVersions(WcfCmisWSTests.CmisServices.getAllVersionsRequest request) - { - return base.Channel.getAllVersions(request); - } - - public cmisObjectType[] getAllVersions(string repositoryId, string objectId, string filter, System.Nullable includeAllowableActions, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getAllVersionsRequest inValue = new WcfCmisWSTests.CmisServices.getAllVersionsRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.filter = filter; - inValue.includeAllowableActions = includeAllowableActions; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getAllVersionsResponse retVal = ((WcfCmisWSTests.CmisServices.VersioningServicePort)(this)).getAllVersions(inValue); - return retVal.objects; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.ServiceContractAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/ws/200908/", ConfigurationName = "ACLServicePort")] - public interface ACLServicePort - { - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message getACLRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - WcfCmisWSTests.CmisServices.getACLResponse getACL(WcfCmisWSTests.CmisServices.getACLRequest request); - - // CODEGEN: Generating message contract since the wrapper namespace (http://docs.oasis-open.org/ns/cmis/messaging/200908/) of message applyACLRequest does not match the default value (http://docs.oasis-open.org/ns/cmis/ws/200908/) - [System.ServiceModel.OperationContractAttribute(Action = "", ReplyAction = "*")] - [System.ServiceModel.FaultContractAttribute(typeof(WcfCmisWSTests.CmisServices.cmisFaultType), Action = "", Name = "cmisFault", Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/")] - WcfCmisWSTests.CmisServices.applyACLResponse applyACL(WcfCmisWSTests.CmisServices.applyACLRequest request); - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getACL", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getACLRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public System.Nullable onlyBasicPermissions; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public getACLRequest() - { - } - - public getACLRequest(string repositoryId, string objectId, System.Nullable onlyBasicPermissions, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.onlyBasicPermissions = onlyBasicPermissions; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "getACLResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class getACLResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisACLType ACL; - - public getACLResponse() - { - } - - public getACLResponse(WcfCmisWSTests.CmisServices.cmisACLType ACL) - { - this.ACL = ACL; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "applyACL", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class applyACLRequest - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public string repositoryId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 1)] - public string objectId; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 2)] - public WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 3)] - public WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 4)] - public System.Nullable ACLPropagation; - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 5)] - public WcfCmisWSTests.CmisServices.cmisExtensionType extension; - - public applyACLRequest() - { - } - - public applyACLRequest(string repositoryId, string objectId, WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs, WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs, System.Nullable ACLPropagation, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - this.repositoryId = repositoryId; - this.objectId = objectId; - this.addACEs = addACEs; - this.removeACEs = removeACEs; - this.ACLPropagation = ACLPropagation; - this.extension = extension; - } - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - [System.ServiceModel.MessageContractAttribute(WrapperName = "applyACLResponse", WrapperNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", IsWrapped = true)] - public partial class applyACLResponse - { - - [System.ServiceModel.MessageBodyMemberAttribute(Namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", Order = 0)] - public WcfCmisWSTests.CmisServices.cmisACLType ACL; - - public applyACLResponse() - { - } - - public applyACLResponse(WcfCmisWSTests.CmisServices.cmisACLType ACL) - { - this.ACL = ACL; - } - } - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public interface ACLServicePortChannel : WcfCmisWSTests.CmisServices.ACLServicePort, System.ServiceModel.IClientChannel - { - } - - [System.Diagnostics.DebuggerStepThroughAttribute()] - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")] - public partial class ACLServicePortClient : System.ServiceModel.ClientBase, WcfCmisWSTests.CmisServices.ACLServicePort - { - - public ACLServicePortClient() - { - } - - public ACLServicePortClient(string endpointConfigurationName) : - base(endpointConfigurationName) - { - } - - public ACLServicePortClient(string endpointConfigurationName, string remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public ACLServicePortClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : - base(endpointConfigurationName, remoteAddress) - { - } - - public ACLServicePortClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : - base(binding, remoteAddress) - { - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.getACLResponse WcfCmisWSTests.CmisServices.ACLServicePort.getACL(WcfCmisWSTests.CmisServices.getACLRequest request) - { - return base.Channel.getACL(request); - } - - public WcfCmisWSTests.CmisServices.cmisACLType getACL(string repositoryId, string objectId, System.Nullable onlyBasicPermissions, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.getACLRequest inValue = new WcfCmisWSTests.CmisServices.getACLRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.onlyBasicPermissions = onlyBasicPermissions; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.getACLResponse retVal = ((WcfCmisWSTests.CmisServices.ACLServicePort)(this)).getACL(inValue); - return retVal.ACL; - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - WcfCmisWSTests.CmisServices.applyACLResponse WcfCmisWSTests.CmisServices.ACLServicePort.applyACL(WcfCmisWSTests.CmisServices.applyACLRequest request) - { - return base.Channel.applyACL(request); - } - - public WcfCmisWSTests.CmisServices.cmisACLType applyACL(string repositoryId, string objectId, WcfCmisWSTests.CmisServices.cmisAccessControlListType addACEs, WcfCmisWSTests.CmisServices.cmisAccessControlListType removeACEs, System.Nullable ACLPropagation, WcfCmisWSTests.CmisServices.cmisExtensionType extension) - { - WcfCmisWSTests.CmisServices.applyACLRequest inValue = new WcfCmisWSTests.CmisServices.applyACLRequest(); - inValue.repositoryId = repositoryId; - inValue.objectId = objectId; - inValue.addACEs = addACEs; - inValue.removeACEs = removeACEs; - inValue.ACLPropagation = ACLPropagation; - inValue.extension = extension; - WcfCmisWSTests.CmisServices.applyACLResponse retVal = ((WcfCmisWSTests.CmisServices.ACLServicePort)(this)).applyACL(inValue); - return retVal.ACL; - } - } -} diff --git a/source/sample/WcfCmisTest/src/app.config b/source/sample/WcfCmisTest/src/app.config deleted file mode 100644 index d3a4ea2751..0000000000 --- a/source/sample/WcfCmisTest/src/app.config +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/source/test-java/org/alfresco/repo/management/subsystems/test/SubsystemsTest.java b/source/test-java/org/alfresco/repo/management/subsystems/test/SubsystemsTest.java index 2f491762e7..b6cb76605f 100644 --- a/source/test-java/org/alfresco/repo/management/subsystems/test/SubsystemsTest.java +++ b/source/test-java/org/alfresco/repo/management/subsystems/test/SubsystemsTest.java @@ -23,7 +23,6 @@ import org.alfresco.repo.management.subsystems.ChildApplicationContextFactory; import org.alfresco.test_category.OwnJVMTestsCategory; import org.alfresco.util.ApplicationContextHelper; import org.alfresco.util.BaseSpringTest; -import org.apache.cxf.endpoint.ServerRegistryImpl; import org.junit.experimental.categories.Category; import org.springframework.context.ConfigurableApplicationContext; @@ -98,16 +97,4 @@ public class SubsystemsTest extends BaseSpringTest assertEquals("Global Instance Default", testBeans[2].getAnotherStringProperty()); } - public void testALF6058() throws Exception - { - ServerRegistryImpl serverRegistry = getApplicationContext().getBean(ServerRegistryImpl.class); - ApplicationContextFactory subsystem = (ApplicationContextFactory) getApplicationContext().getBean("testsubsystem"); - int beforeStop = serverRegistry.getServers().size(); - subsystem.stop(); - //Make sure CXF doesn't remove its endpoints after subsystem stops - assertEquals(beforeStop, serverRegistry.getServers().size()); - subsystem.start(); - - } - } diff --git a/source/test-java/org/alfresco/repo/webservice/CMLUtilTest.java b/source/test-java/org/alfresco/repo/webservice/CMLUtilTest.java deleted file mode 100644 index f876e1ba1f..0000000000 --- a/source/test-java/org/alfresco/repo/webservice/CMLUtilTest.java +++ /dev/null @@ -1,483 +0,0 @@ -/* - * Copyright (C) 2005-2010 Alfresco Software Limited. - * - * This file is part of Alfresco - * - * Alfresco is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Alfresco is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with Alfresco. If not, see . - */ -package org.alfresco.repo.webservice; - -import java.util.List; - -import org.alfresco.model.ContentModel; -import org.alfresco.repo.content.MimetypeMap; -import org.alfresco.repo.security.authentication.AuthenticationComponent; -import org.alfresco.repo.webservice.repository.UpdateResult; -import org.alfresco.repo.webservice.types.CML; -import org.alfresco.repo.webservice.types.CMLAddAspect; -import org.alfresco.repo.webservice.types.CMLAddChild; -import org.alfresco.repo.webservice.types.CMLCopy; -import org.alfresco.repo.webservice.types.CMLCreate; -import org.alfresco.repo.webservice.types.CMLCreateAssociation; -import org.alfresco.repo.webservice.types.CMLDelete; -import org.alfresco.repo.webservice.types.CMLMove; -import org.alfresco.repo.webservice.types.CMLRemoveAspect; -import org.alfresco.repo.webservice.types.CMLRemoveAssociation; -import org.alfresco.repo.webservice.types.CMLRemoveChild; -import org.alfresco.repo.webservice.types.CMLUpdate; -import org.alfresco.repo.webservice.types.CMLWriteContent; -import org.alfresco.repo.webservice.types.ContentFormat; -import org.alfresco.repo.webservice.types.NamedValue; -import org.alfresco.repo.webservice.types.ParentReference; -import org.alfresco.repo.webservice.types.Predicate; -import org.alfresco.repo.webservice.types.Reference; -import org.alfresco.service.cmr.repository.AssociationRef; -import org.alfresco.service.cmr.repository.ChildAssociationRef; -import org.alfresco.service.cmr.repository.ContentData; -import org.alfresco.service.cmr.repository.ContentReader; -import org.alfresco.service.cmr.repository.ContentService; -import org.alfresco.service.cmr.repository.NodeRef; -import org.alfresco.service.cmr.repository.NodeService; -import org.alfresco.service.cmr.repository.StoreRef; -import org.alfresco.service.cmr.search.SearchService; -import org.alfresco.service.namespace.NamespaceService; -import org.alfresco.service.namespace.QName; -import org.alfresco.util.BaseSpringTest; -import org.alfresco.util.PropertyMap; - -/** - * @author Roy Wetherall - */ -public class CMLUtilTest extends BaseSpringTest -{ - private static final ContentData CONTENT_DATA_TEXT_UTF8 = new ContentData(null, MimetypeMap.MIMETYPE_TEXT_PLAIN, 0L, "UTF-8"); - private static final ContentData CONTENT_DATA_HTML_UTF16 = new ContentData(null, MimetypeMap.MIMETYPE_HTML, 0L, "UTF-16"); - private static final String TEST_CONTENT = "This is some test content"; - - private CMLUtil cmlUtil; - private NodeService nodeService; - private StoreRef testStoreRef; - private NodeRef rootNodeRef; - private NodeRef nodeRef; - private NamespaceService namespaceService; - private SearchService searchService; - private NodeRef folderNodeRef; - private AuthenticationComponent authenticationComponent; - private ContentService contentService; - - @Override - protected String[] getConfigLocations() - { - return new String[]{"classpath:org/alfresco/repo/webservice/cml-test.xml"}; - } - - @Override - protected void onSetUpInTransaction() throws Exception - { - this.cmlUtil = (CMLUtil)this.applicationContext.getBean("CMLUtil"); - this.nodeService = (NodeService)this.applicationContext.getBean("nodeService"); - this.searchService = (SearchService)this.applicationContext.getBean("searchService"); - this.namespaceService = (NamespaceService)this.applicationContext.getBean("namespaceService"); - this.authenticationComponent = (AuthenticationComponent) this.applicationContext.getBean("authenticationComponent"); - this.contentService = (ContentService)this.applicationContext.getBean("contentService"); - - this.authenticationComponent.setSystemUserAsCurrentUser(); - - // Create the store and get the root node - this.testStoreRef = this.nodeService.createStore( - StoreRef.PROTOCOL_WORKSPACE, "Test_" - + System.currentTimeMillis()); - this.rootNodeRef = this.nodeService.getRootNode(this.testStoreRef); - - // Create the node used for tests - PropertyMap contentProps = new PropertyMap(); - contentProps.put(ContentModel.PROP_CONTENT, CONTENT_DATA_TEXT_UTF8); - this.nodeRef = this.nodeService.createNode( - this.rootNodeRef, - ContentModel.ASSOC_CHILDREN, - ContentModel.ASSOC_CHILDREN, - ContentModel.TYPE_CONTENT, - contentProps).getChildRef(); - - this.folderNodeRef = this.nodeService.createNode( - this.rootNodeRef, - ContentModel.ASSOC_CHILDREN, - ContentModel.ASSOC_CHILDREN, - ContentModel.TYPE_FOLDER).getChildRef(); - } - - @Override - protected void onTearDownInTransaction() throws Exception - { - authenticationComponent.clearCurrentSecurityContext(); - super.onTearDownInTransaction(); - } - - public void testMoreThanOneStatement() - { - - } - - public void testCreate() - { - CMLCreate[] creates = new CMLCreate[]{createCMLCreate(ContentModel.TYPE_CONTENT, "id1")}; - - CML cml = new CML(); - cml.setCreate(creates); - - UpdateResult[] result = this.cmlUtil.executeCML(cml); - assertNotNull(result); - assertEquals(1, result.length); - - UpdateResult updateResult = result[0]; - assertEquals("create", updateResult.getStatement()); - assertNull(updateResult.getSource()); - assertNotNull(updateResult.getDestination()); - NodeRef createdNodeRef = Utils.convertToNodeRef(updateResult.getDestination(), this.nodeService, this.searchService, this.namespaceService); - assertNotNull(createdNodeRef); - - assertEquals(ContentModel.TYPE_CONTENT, this.nodeService.getType(createdNodeRef)); - assertEquals("name", this.nodeService.getProperty(createdNodeRef, ContentModel.PROP_NAME)); - - //System.out.println(NodeStoreInspector.dumpNodeStore(this.nodeService, this.testStoreRef)); - } - - public void testAddRemoveAspect() - { - CMLAddAspect addAspect = new CMLAddAspect(); - addAspect.setAspect(ContentModel.ASPECT_VERSIONABLE.toString()); - addAspect.setWhere(createPredicate(this.nodeRef)); - - CML cml = new CML(); - cml.setAddAspect(new CMLAddAspect[]{addAspect}); - - UpdateResult[] result = this.cmlUtil.executeCML(cml); - assertNotNull(result); - assertEquals(1, result.length); - - UpdateResult updateResult = result[0]; - assertEquals("addAspect", updateResult.getStatement()); - assertNotNull(updateResult.getSource()); - assertNotNull(updateResult.getDestination()); - - assertTrue(this.nodeService.hasAspect(this.nodeRef, ContentModel.ASPECT_VERSIONABLE)); - - // TODO should test with properties set as well - - CMLRemoveAspect removeAspect = new CMLRemoveAspect(); - removeAspect.setAspect(ContentModel.ASPECT_VERSIONABLE.toString()); - removeAspect.setWhere(createPredicate(this.nodeRef)); - - CML cml2 = new CML(); - cml2.setRemoveAspect(new CMLRemoveAspect[]{removeAspect}); - - UpdateResult[] results2 = this.cmlUtil.executeCML(cml2); - assertNotNull(results2); - assertEquals(1, results2.length); - - UpdateResult result2 = results2[0]; - assertEquals("removeAspect", result2.getStatement()); - assertNotNull(result2.getDestination()); - assertNotNull(result2.getSource()); - - assertFalse(this.nodeService.hasAspect(this.nodeRef, ContentModel.ASPECT_VERSIONABLE)); - - } - - public void testUpdate() - { - CMLUpdate update = new CMLUpdate(); - update.setWhere(createPredicate(this.nodeRef)); - update.setProperty(new NamedValue[] - { - new NamedValue(ContentModel.PROP_NAME.toString(), false, "updatedName", null), - new NamedValue(ContentModel.PROP_CONTENT.toString(), false, CONTENT_DATA_HTML_UTF16.toString(), null) - }); - - CML cml = new CML(); - cml.setUpdate(new CMLUpdate[]{update}); - - UpdateResult[] result = this.cmlUtil.executeCML(cml); - assertNotNull(result); - assertEquals(1, result.length); - - UpdateResult updateResult = result[0]; - assertEquals("update", updateResult.getStatement()); - assertNotNull(updateResult.getSource()); - assertNotNull(updateResult.getDestination()); - - assertEquals("updatedName", this.nodeService.getProperty(this.nodeRef, ContentModel.PROP_NAME)); - assertEquals(CONTENT_DATA_HTML_UTF16, this.nodeService.getProperty(this.nodeRef, ContentModel.PROP_CONTENT)); - } - - public void testWriteContent() - { - CMLWriteContent write = new CMLWriteContent(); - write.setWhere(createPredicate(this.nodeRef)); - write.setProperty(ContentModel.PROP_CONTENT.toString()); - ContentFormat format = new ContentFormat(MimetypeMap.MIMETYPE_TEXT_PLAIN, "UTF-8"); - write.setFormat(format); - write.setContent(TEST_CONTENT.getBytes()); - - CML cml = new CML(); - cml.setWriteContent(new CMLWriteContent[]{write}); - - UpdateResult[] result = this.cmlUtil.executeCML(cml); - assertNotNull(result); - assertEquals(1, result.length); - - UpdateResult updateResult = result[0]; - assertEquals("writeContent", updateResult.getStatement()); - assertNotNull(updateResult.getSource()); - assertNotNull(updateResult.getDestination()); - - ContentReader reader = this.contentService.getReader(this.nodeRef, ContentModel.PROP_CONTENT); - assertNotNull(reader); - assertEquals(reader.getContentString(), TEST_CONTENT); - } - - public void testDelete() - { - CMLDelete delete = new CMLDelete(); - delete.setWhere(createPredicate(this.nodeRef)); - - CML cml = new CML(); - cml.setDelete(new CMLDelete[]{delete}); - - UpdateResult[] result = this.cmlUtil.executeCML(cml); - assertNotNull(result); - assertEquals(1, result.length); - - UpdateResult updateResult = result[0]; - assertEquals("delete", updateResult.getStatement()); - assertNotNull(updateResult.getSource()); - assertNull(updateResult.getDestination()); - - // Check that the node no longer exists - assertFalse(this.nodeService.exists(this.nodeRef)); - } - - public void testMove() - { - CMLMove move = new CMLMove(); - move.setTo(createParentReference(this.folderNodeRef, ContentModel.ASSOC_CONTAINS, ContentModel.ASSOC_CONTAINS)); - move.setWhere(createPredicate(this.nodeRef)); - - CML cml = new CML(); - cml.setMove(new CMLMove[]{move}); - - UpdateResult[] result = this.cmlUtil.executeCML(cml); - assertNotNull(result); - assertEquals(1, result.length); - - UpdateResult updateResult = result[0]; - assertEquals("move", updateResult.getStatement()); - assertNotNull(updateResult.getSource()); - assertNotNull(updateResult.getDestination()); - - List assocs = this.nodeService.getChildAssocs(this.folderNodeRef); - assertNotNull(assocs); - assertEquals(1, assocs.size()); - ChildAssociationRef assoc = assocs.get(0); - assertEquals(assoc.getChildRef(), Utils.convertToNodeRef( - updateResult.getDestination(), - this.nodeService, - this.searchService, - this.namespaceService)); - } - - public void testCopy() - { - CMLCopy copy = new CMLCopy(); - copy.setTo(createParentReference(this.folderNodeRef, ContentModel.ASSOC_CONTAINS, ContentModel.ASSOC_CONTAINS)); - copy.setWhere(createPredicate(this.nodeRef)); - - CML cml = new CML(); - cml.setCopy(new CMLCopy[]{copy}); - - UpdateResult[] result = this.cmlUtil.executeCML(cml); - assertNotNull(result); - assertEquals(1, result.length); - - UpdateResult updateResult = result[0]; - assertEquals("copy", updateResult.getStatement()); - assertNotNull(updateResult.getSource()); - assertNotNull(updateResult.getDestination()); - - List assocs = this.nodeService.getChildAssocs(this.folderNodeRef); - assertNotNull(assocs); - assertEquals(1, assocs.size()); - ChildAssociationRef assoc = assocs.get(0); - assertEquals(assoc.getChildRef(), Utils.convertToNodeRef( - updateResult.getDestination(), - this.nodeService, - this.searchService, - this.namespaceService)); - } - - public void testAddChild() - { - CMLAddChild addChild = new CMLAddChild(); - addChild.setTo(createParentReference(this.folderNodeRef, ContentModel.ASSOC_CONTAINS, ContentModel.ASSOC_CONTAINS)); - addChild.setWhere(createPredicate(this.nodeRef)); - - CML cml = new CML(); - cml.setAddChild(new CMLAddChild[]{addChild}); - - UpdateResult[] result = this.cmlUtil.executeCML(cml); - assertNotNull(result); - assertEquals(1, result.length); - - UpdateResult updateResult = result[0]; - assertEquals("addChild", updateResult.getStatement()); - assertNotNull(updateResult.getSource()); - assertNotNull(updateResult.getDestination()); - - List assocs = this.nodeService.getChildAssocs(this.folderNodeRef); - assertNotNull(assocs); - assertEquals(1, assocs.size()); - ChildAssociationRef assoc = assocs.get(0); - assertEquals(assoc.getChildRef(), Utils.convertToNodeRef( - updateResult.getDestination(), - this.nodeService, - this.searchService, - this.namespaceService)); - } - - public void testRemoveChild() - { - // Add the node as a child of the folder - this.nodeService.addChild(this.folderNodeRef, this.nodeRef, ContentModel.ASSOC_CONTAINS, ContentModel.ASSOC_CONTAINS); - - CMLRemoveChild removeChild = new CMLRemoveChild(); - removeChild.setFrom(Utils.convertToReference(this.nodeService, this.namespaceService, this.folderNodeRef)); - removeChild.setWhere(createPredicate(this.nodeRef)); - - CML cml = new CML(); - cml.setRemoveChild(new CMLRemoveChild[]{removeChild}); - - UpdateResult[] result = this.cmlUtil.executeCML(cml); - assertNotNull(result); - assertEquals(1, result.length); - - UpdateResult updateResult = result[0]; - assertEquals("removeChild", updateResult.getStatement()); - assertNotNull(updateResult.getSource()); - assertNull(updateResult.getDestination()); - - List assocs = this.nodeService.getChildAssocs(this.folderNodeRef); - assertEquals(0, assocs.size()); - } - - public void testCreateAssociation() - { - CMLCreateAssociation createAssoc = new CMLCreateAssociation(); - createAssoc.setAssociation(ContentModel.ASSOC_CONTAINS.toString()); - createAssoc.setFrom(createPredicate(this.folderNodeRef)); - createAssoc.setTo(createPredicate(this.nodeRef)); - - CML cml = new CML(); - cml.setCreateAssociation(new CMLCreateAssociation[]{createAssoc}); - - UpdateResult[] result = this.cmlUtil.executeCML(cml); - assertNotNull(result); - assertEquals(1, result.length); - - UpdateResult updateResult = result[0]; - assertEquals("createAssociation", updateResult.getStatement()); - assertNotNull(updateResult.getSource()); - assertNotNull(updateResult.getDestination()); - - List assocs = this.nodeService.getTargetAssocs(this.folderNodeRef, ContentModel.ASSOC_CONTAINS); - assertNotNull(assocs); - assertEquals(1, assocs.size()); - AssociationRef assoc = assocs.get(0); - assertEquals(assoc.getTargetRef(), Utils.convertToNodeRef( - updateResult.getDestination(), - this.nodeService, - this.searchService, - this.namespaceService)); - } - - public void testRemoveAssociation() - { - this.nodeService.createAssociation(this.folderNodeRef, this.nodeRef, ContentModel.ASSOC_CONTAINS); - - CMLRemoveAssociation removeAssociation = new CMLRemoveAssociation(); - removeAssociation.setAssociation(ContentModel.ASSOC_CONTAINS.toString()); - removeAssociation.setFrom(createPredicate(this.folderNodeRef)); - removeAssociation.setTo(createPredicate(this.nodeRef)); - - CML cml = new CML(); - cml.setRemoveAssociation(new CMLRemoveAssociation[]{removeAssociation}); - - UpdateResult[] result = this.cmlUtil.executeCML(cml); - assertNotNull(result); - assertEquals(1, result.length); - - UpdateResult updateResult = result[0]; - assertEquals("removeAssociation", updateResult.getStatement()); - assertNotNull(updateResult.getSource()); - assertNotNull(updateResult.getDestination()); - - List assocs = this.nodeService.getTargetAssocs(this.folderNodeRef, ContentModel.ASSOC_CONTAINS); - assertNotNull(assocs); - assertEquals(0, assocs.size()); - } - - private ParentReference createParentReference(NodeRef nodeRef, QName assocType, QName assocName) - { - ParentReference parentReference = new ParentReference(); - parentReference.setAssociationType(assocType.toString()); - parentReference.setChildName(assocName.toString()); - parentReference.setStore(Utils.convertToStore(nodeRef.getStoreRef())); - parentReference.setUuid(nodeRef.getId()); - return parentReference; - } - - private Predicate createPredicate(NodeRef nodeRef) - { - Predicate predicate = new Predicate(); - predicate.setStore(Utils.convertToStore(nodeRef.getStoreRef())); - predicate.setNodes(new Reference[]{Utils.convertToReference(this.nodeService, this.namespaceService, nodeRef)}); - return predicate; - } - - private CMLCreate createCMLCreate(QName type, String id) - { - CMLCreate create = new CMLCreate(); - create.setId("id1"); - create.setType(ContentModel.TYPE_CONTENT.toString()); - - ParentReference parentReference = new ParentReference(); - parentReference.setAssociationType(ContentModel.ASSOC_CHILDREN.toString()); - parentReference.setChildName(ContentModel.ASSOC_CHILDREN.toString()); - parentReference.setStore(Utils.convertToStore(this.testStoreRef)); - parentReference.setUuid(this.rootNodeRef.getId()); - - create.setParent(parentReference); - create.setProperty(getContentNamedValues()); - - return create; - } - - private NamedValue[] getContentNamedValues() - { - return new NamedValue[] - { - new NamedValue(ContentModel.PROP_NAME.toString(), false, "name", null), - new NamedValue(ContentModel.PROP_CONTENT.toString(), false, CONTENT_DATA_TEXT_UTF8.toString(), null) - }; - } -} diff --git a/source/test-resources/org/alfresco/repo/webservice/cml-test.xml b/source/test-resources/org/alfresco/repo/webservice/cml-test.xml deleted file mode 100644 index 09517cda3c..0000000000 --- a/source/test-resources/org/alfresco/repo/webservice/cml-test.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/source/wsdl/access-control-service.wsdl b/source/wsdl/access-control-service.wsdl deleted file mode 100644 index 549bcc8848..0000000000 --- a/source/wsdl/access-control-service.wsdl +++ /dev/null @@ -1,860 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get the list of the ACL's for a reference. - - - - - - Adds a number of ACE's to a collection of references. - - - - - - Removes ACE's from a collection of references. - - - - - - Gets a list of the settable permissions for a set of references. - - - - - - Gets a list of the settable permissions for a list of classes. - - - - - - Determines whether the current authenticated user has the permissions on each of the specified references. - - - - - - Set the inherit permission property of a set of references. - - - - - - Get the current node owner. - - - - - - Sets the current node owner. - - - - - - Getsl aa the authorities avaialble in the repository. - - - - - - Ges the authorities for the current user - - - - - - Creates new authorities - - - - - - Delete authorities - - - - - - Adds child authorities to a specified parent authority - - - - - - Remove child authorities from the specified parent authority - - - - - - Gets an authorities child authorities - - - - - - Gets an authorities parent authorities - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Access control service. - - - - - - \ No newline at end of file diff --git a/source/wsdl/action-service.wsdl b/source/wsdl/action-service.wsdl deleted file mode 100644 index 86eafcf06d..0000000000 --- a/source/wsdl/action-service.wsdl +++ /dev/null @@ -1,655 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets the available condition definitions. - - - - - - Gets the available action definitions. - - - - - - Get a named action item definition. - - - - - - Gets the availble action types. - - - - - - Get a named rule type. - - - - - - Gets the actions saved against a reference. - - - - - - Save actions against a given reference. - - - - - - Removes saved actions. - - - - - - Executes actions. - - - - - - Gets the rules for a reference. - - - - - - Save rules. - - - - - - Remove saved rules. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Provides Action and Rule manipulation methods. - - - - - - \ No newline at end of file diff --git a/source/wsdl/administration-service.wsdl b/source/wsdl/administration-service.wsdl deleted file mode 100644 index 1deaebf6e8..0000000000 --- a/source/wsdl/administration-service.wsdl +++ /dev/null @@ -1,383 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets the details of the requested users. - - - - - - Fetch the next bathc of users from an existing user query. - - - - - - Get the details of a specified user. - - - - - - Create new users with the details provided. - - - - - - Updates the details of the specified users. - - - - - - Changes the password of the specified user. - - - - - - Delete the specified users. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Administration service. - - - - - - \ No newline at end of file diff --git a/source/wsdl/authentication-service.wsdl b/source/wsdl/authentication-service.wsdl deleted file mode 100644 index da5ec11994..0000000000 --- a/source/wsdl/authentication-service.wsdl +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Provides simple authentication capability. - - - - - - diff --git a/source/wsdl/authoring-service.wsdl b/source/wsdl/authoring-service.wsdl deleted file mode 100644 index a9c2347686..0000000000 --- a/source/wsdl/authoring-service.wsdl +++ /dev/null @@ -1,589 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Checkout a content resource for editing. - - - - - - Checkin a content resource. - - - - - - Checkin an external content resource thus replacing the existing working content. - - - - - - Cancels the checkout. - - - - - - Locks a content resource. - - - - - - Unlocks a content resource. - - - - - - Gets the lock status of the specified nodes. - - - - - - Create a snapshot of the specified node(s) in the version store. - - - - - - Gets the version history for the specfied node. - - - - - - Revert a node to the snapshot of the specified version. - - - - - - Delete all snapshot versions of the specified node. - - - - - - - - - - Checkout a content resource for editing. - - - - - - - - - - - - - Checkin a content resource. - - - - - - - - - - - - - Checkin an external content resource thus replacing the existing working content. - - - - - - - - - - - - - Cancels the checkout. - - - - - - - - - - - - - Locks a content resource. - - - - - - - - - - - - - Unlocks a content resource. - - - - - - - - - - - - - Gets the lock status of the specified nodes. - - - - - - - - - - - - - Create a snapshot of the specified node(s) in the version store. - - - - - - - - - - - - - Gets the version history for the specfied node. - - - - - - - - - - - - - Revert a node to the snapshot of the specified version. - - - - - - - - - - - - - Delete all snapshot versions of the specified node. - - - - - - - - - - - - - - - Provides support for collaborative editing of content. - - - - - - diff --git a/source/wsdl/classification-service.wsdl b/source/wsdl/classification-service.wsdl deleted file mode 100644 index b8e78a28a0..0000000000 --- a/source/wsdl/classification-service.wsdl +++ /dev/null @@ -1,280 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gets available classifications. - - - - - - Gets child categories for the specified parent category. - - - - - - Gets the categories applied to the specified content resource. - - - - - - Modifies the categories applied to the specified content resource. - - - - - - Describe a classification in terms of how it is represented in the meta model i.e. is it an aspect, which property holds the applied category. - - - - - - - - - - Gets available classifications. - - - - - - - - - - - - - Gets child categories for the specified parent category. - - - - - - - - - - - - - Gets the categories applied to the specified content resource. - - - - - - - - - - - - - Modifies the categories applied to the specified content resource. - - - - - - - - - - - - - Describe a classification in terms of how it is represented in the meta model i.e. is it an aspect, which property holds the applied category. - - - - - - - - - - - - - - - Provides support for classifying content resources. - - - - - - diff --git a/source/wsdl/content-service.wsdl b/source/wsdl/content-service.wsdl deleted file mode 100644 index 790f9ea4bd..0000000000 --- a/source/wsdl/content-service.wsdl +++ /dev/null @@ -1,292 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Retrieves content from the repository. - - - - - - Writes content to the repository. - - - - - - Writes the attached content into the repository. - - - - - - Clears content from the repository. - - - - - - Transforms content from one mimetype to another. - - - - - - - - - Retrieves content from the repository. - - - - - - - - - - - - - Writes content to the repository. - - - - - - - - - - - - - Writes attached content to the repository. - - - - - - - - - - - - - Clears content from the repository. - - - - - - - - - - - - - Transforms content from one mimetype to another. - - - - - - - - - - - - - - - Provides read and write access to content streams. - - - - - - diff --git a/source/wsdl/dictionary-service.wsdl b/source/wsdl/dictionary-service.wsdl deleted file mode 100644 index f0723a4511..0000000000 --- a/source/wsdl/dictionary-service.wsdl +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Retrieves the class definitions of types and aspects. - - - - - - Retrieves property definitions. - - - - - - Retrieves association definitions. - - - - - - Determines whether a type (or aspect) is a sub class of another type (or aspect). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Provides read access to the Repository Dictionary. - - - - - - diff --git a/source/wsdl/repository-service.wsdl b/source/wsdl/repository-service.wsdl deleted file mode 100644 index 2139a1847b..0000000000 --- a/source/wsdl/repository-service.wsdl +++ /dev/null @@ -1,520 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defines the SOAP headers used by this service. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Creates a new repository store. - - - - - - Retrieves a list of stores where content resources are held. - - - - - - Executes a query against a store. - - - - - - Executes a query to retrieve the children of the specified resource. - - - - - - Executes a query to retrieve the parents of the specified resource. - - - - - - Executes a query to retrieve associated resources of the specified resource. - - - - - - Fetches the next batch of query results. - - - - - - Executes a CML script to manipulate the contents of a Repository store. - - - - - - Describes a content resource. - - - - - - Gets a resource from the repository. - - - - - - - - - - - - - - - - - - - - - - Retrieves a list of stores where content resources are held. - - - - - - - - - - - - - Executes a query against a store - - - - - - - - - - - - - - Executes a query to retrieve the children of the specified resource. - - - - - - - - - - - - - - Executes a query to retrieve the parents of the specified resource. - - - - - - - - - - - - - - Executes a query to retrieve associated resources of the specified resource. - - - - - - - - - - - - - - Fetches the next batch of query results. - - - - - - - - - - - - - Executes a CML script to manipulate the contents of a Repository store. - - - - - - - - - - - - - Describes a content resource. - - - - - - - - - - - - - Gets a resource from the respository. - - - - - - - - - - - - - - - Provides read and write operations against a repository. - - - - - -