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:
David Caruana
2009-05-01 21:22:09 +00:00
parent 6dda4bdf13
commit a8603091e9
205 changed files with 6264 additions and 5692 deletions

View File

@@ -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>

View File

@@ -23,8 +23,8 @@ import javax.xml.bind.annotation.XmlType;
* &lt;element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="major" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="properties" type="{http://www.cmis.org/2008/05}cmisPropertiesType" minOccurs="0"/>
* &lt;element name="contentStream" type="{http://www.cmis.org/2008/05}cmisContentStreamType" minOccurs="0"/>
* &lt;element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType" minOccurs="0"/>
* &lt;element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisContentStreamType" minOccurs="0"/>
* &lt;element name="checkinComment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/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;
/**

View 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>
* &lt;complexType name="cmisAccessControlEntryType">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="principal" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlPrincipalType"/>
* &lt;element name="permission" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="direct" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;any/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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;
}
}

View 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>
* &lt;complexType name="cmisAccessControlListType">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="permission" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlEntryType"/>
* &lt;any/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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;
}
}

View 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 cmisAccessControlPrincipalType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="cmisAccessControlPrincipalType">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="principalId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;any/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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;
}
}

View File

@@ -55,7 +55,7 @@ import org.w3c.dom.Element;
* &lt;element name="canDeleteTree" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;any/>
* &lt;/sequence>
* &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
* &lt;attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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 }
*
*
*/

View File

@@ -26,7 +26,7 @@ import org.w3c.dom.Element;
* &lt;sequence>
* &lt;any/>
* &lt;/sequence>
* &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
* &lt;attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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 }
*
*
*/

View 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>
* &lt;complexType name="cmisChangedObjectType">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="changeType" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumTypeOfChanges"/>
* &lt;element name="changeTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* &lt;any/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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;
}
}

View File

@@ -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>
* &lt;complexType name="cmisChoiceBooleanType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}boolean" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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;
}
}

View File

@@ -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>
* &lt;complexType name="cmisChoiceDateTimeType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}dateTime" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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;
}
}

View File

@@ -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>
* &lt;complexType name="cmisChoiceDecimalType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}decimal" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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;
}
}

View File

@@ -18,9 +18,19 @@ import org.w3c.dom.Element;
* <pre>
* &lt;complexType name="cmisChoiceHtmlType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
* &lt;sequence>
* &lt;any/>
* &lt;element name="value" maxOccurs="unbounded" minOccurs="0">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;any/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;any/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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;
}
}
}

View File

@@ -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>
* &lt;complexType name="cmisChoiceIdType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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;
}
}

View File

@@ -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>
* &lt;complexType name="cmisChoiceIntegerType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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;
}
}

View File

@@ -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>
* &lt;complexType name="cmisChoiceStringType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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;
}
}

View File

@@ -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;
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{http://www.cmis.org/2008/05}choice" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choice" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
* &lt;attribute ref="{http://www.cmis.org/2008/05}index"/>
* &lt;attribute ref="{http://www.cmis.org/2008/05}key"/>
* &lt;attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
* &lt;attribute ref="{http://docs.oasis-open.org/ns/cmis/core/200901}key"/>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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.
*

View File

@@ -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>
* &lt;complexType name="cmisChoiceUriType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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;
}
}

View File

@@ -18,7 +18,7 @@ import org.w3c.dom.Element;
* <pre>
* &lt;complexType name="cmisChoiceXmlType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceType">
* &lt;sequence>
* &lt;any/>
* &lt;/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 }
*
*
*/

View File

@@ -36,7 +36,7 @@ import org.w3c.dom.Element;
* &lt;element name="stream" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
* &lt;any/>
* &lt;/sequence>
* &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
* &lt;attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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 }
*
*
*/

View 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;
}
}

View File

@@ -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;
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="errorCode" type="{http://www.w3.org/2001/XMLSchema}integer"/>
* &lt;element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="type" type="{http://docs.oasis-open.org/ns/cmis/messaging/200901}enumServiceException"/>
* &lt;element name="code" type="{http://www.w3.org/2001/XMLSchema}integer"/>
* &lt;element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;any/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/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;
}
}

View File

@@ -24,13 +24,14 @@ import org.w3c.dom.Element;
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="properties" type="{http://www.cmis.org/2008/05}cmisPropertiesType" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/2008/05}allowableActions" minOccurs="0"/>
* &lt;element name="relationship" type="{http://www.cmis.org/2008/05}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="child" type="{http://www.cmis.org/2008/05}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType" minOccurs="0"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}allowableActions" minOccurs="0"/>
* &lt;element name="relationship" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="changeObject" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChangedObjectType" minOccurs="0"/>
* &lt;element name="child" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;any/>
* &lt;/sequence>
* &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
* &lt;attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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 }
*
*
*/

View 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>
* &lt;complexType name="cmisPermissionDefinitionType">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}language" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="aggregating" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPermissionDefinitionType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;attribute name="aggregated" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* &lt;attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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;
}
}

View 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>
* &lt;complexType name="cmisPermissionSetType">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="permission" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPermissionDefinitionType" maxOccurs="unbounded"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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;
}
}

View File

@@ -27,19 +27,19 @@ import org.w3c.dom.Element;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;choice maxOccurs="unbounded" minOccurs="0">
* &lt;element ref="{http://www.cmis.org/2008/05}propertyBoolean"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyId"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyInteger"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyDateTime"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyDecimal"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyHtml"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyString"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyUri"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyXml"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyBoolean"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyId"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyInteger"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyDateTime"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyDecimal"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyHtml"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyString"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyUri"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyXml"/>
* &lt;/choice>
* &lt;any/>
* &lt;/sequence>
* &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
* &lt;attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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 }
*
*
*/

View File

@@ -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;
* &lt;complexType name="cmisProperty">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
* &lt;attribute ref="{http://www.cmis.org/2008/05}name use="required""/>
* &lt;attribute ref="{http://www.cmis.org/2008/05}index"/>
* &lt;attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
* &lt;attribute ref="{http://docs.oasis-open.org/ns/cmis/core/200901}name use="required""/>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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.
*

View File

@@ -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>
* &lt;complexType name="cmisPropertyBoolean">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisProperty">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}boolean" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute ref="{http://www.cmis.org/2008/05}propertyType default="boolean""/>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/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;
}
}

View File

@@ -16,9 +16,9 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;complexType name="cmisPropertyBooleanDefinitionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
* &lt;sequence>
* &lt;element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceBooleanType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceBooleanType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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

View File

@@ -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>
* &lt;complexType name="cmisPropertyDateTime">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisProperty">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}dateTime" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute ref="{http://www.cmis.org/2008/05}propertyType default="datetime""/>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/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;
}
}

View File

@@ -16,9 +16,9 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;complexType name="cmisPropertyDateTimeDefinitionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
* &lt;sequence>
* &lt;element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceDateTimeType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceDateTimeType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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

View File

@@ -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>
* &lt;complexType name="cmisPropertyDecimal">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisProperty">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}decimal" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute ref="{http://www.cmis.org/2008/05}propertyType default="decimal""/>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/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;
}
}

View File

@@ -17,10 +17,10 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;complexType name="cmisPropertyDecimalDefinitionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
* &lt;sequence>
* &lt;element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceDecimalType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="precision" type="{http://www.cmis.org/2008/05}enumDecimalPrecision" minOccurs="0"/>
* &lt;element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceDecimalType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="precision" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumDecimalPrecision" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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"
})

View File

@@ -29,30 +29,31 @@ import org.w3c.dom.Element;
* &lt;sequence>
* &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="package" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="propertyType" type="{http://www.cmis.org/2008/05}enumPropertyType"/>
* &lt;element name="cardinality" type="{http://www.cmis.org/2008/05}enumCardinality"/>
* &lt;element name="updateability" type="{http://www.cmis.org/2008/05}enumUpdateability"/>
* &lt;element name="propertyType" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumPropertyType"/>
* &lt;element name="cardinality" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCardinality"/>
* &lt;element name="updatability" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumUpdatability"/>
* &lt;element name="inherited" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="required" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;element name="queryable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;element name="orderable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;choice maxOccurs="unbounded" minOccurs="0">
* &lt;element ref="{http://www.cmis.org/2008/05}choiceBoolean"/>
* &lt;element ref="{http://www.cmis.org/2008/05}choiceDateTime"/>
* &lt;element ref="{http://www.cmis.org/2008/05}choiceDecimal"/>
* &lt;element ref="{http://www.cmis.org/2008/05}choiceHtml"/>
* &lt;element ref="{http://www.cmis.org/2008/05}choiceId"/>
* &lt;element ref="{http://www.cmis.org/2008/05}choiceInteger"/>
* &lt;element ref="{http://www.cmis.org/2008/05}choiceString"/>
* &lt;element ref="{http://www.cmis.org/2008/05}choiceUri"/>
* &lt;element ref="{http://www.cmis.org/2008/05}choiceXml"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceBoolean"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceDateTime"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceDecimal"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceHtml"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceId"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceInteger"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceString"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceUri"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}choiceXml"/>
* &lt;/choice>
* &lt;element name="openChoice" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;any/>
* &lt;/sequence>
* &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
* &lt;attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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 }
*
*
*/

View File

@@ -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>
* &lt;complexType name="cmisPropertyHtml">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisProperty">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
* &lt;sequence>
* &lt;any/>
* &lt;element name="value" maxOccurs="unbounded" minOccurs="0">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;any/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;attribute ref="{http://www.cmis.org/2008/05}propertyType default="html""/>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/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>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;any/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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;
}
}
}

View File

@@ -16,9 +16,9 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;complexType name="cmisPropertyHtmlDefinitionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
* &lt;sequence>
* &lt;element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceHtmlType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceHtmlType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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

View File

@@ -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>
* &lt;complexType name="cmisPropertyId">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisProperty">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute ref="{http://www.cmis.org/2008/05}propertyType default="id""/>
* &lt;attribute ref="{http://www.cmis.org/2008/05}href"/>
* &lt;attribute ref="{http://docs.oasis-open.org/ns/cmis/core/200901}href"/>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/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;
}
/**

View File

@@ -16,9 +16,9 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;complexType name="cmisPropertyIdDefinitionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
* &lt;sequence>
* &lt;element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceIdType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceIdType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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

View File

@@ -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>
* &lt;complexType name="cmisPropertyInteger">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisProperty">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute ref="{http://www.cmis.org/2008/05}propertyType default="integer""/>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/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;
}
}

View File

@@ -17,9 +17,9 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;complexType name="cmisPropertyIntegerDefinitionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
* &lt;sequence>
* &lt;element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceIntegerType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceIntegerType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="maxValue" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* &lt;element name="minValue" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* &lt;/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"

View File

@@ -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>
* &lt;complexType name="cmisPropertyString">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisProperty">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute ref="{http://www.cmis.org/2008/05}propertyType default="string""/>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/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;
}
}

View File

@@ -17,9 +17,9 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;complexType name="cmisPropertyStringDefinitionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
* &lt;sequence>
* &lt;element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceStringType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceStringType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="maxLength" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* &lt;/sequence>
* &lt;/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"
})

View File

@@ -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>
* &lt;complexType name="cmisPropertyUri">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisProperty">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute ref="{http://www.cmis.org/2008/05}propertyType default="uri""/>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/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;
}
}

View File

@@ -16,9 +16,9 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;complexType name="cmisPropertyUriDefinitionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
* &lt;sequence>
* &lt;element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceUriType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceUriType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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

View File

@@ -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>
* &lt;complexType name="cmisPropertyXml">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisProperty">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
* &lt;sequence>
* &lt;any/>
* &lt;element name="value" maxOccurs="unbounded" minOccurs="0">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;any/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;attribute ref="{http://www.cmis.org/2008/05}propertyType default="xml""/>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/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>
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;any/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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;
}
}
}

View File

@@ -17,11 +17,10 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;complexType name="cmisPropertyXmlDefinitionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertyDefinitionType">
* &lt;sequence>
* &lt;element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceXmlType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisChoiceXmlType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element name="schemaURI" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
* &lt;element name="encoding" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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;
}
}

View File

@@ -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;
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="statement" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="searchAllVersions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="pageSize" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* &lt;element name="skipCount" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* &lt;element name="returnAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;any/>
* &lt;element name="extension" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAnyXml" minOccurs="0"/>
* &lt;/sequence>
* &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
* &lt;attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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;
}
/**

View File

@@ -31,12 +31,15 @@ import org.w3c.dom.Element;
* &lt;element name="capabilityPWCUpdateable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;element name="capabilityPWCSearchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;element name="capabilityAllVersionsSearchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;element name="capabilityQuery" type="{http://www.cmis.org/2008/05}enumCapabilityQuery"/>
* &lt;element name="capabilityJoin" type="{http://www.cmis.org/2008/05}enumCapabilityJoin"/>
* &lt;element name="capabilityFullText" type="{http://www.cmis.org/2008/05}enumCapabilityFullText"/>
* &lt;element name="capabilityQuery" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCapabilityQuery"/>
* &lt;element name="capabilityJoin" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCapabilityJoin"/>
* &lt;element name="capabilityChanges" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCapabilityChanges" maxOccurs="unbounded"/>
* &lt;element name="changesIncomplete" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="capabilityACL" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumCapabilityACL"/>
* &lt;element name="permissionsSupported" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPermissionSetType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;any/>
* &lt;/sequence>
* &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
* &lt;attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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;
}
/**

View File

@@ -26,12 +26,12 @@ import org.w3c.dom.Element;
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="repositoryID" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="repositoryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="repositoryURI" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
* &lt;any/>
* &lt;/sequence>
* &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
* &lt;attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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 }
*
*
*/

View File

@@ -33,12 +33,12 @@ import org.w3c.dom.Element;
* &lt;element name="productName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="productVersion" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="rootFolderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="capabilities" type="{http://www.cmis.org/2008/05}cmisRepositoryCapabilitiesType"/>
* &lt;element name="cmisVersionsSupported" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="repositorySpecificInformation" type="{http://www.cmis.org/2008/05}cmisAnyXml" minOccurs="0"/>
* &lt;element name="capabilities" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisRepositoryCapabilitiesType"/>
* &lt;element name="cmisVersionSupported" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="repositorySpecificInformation" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAnyXml" minOccurs="0"/>
* &lt;any/>
* &lt;/sequence>
* &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
* &lt;attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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 }
*
*
*/

View File

@@ -30,9 +30,9 @@ import org.w3c.dom.Element;
* &lt;element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="queryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="baseType" type="{http://www.cmis.org/2008/05}enumObjectType"/>
* &lt;element name="baseType" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumBaseObjectType"/>
* &lt;element name="baseTypeQueryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="parentId" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
* &lt;element name="parentId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="creatable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;element name="fileable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
@@ -40,19 +40,19 @@ import org.w3c.dom.Element;
* &lt;element name="controllable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;element name="includedInSupertypeQuery" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;choice maxOccurs="unbounded" minOccurs="0">
* &lt;element ref="{http://www.cmis.org/2008/05}propertyBooleanDefinition"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyDateTimeDefinition"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyDecimalDefinition"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyHtmlDefinition"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyIdDefinition"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyIntegerDefinition"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyStringDefinition"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyUriDefinition"/>
* &lt;element ref="{http://www.cmis.org/2008/05}propertyXmlDefinition"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyBooleanDefinition"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyDateTimeDefinition"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyDecimalDefinition"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyHtmlDefinition"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyIdDefinition"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyIntegerDefinition"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyStringDefinition"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyUriDefinition"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}propertyXmlDefinition"/>
* &lt;/choice>
* &lt;any/>
* &lt;/sequence>
* &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
* &lt;attGroup ref="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisUndefinedAttribute"/>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/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 }
*
*
*/

View File

@@ -15,10 +15,10 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;complexType name="cmisTypeDocumentDefinitionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisTypeDefinitionType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisTypeDefinitionType">
* &lt;sequence>
* &lt;element name="versionable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;element name="contentStreamAllowed" type="{http://www.cmis.org/2008/05}enumContentStreamAllowed"/>
* &lt;element name="contentStreamAllowed" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumContentStreamAllowed"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/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"
})

View File

@@ -14,7 +14,7 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;complexType name="cmisTypeFolderDefinitionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisTypeDefinitionType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisTypeDefinitionType">
* &lt;sequence>
* &lt;/sequence>
* &lt;/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
{

View File

@@ -14,7 +14,7 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;complexType name="cmisTypePolicyDefinitionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisTypeDefinitionType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisTypeDefinitionType">
* &lt;sequence>
* &lt;/sequence>
* &lt;/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
{

View File

@@ -16,7 +16,7 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;complexType name="cmisTypeRelationshipDefinitionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisTypeDefinitionType">
* &lt;extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisTypeDefinitionType">
* &lt;sequence>
* &lt;element name="allowedSourceTypes" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* &lt;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"
})

View File

@@ -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;
}
}

View File

@@ -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>
* &lt;complexType name="constraintViolationExceptionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisFaultType">
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "constraintViolationExceptionType")
public class ConstraintViolationExceptionType
extends CmisFaultType
{
}

View File

@@ -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;
}
}

View File

@@ -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>
* &lt;complexType name="contentAlreadyExistsExceptionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisFaultType">
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "contentAlreadyExistsExceptionType")
public class ContentAlreadyExistsExceptionType
extends CmisFaultType
{
}

View File

@@ -22,10 +22,10 @@ import javax.xml.bind.annotation.XmlType;
* &lt;sequence>
* &lt;element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="properties" type="{http://www.cmis.org/2008/05}cmisPropertiesType"/>
* &lt;element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType"/>
* &lt;element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="contentStream" type="{http://www.cmis.org/2008/05}cmisContentStreamType" minOccurs="0"/>
* &lt;element name="versioningState" type="{http://www.cmis.org/2008/05}enumVersioningState" minOccurs="0"/>
* &lt;element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisContentStreamType" minOccurs="0"/>
* &lt;element name="versioningState" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumVersioningState" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/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;
/**

View File

@@ -20,7 +20,7 @@ import javax.xml.bind.annotation.XmlType;
* &lt;sequence>
* &lt;element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="properties" type="{http://www.cmis.org/2008/05}cmisPropertiesType"/>
* &lt;element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType"/>
* &lt;element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;/sequence>
* &lt;/restriction>

View File

@@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlType;
* &lt;sequence>
* &lt;element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="properties" type="{http://www.cmis.org/2008/05}cmisPropertiesType"/>
* &lt;element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType"/>
* &lt;element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/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;
/**

View File

@@ -20,7 +20,7 @@ import javax.xml.bind.annotation.XmlType;
* &lt;sequence>
* &lt;element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="properties" type="{http://www.cmis.org/2008/05}cmisPropertiesType"/>
* &lt;element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType"/>
* &lt;element name="sourceObjectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="targetObjectId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;/sequence>

View File

@@ -22,7 +22,7 @@ import javax.xml.bind.annotation.XmlType;
* &lt;sequence>
* &lt;element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="folderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="unfileNonfolderObjects" type="{http://www.cmis.org/2008/05}enumUnfileNonfolderObjects"/>
* &lt;element name="unfileNonfolderObjects" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumUnfileNonfolderObjects"/>
* &lt;element name="continueOnFailure" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;/sequence>
* &lt;/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;
/**

View File

@@ -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;

View File

@@ -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;
}

View 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>
* &lt;simpleType name="enumBaseObjectType">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="document"/>
* &lt;enumeration value="folder"/>
* &lt;enumeration value="relationship"/>
* &lt;enumeration value="policy"/>
* &lt;/restriction>
* &lt;/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);
}
}

View 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>
* &lt;simpleType name="enumBasicPrivileges">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="CMIS.BasicPermission.Read"/>
* &lt;enumeration value="CMIS.BasicPermission.Write"/>
* &lt;enumeration value="CMIS.BasicPermission.All"/>
* &lt;/restriction>
* &lt;/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);
}
}

View File

@@ -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>
* &lt;simpleType name="enumCapabilityFullText">
* &lt;simpleType name="enumCapabilityACL">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="none"/>
* &lt;enumeration value="fulltextonly"/>
* &lt;enumeration value="fulltextandstructured"/>
* &lt;enumeration value="read"/>
* &lt;enumeration value="set"/>
* &lt;/restriction>
* &lt;/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;
}

View 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>
* &lt;simpleType name="enumCapabilityChanges">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="none"/>
* &lt;enumeration value="includeACL"/>
* &lt;enumeration value="includeProperties"/>
* &lt;enumeration value="includeFolders"/>
* &lt;enumeration value="includeDocuments"/>
* &lt;enumeration value="includeRelationships"/>
* &lt;enumeration value="includePolicies"/>
* &lt;enumeration value="all"/>
* &lt;/restriction>
* &lt;/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);
}
}

View File

@@ -14,7 +14,7 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;simpleType name="enumCapabilityJoin">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="nojoin"/>
* &lt;enumeration value="none"/>
* &lt;enumeration value="inneronly"/>
* &lt;enumeration value="innerandouter"/>
* &lt;/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")

View File

@@ -17,13 +17,14 @@ import javax.xml.bind.annotation.XmlType;
* &lt;enumeration value="none"/>
* &lt;enumeration value="metadataonly"/>
* &lt;enumeration value="fulltextonly"/>
* &lt;enumeration value="both"/>
* &lt;enumeration value="bothseparate"/>
* &lt;enumeration value="bothcombined"/>
* &lt;/restriction>
* &lt;/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) {

View File

@@ -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 {

View File

@@ -14,36 +14,39 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;simpleType name="enumCollectionType">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="root-children"/>
* &lt;enumeration value="root-descendants"/>
* &lt;enumeration value="rootchildren"/>
* &lt;enumeration value="rootdescendants"/>
* &lt;enumeration value="unfiled"/>
* &lt;enumeration value="checkedout"/>
* &lt;enumeration value="types-children"/>
* &lt;enumeration value="types-descendants"/>
* &lt;enumeration value="typeschildren"/>
* &lt;enumeration value="typesdescendants"/>
* &lt;enumeration value="query"/>
* &lt;enumeration value="changes"/>
* &lt;/restriction>
* &lt;/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) {

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -17,17 +17,19 @@ import javax.xml.bind.annotation.XmlType;
* &lt;enumeration value="ObjectId"/>
* &lt;enumeration value="Uri"/>
* &lt;enumeration value="ObjectTypeId"/>
* &lt;enumeration value="BaseTypeId"/>
* &lt;enumeration value="CreatedBy"/>
* &lt;enumeration value="CreationDate"/>
* &lt;enumeration value="LastModifiedBy"/>
* &lt;enumeration value="LastModificationDate"/>
* &lt;enumeration value="ChangeToken"/>
* &lt;enumeration value="Name"/>
* &lt;/restriction>
* &lt;/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) {

View 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>
* &lt;simpleType name="enumPropertiesDocument">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="Name"/>
* &lt;enumeration value="ObjectId"/>
* &lt;enumeration value="BaseTypeId"/>
* &lt;enumeration value="Uri"/>
* &lt;enumeration value="ObjectTypeId"/>
* &lt;enumeration value="CreatedBy"/>
* &lt;enumeration value="CreationDate"/>
* &lt;enumeration value="LastModifiedBy"/>
* &lt;enumeration value="LastModificationDate"/>
* &lt;enumeration value="ChangeToken"/>
* &lt;enumeration value="IsImmutable"/>
* &lt;enumeration value="IsLatestVersion"/>
* &lt;enumeration value="IsMajorVersion"/>
* &lt;enumeration value="IsLatestMajorVersion"/>
* &lt;enumeration value="VersionLabel"/>
* &lt;enumeration value="VersionSeriesId"/>
* &lt;enumeration value="IsVersionSeriesCheckedOut"/>
* &lt;enumeration value="VersionSeriesCheckedOutBy"/>
* &lt;enumeration value="VersionSeriesCheckedOutId"/>
* &lt;enumeration value="CheckinComment"/>
* &lt;enumeration value="ContentStreamAllowed"/>
* &lt;enumeration value="ContentStreamLength"/>
* &lt;enumeration value="ContentStreamMimeType"/>
* &lt;enumeration value="ContentStreamFilename"/>
* &lt;enumeration value="ContentStreamUri"/>
* &lt;/restriction>
* &lt;/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);
}
}

View File

@@ -14,7 +14,9 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;simpleType name="enumPropertiesFolder">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="Name"/>
* &lt;enumeration value="ObjectId"/>
* &lt;enumeration value="BaseTypeId"/>
* &lt;enumeration value="Uri"/>
* &lt;enumeration value="ObjectTypeId"/>
* &lt;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")

View File

@@ -14,9 +14,11 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;simpleType name="enumPropertiesPolicy">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="Name"/>
* &lt;enumeration value="ObjectId"/>
* &lt;enumeration value="Uri"/>
* &lt;enumeration value="ObjectTypeId"/>
* &lt;enumeration value="BaseTypeId"/>
* &lt;enumeration value="CreatedBy"/>
* &lt;enumeration value="CreationDate"/>
* &lt;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")

View File

@@ -14,9 +14,11 @@ import javax.xml.bind.annotation.XmlType;
* <pre>
* &lt;simpleType name="enumPropertiesRelationship">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="Name"/>
* &lt;enumeration value="ObjectId"/>
* &lt;enumeration value="Uri"/>
* &lt;enumeration value="ObjectTypeId"/>
* &lt;enumeration value="BaseTypeId"/>
* &lt;enumeration value="CreatedBy"/>
* &lt;enumeration value="CreationDate"/>
* &lt;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")

View File

@@ -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 {

View File

@@ -16,13 +16,13 @@ import javax.xml.bind.annotation.XmlType;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="source"/>
* &lt;enumeration value="target"/>
* &lt;enumeration value="both"/>
* &lt;enumeration value="either"/>
* &lt;/restriction>
* &lt;/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) {

View File

@@ -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 {

View File

@@ -16,15 +16,19 @@ import javax.xml.bind.annotation.XmlType;
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="childTypes"/>
* &lt;enumeration value="continueOnFailure"/>
* &lt;enumeration value="checkin"/>
* &lt;enumeration value="checkinComment"/>
* &lt;enumeration value="depth"/>
* &lt;enumeration value="direction"/>
* &lt;enumeration value="filter"/>
* &lt;enumeration value="folderByPath"/>
* &lt;enumeration value="folderId"/>
* &lt;enumeration value="includeAllowableActions"/>
* &lt;enumeration value="includePropertyDefinitions"/>
* &lt;enumeration value="includeRelationships"/>
* &lt;enumeration value="includeSubrelationshipTypes"/>
* &lt;enumeration value="length"/>
* &lt;enumeration value="major"/>
* &lt;enumeration value="majorVersion"/>
* &lt;enumeration value="maxItems"/>
* &lt;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")

View File

@@ -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 {

View File

@@ -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 {

View 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>
* &lt;simpleType name="enumServiceException">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="constraint"/>
* &lt;enumeration value="contentAlreadyExists"/>
* &lt;enumeration value="filterNotValid"/>
* &lt;enumeration value="folderNotValid"/>
* &lt;enumeration value="invalidArgument"/>
* &lt;enumeration value="notInFolder"/>
* &lt;enumeration value="objectNotFound"/>
* &lt;enumeration value="offset"/>
* &lt;enumeration value="notSupported"/>
* &lt;enumeration value="permissionDenied"/>
* &lt;enumeration value="runtime"/>
* &lt;enumeration value="storage"/>
* &lt;enumeration value="streamNotSupported"/>
* &lt;enumeration value="type"/>
* &lt;enumeration value="updateConflict"/>
* &lt;enumeration value="versioning"/>
* &lt;/restriction>
* &lt;/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);
}
}

View 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>
* &lt;simpleType name="enumTypeOfChanges">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="created"/>
* &lt;enumeration value="updated"/>
* &lt;enumeration value="deleted"/>
* &lt;enumeration value="security"/>
* &lt;/restriction>
* &lt;/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);
}
}

View File

@@ -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 {

View File

@@ -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 {

View 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>
* &lt;simpleType name="enumUpdatability">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="readonly"/>
* &lt;enumeration value="readwrite"/>
* &lt;enumeration value="whencheckedout"/>
* &lt;/restriction>
* &lt;/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);
}
}

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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;
}
}

View File

@@ -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>
* &lt;complexType name="filterNotValidExceptionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisFaultType">
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "filterNotValidExceptionType")
public class FilterNotValidExceptionType
extends CmisFaultType
{
}

View File

@@ -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;
}
}

View File

@@ -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>
* &lt;complexType name="folderNotValidExceptionType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisFaultType">
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "folderNotValidExceptionType")
public class FolderNotValidExceptionType
extends CmisFaultType
{
}

View File

@@ -24,7 +24,7 @@ import javax.xml.bind.annotation.XmlType;
* &lt;element name="versionSeriesId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;element name="filter" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="includeRelationships" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="includeRelationships" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumIncludeRelationships" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/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);
}
}

View File

@@ -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;
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{http://www.cmis.org/2008/05}object" maxOccurs="unbounded" minOccurs="0"/>
* &lt;element ref="{http://docs.oasis-open.org/ns/cmis/core/200901}object" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/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