mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Merged DEV/CMIS0_61 to HEAD (part 4)
14095 CMIS 0.61 Web Services Including Tests & JavaClient 14123 Several Minor Fixes git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14177 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -18,13 +18,11 @@
|
||||
</jaxws:inInterceptors>
|
||||
|
||||
<jaxws:outInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptor" />
|
||||
</jaxws:outInterceptors>
|
||||
|
||||
<jaxws:outFaultInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptor" />
|
||||
</jaxws:outFaultInterceptors>
|
||||
@@ -42,18 +40,16 @@
|
||||
implementorClass="org.alfresco.repo.cmis.ws.DMNavigationServicePort">
|
||||
<jaxws:inInterceptors>
|
||||
<ref local="saajInInterceptor" />
|
||||
<ref local="wss4jInInterceptor" />
|
||||
<ref local="wss4jInInterceptor" />
|
||||
<ref local="authenticationInterceptor" />
|
||||
</jaxws:inInterceptors>
|
||||
|
||||
<jaxws:outInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptor" />
|
||||
</jaxws:outInterceptors>
|
||||
|
||||
<jaxws:outFaultInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptor" />
|
||||
</jaxws:outFaultInterceptors>
|
||||
@@ -75,13 +71,11 @@
|
||||
</jaxws:inInterceptors>
|
||||
|
||||
<jaxws:outInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptorWithMTOM" />
|
||||
</jaxws:outInterceptors>
|
||||
|
||||
<jaxws:outFaultInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptor" />
|
||||
</jaxws:outFaultInterceptors>
|
||||
@@ -105,13 +99,11 @@
|
||||
</jaxws:inInterceptors>
|
||||
|
||||
<jaxws:outInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptor" />
|
||||
</jaxws:outInterceptors>
|
||||
|
||||
<jaxws:outFaultInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptor" />
|
||||
</jaxws:outFaultInterceptors>
|
||||
@@ -134,13 +126,11 @@
|
||||
</jaxws:inInterceptors>
|
||||
|
||||
<jaxws:outInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptor" />
|
||||
</jaxws:outInterceptors>
|
||||
|
||||
<jaxws:outFaultInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptor" />
|
||||
</jaxws:outFaultInterceptors>
|
||||
@@ -163,13 +153,11 @@
|
||||
</jaxws:inInterceptors>
|
||||
|
||||
<jaxws:outInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptor" />
|
||||
</jaxws:outInterceptors>
|
||||
|
||||
<jaxws:outFaultInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptor" />
|
||||
</jaxws:outFaultInterceptors>
|
||||
@@ -192,13 +180,11 @@
|
||||
</jaxws:inInterceptors>
|
||||
|
||||
<jaxws:outInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptor" />
|
||||
</jaxws:outInterceptors>
|
||||
|
||||
<jaxws:outFaultInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptor" />
|
||||
</jaxws:outFaultInterceptors>
|
||||
@@ -220,13 +206,11 @@
|
||||
</jaxws:inInterceptors>
|
||||
|
||||
<jaxws:outInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptor" />
|
||||
</jaxws:outInterceptors>
|
||||
|
||||
<jaxws:outFaultInterceptors>
|
||||
<ref local="authenticationClearInterceptor" />
|
||||
<ref local="saajOutInterceptor" />
|
||||
<ref local="wss4jOutInterceptor" />
|
||||
</jaxws:outFaultInterceptors>
|
||||
@@ -276,7 +260,9 @@
|
||||
|
||||
<bean id="exceptionPointcutAdvisor" class="org.springframework.aop.support.DefaultPointcutAdvisor">
|
||||
<property name="advice">
|
||||
<bean class="org.alfresco.repo.cmis.ws.DMServicePortThrowsAdvice" />
|
||||
<bean class="org.alfresco.repo.cmis.ws.DMServicePortThrowsAdvice">
|
||||
<property name="cmisObjectsUtils" ref="cmisObjectsUtils" />
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
@@ -373,6 +359,4 @@
|
||||
<property name="transactionService" ref="transactionService" />
|
||||
</bean>
|
||||
|
||||
<bean id="authenticationClearInterceptor" class="org.alfresco.repo.cmis.ws.AuthenticationClearInterceptor"/>
|
||||
|
||||
</beans>
|
@@ -23,8 +23,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="major" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <element name="properties" type="{http://www.cmis.org/2008/05}cmisPropertiesType" minOccurs="0"/>
|
||||
* <element name="contentStream" type="{http://www.cmis.org/2008/05}cmisContentStreamType" minOccurs="0"/>
|
||||
* <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType" minOccurs="0"/>
|
||||
* <element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisContentStreamType" minOccurs="0"/>
|
||||
* <element name="checkinComment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
@@ -50,13 +50,13 @@ public class CheckIn {
|
||||
protected String repositoryId;
|
||||
@XmlElement(required = true)
|
||||
protected String documentId;
|
||||
@XmlElementRef(name = "major", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
|
||||
@XmlElementRef(name = "major", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
|
||||
protected JAXBElement<Boolean> major;
|
||||
@XmlElementRef(name = "properties", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
|
||||
@XmlElementRef(name = "properties", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
|
||||
protected JAXBElement<CmisPropertiesType> properties;
|
||||
@XmlElementRef(name = "contentStream", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
|
||||
@XmlElementRef(name = "contentStream", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
|
||||
protected JAXBElement<CmisContentStreamType> contentStream;
|
||||
@XmlElementRef(name = "checkinComment", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
|
||||
@XmlElementRef(name = "checkinComment", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
|
||||
protected JAXBElement<String> checkinComment;
|
||||
|
||||
/**
|
||||
|
138
source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlEntryType.java
Executable file
138
source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlEntryType.java
Executable file
@@ -0,0 +1,138 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for cmisAccessControlEntryType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <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/200901}cmisAccessControlPrincipalType"/>
|
||||
* <element name="permission" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="direct" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisAccessControlEntryType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"principal",
|
||||
"permission",
|
||||
"direct",
|
||||
"any"
|
||||
})
|
||||
public class CmisAccessControlEntryType {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected CmisAccessControlPrincipalType principal;
|
||||
@XmlElement(required = true)
|
||||
protected String permission;
|
||||
protected boolean direct;
|
||||
@XmlAnyElement(lax = true)
|
||||
protected Object 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.
|
||||
*
|
||||
* @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 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.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Object }
|
||||
*
|
||||
*/
|
||||
public Object getAny() {
|
||||
return any;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the any property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Object }
|
||||
*
|
||||
*/
|
||||
public void setAny(Object value) {
|
||||
this.any = value;
|
||||
}
|
||||
|
||||
}
|
91
source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlListType.java
Executable file
91
source/generated/org/alfresco/repo/cmis/ws/CmisAccessControlListType.java
Executable file
@@ -0,0 +1,91 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for cmisAccessControlListType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <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/200901}cmisAccessControlEntryType"/>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisAccessControlListType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"permission",
|
||||
"any"
|
||||
})
|
||||
public class CmisAccessControlListType {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected CmisAccessControlEntryType permission;
|
||||
@XmlAnyElement(lax = true)
|
||||
protected Object any;
|
||||
|
||||
/**
|
||||
* Gets the value of the permission property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link CmisAccessControlEntryType }
|
||||
*
|
||||
*/
|
||||
public CmisAccessControlEntryType getPermission() {
|
||||
return permission;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the permission property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link CmisAccessControlEntryType }
|
||||
*
|
||||
*/
|
||||
public void setPermission(CmisAccessControlEntryType value) {
|
||||
this.permission = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the any property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Object }
|
||||
*
|
||||
*/
|
||||
public Object getAny() {
|
||||
return any;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the any property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Object }
|
||||
*
|
||||
*/
|
||||
public void setAny(Object value) {
|
||||
this.any = value;
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,91 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for cmisAccessControlPrincipalType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <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>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisAccessControlPrincipalType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"principalId",
|
||||
"any"
|
||||
})
|
||||
public class CmisAccessControlPrincipalType {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String principalId;
|
||||
@XmlAnyElement(lax = true)
|
||||
protected Object 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.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Object }
|
||||
*
|
||||
*/
|
||||
public Object getAny() {
|
||||
return any;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the any property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Object }
|
||||
*
|
||||
*/
|
||||
public void setAny(Object value) {
|
||||
this.any = value;
|
||||
}
|
||||
|
||||
}
|
@@ -55,7 +55,7 @@ import org.w3c.dom.Element;
|
||||
* <element name="canDeleteTree" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
|
||||
* <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -64,7 +64,7 @@ import org.w3c.dom.Element;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisAllowableActionsType", propOrder = {
|
||||
@XmlType(name = "cmisAllowableActionsType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"parentId",
|
||||
"parentUrl",
|
||||
"canDelete",
|
||||
@@ -846,8 +846,8 @@ public class CmisAllowableActionsType {
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Element }
|
||||
* {@link Object }
|
||||
* {@link Element }
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
@@ -26,7 +26,7 @@ import org.w3c.dom.Element;
|
||||
* <sequence>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
|
||||
* <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -35,7 +35,7 @@ import org.w3c.dom.Element;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisAnyXml", propOrder = {
|
||||
@XmlType(name = "cmisAnyXml", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"any"
|
||||
})
|
||||
public class CmisAnyXml {
|
||||
@@ -63,8 +63,8 @@ public class CmisAnyXml {
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Element }
|
||||
* {@link Object }
|
||||
* {@link Element }
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
122
source/generated/org/alfresco/repo/cmis/ws/CmisChangedObjectType.java
Executable file
122
source/generated/org/alfresco/repo/cmis/ws/CmisChangedObjectType.java
Executable file
@@ -0,0 +1,122 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for cmisChangedObjectType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="cmisChangedObjectType">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="changeType" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumTypeOfChanges"/>
|
||||
* <element name="changeTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisChangedObjectType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"changeType",
|
||||
"changeTime",
|
||||
"any"
|
||||
})
|
||||
public class CmisChangedObjectType {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected EnumTypeOfChanges changeType;
|
||||
@XmlElement(required = true)
|
||||
@XmlSchemaType(name = "dateTime")
|
||||
protected XMLGregorianCalendar changeTime;
|
||||
@XmlAnyElement(lax = true)
|
||||
protected Object 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.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Object }
|
||||
*
|
||||
*/
|
||||
public Object getAny() {
|
||||
return any;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the any property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Object }
|
||||
*
|
||||
*/
|
||||
public void setAny(Object value) {
|
||||
this.any = value;
|
||||
}
|
||||
|
||||
}
|
@@ -1,8 +1,11 @@
|
||||
|
||||
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;
|
||||
|
||||
|
||||
@@ -14,9 +17,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisChoiceBooleanType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
|
||||
* <sequence>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}boolean" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -26,37 +29,43 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisChoiceBooleanType", propOrder = {
|
||||
@XmlType(name = "cmisChoiceBooleanType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisChoiceBooleanType
|
||||
extends CmisChoiceType
|
||||
{
|
||||
|
||||
protected Boolean value;
|
||||
@XmlElement(type = Boolean.class)
|
||||
protected List<Boolean> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the value property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public Boolean isValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the value 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 value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Boolean }
|
||||
*
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public void setValue(Boolean value) {
|
||||
this.value = value;
|
||||
public List<Boolean> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<Boolean>();
|
||||
}
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,6 +1,8 @@
|
||||
|
||||
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;
|
||||
@@ -16,9 +18,9 @@ import javax.xml.datatype.XMLGregorianCalendar;
|
||||
* <pre>
|
||||
* <complexType name="cmisChoiceDateTimeType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
|
||||
* <sequence>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}dateTime" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -28,7 +30,7 @@ import javax.xml.datatype.XMLGregorianCalendar;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisChoiceDateTimeType", propOrder = {
|
||||
@XmlType(name = "cmisChoiceDateTimeType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisChoiceDateTimeType
|
||||
@@ -36,30 +38,35 @@ public class CmisChoiceDateTimeType
|
||||
{
|
||||
|
||||
@XmlSchemaType(name = "dateTime")
|
||||
protected XMLGregorianCalendar value;
|
||||
protected List<XMLGregorianCalendar> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the value property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public XMLGregorianCalendar getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the value 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 value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public void setValue(XMLGregorianCalendar value) {
|
||||
this.value = value;
|
||||
public List<XMLGregorianCalendar> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<XMLGregorianCalendar>();
|
||||
}
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -2,6 +2,8 @@
|
||||
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;
|
||||
@@ -15,9 +17,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisChoiceDecimalType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
|
||||
* <sequence>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}decimal" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -27,37 +29,42 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisChoiceDecimalType", propOrder = {
|
||||
@XmlType(name = "cmisChoiceDecimalType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisChoiceDecimalType
|
||||
extends CmisChoiceType
|
||||
{
|
||||
|
||||
protected BigDecimal value;
|
||||
protected List<BigDecimal> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the value property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
*/
|
||||
public BigDecimal getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the value 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 value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
*/
|
||||
public void setValue(BigDecimal value) {
|
||||
this.value = value;
|
||||
public List<BigDecimal> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<BigDecimal>();
|
||||
}
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -18,9 +18,19 @@ import org.w3c.dom.Element;
|
||||
* <pre>
|
||||
* <complexType name="cmisChoiceHtmlType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
|
||||
* <sequence>
|
||||
* <any/>
|
||||
* <element name="value" maxOccurs="unbounded" minOccurs="0">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -30,44 +40,103 @@ import org.w3c.dom.Element;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisChoiceHtmlType", propOrder = {
|
||||
"any"
|
||||
@XmlType(name = "cmisChoiceHtmlType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisChoiceHtmlType
|
||||
extends CmisChoiceType
|
||||
{
|
||||
|
||||
@XmlAnyElement(lax = true)
|
||||
protected List<Object> any;
|
||||
protected List<CmisChoiceHtmlType.Value> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the any property.
|
||||
* Gets the value of the value 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 any property.
|
||||
* This is why there is not a <CODE>set</CODE> method for the value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getAny().add(newItem);
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Element }
|
||||
* {@link Object }
|
||||
* {@link CmisChoiceHtmlType.Value }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Object> getAny() {
|
||||
if (any == null) {
|
||||
any = new ArrayList<Object>();
|
||||
public List<CmisChoiceHtmlType.Value> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<CmisChoiceHtmlType.Value>();
|
||||
}
|
||||
return this.any;
|
||||
return this.value;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"any"
|
||||
})
|
||||
public static class Value {
|
||||
|
||||
@XmlAnyElement(lax = true)
|
||||
protected List<Object> any;
|
||||
|
||||
/**
|
||||
* Gets the value of the any 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 any property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getAny().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Object }
|
||||
* {@link Element }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Object> getAny() {
|
||||
if (any == null) {
|
||||
any = new ArrayList<Object>();
|
||||
}
|
||||
return this.any;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,6 +1,8 @@
|
||||
|
||||
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;
|
||||
@@ -14,9 +16,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisChoiceIdType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
|
||||
* <sequence>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -26,37 +28,42 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisChoiceIdType", propOrder = {
|
||||
@XmlType(name = "cmisChoiceIdType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisChoiceIdType
|
||||
extends CmisChoiceType
|
||||
{
|
||||
|
||||
protected String value;
|
||||
protected List<String> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the value property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the value 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 value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link String }
|
||||
*
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
public List<String> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<String>();
|
||||
}
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -2,6 +2,8 @@
|
||||
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;
|
||||
@@ -15,9 +17,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisChoiceIntegerType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
|
||||
* <sequence>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -27,37 +29,42 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisChoiceIntegerType", propOrder = {
|
||||
@XmlType(name = "cmisChoiceIntegerType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisChoiceIntegerType
|
||||
extends CmisChoiceType
|
||||
{
|
||||
|
||||
protected BigInteger value;
|
||||
protected List<BigInteger> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the value property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link BigInteger }
|
||||
*
|
||||
*/
|
||||
public BigInteger getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the value 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 value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link BigInteger }
|
||||
*
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link BigInteger }
|
||||
*
|
||||
*/
|
||||
public void setValue(BigInteger value) {
|
||||
this.value = value;
|
||||
public List<BigInteger> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<BigInteger>();
|
||||
}
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,6 +1,8 @@
|
||||
|
||||
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;
|
||||
@@ -14,9 +16,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisChoiceStringType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
|
||||
* <sequence>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -26,37 +28,42 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisChoiceStringType", propOrder = {
|
||||
@XmlType(name = "cmisChoiceStringType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisChoiceStringType
|
||||
extends CmisChoiceType
|
||||
{
|
||||
|
||||
protected String value;
|
||||
protected List<String> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the value property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the value 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 value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link String }
|
||||
*
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
public List<String> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<String>();
|
||||
}
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,7 +1,6 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@@ -27,11 +26,10 @@ import javax.xml.namespace.QName;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/2008/05}choice" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choice" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
|
||||
* <attribute ref="{http://www.cmis.org/2008/05}index"/>
|
||||
* <attribute ref="{http://www.cmis.org/2008/05}key"/>
|
||||
* <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
|
||||
* <attribute ref="{http://docs.oasis-open.org/ns/cmis/core/200901}key"/>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -40,27 +38,25 @@ import javax.xml.namespace.QName;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisChoiceType", propOrder = {
|
||||
@XmlType(name = "cmisChoiceType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"choice"
|
||||
})
|
||||
@XmlSeeAlso({
|
||||
CmisChoiceDecimalType.class,
|
||||
CmisChoiceXmlType.class,
|
||||
CmisChoiceDateTimeType.class,
|
||||
CmisChoiceStringType.class,
|
||||
CmisChoiceDecimalType.class,
|
||||
CmisChoiceUriType.class,
|
||||
CmisChoiceIntegerType.class,
|
||||
CmisChoiceHtmlType.class,
|
||||
CmisChoiceXmlType.class,
|
||||
CmisChoiceBooleanType.class,
|
||||
CmisChoiceIdType.class,
|
||||
CmisChoiceBooleanType.class
|
||||
CmisChoiceHtmlType.class
|
||||
})
|
||||
public abstract class CmisChoiceType {
|
||||
|
||||
@XmlElementRef(name = "choice", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
|
||||
@XmlElementRef(name = "choice", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", type = JAXBElement.class)
|
||||
protected List<JAXBElement<? extends CmisChoiceType>> choice;
|
||||
@XmlAttribute(namespace = "http://www.cmis.org/2008/05")
|
||||
protected BigInteger index;
|
||||
@XmlAttribute(namespace = "http://www.cmis.org/2008/05")
|
||||
@XmlAttribute(namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
protected String key;
|
||||
@XmlAnyAttribute
|
||||
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
|
||||
@@ -83,15 +79,15 @@ public abstract class CmisChoiceType {
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link JAXBElement }{@code <}{@link CmisChoiceDecimalType }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link CmisChoiceUriType }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link CmisChoiceIntegerType }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link CmisChoiceXmlType }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link CmisChoiceHtmlType }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link CmisChoiceStringType }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link CmisChoiceBooleanType }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link CmisChoiceXmlType }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link CmisChoiceIntegerType }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link CmisChoiceDateTimeType }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link CmisChoiceIdType }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link CmisChoiceUriType }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link CmisChoiceBooleanType }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link CmisChoiceDecimalType }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link CmisChoiceType }{@code >}
|
||||
*
|
||||
*
|
||||
@@ -103,30 +99,6 @@ public abstract class CmisChoiceType {
|
||||
return this.choice;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the index property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link BigInteger }
|
||||
*
|
||||
*/
|
||||
public BigInteger getIndex() {
|
||||
return index;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the index property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link BigInteger }
|
||||
*
|
||||
*/
|
||||
public void setIndex(BigInteger value) {
|
||||
this.index = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the key property.
|
||||
*
|
||||
|
@@ -1,6 +1,8 @@
|
||||
|
||||
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;
|
||||
@@ -15,9 +17,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisChoiceUriType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
|
||||
* <sequence>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -27,7 +29,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisChoiceUriType", propOrder = {
|
||||
@XmlType(name = "cmisChoiceUriType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisChoiceUriType
|
||||
@@ -35,30 +37,35 @@ public class CmisChoiceUriType
|
||||
{
|
||||
|
||||
@XmlSchemaType(name = "anyURI")
|
||||
protected String value;
|
||||
protected List<String> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the value property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the value 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 value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link String }
|
||||
*
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
public List<String> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<String>();
|
||||
}
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -18,7 +18,7 @@ import org.w3c.dom.Element;
|
||||
* <pre>
|
||||
* <complexType name="cmisChoiceXmlType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
|
||||
* <sequence>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
@@ -30,7 +30,7 @@ import org.w3c.dom.Element;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisChoiceXmlType", propOrder = {
|
||||
@XmlType(name = "cmisChoiceXmlType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"any"
|
||||
})
|
||||
public class CmisChoiceXmlType
|
||||
@@ -58,8 +58,8 @@ public class CmisChoiceXmlType
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Element }
|
||||
* {@link Object }
|
||||
* {@link Element }
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
@@ -36,7 +36,7 @@ import org.w3c.dom.Element;
|
||||
* <element name="stream" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
|
||||
* <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -45,7 +45,7 @@ import org.w3c.dom.Element;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisContentStreamType", propOrder = {
|
||||
@XmlType(name = "cmisContentStreamType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"length",
|
||||
"mimeType",
|
||||
"filename",
|
||||
@@ -207,8 +207,8 @@ public class CmisContentStreamType {
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Element }
|
||||
* {@link Object }
|
||||
* {@link Element }
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
45
source/generated/org/alfresco/repo/cmis/ws/CmisException.java
Executable file
45
source/generated/org/alfresco/repo/cmis/ws/CmisException.java
Executable file
@@ -0,0 +1,45 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.ws.WebFault;
|
||||
|
||||
|
||||
/**
|
||||
* This class was generated by Apache CXF 2.1.2
|
||||
* Mon Apr 27 21:08:02 EEST 2009
|
||||
* Generated source version: 2.1.2
|
||||
*
|
||||
*/
|
||||
|
||||
@WebFault(name = "cmisFault", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901")
|
||||
public class CmisException extends Exception {
|
||||
public static final long serialVersionUID = 20090427210802L;
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
@@ -2,10 +2,12 @@
|
||||
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.XmlSeeAlso;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
@@ -19,8 +21,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="errorCode" type="{http://www.w3.org/2001/XMLSchema}integer"/>
|
||||
* <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="type" type="{http://docs.oasis-open.org/ns/cmis/messaging/200901}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>
|
||||
@@ -31,80 +35,121 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisFaultType", propOrder = {
|
||||
"errorCode",
|
||||
"errorMessage"
|
||||
})
|
||||
@XmlSeeAlso({
|
||||
OperationNotSupportedExceptionType.class,
|
||||
PermissionDeniedExceptionType.class,
|
||||
NotInFolderExceptionType.class,
|
||||
StorageExceptionType.class,
|
||||
OffsetExceptionType.class,
|
||||
ConstraintViolationExceptionType.class,
|
||||
VersioningExceptionType.class,
|
||||
InvalidArgumentExceptionType.class,
|
||||
FilterNotValidExceptionType.class,
|
||||
TypeNotFoundExceptionType.class,
|
||||
UpdateConflictExceptionType.class,
|
||||
FolderNotValidExceptionType.class,
|
||||
ObjectNotFoundExceptionType.class,
|
||||
StreamNotSupportedExceptionType.class,
|
||||
RuntimeExceptionType.class,
|
||||
ContentAlreadyExistsExceptionType.class
|
||||
"type",
|
||||
"code",
|
||||
"message",
|
||||
"any"
|
||||
})
|
||||
public class CmisFaultType {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected BigInteger errorCode;
|
||||
protected EnumServiceException type;
|
||||
@XmlElement(required = true)
|
||||
protected String errorMessage;
|
||||
protected BigInteger code;
|
||||
@XmlElement(required = true)
|
||||
protected String message;
|
||||
@XmlAnyElement(lax = true)
|
||||
protected List<Object> any;
|
||||
|
||||
/**
|
||||
* Gets the value of the errorCode property.
|
||||
* 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 getErrorCode() {
|
||||
return errorCode;
|
||||
public BigInteger getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the errorCode property.
|
||||
* Sets the value of the code property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link BigInteger }
|
||||
*
|
||||
*/
|
||||
public void setErrorCode(BigInteger value) {
|
||||
this.errorCode = value;
|
||||
public void setCode(BigInteger value) {
|
||||
this.code = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the errorMessage property.
|
||||
* Gets the value of the message property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getErrorMessage() {
|
||||
return errorMessage;
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the errorMessage property.
|
||||
* Sets the value of the message property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setErrorMessage(String value) {
|
||||
this.errorMessage = value;
|
||||
public void setMessage(String value) {
|
||||
this.message = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the any 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 any property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getAny().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Object }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Object> getAny() {
|
||||
if (any == null) {
|
||||
any = new ArrayList<Object>();
|
||||
}
|
||||
return this.any;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -24,13 +24,14 @@ import org.w3c.dom.Element;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="properties" type="{http://www.cmis.org/2008/05}cmisPropertiesType" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}allowableActions" minOccurs="0"/>
|
||||
* <element name="relationship" type="{http://www.cmis.org/2008/05}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="child" type="{http://www.cmis.org/2008/05}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType" minOccurs="0"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}allowableActions" minOccurs="0"/>
|
||||
* <element name="relationship" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="changeObject" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChangedObjectType" minOccurs="0"/>
|
||||
* <element name="child" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
|
||||
* <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -39,10 +40,11 @@ import org.w3c.dom.Element;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisObjectType", propOrder = {
|
||||
@XmlType(name = "cmisObjectType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"properties",
|
||||
"allowableActions",
|
||||
"relationship",
|
||||
"changeObject",
|
||||
"child",
|
||||
"any"
|
||||
})
|
||||
@@ -51,6 +53,7 @@ public class CmisObjectType {
|
||||
protected CmisPropertiesType properties;
|
||||
protected CmisAllowableActionsType allowableActions;
|
||||
protected List<CmisObjectType> relationship;
|
||||
protected CmisChangedObjectType changeObject;
|
||||
protected List<CmisObjectType> child;
|
||||
@XmlAnyElement(lax = true)
|
||||
protected List<Object> any;
|
||||
@@ -134,6 +137,30 @@ public class CmisObjectType {
|
||||
return this.relationship;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the changeObject property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link CmisChangedObjectType }
|
||||
*
|
||||
*/
|
||||
public CmisChangedObjectType getChangeObject() {
|
||||
return changeObject;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the changeObject property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link CmisChangedObjectType }
|
||||
*
|
||||
*/
|
||||
public void setChangeObject(CmisChangedObjectType value) {
|
||||
this.changeObject = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the child property.
|
||||
*
|
||||
@@ -181,8 +208,8 @@ public class CmisObjectType {
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Element }
|
||||
* {@link Object }
|
||||
* {@link Element }
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
186
source/generated/org/alfresco/repo/cmis/ws/CmisPermissionDefinitionType.java
Executable file
186
source/generated/org/alfresco/repo/cmis/ws/CmisPermissionDefinitionType.java
Executable file
@@ -0,0 +1,186 @@
|
||||
|
||||
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.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
|
||||
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for cmisPermissionDefinitionType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="cmisPermissionDefinitionType">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}language" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="aggregating" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPermissionDefinitionType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* <attribute name="aggregated" type="{http://www.w3.org/2001/XMLSchema}boolean" />
|
||||
* <attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" />
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPermissionDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"description",
|
||||
"aggregating"
|
||||
})
|
||||
public class CmisPermissionDefinitionType {
|
||||
|
||||
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
|
||||
@XmlSchemaType(name = "language")
|
||||
protected List<String> description;
|
||||
protected List<CmisPermissionDefinitionType> aggregating;
|
||||
@XmlAttribute
|
||||
protected String name;
|
||||
@XmlAttribute
|
||||
protected Boolean aggregated;
|
||||
@XmlAttribute(name = "abstract")
|
||||
protected Boolean _abstract;
|
||||
|
||||
/**
|
||||
* Gets the value of the description 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 description property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getDescription().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link String }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<String> getDescription() {
|
||||
if (description == null) {
|
||||
description = new ArrayList<String>();
|
||||
}
|
||||
return this.description;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the aggregating 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 aggregating property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getAggregating().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link CmisPermissionDefinitionType }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<CmisPermissionDefinitionType> getAggregating() {
|
||||
if (aggregating == null) {
|
||||
aggregating = new ArrayList<CmisPermissionDefinitionType>();
|
||||
}
|
||||
return this.aggregating;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the name property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the name property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setName(String value) {
|
||||
this.name = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the aggregated property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public Boolean isAggregated() {
|
||||
return aggregated;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the aggregated property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public void setAggregated(Boolean value) {
|
||||
this.aggregated = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the abstract property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public Boolean isAbstract() {
|
||||
return _abstract;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the abstract property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public void setAbstract(Boolean value) {
|
||||
this._abstract = value;
|
||||
}
|
||||
|
||||
}
|
69
source/generated/org/alfresco/repo/cmis/ws/CmisPermissionSetType.java
Executable file
69
source/generated/org/alfresco/repo/cmis/ws/CmisPermissionSetType.java
Executable file
@@ -0,0 +1,69 @@
|
||||
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for cmisPermissionSetType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="cmisPermissionSetType">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="permission" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPermissionDefinitionType" maxOccurs="unbounded"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPermissionSetType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"permission"
|
||||
})
|
||||
public class CmisPermissionSetType {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected List<CmisPermissionDefinitionType> permission;
|
||||
|
||||
/**
|
||||
* Gets the value of the permission 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 permission property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getPermission().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link CmisPermissionDefinitionType }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<CmisPermissionDefinitionType> getPermission() {
|
||||
if (permission == null) {
|
||||
permission = new ArrayList<CmisPermissionDefinitionType>();
|
||||
}
|
||||
return this.permission;
|
||||
}
|
||||
|
||||
}
|
@@ -27,19 +27,19 @@ import org.w3c.dom.Element;
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <choice maxOccurs="unbounded" minOccurs="0">
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyBoolean"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyId"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyInteger"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyDateTime"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyDecimal"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyHtml"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyString"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyUri"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyXml"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyBoolean"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyId"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyInteger"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyDateTime"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyDecimal"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyHtml"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyString"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyUri"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyXml"/>
|
||||
* </choice>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
|
||||
* <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -48,22 +48,22 @@ import org.w3c.dom.Element;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertiesType", propOrder = {
|
||||
@XmlType(name = "cmisPropertiesType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"property",
|
||||
"any"
|
||||
})
|
||||
public class CmisPropertiesType {
|
||||
|
||||
@XmlElements({
|
||||
@XmlElement(name = "propertyUri", type = CmisPropertyUri.class, nillable = true),
|
||||
@XmlElement(name = "propertyXml", type = CmisPropertyXml.class, nillable = true),
|
||||
@XmlElement(name = "propertyDateTime", type = CmisPropertyDateTime.class, nillable = true),
|
||||
@XmlElement(name = "propertyInteger", type = CmisPropertyInteger.class, nillable = true),
|
||||
@XmlElement(name = "propertyDecimal", type = CmisPropertyDecimal.class, nillable = true),
|
||||
@XmlElement(name = "propertyBoolean", type = CmisPropertyBoolean.class, nillable = true),
|
||||
@XmlElement(name = "propertyId", type = CmisPropertyId.class, nillable = true),
|
||||
@XmlElement(name = "propertyString", type = CmisPropertyString.class, nillable = true),
|
||||
@XmlElement(name = "propertyXml", type = CmisPropertyXml.class, nillable = true),
|
||||
@XmlElement(name = "propertyHtml", type = CmisPropertyHtml.class, nillable = true),
|
||||
@XmlElement(name = "propertyBoolean", type = CmisPropertyBoolean.class, nillable = true),
|
||||
@XmlElement(name = "propertyDecimal", type = CmisPropertyDecimal.class, nillable = true),
|
||||
@XmlElement(name = "propertyDateTime", type = CmisPropertyDateTime.class, nillable = true),
|
||||
@XmlElement(name = "propertyInteger", type = CmisPropertyInteger.class, nillable = true)
|
||||
@XmlElement(name = "propertyUri", type = CmisPropertyUri.class, nillable = true),
|
||||
@XmlElement(name = "propertyHtml", type = CmisPropertyHtml.class, nillable = true)
|
||||
})
|
||||
protected List<CmisProperty> property;
|
||||
@XmlAnyElement(lax = true)
|
||||
@@ -89,15 +89,15 @@ public class CmisPropertiesType {
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link CmisPropertyUri }
|
||||
* {@link CmisPropertyId }
|
||||
* {@link CmisPropertyString }
|
||||
* {@link CmisPropertyXml }
|
||||
* {@link CmisPropertyHtml }
|
||||
* {@link CmisPropertyBoolean }
|
||||
* {@link CmisPropertyDecimal }
|
||||
* {@link CmisPropertyDateTime }
|
||||
* {@link CmisPropertyInteger }
|
||||
* {@link CmisPropertyDecimal }
|
||||
* {@link CmisPropertyBoolean }
|
||||
* {@link CmisPropertyId }
|
||||
* {@link CmisPropertyString }
|
||||
* {@link CmisPropertyUri }
|
||||
* {@link CmisPropertyHtml }
|
||||
*
|
||||
*
|
||||
*/
|
||||
@@ -126,8 +126,8 @@ public class CmisPropertiesType {
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Element }
|
||||
* {@link Object }
|
||||
* {@link Element }
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
@@ -1,7 +1,6 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
@@ -22,9 +21,8 @@ import javax.xml.namespace.QName;
|
||||
* <complexType name="cmisProperty">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
|
||||
* <attribute ref="{http://www.cmis.org/2008/05}name use="required""/>
|
||||
* <attribute ref="{http://www.cmis.org/2008/05}index"/>
|
||||
* <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
|
||||
* <attribute ref="{http://docs.oasis-open.org/ns/cmis/core/200901}name use="required""/>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -33,24 +31,22 @@ import javax.xml.namespace.QName;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisProperty")
|
||||
@XmlType(name = "cmisProperty", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlSeeAlso({
|
||||
CmisPropertyId.class,
|
||||
CmisPropertyUri.class,
|
||||
CmisPropertyDecimal.class,
|
||||
CmisPropertyXml.class,
|
||||
CmisPropertyString.class,
|
||||
CmisPropertyDateTime.class,
|
||||
CmisPropertyHtml.class,
|
||||
CmisPropertyInteger.class,
|
||||
CmisPropertyBoolean.class
|
||||
CmisPropertyDecimal.class,
|
||||
CmisPropertyId.class,
|
||||
CmisPropertyDateTime.class,
|
||||
CmisPropertyXml.class,
|
||||
CmisPropertyBoolean.class,
|
||||
CmisPropertyUri.class,
|
||||
CmisPropertyString.class,
|
||||
CmisPropertyInteger.class
|
||||
})
|
||||
public class CmisProperty {
|
||||
|
||||
@XmlAttribute(namespace = "http://www.cmis.org/2008/05", required = true)
|
||||
@XmlAttribute(namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", required = true)
|
||||
protected String name;
|
||||
@XmlAttribute(namespace = "http://www.cmis.org/2008/05")
|
||||
protected BigInteger index;
|
||||
@XmlAnyAttribute
|
||||
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
|
||||
|
||||
@@ -78,30 +74,6 @@ public class CmisProperty {
|
||||
this.name = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the index property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link BigInteger }
|
||||
*
|
||||
*/
|
||||
public BigInteger getIndex() {
|
||||
return index;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the index property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link BigInteger }
|
||||
*
|
||||
*/
|
||||
public void setIndex(BigInteger value) {
|
||||
this.index = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a map that contains attributes that aren't bound to any typed property on this class.
|
||||
*
|
||||
|
@@ -1,9 +1,11 @@
|
||||
|
||||
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.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
@@ -15,11 +17,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyBoolean">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisProperty">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
|
||||
* <sequence>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}boolean" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* <attribute ref="{http://www.cmis.org/2008/05}propertyType default="boolean""/>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -28,67 +29,43 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyBoolean", propOrder = {
|
||||
@XmlType(name = "cmisPropertyBoolean", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisPropertyBoolean
|
||||
extends CmisProperty
|
||||
{
|
||||
|
||||
protected Boolean value;
|
||||
@XmlAttribute(namespace = "http://www.cmis.org/2008/05")
|
||||
protected EnumPropertyType propertyType;
|
||||
@XmlElement(type = Boolean.class)
|
||||
protected List<Boolean> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the value property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public Boolean isValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the value 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 value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Boolean }
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public void setValue(Boolean value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the propertyType property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public EnumPropertyType getPropertyType() {
|
||||
if (propertyType == null) {
|
||||
return EnumPropertyType.BOOLEAN;
|
||||
} else {
|
||||
return propertyType;
|
||||
public List<Boolean> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<Boolean>();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the propertyType property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public void setPropertyType(EnumPropertyType value) {
|
||||
this.propertyType = value;
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -16,9 +16,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyBooleanDefinitionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
|
||||
* <sequence>
|
||||
* <element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceBooleanType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceBooleanType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -28,7 +28,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyBooleanDefinitionType", propOrder = {
|
||||
@XmlType(name = "cmisPropertyBooleanDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"defaultValue"
|
||||
})
|
||||
public class CmisPropertyBooleanDefinitionType
|
||||
|
@@ -1,9 +1,10 @@
|
||||
|
||||
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.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import javax.xml.datatype.XMLGregorianCalendar;
|
||||
@@ -17,11 +18,10 @@ import javax.xml.datatype.XMLGregorianCalendar;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyDateTime">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisProperty">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
|
||||
* <sequence>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}dateTime" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* <attribute ref="{http://www.cmis.org/2008/05}propertyType default="datetime""/>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -30,7 +30,7 @@ import javax.xml.datatype.XMLGregorianCalendar;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyDateTime", propOrder = {
|
||||
@XmlType(name = "cmisPropertyDateTime", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisPropertyDateTime
|
||||
@@ -38,60 +38,35 @@ public class CmisPropertyDateTime
|
||||
{
|
||||
|
||||
@XmlSchemaType(name = "dateTime")
|
||||
protected XMLGregorianCalendar value;
|
||||
@XmlAttribute(namespace = "http://www.cmis.org/2008/05")
|
||||
protected EnumPropertyType propertyType;
|
||||
protected List<XMLGregorianCalendar> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the value property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public XMLGregorianCalendar getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the value 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 value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link XMLGregorianCalendar }
|
||||
*
|
||||
*/
|
||||
public void setValue(XMLGregorianCalendar value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the propertyType property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public EnumPropertyType getPropertyType() {
|
||||
if (propertyType == null) {
|
||||
return EnumPropertyType.DATETIME;
|
||||
} else {
|
||||
return propertyType;
|
||||
public List<XMLGregorianCalendar> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<XMLGregorianCalendar>();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the propertyType property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public void setPropertyType(EnumPropertyType value) {
|
||||
this.propertyType = value;
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -16,9 +16,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyDateTimeDefinitionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
|
||||
* <sequence>
|
||||
* <element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceDateTimeType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceDateTimeType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -28,7 +28,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyDateTimeDefinitionType", propOrder = {
|
||||
@XmlType(name = "cmisPropertyDateTimeDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"defaultValue"
|
||||
})
|
||||
public class CmisPropertyDateTimeDefinitionType
|
||||
|
@@ -2,9 +2,10 @@
|
||||
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.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
@@ -16,11 +17,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyDecimal">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisProperty">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
|
||||
* <sequence>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}decimal" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* <attribute ref="{http://www.cmis.org/2008/05}propertyType default="decimal""/>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -29,67 +29,42 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyDecimal", propOrder = {
|
||||
@XmlType(name = "cmisPropertyDecimal", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisPropertyDecimal
|
||||
extends CmisProperty
|
||||
{
|
||||
|
||||
protected BigDecimal value;
|
||||
@XmlAttribute(namespace = "http://www.cmis.org/2008/05")
|
||||
protected EnumPropertyType propertyType;
|
||||
protected List<BigDecimal> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the value property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
*/
|
||||
public BigDecimal getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the value 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 value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link BigDecimal }
|
||||
*
|
||||
*/
|
||||
public void setValue(BigDecimal value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the propertyType property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public EnumPropertyType getPropertyType() {
|
||||
if (propertyType == null) {
|
||||
return EnumPropertyType.DECIMAL;
|
||||
} else {
|
||||
return propertyType;
|
||||
public List<BigDecimal> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<BigDecimal>();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the propertyType property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public void setPropertyType(EnumPropertyType value) {
|
||||
this.propertyType = value;
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -17,10 +17,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyDecimalDefinitionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
|
||||
* <sequence>
|
||||
* <element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceDecimalType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="precision" type="{http://www.cmis.org/2008/05}enumDecimalPrecision" minOccurs="0"/>
|
||||
* <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceDecimalType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="precision" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumDecimalPrecision" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -30,7 +30,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyDecimalDefinitionType", propOrder = {
|
||||
@XmlType(name = "cmisPropertyDecimalDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"defaultValue",
|
||||
"precision"
|
||||
})
|
||||
|
@@ -29,30 +29,31 @@ import org.w3c.dom.Element;
|
||||
* <sequence>
|
||||
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="package" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="propertyType" type="{http://www.cmis.org/2008/05}enumPropertyType"/>
|
||||
* <element name="cardinality" type="{http://www.cmis.org/2008/05}enumCardinality"/>
|
||||
* <element name="updateability" type="{http://www.cmis.org/2008/05}enumUpdateability"/>
|
||||
* <element name="propertyType" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumPropertyType"/>
|
||||
* <element name="cardinality" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCardinality"/>
|
||||
* <element name="updatability" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumUpdatability"/>
|
||||
* <element name="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"/>
|
||||
* <choice maxOccurs="unbounded" minOccurs="0">
|
||||
* <element ref="{http://www.cmis.org/2008/05}choiceBoolean"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}choiceDateTime"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}choiceDecimal"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}choiceHtml"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}choiceId"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}choiceInteger"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}choiceString"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}choiceUri"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}choiceXml"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceBoolean"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceDateTime"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceDecimal"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceHtml"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceId"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceInteger"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceString"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceUri"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceXml"/>
|
||||
* </choice>
|
||||
* <element name="openChoice" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
|
||||
* <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -61,14 +62,15 @@ import org.w3c.dom.Element;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyDefinitionType", propOrder = {
|
||||
@XmlType(name = "cmisPropertyDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"name",
|
||||
"id",
|
||||
"_package",
|
||||
"displayName",
|
||||
"description",
|
||||
"propertyType",
|
||||
"cardinality",
|
||||
"updateability",
|
||||
"updatability",
|
||||
"inherited",
|
||||
"required",
|
||||
"queryable",
|
||||
@@ -78,15 +80,15 @@ import org.w3c.dom.Element;
|
||||
"any"
|
||||
})
|
||||
@XmlSeeAlso({
|
||||
CmisPropertyHtmlDefinitionType.class,
|
||||
CmisPropertyIntegerDefinitionType.class,
|
||||
CmisPropertyBooleanDefinitionType.class,
|
||||
CmisPropertyIdDefinitionType.class,
|
||||
CmisPropertyStringDefinitionType.class,
|
||||
CmisPropertyDecimalDefinitionType.class,
|
||||
CmisPropertyDateTimeDefinitionType.class,
|
||||
CmisPropertyUriDefinitionType.class,
|
||||
CmisPropertyXmlDefinitionType.class
|
||||
CmisPropertyHtmlDefinitionType.class,
|
||||
CmisPropertyStringDefinitionType.class,
|
||||
CmisPropertyIntegerDefinitionType.class,
|
||||
CmisPropertyIdDefinitionType.class,
|
||||
CmisPropertyXmlDefinitionType.class,
|
||||
CmisPropertyBooleanDefinitionType.class,
|
||||
CmisPropertyDecimalDefinitionType.class,
|
||||
CmisPropertyDateTimeDefinitionType.class
|
||||
})
|
||||
public class CmisPropertyDefinitionType {
|
||||
|
||||
@@ -94,6 +96,8 @@ public class CmisPropertyDefinitionType {
|
||||
protected String name;
|
||||
@XmlElement(required = true)
|
||||
protected String id;
|
||||
@XmlElement(name = "package", required = true)
|
||||
protected String _package;
|
||||
@XmlElement(required = true)
|
||||
protected String displayName;
|
||||
protected String description;
|
||||
@@ -102,21 +106,21 @@ public class CmisPropertyDefinitionType {
|
||||
@XmlElement(required = true)
|
||||
protected EnumCardinality cardinality;
|
||||
@XmlElement(required = true)
|
||||
protected EnumUpdateability updateability;
|
||||
protected EnumUpdatability updatability;
|
||||
protected Boolean inherited;
|
||||
protected boolean required;
|
||||
protected boolean queryable;
|
||||
protected boolean orderable;
|
||||
@XmlElements({
|
||||
@XmlElement(name = "choiceUri", type = CmisChoiceUriType.class),
|
||||
@XmlElement(name = "choiceXml", type = CmisChoiceXmlType.class),
|
||||
@XmlElement(name = "choiceDateTime", type = CmisChoiceDateTimeType.class),
|
||||
@XmlElement(name = "choiceId", type = CmisChoiceIdType.class),
|
||||
@XmlElement(name = "choiceHtml", type = CmisChoiceHtmlType.class),
|
||||
@XmlElement(name = "choiceString", type = CmisChoiceStringType.class),
|
||||
@XmlElement(name = "choiceDecimal", type = CmisChoiceDecimalType.class),
|
||||
@XmlElement(name = "choiceBoolean", type = CmisChoiceBooleanType.class),
|
||||
@XmlElement(name = "choiceUri", type = CmisChoiceUriType.class),
|
||||
@XmlElement(name = "choiceInteger", type = CmisChoiceIntegerType.class),
|
||||
@XmlElement(name = "choiceBoolean", type = CmisChoiceBooleanType.class)
|
||||
@XmlElement(name = "choiceDecimal", type = CmisChoiceDecimalType.class),
|
||||
@XmlElement(name = "choiceHtml", type = CmisChoiceHtmlType.class),
|
||||
@XmlElement(name = "choiceXml", type = CmisChoiceXmlType.class),
|
||||
@XmlElement(name = "choiceId", type = CmisChoiceIdType.class),
|
||||
@XmlElement(name = "choiceString", type = CmisChoiceStringType.class)
|
||||
})
|
||||
protected List<CmisChoiceType> choice;
|
||||
protected Boolean openChoice;
|
||||
@@ -173,6 +177,30 @@ public class CmisPropertyDefinitionType {
|
||||
this.id = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the package property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getPackage() {
|
||||
return _package;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the package property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setPackage(String value) {
|
||||
this._package = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the displayName property.
|
||||
*
|
||||
@@ -270,27 +298,27 @@ public class CmisPropertyDefinitionType {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the updateability property.
|
||||
* Gets the value of the updatability property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link EnumUpdateability }
|
||||
* {@link EnumUpdatability }
|
||||
*
|
||||
*/
|
||||
public EnumUpdateability getUpdateability() {
|
||||
return updateability;
|
||||
public EnumUpdatability getUpdatability() {
|
||||
return updatability;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the updateability property.
|
||||
* Sets the value of the updatability property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link EnumUpdateability }
|
||||
* {@link EnumUpdatability }
|
||||
*
|
||||
*/
|
||||
public void setUpdateability(EnumUpdateability value) {
|
||||
this.updateability = value;
|
||||
public void setUpdatability(EnumUpdatability value) {
|
||||
this.updatability = value;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -383,15 +411,15 @@ public class CmisPropertyDefinitionType {
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link CmisChoiceUriType }
|
||||
* {@link CmisChoiceXmlType }
|
||||
* {@link CmisChoiceDateTimeType }
|
||||
* {@link CmisChoiceIdType }
|
||||
* {@link CmisChoiceHtmlType }
|
||||
* {@link CmisChoiceStringType }
|
||||
* {@link CmisChoiceDecimalType }
|
||||
* {@link CmisChoiceIntegerType }
|
||||
* {@link CmisChoiceBooleanType }
|
||||
* {@link CmisChoiceUriType }
|
||||
* {@link CmisChoiceIntegerType }
|
||||
* {@link CmisChoiceDecimalType }
|
||||
* {@link CmisChoiceHtmlType }
|
||||
* {@link CmisChoiceXmlType }
|
||||
* {@link CmisChoiceIdType }
|
||||
* {@link CmisChoiceStringType }
|
||||
*
|
||||
*
|
||||
*/
|
||||
@@ -444,8 +472,8 @@ public class CmisPropertyDefinitionType {
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Element }
|
||||
* {@link Object }
|
||||
* {@link Element }
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
@@ -6,7 +6,6 @@ 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.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
@@ -19,11 +18,20 @@ import org.w3c.dom.Element;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyHtml">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisProperty">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
|
||||
* <sequence>
|
||||
* <any/>
|
||||
* <element name="value" maxOccurs="unbounded" minOccurs="0">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* <attribute ref="{http://www.cmis.org/2008/05}propertyType default="html""/>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -32,74 +40,103 @@ import org.w3c.dom.Element;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyHtml", propOrder = {
|
||||
"any"
|
||||
@XmlType(name = "cmisPropertyHtml", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisPropertyHtml
|
||||
extends CmisProperty
|
||||
{
|
||||
|
||||
@XmlAnyElement(lax = true)
|
||||
protected List<Object> any;
|
||||
@XmlAttribute(namespace = "http://www.cmis.org/2008/05")
|
||||
protected EnumPropertyType propertyType;
|
||||
protected List<CmisPropertyHtml.Value> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the any property.
|
||||
* Gets the value of the value 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 any property.
|
||||
* This is why there is not a <CODE>set</CODE> method for the value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getAny().add(newItem);
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Element }
|
||||
* {@link Object }
|
||||
* {@link CmisPropertyHtml.Value }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Object> getAny() {
|
||||
if (any == null) {
|
||||
any = new ArrayList<Object>();
|
||||
public List<CmisPropertyHtml.Value> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<CmisPropertyHtml.Value>();
|
||||
}
|
||||
return this.any;
|
||||
return this.value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the propertyType property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public EnumPropertyType getPropertyType() {
|
||||
if (propertyType == null) {
|
||||
return EnumPropertyType.HTML;
|
||||
} else {
|
||||
return propertyType;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the propertyType property.
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public void setPropertyType(EnumPropertyType value) {
|
||||
this.propertyType = value;
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"any"
|
||||
})
|
||||
public static class Value {
|
||||
|
||||
@XmlAnyElement(lax = true)
|
||||
protected List<Object> any;
|
||||
|
||||
/**
|
||||
* Gets the value of the any 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 any property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getAny().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Object }
|
||||
* {@link Element }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Object> getAny() {
|
||||
if (any == null) {
|
||||
any = new ArrayList<Object>();
|
||||
}
|
||||
return this.any;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -16,9 +16,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyHtmlDefinitionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
|
||||
* <sequence>
|
||||
* <element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceHtmlType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceHtmlType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -28,7 +28,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyHtmlDefinitionType", propOrder = {
|
||||
@XmlType(name = "cmisPropertyHtmlDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"defaultValue"
|
||||
})
|
||||
public class CmisPropertyHtmlDefinitionType
|
||||
|
@@ -1,6 +1,8 @@
|
||||
|
||||
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.XmlAttribute;
|
||||
@@ -16,12 +18,11 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyId">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisProperty">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
|
||||
* <sequence>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* <attribute ref="{http://www.cmis.org/2008/05}propertyType default="id""/>
|
||||
* <attribute ref="{http://www.cmis.org/2008/05}href"/>
|
||||
* <attribute ref="{http://docs.oasis-open.org/ns/cmis/core/200901}href"/>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -30,70 +31,45 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyId", propOrder = {
|
||||
@XmlType(name = "cmisPropertyId", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisPropertyId
|
||||
extends CmisProperty
|
||||
{
|
||||
|
||||
protected String value;
|
||||
@XmlAttribute(namespace = "http://www.cmis.org/2008/05")
|
||||
protected EnumPropertyType propertyType;
|
||||
@XmlAttribute(namespace = "http://www.cmis.org/2008/05")
|
||||
protected List<String> value;
|
||||
@XmlAttribute(namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlSchemaType(name = "anyURI")
|
||||
protected String href;
|
||||
|
||||
/**
|
||||
* Gets the value of the value property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the value 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 value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link String }
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the propertyType property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public EnumPropertyType getPropertyType() {
|
||||
if (propertyType == null) {
|
||||
return EnumPropertyType.ID;
|
||||
} else {
|
||||
return propertyType;
|
||||
public List<String> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<String>();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the propertyType property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public void setPropertyType(EnumPropertyType value) {
|
||||
this.propertyType = value;
|
||||
return this.value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -16,9 +16,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyIdDefinitionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
|
||||
* <sequence>
|
||||
* <element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceIdType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceIdType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -28,7 +28,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyIdDefinitionType", propOrder = {
|
||||
@XmlType(name = "cmisPropertyIdDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"defaultValue"
|
||||
})
|
||||
public class CmisPropertyIdDefinitionType
|
||||
|
@@ -2,9 +2,10 @@
|
||||
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.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
@@ -16,11 +17,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyInteger">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisProperty">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
|
||||
* <sequence>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* <attribute ref="{http://www.cmis.org/2008/05}propertyType default="integer""/>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -29,67 +29,42 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyInteger", propOrder = {
|
||||
@XmlType(name = "cmisPropertyInteger", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisPropertyInteger
|
||||
extends CmisProperty
|
||||
{
|
||||
|
||||
protected BigInteger value;
|
||||
@XmlAttribute(namespace = "http://www.cmis.org/2008/05")
|
||||
protected EnumPropertyType propertyType;
|
||||
protected List<BigInteger> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the value property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link BigInteger }
|
||||
*
|
||||
*/
|
||||
public BigInteger getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the value 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 value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link BigInteger }
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link BigInteger }
|
||||
*
|
||||
*/
|
||||
public void setValue(BigInteger value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the propertyType property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public EnumPropertyType getPropertyType() {
|
||||
if (propertyType == null) {
|
||||
return EnumPropertyType.INTEGER;
|
||||
} else {
|
||||
return propertyType;
|
||||
public List<BigInteger> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<BigInteger>();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the propertyType property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public void setPropertyType(EnumPropertyType value) {
|
||||
this.propertyType = value;
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -17,9 +17,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyIntegerDefinitionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
|
||||
* <sequence>
|
||||
* <element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceIntegerType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceIntegerType" maxOccurs="unbounded" 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"/>
|
||||
* </sequence>
|
||||
@@ -31,7 +31,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyIntegerDefinitionType", propOrder = {
|
||||
@XmlType(name = "cmisPropertyIntegerDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"defaultValue",
|
||||
"maxValue",
|
||||
"minValue"
|
||||
|
@@ -1,9 +1,10 @@
|
||||
|
||||
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.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
@@ -15,11 +16,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyString">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisProperty">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
|
||||
* <sequence>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* <attribute ref="{http://www.cmis.org/2008/05}propertyType default="string""/>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -28,67 +28,42 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyString", propOrder = {
|
||||
@XmlType(name = "cmisPropertyString", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisPropertyString
|
||||
extends CmisProperty
|
||||
{
|
||||
|
||||
protected String value;
|
||||
@XmlAttribute(namespace = "http://www.cmis.org/2008/05")
|
||||
protected EnumPropertyType propertyType;
|
||||
protected List<String> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the value property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the value 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 value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link String }
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the propertyType property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public EnumPropertyType getPropertyType() {
|
||||
if (propertyType == null) {
|
||||
return EnumPropertyType.STRING;
|
||||
} else {
|
||||
return propertyType;
|
||||
public List<String> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<String>();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the propertyType property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public void setPropertyType(EnumPropertyType value) {
|
||||
this.propertyType = value;
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -17,9 +17,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyStringDefinitionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
|
||||
* <sequence>
|
||||
* <element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceStringType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceStringType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="maxLength" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
@@ -30,7 +30,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyStringDefinitionType", propOrder = {
|
||||
@XmlType(name = "cmisPropertyStringDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"defaultValue",
|
||||
"maxLength"
|
||||
})
|
||||
|
@@ -1,9 +1,10 @@
|
||||
|
||||
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.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlSchemaType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
@@ -16,11 +17,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyUri">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisProperty">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
|
||||
* <sequence>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
|
||||
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* <attribute ref="{http://www.cmis.org/2008/05}propertyType default="uri""/>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -29,7 +29,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyUri", propOrder = {
|
||||
@XmlType(name = "cmisPropertyUri", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisPropertyUri
|
||||
@@ -37,60 +37,35 @@ public class CmisPropertyUri
|
||||
{
|
||||
|
||||
@XmlSchemaType(name = "anyURI")
|
||||
protected String value;
|
||||
@XmlAttribute(namespace = "http://www.cmis.org/2008/05")
|
||||
protected EnumPropertyType propertyType;
|
||||
protected List<String> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the value property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the value 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 value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link String }
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setValue(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the propertyType property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public EnumPropertyType getPropertyType() {
|
||||
if (propertyType == null) {
|
||||
return EnumPropertyType.URI;
|
||||
} else {
|
||||
return propertyType;
|
||||
public List<String> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<String>();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the propertyType property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public void setPropertyType(EnumPropertyType value) {
|
||||
this.propertyType = value;
|
||||
return this.value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -16,9 +16,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyUriDefinitionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
|
||||
* <sequence>
|
||||
* <element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceUriType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceUriType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -28,7 +28,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyUriDefinitionType", propOrder = {
|
||||
@XmlType(name = "cmisPropertyUriDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"defaultValue"
|
||||
})
|
||||
public class CmisPropertyUriDefinitionType
|
||||
|
@@ -6,7 +6,6 @@ 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.XmlAttribute;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
@@ -19,11 +18,20 @@ import org.w3c.dom.Element;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyXml">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisProperty">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
|
||||
* <sequence>
|
||||
* <any/>
|
||||
* <element name="value" maxOccurs="unbounded" minOccurs="0">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* <attribute ref="{http://www.cmis.org/2008/05}propertyType default="xml""/>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -32,74 +40,103 @@ import org.w3c.dom.Element;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyXml", propOrder = {
|
||||
"any"
|
||||
@XmlType(name = "cmisPropertyXml", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"value"
|
||||
})
|
||||
public class CmisPropertyXml
|
||||
extends CmisProperty
|
||||
{
|
||||
|
||||
@XmlAnyElement(lax = true)
|
||||
protected List<Object> any;
|
||||
@XmlAttribute(namespace = "http://www.cmis.org/2008/05")
|
||||
protected EnumPropertyType propertyType;
|
||||
protected List<CmisPropertyXml.Value> value;
|
||||
|
||||
/**
|
||||
* Gets the value of the any property.
|
||||
* Gets the value of the value 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 any property.
|
||||
* This is why there is not a <CODE>set</CODE> method for the value property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getAny().add(newItem);
|
||||
* getValue().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Element }
|
||||
* {@link Object }
|
||||
* {@link CmisPropertyXml.Value }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Object> getAny() {
|
||||
if (any == null) {
|
||||
any = new ArrayList<Object>();
|
||||
public List<CmisPropertyXml.Value> getValue() {
|
||||
if (value == null) {
|
||||
value = new ArrayList<CmisPropertyXml.Value>();
|
||||
}
|
||||
return this.any;
|
||||
return this.value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the propertyType property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public EnumPropertyType getPropertyType() {
|
||||
if (propertyType == null) {
|
||||
return EnumPropertyType.XML;
|
||||
} else {
|
||||
return propertyType;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the propertyType property.
|
||||
* <p>Java class for anonymous complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link EnumPropertyType }
|
||||
*
|
||||
*/
|
||||
public void setPropertyType(EnumPropertyType value) {
|
||||
this.propertyType = value;
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"any"
|
||||
})
|
||||
public static class Value {
|
||||
|
||||
@XmlAnyElement(lax = true)
|
||||
protected List<Object> any;
|
||||
|
||||
/**
|
||||
* Gets the value of the any 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 any property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getAny().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Object }
|
||||
* {@link Element }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Object> getAny() {
|
||||
if (any == null) {
|
||||
any = new ArrayList<Object>();
|
||||
}
|
||||
return this.any;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -17,11 +17,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisPropertyXmlDefinitionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
|
||||
* <sequence>
|
||||
* <element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceXmlType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceXmlType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element name="schemaURI" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
|
||||
* <element name="encoding" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -31,10 +30,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisPropertyXmlDefinitionType", propOrder = {
|
||||
@XmlType(name = "cmisPropertyXmlDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"defaultValue",
|
||||
"schemaURI",
|
||||
"encoding"
|
||||
"schemaURI"
|
||||
})
|
||||
public class CmisPropertyXmlDefinitionType
|
||||
extends CmisPropertyDefinitionType
|
||||
@@ -43,7 +41,6 @@ public class CmisPropertyXmlDefinitionType
|
||||
protected List<CmisChoiceXmlType> defaultValue;
|
||||
@XmlSchemaType(name = "anyURI")
|
||||
protected String schemaURI;
|
||||
protected String encoding;
|
||||
|
||||
/**
|
||||
* Gets the value of the defaultValue property.
|
||||
@@ -98,28 +95,4 @@ public class CmisPropertyXmlDefinitionType
|
||||
this.schemaURI = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the encoding property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getEncoding() {
|
||||
return encoding;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the encoding property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setEncoding(String value) {
|
||||
this.encoding = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -2,18 +2,14 @@
|
||||
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;
|
||||
|
||||
|
||||
/**
|
||||
@@ -26,14 +22,15 @@ import org.w3c.dom.Element;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="statement" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="searchAllVersions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <element name="pageSize" 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="returnAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <any/>
|
||||
* <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAnyXml" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
|
||||
* <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -42,27 +39,52 @@ import org.w3c.dom.Element;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisQueryType", propOrder = {
|
||||
@XmlType(name = "cmisQueryType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"repositoryId",
|
||||
"statement",
|
||||
"searchAllVersions",
|
||||
"pageSize",
|
||||
"skipCount",
|
||||
"returnAllowableActions",
|
||||
"any"
|
||||
"extension"
|
||||
})
|
||||
public class CmisQueryType {
|
||||
|
||||
protected String repositoryId;
|
||||
@XmlElement(required = true)
|
||||
protected String statement;
|
||||
protected Boolean searchAllVersions;
|
||||
protected BigInteger pageSize;
|
||||
protected BigInteger skipCount;
|
||||
protected Boolean returnAllowableActions;
|
||||
@XmlAnyElement(lax = true)
|
||||
protected List<Object> any;
|
||||
protected CmisAnyXml extension;
|
||||
@XmlAnyAttribute
|
||||
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
@@ -184,33 +206,27 @@ public class CmisQueryType {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the any 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 any property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getAny().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Element }
|
||||
* {@link Object }
|
||||
*
|
||||
* Gets the value of the extension property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link CmisAnyXml }
|
||||
*
|
||||
*/
|
||||
public List<Object> getAny() {
|
||||
if (any == null) {
|
||||
any = new ArrayList<Object>();
|
||||
}
|
||||
return this.any;
|
||||
public CmisAnyXml getExtension() {
|
||||
return extension;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the extension property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link CmisAnyXml }
|
||||
*
|
||||
*/
|
||||
public void setExtension(CmisAnyXml value) {
|
||||
this.extension = value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -31,12 +31,15 @@ import org.w3c.dom.Element;
|
||||
* <element name="capabilityPWCUpdateable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* <element name="capabilityPWCSearchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* <element name="capabilityAllVersionsSearchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* <element name="capabilityQuery" type="{http://www.cmis.org/2008/05}enumCapabilityQuery"/>
|
||||
* <element name="capabilityJoin" type="{http://www.cmis.org/2008/05}enumCapabilityJoin"/>
|
||||
* <element name="capabilityFullText" type="{http://www.cmis.org/2008/05}enumCapabilityFullText"/>
|
||||
* <element name="capabilityQuery" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCapabilityQuery"/>
|
||||
* <element name="capabilityJoin" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCapabilityJoin"/>
|
||||
* <element name="capabilityChanges" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCapabilityChanges" maxOccurs="unbounded"/>
|
||||
* <element name="changesIncomplete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <element name="capabilityACL" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCapabilityACL"/>
|
||||
* <element name="permissionsSupported" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPermissionSetType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
|
||||
* <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -45,7 +48,7 @@ import org.w3c.dom.Element;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisRepositoryCapabilitiesType", propOrder = {
|
||||
@XmlType(name = "cmisRepositoryCapabilitiesType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"capabilityMultifiling",
|
||||
"capabilityUnfiling",
|
||||
"capabilityVersionSpecificFiling",
|
||||
@@ -54,7 +57,10 @@ import org.w3c.dom.Element;
|
||||
"capabilityAllVersionsSearchable",
|
||||
"capabilityQuery",
|
||||
"capabilityJoin",
|
||||
"capabilityFullText",
|
||||
"capabilityChanges",
|
||||
"changesIncomplete",
|
||||
"capabilityACL",
|
||||
"permissionsSupported",
|
||||
"any"
|
||||
})
|
||||
public class CmisRepositoryCapabilitiesType {
|
||||
@@ -70,7 +76,11 @@ public class CmisRepositoryCapabilitiesType {
|
||||
@XmlElement(required = true)
|
||||
protected EnumCapabilityJoin capabilityJoin;
|
||||
@XmlElement(required = true)
|
||||
protected EnumCapabilityFullText capabilityFullText;
|
||||
protected List<EnumCapabilityChanges> capabilityChanges;
|
||||
protected Boolean changesIncomplete;
|
||||
@XmlElement(required = true)
|
||||
protected EnumCapabilityACL capabilityACL;
|
||||
protected List<CmisPermissionSetType> permissionsSupported;
|
||||
@XmlAnyElement
|
||||
protected List<Element> any;
|
||||
@XmlAnyAttribute
|
||||
@@ -221,27 +231,109 @@ public class CmisRepositoryCapabilitiesType {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the capabilityFullText property.
|
||||
* Gets the value of the capabilityChanges 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 capabilityChanges property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getCapabilityChanges().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link EnumCapabilityChanges }
|
||||
*
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link EnumCapabilityFullText }
|
||||
*
|
||||
*/
|
||||
public EnumCapabilityFullText getCapabilityFullText() {
|
||||
return capabilityFullText;
|
||||
public List<EnumCapabilityChanges> getCapabilityChanges() {
|
||||
if (capabilityChanges == null) {
|
||||
capabilityChanges = new ArrayList<EnumCapabilityChanges>();
|
||||
}
|
||||
return this.capabilityChanges;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the capabilityFullText property.
|
||||
* 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 EnumCapabilityFullText }
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public void setCapabilityFullText(EnumCapabilityFullText value) {
|
||||
this.capabilityFullText = value;
|
||||
public void setChangesIncomplete(Boolean value) {
|
||||
this.changesIncomplete = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 permissionsSupported 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 permissionsSupported property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getPermissionsSupported().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link CmisPermissionSetType }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<CmisPermissionSetType> getPermissionsSupported() {
|
||||
if (permissionsSupported == null) {
|
||||
permissionsSupported = new ArrayList<CmisPermissionSetType>();
|
||||
}
|
||||
return this.permissionsSupported;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -26,12 +26,12 @@ import org.w3c.dom.Element;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="repositoryID" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="repositoryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="repositoryURI" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
|
||||
* <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -40,8 +40,8 @@ import org.w3c.dom.Element;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisRepositoryEntryType", propOrder = {
|
||||
"repositoryID",
|
||||
@XmlType(name = "cmisRepositoryEntryType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"repositoryId",
|
||||
"repositoryName",
|
||||
"repositoryURI",
|
||||
"any"
|
||||
@@ -49,7 +49,7 @@ import org.w3c.dom.Element;
|
||||
public class CmisRepositoryEntryType {
|
||||
|
||||
@XmlElement(required = true)
|
||||
protected String repositoryID;
|
||||
protected String repositoryId;
|
||||
@XmlElement(required = true)
|
||||
protected String repositoryName;
|
||||
@XmlElement(required = true)
|
||||
@@ -61,27 +61,27 @@ public class CmisRepositoryEntryType {
|
||||
private Map<QName, String> otherAttributes = new HashMap<QName, String>();
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryID property.
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryID() {
|
||||
return repositoryID;
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryID property.
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryID(String value) {
|
||||
this.repositoryID = value;
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -150,8 +150,8 @@ public class CmisRepositoryEntryType {
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Element }
|
||||
* {@link Object }
|
||||
* {@link Element }
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
@@ -33,12 +33,12 @@ import org.w3c.dom.Element;
|
||||
* <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="capabilities" type="{http://www.cmis.org/2008/05}cmisRepositoryCapabilitiesType"/>
|
||||
* <element name="cmisVersionsSupported" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="repositorySpecificInformation" type="{http://www.cmis.org/2008/05}cmisAnyXml" minOccurs="0"/>
|
||||
* <element name="capabilities" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisRepositoryCapabilitiesType"/>
|
||||
* <element name="cmisVersionSupported" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="repositorySpecificInformation" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAnyXml" minOccurs="0"/>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
|
||||
* <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -47,7 +47,7 @@ import org.w3c.dom.Element;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisRepositoryInfoType", propOrder = {
|
||||
@XmlType(name = "cmisRepositoryInfoType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"repositoryId",
|
||||
"repositoryName",
|
||||
"repositoryRelationship",
|
||||
@@ -57,7 +57,7 @@ import org.w3c.dom.Element;
|
||||
"productVersion",
|
||||
"rootFolderId",
|
||||
"capabilities",
|
||||
"cmisVersionsSupported",
|
||||
"cmisVersionSupported",
|
||||
"repositorySpecificInformation",
|
||||
"any"
|
||||
})
|
||||
@@ -82,7 +82,7 @@ public class CmisRepositoryInfoType {
|
||||
@XmlElement(required = true)
|
||||
protected CmisRepositoryCapabilitiesType capabilities;
|
||||
@XmlElement(required = true)
|
||||
protected String cmisVersionsSupported;
|
||||
protected String cmisVersionSupported;
|
||||
protected CmisAnyXml repositorySpecificInformation;
|
||||
@XmlAnyElement(lax = true)
|
||||
protected List<Object> any;
|
||||
@@ -306,27 +306,27 @@ public class CmisRepositoryInfoType {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the cmisVersionsSupported property.
|
||||
* Gets the value of the cmisVersionSupported property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getCmisVersionsSupported() {
|
||||
return cmisVersionsSupported;
|
||||
public String getCmisVersionSupported() {
|
||||
return cmisVersionSupported;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the cmisVersionsSupported property.
|
||||
* Sets the value of the cmisVersionSupported property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setCmisVersionsSupported(String value) {
|
||||
this.cmisVersionsSupported = value;
|
||||
public void setCmisVersionSupported(String value) {
|
||||
this.cmisVersionSupported = value;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -371,8 +371,8 @@ public class CmisRepositoryInfoType {
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Element }
|
||||
* {@link Object }
|
||||
* {@link Element }
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
@@ -30,9 +30,9 @@ import org.w3c.dom.Element;
|
||||
* <element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="queryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="baseType" type="{http://www.cmis.org/2008/05}enumObjectType"/>
|
||||
* <element name="baseType" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumBaseObjectType"/>
|
||||
* <element name="baseTypeQueryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="parentId" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
|
||||
* <element name="parentId" 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="creatable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* <element name="fileable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
@@ -40,19 +40,19 @@ import org.w3c.dom.Element;
|
||||
* <element name="controllable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* <element name="includedInSupertypeQuery" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* <choice maxOccurs="unbounded" minOccurs="0">
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyBooleanDefinition"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyDateTimeDefinition"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyDecimalDefinition"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyHtmlDefinition"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyIdDefinition"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyIntegerDefinition"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyStringDefinition"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyUriDefinition"/>
|
||||
* <element ref="{http://www.cmis.org/2008/05}propertyXmlDefinition"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyBooleanDefinition"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyDateTimeDefinition"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyDecimalDefinition"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyHtmlDefinition"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyIdDefinition"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyIntegerDefinition"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyStringDefinition"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyUriDefinition"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyXmlDefinition"/>
|
||||
* </choice>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
|
||||
* <attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
@@ -61,7 +61,7 @@ import org.w3c.dom.Element;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisTypeDefinitionType", propOrder = {
|
||||
@XmlType(name = "cmisTypeDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"typeId",
|
||||
"queryName",
|
||||
"displayName",
|
||||
@@ -78,9 +78,9 @@ import org.w3c.dom.Element;
|
||||
"any"
|
||||
})
|
||||
@XmlSeeAlso({
|
||||
CmisTypeFolderDefinitionType.class,
|
||||
CmisTypeRelationshipDefinitionType.class,
|
||||
CmisTypeDocumentDefinitionType.class,
|
||||
CmisTypeRelationshipDefinitionType.class,
|
||||
CmisTypeFolderDefinitionType.class,
|
||||
CmisTypePolicyDefinitionType.class
|
||||
})
|
||||
public class CmisTypeDefinitionType {
|
||||
@@ -92,10 +92,10 @@ public class CmisTypeDefinitionType {
|
||||
@XmlElement(required = true)
|
||||
protected String displayName;
|
||||
@XmlElement(required = true)
|
||||
protected EnumObjectType baseType;
|
||||
protected EnumBaseObjectType baseType;
|
||||
@XmlElement(required = true)
|
||||
protected String baseTypeQueryName;
|
||||
protected Object parentId;
|
||||
protected String parentId;
|
||||
protected String description;
|
||||
protected boolean creatable;
|
||||
protected boolean fileable;
|
||||
@@ -104,15 +104,15 @@ public class CmisTypeDefinitionType {
|
||||
@XmlElement(defaultValue = "true")
|
||||
protected boolean includedInSupertypeQuery;
|
||||
@XmlElements({
|
||||
@XmlElement(name = "propertyHtmlDefinition", type = CmisPropertyHtmlDefinitionType.class),
|
||||
@XmlElement(name = "propertyIdDefinition", type = CmisPropertyIdDefinitionType.class),
|
||||
@XmlElement(name = "propertyIntegerDefinition", type = CmisPropertyIntegerDefinitionType.class),
|
||||
@XmlElement(name = "propertyDateTimeDefinition", type = CmisPropertyDateTimeDefinitionType.class),
|
||||
@XmlElement(name = "propertyDecimalDefinition", type = CmisPropertyDecimalDefinitionType.class),
|
||||
@XmlElement(name = "propertyUriDefinition", type = CmisPropertyUriDefinitionType.class),
|
||||
@XmlElement(name = "propertyStringDefinition", type = CmisPropertyStringDefinitionType.class),
|
||||
@XmlElement(name = "propertyXmlDefinition", type = CmisPropertyXmlDefinitionType.class),
|
||||
@XmlElement(name = "propertyBooleanDefinition", type = CmisPropertyBooleanDefinitionType.class)
|
||||
@XmlElement(name = "propertyStringDefinition", type = CmisPropertyStringDefinitionType.class),
|
||||
@XmlElement(name = "propertyIdDefinition", type = CmisPropertyIdDefinitionType.class),
|
||||
@XmlElement(name = "propertyBooleanDefinition", type = CmisPropertyBooleanDefinitionType.class),
|
||||
@XmlElement(name = "propertyDecimalDefinition", type = CmisPropertyDecimalDefinitionType.class),
|
||||
@XmlElement(name = "propertyIntegerDefinition", type = CmisPropertyIntegerDefinitionType.class),
|
||||
@XmlElement(name = "propertyHtmlDefinition", type = CmisPropertyHtmlDefinitionType.class),
|
||||
@XmlElement(name = "propertyDateTimeDefinition", type = CmisPropertyDateTimeDefinitionType.class),
|
||||
@XmlElement(name = "propertyUriDefinition", type = CmisPropertyUriDefinitionType.class)
|
||||
})
|
||||
protected List<CmisPropertyDefinitionType> propertyDefinition;
|
||||
@XmlAnyElement(lax = true)
|
||||
@@ -197,10 +197,10 @@ public class CmisTypeDefinitionType {
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link EnumObjectType }
|
||||
* {@link EnumBaseObjectType }
|
||||
*
|
||||
*/
|
||||
public EnumObjectType getBaseType() {
|
||||
public EnumBaseObjectType getBaseType() {
|
||||
return baseType;
|
||||
}
|
||||
|
||||
@@ -209,10 +209,10 @@ public class CmisTypeDefinitionType {
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link EnumObjectType }
|
||||
* {@link EnumBaseObjectType }
|
||||
*
|
||||
*/
|
||||
public void setBaseType(EnumObjectType value) {
|
||||
public void setBaseType(EnumBaseObjectType value) {
|
||||
this.baseType = value;
|
||||
}
|
||||
|
||||
@@ -245,10 +245,10 @@ public class CmisTypeDefinitionType {
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Object }
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public Object getParentId() {
|
||||
public String getParentId() {
|
||||
return parentId;
|
||||
}
|
||||
|
||||
@@ -257,10 +257,10 @@ public class CmisTypeDefinitionType {
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Object }
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setParentId(Object value) {
|
||||
public void setParentId(String value) {
|
||||
this.parentId = value;
|
||||
}
|
||||
|
||||
@@ -386,15 +386,15 @@ public class CmisTypeDefinitionType {
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link CmisPropertyHtmlDefinitionType }
|
||||
* {@link CmisPropertyIdDefinitionType }
|
||||
* {@link CmisPropertyIntegerDefinitionType }
|
||||
* {@link CmisPropertyDateTimeDefinitionType }
|
||||
* {@link CmisPropertyDecimalDefinitionType }
|
||||
* {@link CmisPropertyUriDefinitionType }
|
||||
* {@link CmisPropertyStringDefinitionType }
|
||||
* {@link CmisPropertyXmlDefinitionType }
|
||||
* {@link CmisPropertyStringDefinitionType }
|
||||
* {@link CmisPropertyIdDefinitionType }
|
||||
* {@link CmisPropertyBooleanDefinitionType }
|
||||
* {@link CmisPropertyDecimalDefinitionType }
|
||||
* {@link CmisPropertyIntegerDefinitionType }
|
||||
* {@link CmisPropertyHtmlDefinitionType }
|
||||
* {@link CmisPropertyDateTimeDefinitionType }
|
||||
* {@link CmisPropertyUriDefinitionType }
|
||||
*
|
||||
*
|
||||
*/
|
||||
@@ -423,8 +423,8 @@ public class CmisTypeDefinitionType {
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Element }
|
||||
* {@link Object }
|
||||
* {@link Element }
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
@@ -15,10 +15,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisTypeDocumentDefinitionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisTypeDefinitionType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisTypeDefinitionType">
|
||||
* <sequence>
|
||||
* <element name="versionable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* <element name="contentStreamAllowed" type="{http://www.cmis.org/2008/05}enumContentStreamAllowed"/>
|
||||
* <element name="contentStreamAllowed" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumContentStreamAllowed"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
@@ -28,7 +28,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisTypeDocumentDefinitionType", propOrder = {
|
||||
@XmlType(name = "cmisTypeDocumentDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"versionable",
|
||||
"contentStreamAllowed"
|
||||
})
|
||||
|
@@ -14,7 +14,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisTypeFolderDefinitionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisTypeDefinitionType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisTypeDefinitionType">
|
||||
* <sequence>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
@@ -25,7 +25,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisTypeFolderDefinitionType")
|
||||
@XmlType(name = "cmisTypeFolderDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
public class CmisTypeFolderDefinitionType
|
||||
extends CmisTypeDefinitionType
|
||||
{
|
||||
|
@@ -14,7 +14,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisTypePolicyDefinitionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisTypeDefinitionType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisTypeDefinitionType">
|
||||
* <sequence>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
@@ -25,7 +25,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisTypePolicyDefinitionType")
|
||||
@XmlType(name = "cmisTypePolicyDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
public class CmisTypePolicyDefinitionType
|
||||
extends CmisTypeDefinitionType
|
||||
{
|
||||
|
@@ -16,7 +16,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <complexType name="cmisTypeRelationshipDefinitionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisTypeDefinitionType">
|
||||
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}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"/>
|
||||
@@ -29,7 +29,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "cmisTypeRelationshipDefinitionType", propOrder = {
|
||||
@XmlType(name = "cmisTypeRelationshipDefinitionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
||||
"allowedSourceTypes",
|
||||
"allowedTargetTypes"
|
||||
})
|
||||
|
@@ -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
|
||||
* Fri Sep 05 13:45:08 EEST 2008
|
||||
* Generated source version: 2.1.2
|
||||
*
|
||||
*/
|
||||
|
||||
@WebFault(name = "constraintViolationException", targetNamespace = "http://www.cmis.org/2008/05")
|
||||
public class ConstraintViolationException extends Exception {
|
||||
public static final long serialVersionUID = 20080905134508L;
|
||||
|
||||
private org.alfresco.repo.cmis.ws.ConstraintViolationExceptionType constraintViolationException;
|
||||
|
||||
public ConstraintViolationException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public ConstraintViolationException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public ConstraintViolationException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public ConstraintViolationException(String message, org.alfresco.repo.cmis.ws.ConstraintViolationExceptionType constraintViolationException) {
|
||||
super(message);
|
||||
this.constraintViolationException = constraintViolationException;
|
||||
}
|
||||
|
||||
public ConstraintViolationException(String message, org.alfresco.repo.cmis.ws.ConstraintViolationExceptionType constraintViolationException, Throwable cause) {
|
||||
super(message, cause);
|
||||
this.constraintViolationException = constraintViolationException;
|
||||
}
|
||||
|
||||
public org.alfresco.repo.cmis.ws.ConstraintViolationExceptionType getFaultInfo() {
|
||||
return this.constraintViolationException;
|
||||
}
|
||||
}
|
@@ -1,32 +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;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for constraintViolationExceptionType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="constraintViolationExceptionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisFaultType">
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "constraintViolationExceptionType")
|
||||
public class ConstraintViolationExceptionType
|
||||
extends CmisFaultType
|
||||
{
|
||||
|
||||
|
||||
}
|
@@ -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
|
||||
* Fri Sep 05 13:44:38 EEST 2008
|
||||
* Generated source version: 2.1.2
|
||||
*
|
||||
*/
|
||||
|
||||
@WebFault(name = "contentAlreadyExistsException", targetNamespace = "http://www.cmis.org/2008/05")
|
||||
public class ContentAlreadyExistsException extends Exception {
|
||||
public static final long serialVersionUID = 20080905134438L;
|
||||
|
||||
private org.alfresco.repo.cmis.ws.ContentAlreadyExistsExceptionType contentAlreadyExistsException;
|
||||
|
||||
public ContentAlreadyExistsException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public ContentAlreadyExistsException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public ContentAlreadyExistsException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public ContentAlreadyExistsException(String message, org.alfresco.repo.cmis.ws.ContentAlreadyExistsExceptionType contentAlreadyExistsException) {
|
||||
super(message);
|
||||
this.contentAlreadyExistsException = contentAlreadyExistsException;
|
||||
}
|
||||
|
||||
public ContentAlreadyExistsException(String message, org.alfresco.repo.cmis.ws.ContentAlreadyExistsExceptionType contentAlreadyExistsException, Throwable cause) {
|
||||
super(message, cause);
|
||||
this.contentAlreadyExistsException = contentAlreadyExistsException;
|
||||
}
|
||||
|
||||
public org.alfresco.repo.cmis.ws.ContentAlreadyExistsExceptionType getFaultInfo() {
|
||||
return this.contentAlreadyExistsException;
|
||||
}
|
||||
}
|
@@ -1,32 +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;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for contentAlreadyExistsExceptionType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="contentAlreadyExistsExceptionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisFaultType">
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "contentAlreadyExistsExceptionType")
|
||||
public class ContentAlreadyExistsExceptionType
|
||||
extends CmisFaultType
|
||||
{
|
||||
|
||||
|
||||
}
|
@@ -22,10 +22,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="properties" type="{http://www.cmis.org/2008/05}cmisPropertiesType"/>
|
||||
* <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://www.cmis.org/2008/05}cmisContentStreamType" minOccurs="0"/>
|
||||
* <element name="versioningState" type="{http://www.cmis.org/2008/05}enumVersioningState" minOccurs="0"/>
|
||||
* <element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisContentStreamType" minOccurs="0"/>
|
||||
* <element name="versioningState" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumVersioningState" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -53,9 +53,9 @@ public class CreateDocument {
|
||||
@XmlElement(required = true)
|
||||
protected CmisPropertiesType properties;
|
||||
protected String folderId;
|
||||
@XmlElementRef(name = "contentStream", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
|
||||
@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://www.cmis.org/2008/05", type = JAXBElement.class)
|
||||
@XmlElementRef(name = "versioningState", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
|
||||
protected JAXBElement<EnumVersioningState> versioningState;
|
||||
|
||||
/**
|
||||
|
@@ -20,7 +20,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="properties" type="{http://www.cmis.org/2008/05}cmisPropertiesType"/>
|
||||
* <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"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
|
@@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="properties" type="{http://www.cmis.org/2008/05}cmisPropertiesType"/>
|
||||
* <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"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
@@ -48,7 +48,7 @@ public class CreatePolicy {
|
||||
protected String typeId;
|
||||
@XmlElement(required = true)
|
||||
protected CmisPropertiesType properties;
|
||||
@XmlElementRef(name = "folderId", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
|
||||
@XmlElementRef(name = "folderId", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
|
||||
protected JAXBElement<String> folderId;
|
||||
|
||||
/**
|
||||
|
@@ -20,7 +20,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="properties" type="{http://www.cmis.org/2008/05}cmisPropertiesType"/>
|
||||
* <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType"/>
|
||||
* <element name="sourceObjectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="targetObjectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* </sequence>
|
||||
|
@@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* <element name="unfileNonfolderObjects" type="{http://www.cmis.org/2008/05}enumUnfileNonfolderObjects"/>
|
||||
* <element name="unfileNonfolderObjects" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumUnfileNonfolderObjects"/>
|
||||
* <element name="continueOnFailure" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
@@ -48,7 +48,7 @@ public class DeleteTree {
|
||||
protected String folderId;
|
||||
@XmlElement(required = true)
|
||||
protected EnumUnfileNonfolderObjects unfileNonfolderObjects;
|
||||
@XmlElementRef(name = "continueOnFailure", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
|
||||
@XmlElementRef(name = "continueOnFailure", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
|
||||
protected JAXBElement<Boolean> continueOnFailure;
|
||||
|
||||
/**
|
||||
|
@@ -15,26 +15,26 @@ import javax.xml.ws.WebServiceFeature;
|
||||
|
||||
/**
|
||||
* This class was generated by Apache CXF 2.1.2
|
||||
* Fri Sep 05 13:44:51 EEST 2008
|
||||
* Mon Apr 27 21:08:02 EEST 2009
|
||||
* Generated source version: 2.1.2
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
@WebServiceClient(name = "DiscoveryService",
|
||||
wsdlLocation = "file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/DiscoveryService.wsdl",
|
||||
targetNamespace = "http://www.cmis.org/2008/05")
|
||||
wsdlLocation = "file:/D:/work/alfresco-cmis/WS-Binding-061c-t2/source/wsdl/CMISWS-Service.wsdl",
|
||||
targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901")
|
||||
public class DiscoveryService extends Service {
|
||||
|
||||
public final static URL WSDL_LOCATION;
|
||||
public final static QName SERVICE = new QName("http://www.cmis.org/2008/05", "DiscoveryService");
|
||||
public final static QName DiscoveryServicePort = new QName("http://www.cmis.org/2008/05", "DiscoveryServicePort");
|
||||
public final static QName SERVICE = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "DiscoveryService");
|
||||
public final static QName DiscoveryServicePort = new QName("http://docs.oasis-open.org/ns/cmis/ws/200901", "DiscoveryServicePort");
|
||||
static {
|
||||
URL url = null;
|
||||
try {
|
||||
url = new URL("file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/DiscoveryService.wsdl");
|
||||
url = new URL("file:/D:/work/alfresco-cmis/WS-Binding-061c-t2/source/wsdl/CMISWS-Service.wsdl");
|
||||
} catch (MalformedURLException e) {
|
||||
System.err.println("Can not initialize the default wsdl from file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/DiscoveryService.wsdl");
|
||||
System.err.println("Can not initialize the default wsdl from file:/D:/work/alfresco-cmis/WS-Binding-061c-t2/source/wsdl/CMISWS-Service.wsdl");
|
||||
// e.printStackTrace();
|
||||
}
|
||||
WSDL_LOCATION = url;
|
||||
|
@@ -2,28 +2,51 @@ 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
|
||||
* Fri Sep 05 13:44:51 EEST 2008
|
||||
* Mon Apr 27 21:08:02 EEST 2009
|
||||
* Generated source version: 2.1.2
|
||||
*
|
||||
*/
|
||||
|
||||
@WebService(targetNamespace = "http://www.cmis.org/2008/05", name = "DiscoveryServicePort")
|
||||
@WebService(targetNamespace = "http://docs.oasis-open.org/ns/cmis/ws/200901", name = "DiscoveryServicePort")
|
||||
@XmlSeeAlso({ObjectFactory.class})
|
||||
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
|
||||
public interface DiscoveryServicePort {
|
||||
|
||||
@WebResult(name = "queryResponse", targetNamespace = "http://www.cmis.org/2008/05", partName = "parameters")
|
||||
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
|
||||
@WebResult(name = "queryResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", partName = "parameters")
|
||||
@WebMethod
|
||||
public QueryResponse query(
|
||||
@WebParam(partName = "parameters", name = "query", targetNamespace = "http://www.cmis.org/2008/05")
|
||||
@WebParam(partName = "parameters", name = "query", targetNamespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
CmisQueryType parameters
|
||||
) throws PermissionDeniedException, UpdateConflictException, OperationNotSupportedException, InvalidArgumentException, RuntimeException, ConstraintViolationException;
|
||||
) throws CmisException;
|
||||
|
||||
@RequestWrapper(localName = "getContentChanges", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetContentChanges")
|
||||
@ResponseWrapper(localName = "getContentChangesResponse", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", className = "org.alfresco.repo.cmis.ws.GetContentChangesResponse")
|
||||
@WebMethod
|
||||
public void getContentChanges(
|
||||
@WebParam(name = "repositoryId", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901")
|
||||
java.lang.String repositoryId,
|
||||
@WebParam(mode = WebParam.Mode.INOUT, name = "changeToken", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901")
|
||||
javax.xml.ws.Holder<java.lang.String> changeToken,
|
||||
@WebParam(name = "maxItems", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901")
|
||||
java.math.BigInteger maxItems,
|
||||
@WebParam(name = "includeACL", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901")
|
||||
java.lang.Boolean includeACL,
|
||||
@WebParam(name = "includeProperties", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901")
|
||||
java.lang.Boolean includeProperties,
|
||||
@WebParam(name = "filter", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901")
|
||||
java.lang.String filter,
|
||||
@WebParam(mode = WebParam.Mode.OUT, name = "changedObject", targetNamespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901")
|
||||
javax.xml.ws.Holder<java.util.List<org.alfresco.repo.cmis.ws.CmisObjectType>> changedObject
|
||||
) throws CmisException;
|
||||
}
|
||||
|
57
source/generated/org/alfresco/repo/cmis/ws/EnumBaseObjectType.java
Executable file
57
source/generated/org/alfresco/repo/cmis/ws/EnumBaseObjectType.java
Executable file
@@ -0,0 +1,57 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlEnumValue;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for enumBaseObjectType.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="enumBaseObjectType">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="document"/>
|
||||
* <enumeration value="folder"/>
|
||||
* <enumeration value="relationship"/>
|
||||
* <enumeration value="policy"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumBaseObjectType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumBaseObjectType {
|
||||
|
||||
@XmlEnumValue("document")
|
||||
DOCUMENT("document"),
|
||||
@XmlEnumValue("folder")
|
||||
FOLDER("folder"),
|
||||
@XmlEnumValue("relationship")
|
||||
RELATIONSHIP("relationship"),
|
||||
@XmlEnumValue("policy")
|
||||
POLICY("policy");
|
||||
private final String value;
|
||||
|
||||
EnumBaseObjectType(String v) {
|
||||
value = v;
|
||||
}
|
||||
|
||||
public String value() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public static EnumBaseObjectType fromValue(String v) {
|
||||
for (EnumBaseObjectType c: EnumBaseObjectType.values()) {
|
||||
if (c.value.equals(v)) {
|
||||
return c;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException(v);
|
||||
}
|
||||
|
||||
}
|
54
source/generated/org/alfresco/repo/cmis/ws/EnumBasicPrivileges.java
Executable file
54
source/generated/org/alfresco/repo/cmis/ws/EnumBasicPrivileges.java
Executable file
@@ -0,0 +1,54 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlEnumValue;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for enumBasicPrivileges.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="enumBasicPrivileges">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="CMIS.BasicPermission.Read"/>
|
||||
* <enumeration value="CMIS.BasicPermission.Write"/>
|
||||
* <enumeration value="CMIS.BasicPermission.All"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumBasicPrivileges", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumBasicPrivileges {
|
||||
|
||||
@XmlEnumValue("CMIS.BasicPermission.Read")
|
||||
CMIS_BASIC_PERMISSION_READ("CMIS.BasicPermission.Read"),
|
||||
@XmlEnumValue("CMIS.BasicPermission.Write")
|
||||
CMIS_BASIC_PERMISSION_WRITE("CMIS.BasicPermission.Write"),
|
||||
@XmlEnumValue("CMIS.BasicPermission.All")
|
||||
CMIS_BASIC_PERMISSION_ALL("CMIS.BasicPermission.All");
|
||||
private final String value;
|
||||
|
||||
EnumBasicPrivileges(String v) {
|
||||
value = v;
|
||||
}
|
||||
|
||||
public String value() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public static EnumBasicPrivileges fromValue(String v) {
|
||||
for (EnumBasicPrivileges c: EnumBasicPrivileges.values()) {
|
||||
if (c.value.equals(v)) {
|
||||
return c;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException(v);
|
||||
}
|
||||
|
||||
}
|
@@ -7,34 +7,34 @@ import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for enumCapabilityFullText.
|
||||
* <p>Java class for enumCapabilityACL.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="enumCapabilityFullText">
|
||||
* <simpleType name="enumCapabilityACL">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="none"/>
|
||||
* <enumeration value="fulltextonly"/>
|
||||
* <enumeration value="fulltextandstructured"/>
|
||||
* <enumeration value="read"/>
|
||||
* <enumeration value="set"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumCapabilityFullText")
|
||||
@XmlType(name = "enumCapabilityACL", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumCapabilityFullText {
|
||||
public enum EnumCapabilityACL {
|
||||
|
||||
@XmlEnumValue("none")
|
||||
NONE("none"),
|
||||
@XmlEnumValue("fulltextonly")
|
||||
FULLTEXTONLY("fulltextonly"),
|
||||
@XmlEnumValue("fulltextandstructured")
|
||||
FULLTEXTANDSTRUCTURED("fulltextandstructured");
|
||||
@XmlEnumValue("read")
|
||||
READ("read"),
|
||||
@XmlEnumValue("set")
|
||||
SET("set");
|
||||
private final String value;
|
||||
|
||||
EnumCapabilityFullText(String v) {
|
||||
EnumCapabilityACL(String v) {
|
||||
value = v;
|
||||
}
|
||||
|
||||
@@ -42,8 +42,8 @@ public enum EnumCapabilityFullText {
|
||||
return value;
|
||||
}
|
||||
|
||||
public static EnumCapabilityFullText fromValue(String v) {
|
||||
for (EnumCapabilityFullText c: EnumCapabilityFullText.values()) {
|
||||
public static EnumCapabilityACL fromValue(String v) {
|
||||
for (EnumCapabilityACL c: EnumCapabilityACL.values()) {
|
||||
if (c.value.equals(v)) {
|
||||
return c;
|
||||
}
|
69
source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityChanges.java
Executable file
69
source/generated/org/alfresco/repo/cmis/ws/EnumCapabilityChanges.java
Executable file
@@ -0,0 +1,69 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlEnumValue;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for enumCapabilityChanges.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="enumCapabilityChanges">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="none"/>
|
||||
* <enumeration value="includeACL"/>
|
||||
* <enumeration value="includeProperties"/>
|
||||
* <enumeration value="includeFolders"/>
|
||||
* <enumeration value="includeDocuments"/>
|
||||
* <enumeration value="includeRelationships"/>
|
||||
* <enumeration value="includePolicies"/>
|
||||
* <enumeration value="all"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumCapabilityChanges", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumCapabilityChanges {
|
||||
|
||||
@XmlEnumValue("none")
|
||||
NONE("none"),
|
||||
@XmlEnumValue("includeACL")
|
||||
INCLUDE_ACL("includeACL"),
|
||||
@XmlEnumValue("includeProperties")
|
||||
INCLUDE_PROPERTIES("includeProperties"),
|
||||
@XmlEnumValue("includeFolders")
|
||||
INCLUDE_FOLDERS("includeFolders"),
|
||||
@XmlEnumValue("includeDocuments")
|
||||
INCLUDE_DOCUMENTS("includeDocuments"),
|
||||
@XmlEnumValue("includeRelationships")
|
||||
INCLUDE_RELATIONSHIPS("includeRelationships"),
|
||||
@XmlEnumValue("includePolicies")
|
||||
INCLUDE_POLICIES("includePolicies"),
|
||||
@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);
|
||||
}
|
||||
|
||||
}
|
@@ -14,7 +14,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <simpleType name="enumCapabilityJoin">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="nojoin"/>
|
||||
* <enumeration value="none"/>
|
||||
* <enumeration value="inneronly"/>
|
||||
* <enumeration value="innerandouter"/>
|
||||
* </restriction>
|
||||
@@ -22,12 +22,12 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumCapabilityJoin")
|
||||
@XmlType(name = "enumCapabilityJoin", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumCapabilityJoin {
|
||||
|
||||
@XmlEnumValue("nojoin")
|
||||
NOJOIN("nojoin"),
|
||||
@XmlEnumValue("none")
|
||||
NONE("none"),
|
||||
@XmlEnumValue("inneronly")
|
||||
INNERONLY("inneronly"),
|
||||
@XmlEnumValue("innerandouter")
|
||||
|
@@ -17,13 +17,14 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <enumeration value="none"/>
|
||||
* <enumeration value="metadataonly"/>
|
||||
* <enumeration value="fulltextonly"/>
|
||||
* <enumeration value="both"/>
|
||||
* <enumeration value="bothseparate"/>
|
||||
* <enumeration value="bothcombined"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumCapabilityQuery")
|
||||
@XmlType(name = "enumCapabilityQuery", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumCapabilityQuery {
|
||||
|
||||
@@ -33,8 +34,10 @@ public enum EnumCapabilityQuery {
|
||||
METADATAONLY("metadataonly"),
|
||||
@XmlEnumValue("fulltextonly")
|
||||
FULLTEXTONLY("fulltextonly"),
|
||||
@XmlEnumValue("both")
|
||||
BOTH("both");
|
||||
@XmlEnumValue("bothseparate")
|
||||
BOTHSEPARATE("bothseparate"),
|
||||
@XmlEnumValue("bothcombined")
|
||||
BOTHCOMBINED("bothcombined");
|
||||
private final String value;
|
||||
|
||||
EnumCapabilityQuery(String v) {
|
||||
|
@@ -21,7 +21,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumCardinality")
|
||||
@XmlType(name = "enumCardinality", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumCardinality {
|
||||
|
||||
|
@@ -14,36 +14,39 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <simpleType name="enumCollectionType">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="root-children"/>
|
||||
* <enumeration value="root-descendants"/>
|
||||
* <enumeration value="rootchildren"/>
|
||||
* <enumeration value="rootdescendants"/>
|
||||
* <enumeration value="unfiled"/>
|
||||
* <enumeration value="checkedout"/>
|
||||
* <enumeration value="types-children"/>
|
||||
* <enumeration value="types-descendants"/>
|
||||
* <enumeration value="typeschildren"/>
|
||||
* <enumeration value="typesdescendants"/>
|
||||
* <enumeration value="query"/>
|
||||
* <enumeration value="changes"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumCollectionType")
|
||||
@XmlType(name = "enumCollectionType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumCollectionType {
|
||||
|
||||
@XmlEnumValue("root-children")
|
||||
ROOT_CHILDREN("root-children"),
|
||||
@XmlEnumValue("root-descendants")
|
||||
ROOT_DESCENDANTS("root-descendants"),
|
||||
@XmlEnumValue("rootchildren")
|
||||
ROOTCHILDREN("rootchildren"),
|
||||
@XmlEnumValue("rootdescendants")
|
||||
ROOTDESCENDANTS("rootdescendants"),
|
||||
@XmlEnumValue("unfiled")
|
||||
UNFILED("unfiled"),
|
||||
@XmlEnumValue("checkedout")
|
||||
CHECKEDOUT("checkedout"),
|
||||
@XmlEnumValue("types-children")
|
||||
TYPES_CHILDREN("types-children"),
|
||||
@XmlEnumValue("types-descendants")
|
||||
TYPES_DESCENDANTS("types-descendants"),
|
||||
@XmlEnumValue("typeschildren")
|
||||
TYPESCHILDREN("typeschildren"),
|
||||
@XmlEnumValue("typesdescendants")
|
||||
TYPESDESCENDANTS("typesdescendants"),
|
||||
@XmlEnumValue("query")
|
||||
QUERY("query");
|
||||
QUERY("query"),
|
||||
@XmlEnumValue("changes")
|
||||
CHANGES("changes");
|
||||
private final String value;
|
||||
|
||||
EnumCollectionType(String v) {
|
||||
|
@@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumContentStreamAllowed")
|
||||
@XmlType(name = "enumContentStreamAllowed", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumContentStreamAllowed {
|
||||
|
||||
|
@@ -23,7 +23,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumIncludeRelationships")
|
||||
@XmlType(name = "enumIncludeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumIncludeRelationships {
|
||||
|
||||
|
@@ -23,7 +23,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumObjectType")
|
||||
@XmlType(name = "enumObjectType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumObjectType {
|
||||
|
||||
|
@@ -17,17 +17,19 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <enumeration value="ObjectId"/>
|
||||
* <enumeration value="Uri"/>
|
||||
* <enumeration value="ObjectTypeId"/>
|
||||
* <enumeration value="BaseTypeId"/>
|
||||
* <enumeration value="CreatedBy"/>
|
||||
* <enumeration value="CreationDate"/>
|
||||
* <enumeration value="LastModifiedBy"/>
|
||||
* <enumeration value="LastModificationDate"/>
|
||||
* <enumeration value="ChangeToken"/>
|
||||
* <enumeration value="Name"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumPropertiesBase")
|
||||
@XmlType(name = "enumPropertiesBase", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumPropertiesBase {
|
||||
|
||||
@@ -37,6 +39,8 @@ public enum EnumPropertiesBase {
|
||||
URI("Uri"),
|
||||
@XmlEnumValue("ObjectTypeId")
|
||||
OBJECT_TYPE_ID("ObjectTypeId"),
|
||||
@XmlEnumValue("BaseTypeId")
|
||||
BASE_TYPE_ID("BaseTypeId"),
|
||||
@XmlEnumValue("CreatedBy")
|
||||
CREATED_BY("CreatedBy"),
|
||||
@XmlEnumValue("CreationDate")
|
||||
@@ -46,7 +50,9 @@ public enum EnumPropertiesBase {
|
||||
@XmlEnumValue("LastModificationDate")
|
||||
LAST_MODIFICATION_DATE("LastModificationDate"),
|
||||
@XmlEnumValue("ChangeToken")
|
||||
CHANGE_TOKEN("ChangeToken");
|
||||
CHANGE_TOKEN("ChangeToken"),
|
||||
@XmlEnumValue("Name")
|
||||
NAME("Name");
|
||||
private final String value;
|
||||
|
||||
EnumPropertiesBase(String v) {
|
||||
|
120
source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesDocument.java
Executable file
120
source/generated/org/alfresco/repo/cmis/ws/EnumPropertiesDocument.java
Executable file
@@ -0,0 +1,120 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlEnumValue;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for enumPropertiesDocument.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="enumPropertiesDocument">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="Name"/>
|
||||
* <enumeration value="ObjectId"/>
|
||||
* <enumeration value="BaseTypeId"/>
|
||||
* <enumeration value="Uri"/>
|
||||
* <enumeration value="ObjectTypeId"/>
|
||||
* <enumeration value="CreatedBy"/>
|
||||
* <enumeration value="CreationDate"/>
|
||||
* <enumeration value="LastModifiedBy"/>
|
||||
* <enumeration value="LastModificationDate"/>
|
||||
* <enumeration value="ChangeToken"/>
|
||||
* <enumeration value="IsImmutable"/>
|
||||
* <enumeration value="IsLatestVersion"/>
|
||||
* <enumeration value="IsMajorVersion"/>
|
||||
* <enumeration value="IsLatestMajorVersion"/>
|
||||
* <enumeration value="VersionLabel"/>
|
||||
* <enumeration value="VersionSeriesId"/>
|
||||
* <enumeration value="IsVersionSeriesCheckedOut"/>
|
||||
* <enumeration value="VersionSeriesCheckedOutBy"/>
|
||||
* <enumeration value="VersionSeriesCheckedOutId"/>
|
||||
* <enumeration value="CheckinComment"/>
|
||||
* <enumeration value="ContentStreamAllowed"/>
|
||||
* <enumeration value="ContentStreamLength"/>
|
||||
* <enumeration value="ContentStreamMimeType"/>
|
||||
* <enumeration value="ContentStreamFilename"/>
|
||||
* <enumeration value="ContentStreamUri"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumPropertiesDocument", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumPropertiesDocument {
|
||||
|
||||
@XmlEnumValue("Name")
|
||||
NAME("Name"),
|
||||
@XmlEnumValue("ObjectId")
|
||||
OBJECT_ID("ObjectId"),
|
||||
@XmlEnumValue("BaseTypeId")
|
||||
BASE_TYPE_ID("BaseTypeId"),
|
||||
@XmlEnumValue("Uri")
|
||||
URI("Uri"),
|
||||
@XmlEnumValue("ObjectTypeId")
|
||||
OBJECT_TYPE_ID("ObjectTypeId"),
|
||||
@XmlEnumValue("CreatedBy")
|
||||
CREATED_BY("CreatedBy"),
|
||||
@XmlEnumValue("CreationDate")
|
||||
CREATION_DATE("CreationDate"),
|
||||
@XmlEnumValue("LastModifiedBy")
|
||||
LAST_MODIFIED_BY("LastModifiedBy"),
|
||||
@XmlEnumValue("LastModificationDate")
|
||||
LAST_MODIFICATION_DATE("LastModificationDate"),
|
||||
@XmlEnumValue("ChangeToken")
|
||||
CHANGE_TOKEN("ChangeToken"),
|
||||
@XmlEnumValue("IsImmutable")
|
||||
IS_IMMUTABLE("IsImmutable"),
|
||||
@XmlEnumValue("IsLatestVersion")
|
||||
IS_LATEST_VERSION("IsLatestVersion"),
|
||||
@XmlEnumValue("IsMajorVersion")
|
||||
IS_MAJOR_VERSION("IsMajorVersion"),
|
||||
@XmlEnumValue("IsLatestMajorVersion")
|
||||
IS_LATEST_MAJOR_VERSION("IsLatestMajorVersion"),
|
||||
@XmlEnumValue("VersionLabel")
|
||||
VERSION_LABEL("VersionLabel"),
|
||||
@XmlEnumValue("VersionSeriesId")
|
||||
VERSION_SERIES_ID("VersionSeriesId"),
|
||||
@XmlEnumValue("IsVersionSeriesCheckedOut")
|
||||
IS_VERSION_SERIES_CHECKED_OUT("IsVersionSeriesCheckedOut"),
|
||||
@XmlEnumValue("VersionSeriesCheckedOutBy")
|
||||
VERSION_SERIES_CHECKED_OUT_BY("VersionSeriesCheckedOutBy"),
|
||||
@XmlEnumValue("VersionSeriesCheckedOutId")
|
||||
VERSION_SERIES_CHECKED_OUT_ID("VersionSeriesCheckedOutId"),
|
||||
@XmlEnumValue("CheckinComment")
|
||||
CHECKIN_COMMENT("CheckinComment"),
|
||||
@XmlEnumValue("ContentStreamAllowed")
|
||||
CONTENT_STREAM_ALLOWED("ContentStreamAllowed"),
|
||||
@XmlEnumValue("ContentStreamLength")
|
||||
CONTENT_STREAM_LENGTH("ContentStreamLength"),
|
||||
@XmlEnumValue("ContentStreamMimeType")
|
||||
CONTENT_STREAM_MIME_TYPE("ContentStreamMimeType"),
|
||||
@XmlEnumValue("ContentStreamFilename")
|
||||
CONTENT_STREAM_FILENAME("ContentStreamFilename"),
|
||||
@XmlEnumValue("ContentStreamUri")
|
||||
CONTENT_STREAM_URI("ContentStreamUri");
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
@@ -14,7 +14,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <simpleType name="enumPropertiesFolder">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="Name"/>
|
||||
* <enumeration value="ObjectId"/>
|
||||
* <enumeration value="BaseTypeId"/>
|
||||
* <enumeration value="Uri"/>
|
||||
* <enumeration value="ObjectTypeId"/>
|
||||
* <enumeration value="CreatedBy"/>
|
||||
@@ -29,12 +31,16 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumPropertiesFolder")
|
||||
@XmlType(name = "enumPropertiesFolder", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumPropertiesFolder {
|
||||
|
||||
@XmlEnumValue("Name")
|
||||
NAME("Name"),
|
||||
@XmlEnumValue("ObjectId")
|
||||
OBJECT_ID("ObjectId"),
|
||||
@XmlEnumValue("BaseTypeId")
|
||||
BASE_TYPE_ID("BaseTypeId"),
|
||||
@XmlEnumValue("Uri")
|
||||
URI("Uri"),
|
||||
@XmlEnumValue("ObjectTypeId")
|
||||
|
@@ -14,9 +14,11 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <simpleType name="enumPropertiesPolicy">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="Name"/>
|
||||
* <enumeration value="ObjectId"/>
|
||||
* <enumeration value="Uri"/>
|
||||
* <enumeration value="ObjectTypeId"/>
|
||||
* <enumeration value="BaseTypeId"/>
|
||||
* <enumeration value="CreatedBy"/>
|
||||
* <enumeration value="CreationDate"/>
|
||||
* <enumeration value="LastModifiedBy"/>
|
||||
@@ -29,16 +31,20 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumPropertiesPolicy")
|
||||
@XmlType(name = "enumPropertiesPolicy", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumPropertiesPolicy {
|
||||
|
||||
@XmlEnumValue("Name")
|
||||
NAME("Name"),
|
||||
@XmlEnumValue("ObjectId")
|
||||
OBJECT_ID("ObjectId"),
|
||||
@XmlEnumValue("Uri")
|
||||
URI("Uri"),
|
||||
@XmlEnumValue("ObjectTypeId")
|
||||
OBJECT_TYPE_ID("ObjectTypeId"),
|
||||
@XmlEnumValue("BaseTypeId")
|
||||
BASE_TYPE_ID("BaseTypeId"),
|
||||
@XmlEnumValue("CreatedBy")
|
||||
CREATED_BY("CreatedBy"),
|
||||
@XmlEnumValue("CreationDate")
|
||||
|
@@ -14,9 +14,11 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <pre>
|
||||
* <simpleType name="enumPropertiesRelationship">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="Name"/>
|
||||
* <enumeration value="ObjectId"/>
|
||||
* <enumeration value="Uri"/>
|
||||
* <enumeration value="ObjectTypeId"/>
|
||||
* <enumeration value="BaseTypeId"/>
|
||||
* <enumeration value="CreatedBy"/>
|
||||
* <enumeration value="CreationDate"/>
|
||||
* <enumeration value="LastModifiedBy"/>
|
||||
@@ -29,16 +31,20 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumPropertiesRelationship")
|
||||
@XmlType(name = "enumPropertiesRelationship", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumPropertiesRelationship {
|
||||
|
||||
@XmlEnumValue("Name")
|
||||
NAME("Name"),
|
||||
@XmlEnumValue("ObjectId")
|
||||
OBJECT_ID("ObjectId"),
|
||||
@XmlEnumValue("Uri")
|
||||
URI("Uri"),
|
||||
@XmlEnumValue("ObjectTypeId")
|
||||
OBJECT_TYPE_ID("ObjectTypeId"),
|
||||
@XmlEnumValue("BaseTypeId")
|
||||
BASE_TYPE_ID("BaseTypeId"),
|
||||
@XmlEnumValue("CreatedBy")
|
||||
CREATED_BY("CreatedBy"),
|
||||
@XmlEnumValue("CreationDate")
|
||||
|
@@ -28,7 +28,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumPropertyType")
|
||||
@XmlType(name = "enumPropertyType", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumPropertyType {
|
||||
|
||||
|
@@ -16,13 +16,13 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="source"/>
|
||||
* <enumeration value="target"/>
|
||||
* <enumeration value="both"/>
|
||||
* <enumeration value="either"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumRelationshipDirection")
|
||||
@XmlType(name = "enumRelationshipDirection", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumRelationshipDirection {
|
||||
|
||||
@@ -30,8 +30,8 @@ public enum EnumRelationshipDirection {
|
||||
SOURCE("source"),
|
||||
@XmlEnumValue("target")
|
||||
TARGET("target"),
|
||||
@XmlEnumValue("both")
|
||||
BOTH("both");
|
||||
@XmlEnumValue("either")
|
||||
EITHER("either");
|
||||
private final String value;
|
||||
|
||||
EnumRelationshipDirection(String v) {
|
||||
|
@@ -25,7 +25,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumRepositoryRelationship")
|
||||
@XmlType(name = "enumRepositoryRelationship", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumRepositoryRelationship {
|
||||
|
||||
|
@@ -16,15 +16,19 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="childTypes"/>
|
||||
* <enumeration value="continueOnFailure"/>
|
||||
* <enumeration value="checkin"/>
|
||||
* <enumeration value="checkinComment"/>
|
||||
* <enumeration value="depth"/>
|
||||
* <enumeration value="direction"/>
|
||||
* <enumeration value="filter"/>
|
||||
* <enumeration value="folderByPath"/>
|
||||
* <enumeration value="folderId"/>
|
||||
* <enumeration value="includeAllowableActions"/>
|
||||
* <enumeration value="includePropertyDefinitions"/>
|
||||
* <enumeration value="includeRelationships"/>
|
||||
* <enumeration value="includeSubrelationshipTypes"/>
|
||||
* <enumeration value="length"/>
|
||||
* <enumeration value="major"/>
|
||||
* <enumeration value="majorVersion"/>
|
||||
* <enumeration value="maxItems"/>
|
||||
* <enumeration value="offset"/>
|
||||
@@ -44,7 +48,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumRestArguments")
|
||||
@XmlType(name = "enumRestArguments", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumRestArguments {
|
||||
|
||||
@@ -52,6 +56,10 @@ public enum EnumRestArguments {
|
||||
CHILD_TYPES("childTypes"),
|
||||
@XmlEnumValue("continueOnFailure")
|
||||
CONTINUE_ON_FAILURE("continueOnFailure"),
|
||||
@XmlEnumValue("checkin")
|
||||
CHECKIN("checkin"),
|
||||
@XmlEnumValue("checkinComment")
|
||||
CHECKIN_COMMENT("checkinComment"),
|
||||
@XmlEnumValue("depth")
|
||||
DEPTH("depth"),
|
||||
@XmlEnumValue("direction")
|
||||
@@ -60,6 +68,8 @@ public enum EnumRestArguments {
|
||||
FILTER("filter"),
|
||||
@XmlEnumValue("folderByPath")
|
||||
FOLDER_BY_PATH("folderByPath"),
|
||||
@XmlEnumValue("folderId")
|
||||
FOLDER_ID("folderId"),
|
||||
@XmlEnumValue("includeAllowableActions")
|
||||
INCLUDE_ALLOWABLE_ACTIONS("includeAllowableActions"),
|
||||
@XmlEnumValue("includePropertyDefinitions")
|
||||
@@ -70,6 +80,8 @@ public enum EnumRestArguments {
|
||||
INCLUDE_SUBRELATIONSHIP_TYPES("includeSubrelationshipTypes"),
|
||||
@XmlEnumValue("length")
|
||||
LENGTH("length"),
|
||||
@XmlEnumValue("major")
|
||||
MAJOR("major"),
|
||||
@XmlEnumValue("majorVersion")
|
||||
MAJOR_VERSION("majorVersion"),
|
||||
@XmlEnumValue("maxItems")
|
||||
|
@@ -20,7 +20,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumRestOutputHeaders")
|
||||
@XmlType(name = "enumRestOutputHeaders", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumRestOutputHeaders {
|
||||
|
||||
|
@@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumReturnVersion")
|
||||
@XmlType(name = "enumReturnVersion", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumReturnVersion {
|
||||
|
||||
|
93
source/generated/org/alfresco/repo/cmis/ws/EnumServiceException.java
Executable file
93
source/generated/org/alfresco/repo/cmis/ws/EnumServiceException.java
Executable file
@@ -0,0 +1,93 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlEnumValue;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for enumServiceException.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="enumServiceException">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="constraint"/>
|
||||
* <enumeration value="contentAlreadyExists"/>
|
||||
* <enumeration value="filterNotValid"/>
|
||||
* <enumeration value="folderNotValid"/>
|
||||
* <enumeration value="invalidArgument"/>
|
||||
* <enumeration value="notInFolder"/>
|
||||
* <enumeration value="objectNotFound"/>
|
||||
* <enumeration value="offset"/>
|
||||
* <enumeration value="notSupported"/>
|
||||
* <enumeration value="permissionDenied"/>
|
||||
* <enumeration value="runtime"/>
|
||||
* <enumeration value="storage"/>
|
||||
* <enumeration value="streamNotSupported"/>
|
||||
* <enumeration value="type"/>
|
||||
* <enumeration value="updateConflict"/>
|
||||
* <enumeration value="versioning"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumServiceException")
|
||||
@XmlEnum
|
||||
public enum EnumServiceException {
|
||||
|
||||
@XmlEnumValue("constraint")
|
||||
CONSTRAINT("constraint"),
|
||||
@XmlEnumValue("contentAlreadyExists")
|
||||
CONTENT_ALREADY_EXISTS("contentAlreadyExists"),
|
||||
@XmlEnumValue("filterNotValid")
|
||||
FILTER_NOT_VALID("filterNotValid"),
|
||||
@XmlEnumValue("folderNotValid")
|
||||
FOLDER_NOT_VALID("folderNotValid"),
|
||||
@XmlEnumValue("invalidArgument")
|
||||
INVALID_ARGUMENT("invalidArgument"),
|
||||
@XmlEnumValue("notInFolder")
|
||||
NOT_IN_FOLDER("notInFolder"),
|
||||
@XmlEnumValue("objectNotFound")
|
||||
OBJECT_NOT_FOUND("objectNotFound"),
|
||||
@XmlEnumValue("offset")
|
||||
OFFSET("offset"),
|
||||
@XmlEnumValue("notSupported")
|
||||
NOT_SUPPORTED("notSupported"),
|
||||
@XmlEnumValue("permissionDenied")
|
||||
PERMISSION_DENIED("permissionDenied"),
|
||||
@XmlEnumValue("runtime")
|
||||
RUNTIME("runtime"),
|
||||
@XmlEnumValue("storage")
|
||||
STORAGE("storage"),
|
||||
@XmlEnumValue("streamNotSupported")
|
||||
STREAM_NOT_SUPPORTED("streamNotSupported"),
|
||||
@XmlEnumValue("type")
|
||||
TYPE("type"),
|
||||
@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);
|
||||
}
|
||||
|
||||
}
|
57
source/generated/org/alfresco/repo/cmis/ws/EnumTypeOfChanges.java
Executable file
57
source/generated/org/alfresco/repo/cmis/ws/EnumTypeOfChanges.java
Executable file
@@ -0,0 +1,57 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlEnumValue;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for enumTypeOfChanges.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <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>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumTypeOfChanges", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@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);
|
||||
}
|
||||
|
||||
}
|
@@ -23,7 +23,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumTypesOfFileableObjects")
|
||||
@XmlType(name = "enumTypesOfFileableObjects", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumTypesOfFileableObjects {
|
||||
|
||||
|
@@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumUnfileNonfolderObjects")
|
||||
@XmlType(name = "enumUnfileNonfolderObjects", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumUnfileNonfolderObjects {
|
||||
|
||||
|
54
source/generated/org/alfresco/repo/cmis/ws/EnumUpdatability.java
Executable file
54
source/generated/org/alfresco/repo/cmis/ws/EnumUpdatability.java
Executable file
@@ -0,0 +1,54 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlEnumValue;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for enumUpdatability.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="enumUpdatability">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="readonly"/>
|
||||
* <enumeration value="readwrite"/>
|
||||
* <enumeration value="whencheckedout"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumUpdatability", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumUpdatability {
|
||||
|
||||
@XmlEnumValue("readonly")
|
||||
READONLY("readonly"),
|
||||
@XmlEnumValue("readwrite")
|
||||
READWRITE("readwrite"),
|
||||
@XmlEnumValue("whencheckedout")
|
||||
WHENCHECKEDOUT("whencheckedout");
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
@@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumUpdateability")
|
||||
@XmlType(name = "enumUpdateability", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumUpdateability {
|
||||
|
||||
|
@@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlType(name = "enumVersioningState")
|
||||
@XmlType(name = "enumVersioningState", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
@XmlEnum
|
||||
public enum EnumVersioningState {
|
||||
|
||||
|
@@ -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
|
||||
* Fri Sep 05 13:45:08 EEST 2008
|
||||
* Generated source version: 2.1.2
|
||||
*
|
||||
*/
|
||||
|
||||
@WebFault(name = "filterNotValidException", targetNamespace = "http://www.cmis.org/2008/05")
|
||||
public class FilterNotValidException extends Exception {
|
||||
public static final long serialVersionUID = 20080905134508L;
|
||||
|
||||
private org.alfresco.repo.cmis.ws.FilterNotValidExceptionType filterNotValidException;
|
||||
|
||||
public FilterNotValidException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public FilterNotValidException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public FilterNotValidException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public FilterNotValidException(String message, org.alfresco.repo.cmis.ws.FilterNotValidExceptionType filterNotValidException) {
|
||||
super(message);
|
||||
this.filterNotValidException = filterNotValidException;
|
||||
}
|
||||
|
||||
public FilterNotValidException(String message, org.alfresco.repo.cmis.ws.FilterNotValidExceptionType filterNotValidException, Throwable cause) {
|
||||
super(message, cause);
|
||||
this.filterNotValidException = filterNotValidException;
|
||||
}
|
||||
|
||||
public org.alfresco.repo.cmis.ws.FilterNotValidExceptionType getFaultInfo() {
|
||||
return this.filterNotValidException;
|
||||
}
|
||||
}
|
@@ -1,32 +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;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for filterNotValidExceptionType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="filterNotValidExceptionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisFaultType">
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "filterNotValidExceptionType")
|
||||
public class FilterNotValidExceptionType
|
||||
extends CmisFaultType
|
||||
{
|
||||
|
||||
|
||||
}
|
@@ -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
|
||||
* Fri Sep 05 13:44:55 EEST 2008
|
||||
* Generated source version: 2.1.2
|
||||
*
|
||||
*/
|
||||
|
||||
@WebFault(name = "folderNotValidException", targetNamespace = "http://www.cmis.org/2008/05")
|
||||
public class FolderNotValidException extends Exception {
|
||||
public static final long serialVersionUID = 20080905134455L;
|
||||
|
||||
private org.alfresco.repo.cmis.ws.FolderNotValidExceptionType folderNotValidException;
|
||||
|
||||
public FolderNotValidException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public FolderNotValidException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public FolderNotValidException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public FolderNotValidException(String message, org.alfresco.repo.cmis.ws.FolderNotValidExceptionType folderNotValidException) {
|
||||
super(message);
|
||||
this.folderNotValidException = folderNotValidException;
|
||||
}
|
||||
|
||||
public FolderNotValidException(String message, org.alfresco.repo.cmis.ws.FolderNotValidExceptionType folderNotValidException, Throwable cause) {
|
||||
super(message, cause);
|
||||
this.folderNotValidException = folderNotValidException;
|
||||
}
|
||||
|
||||
public org.alfresco.repo.cmis.ws.FolderNotValidExceptionType getFaultInfo() {
|
||||
return this.folderNotValidException;
|
||||
}
|
||||
}
|
@@ -1,32 +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;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for folderNotValidExceptionType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="folderNotValidExceptionType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/2008/05}cmisFaultType">
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "folderNotValidExceptionType")
|
||||
public class FolderNotValidExceptionType
|
||||
extends CmisFaultType
|
||||
{
|
||||
|
||||
|
||||
}
|
@@ -24,7 +24,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <element name="versionSeriesId" 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://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <element name="includeRelationships" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumIncludeRelationships" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -48,12 +48,12 @@ public class GetAllVersions {
|
||||
protected String repositoryId;
|
||||
@XmlElement(required = true)
|
||||
protected String versionSeriesId;
|
||||
@XmlElementRef(name = "filter", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
|
||||
@XmlElementRef(name = "filter", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
|
||||
protected JAXBElement<String> filter;
|
||||
@XmlElementRef(name = "includeAllowableActions", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
|
||||
@XmlElementRef(name = "includeAllowableActions", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
|
||||
protected JAXBElement<Boolean> includeAllowableActions;
|
||||
@XmlElementRef(name = "includeRelationships", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
|
||||
protected JAXBElement<Boolean> includeRelationships;
|
||||
@XmlElementRef(name = "includeRelationships", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class)
|
||||
protected JAXBElement<EnumIncludeRelationships> includeRelationships;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
@@ -156,10 +156,10 @@ public class GetAllVersions {
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link JAXBElement }{@code <}{@link Boolean }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}
|
||||
*
|
||||
*/
|
||||
public JAXBElement<Boolean> getIncludeRelationships() {
|
||||
public JAXBElement<EnumIncludeRelationships> getIncludeRelationships() {
|
||||
return includeRelationships;
|
||||
}
|
||||
|
||||
@@ -168,11 +168,11 @@ public class GetAllVersions {
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link JAXBElement }{@code <}{@link Boolean }{@code >}
|
||||
* {@link JAXBElement }{@code <}{@link EnumIncludeRelationships }{@code >}
|
||||
*
|
||||
*/
|
||||
public void setIncludeRelationships(JAXBElement<Boolean> value) {
|
||||
this.includeRelationships = ((JAXBElement<Boolean> ) value);
|
||||
public void setIncludeRelationships(JAXBElement<EnumIncludeRelationships> value) {
|
||||
this.includeRelationships = ((JAXBElement<EnumIncludeRelationships> ) value);
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -5,6 +5,7 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
@@ -19,7 +20,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/2008/05}object" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* <element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}object" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -35,6 +36,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
@XmlRootElement(name = "getAllVersionsResponse")
|
||||
public class GetAllVersionsResponse {
|
||||
|
||||
@XmlElement(namespace = "http://docs.oasis-open.org/ns/cmis/core/200901")
|
||||
protected List<CmisObjectType> object;
|
||||
|
||||
/**
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user