Merged CMIS063 to HEAD

15463: Fixed MOB-1100: Update Web Services to 0.62 final

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17232 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2009-10-29 16:31:49 +00:00
parent e90b63f20b
commit babca05012
168 changed files with 10960 additions and 6673 deletions

View File

@@ -1,6 +1,8 @@
package org.alfresco.repo.cmis.ws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
@@ -21,11 +23,13 @@ import javax.xml.bind.annotation.XmlType;
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}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/core/200901}cmisContentStreamType" minOccurs="0"/>
* <element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/messaging/200901}cmisContentStreamType" minOccurs="0"/>
* <element name="versioningState" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumVersioningState" minOccurs="0"/>
* <element name="applyPolicies" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType" minOccurs="0"/>
* <element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
@@ -37,11 +41,13 @@ import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"repositoryId",
"typeId",
"properties",
"folderId",
"contentStream",
"versioningState"
"versioningState",
"applyPolicies",
"addACEs",
"removeACEs"
})
@XmlRootElement(name = "createDocument")
public class CreateDocument {
@@ -49,14 +55,18 @@ public class CreateDocument {
@XmlElement(required = true)
protected String repositoryId;
@XmlElement(required = true)
protected String typeId;
@XmlElement(required = true)
protected CmisPropertiesType properties;
protected String folderId;
@XmlElementRef(name = "contentStream", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
protected JAXBElement<CmisContentStreamType> contentStream;
@XmlElementRef(name = "versioningState", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
protected JAXBElement<EnumVersioningState> versioningState;
@XmlElement(nillable = true)
protected List<String> applyPolicies;
@XmlElementRef(name = "addACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
protected JAXBElement<CmisAccessControlListType> addACEs;
@XmlElementRef(name = "removeACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
protected JAXBElement<CmisAccessControlListType> removeACEs;
/**
* Gets the value of the repositoryId property.
@@ -82,30 +92,6 @@ public class CreateDocument {
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 properties property.
*
@@ -202,4 +188,81 @@ public class CreateDocument {
this.versioningState = ((JAXBElement<EnumVersioningState> ) value);
}
/**
* Gets the value of the applyPolicies property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the applyPolicies property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getApplyPolicies().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getApplyPolicies() {
if (applyPolicies == null) {
applyPolicies = new ArrayList<String>();
}
return this.applyPolicies;
}
/**
* Gets the value of the addACEs property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}
*
*/
public JAXBElement<CmisAccessControlListType> 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<CmisAccessControlListType> value) {
this.addACEs = ((JAXBElement<CmisAccessControlListType> ) value);
}
/**
* Gets the value of the removeACEs property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >}
*
*/
public JAXBElement<CmisAccessControlListType> 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<CmisAccessControlListType> value) {
this.removeACEs = ((JAXBElement<CmisAccessControlListType> ) value);
}
}