mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
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:
@@ -1,9 +1,11 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.JAXBElement;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlElementRef;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
@@ -22,6 +24,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <element name="objectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="targetFolderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="sourceFolderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -35,7 +38,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
"repositoryId",
|
||||
"objectId",
|
||||
"targetFolderId",
|
||||
"sourceFolderId"
|
||||
"sourceFolderId",
|
||||
"extension"
|
||||
})
|
||||
@XmlRootElement(name = "moveObject")
|
||||
public class MoveObject {
|
||||
@@ -48,6 +52,8 @@ public class MoveObject {
|
||||
protected String targetFolderId;
|
||||
@XmlElement(required = true)
|
||||
protected String sourceFolderId;
|
||||
@XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class)
|
||||
protected JAXBElement<CmisExtensionType> extension;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
@@ -145,4 +151,28 @@ public class MoveObject {
|
||||
this.sourceFolderId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the extension property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >}
|
||||
*
|
||||
*/
|
||||
public JAXBElement<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);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user