Merged CMIS063 to HEAD

16930: MOB-1330: Upgrade Web Services Repository to 0.7

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17243 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2009-10-29 18:40:59 +00:00
parent 93346e262e
commit d6b8ce91a5
203 changed files with 10223 additions and 6060 deletions

View File

@@ -1,9 +1,12 @@
package org.alfresco.repo.cmis.ws;
import java.math.BigInteger;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@@ -19,8 +22,11 @@ import javax.xml.bind.annotation.XmlType;
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="streamId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="offset" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* <element name="length" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
@@ -32,8 +38,11 @@ import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"repositoryId",
"documentId",
"streamId"
"objectId",
"streamId",
"offset",
"length",
"extension"
})
@XmlRootElement(name = "getContentStream")
public class GetContentStream {
@@ -41,8 +50,15 @@ public class GetContentStream {
@XmlElement(required = true)
protected String repositoryId;
@XmlElement(required = true)
protected String documentId;
protected String streamId;
protected String objectId;
@XmlElementRef(name = "streamId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
protected JAXBElement<String> streamId;
@XmlElementRef(name = "offset", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
protected JAXBElement<BigInteger> offset;
@XmlElementRef(name = "length", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
protected JAXBElement<BigInteger> length;
@XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
protected JAXBElement<CmisExtensionType> extension;
/**
* Gets the value of the repositoryId property.
@@ -69,27 +85,27 @@ public class GetContentStream {
}
/**
* Gets the value of the documentId property.
* Gets the value of the objectId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentId() {
return documentId;
public String getObjectId() {
return objectId;
}
/**
* Sets the value of the documentId property.
* Sets the value of the objectId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentId(String value) {
this.documentId = value;
public void setObjectId(String value) {
this.objectId = value;
}
/**
@@ -97,10 +113,10 @@ public class GetContentStream {
*
* @return
* possible object is
* {@link String }
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public String getStreamId() {
public JAXBElement<String> getStreamId() {
return streamId;
}
@@ -109,11 +125,83 @@ public class GetContentStream {
*
* @param value
* allowed object is
* {@link String }
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setStreamId(String value) {
this.streamId = value;
public void setStreamId(JAXBElement<String> value) {
this.streamId = ((JAXBElement<String> ) value);
}
/**
* Gets the value of the offset property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
*
*/
public JAXBElement<BigInteger> 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<BigInteger> value) {
this.offset = ((JAXBElement<BigInteger> ) value);
}
/**
* Gets the value of the length property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link BigInteger }{@code >}
*
*/
public JAXBElement<BigInteger> 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<BigInteger> value) {
this.length = ((JAXBElement<BigInteger> ) value);
}
/**
* Gets the value of the extension property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
*
*/
public JAXBElement<CmisExtensionType> 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<CmisExtensionType> value) {
this.extension = ((JAXBElement<CmisExtensionType> ) value);
}
}