Merge from SEAMIST3

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2008-09-04 10:44:42 +00:00
parent 617f8e0b2c
commit f51be032bc
170 changed files with 18520 additions and 203 deletions

View File

@@ -3,6 +3,8 @@
<classpathentry kind="src" path="source/java"/>
<classpathentry kind="src" path="source/generated"/>
<classpathentry kind="src" path="config"/>
<classpathentry kind="src" path="source/test/java"/>
<classpathentry kind="src" path="source/test-resources"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry combineaccessrules="false" kind="src" path="/Repository"/>
<classpathentry combineaccessrules="false" kind="src" path="/3rd Party"/>

View File

@@ -1,39 +1,79 @@
<#macro document node>
<#-- TODO: link elements (both APP and CMIS) -->
<entry>
<title>${node.name}</title>
<link rel="alternate" href="${absurl(url.serviceContext)}${node.url}"/>
<id>urn:uuid:${node.id}</id>
<updated>${xmldate(node.properties.modified)}</updated>
<published>${xmldate(node.properties.created)}</published>
<summary>${node.properties.description!""}</summary>
<author><name>${node.properties.creator}</name></author>
<alf:noderef>${node.nodeRef}</alf:noderef>
<alf:icon>${absurl(url.context)}${node.icon16}</alf:icon>
<#-- TODO: full cmis schema -->
<cmis:object>
<#-- ATOM props -->
<title>${node.name}</title>
<id>urn:uuid:${node.id}</id>
<updated>${xmldate(node.properties.modified)}</updated>
<published>${xmldate(node.properties.created)}</published>
<summary>${node.properties.description!""}</summary>
<author><name>${node.properties.creator}</name></author>
<#-- Alfresco props -->
<alf:noderef>${node.nodeRef}</alf:noderef>
<alf:icon>${absurl(url.context)}${node.icon16}</alf:icon>
<#-- CMIS Schema -->
<cmis:object>
<cmis:object_id>${node.id}</cmis:object_id>
<cmis:baseType>document</cmis:baseType>
</cmis:object>
</entry>
<cmis:uri>http://example.org/atom03</cmis:uri> <#-- TODO: -->
<cmis:objectType>document</cmis:objectType> <#-- TODO: -->
<cmis:createdBy>Al Brown</cmis:createdBy> <#-- TODO: -->
<cmis:creationDate>2003-12-13T18:30:02Z</cmis:creationDate> <#-- TODO: -->
<cmis:lastModifiedBy>Al Brown</cmis:lastModifiedBy> <#-- TODO: -->
<cmis:lastModificationDate>2003-12-13T18:30:02Z</cmis:lastModificationDate> <#-- TODO: -->
<cmis:isCurrentVersion>true</cmis:isCurrentVersion> <#-- TODO: -->
<cmis:isCheckedOut>false</cmis:isCheckedOut> <#-- TODO: -->
<cmis:contentStreamLength>534</cmis:contentStreamLength> <#-- TODO: -->
<cmis:contentStreamMimetype>application/msword</cmis:contentStreamMimetype> <#-- TODO: -->
<cmis:contentStreamName>myDocument.doc</cmis:contentStreamName> <#-- TODO: -->
<cmis:contentStreamUri>http://example.org/media/atom03</cmis:contentStreamUri> <#-- TODO: -->
<cmis:keyword cmis:index="0">XML</cmis:keyword> <#-- TODO: -->
<cmis:keyword cmis:index="1">standards</cmis:keyword> <#-- TODO: -->
</cmis:object>
<#-- TODO: ATOM LINKS -->
<link rel="self" href="${absurl(url.full)}"/>
<link rel="alternate" href="${absurl(url.serviceContext)}${node.url}"/> <#-- TODO: -->
<#-- CMIS LINKS -->
<link rel="cmis-parents" href="http://example.org/atom03?getdocumentparents"/> <#-- TODO: -->
<link rel="cmis-allowableactions" href="http://example.org/atom03?getactions"/> <#-- TODO: -->
<link rel="cmis-allversions" href="http://example.org/atom03?deleteallversion"/> <#-- TODO: -->
<link rel="cmis-relationships" href="http://example.org/atom03?getrelationships"/> <#-- TODO: -->
<link rel="cmis-type" href="http://example.org/type1"/> <#-- TODO: -->
<link rel="cmis-stream" href="http://example.org/media/atom03"/> <#-- TODO: -->
</#macro>
<#macro folder node>
<#-- TODO: link elements (both APP and CMIS) -->
<entry>
<title>${node.name}</title>
<link rel="alternate" href="${absurl(url.serviceContext)}${node.url}"/>
<id>urn:uuid:${node.id}</id>
<updated>${xmldate(node.properties.modified)}</updated>
<published>${xmldate(node.properties.created)}</published>
<summary>${node.properties.description!""}</summary>
<author><name>${node.properties.creator!""}</name></author>
<alf:noderef>${node.nodeRef}</alf:noderef>
<alf:icon>${absurl(url.context)}${node.icon16}</alf:icon>
<#-- TODO: full cmis schema -->
<cmis:object>
<#-- ATOM props -->
<title>${node.name}</title>
<link rel="alternate" href="${absurl(url.serviceContext)}${node.url}"/>
<id>urn:uuid:${node.id}</id>
<updated>${xmldate(node.properties.modified)}</updated>
<published>${xmldate(node.properties.created)}</published>
<summary>${node.properties.description!""}</summary>
<author><name>${node.properties.creator!""}</name></author>
<#-- Alfresco props -->
<alf:noderef>${node.nodeRef}</alf:noderef>
<alf:icon>${absurl(url.context)}${node.icon16}</alf:icon>
<#-- CMIS Schema -->
<cmis:object>
<cmis:object_id>${node.id}</cmis:object_id>
<cmis:baseType>folder</cmis:baseType>
</cmis:object>
</entry>
<cmis:uri>http://example.org/folders/myfolder</cmis:uri> <#-- TODO: -->
<cmis:objectType>folder</cmis:objectType> <#-- TODO: -->
<cmis:baseType>folder</cmis:baseType> <#-- TODO: -->
<cmis:createdBy>Al Brown</cmis:createdBy> <#-- TODO: -->
<cmis:creationDate>2003-12-13T18:30:02Z</cmis:creationDate> <#-- TODO: -->
<cmis:lastModifiedBy>Al Brown</cmis:lastModifiedBy> <#-- TODO: -->
<cmis:lastModificationDate> 2003-12-13T18:30:02Z</cmis:lastModificationDate> <#-- TODO: -->
<cmis:name>Atom-powered folders</cmis:name> <#-- TODO: -->
<cmis:parent>folderIdp1</cmis:parent> <#-- TODO: -->
<#-- In certain cases, if depth is specified children may appear Here. If there are children, the cmis:object tag will be nested For the children of this item -->
</cmis:object>
<#-- TODO: ATOM LINKS -->
<link rel="self" href="${absurl(url.full)}"/>
<#-- CMIS LINKS -->
<link rel="cmis-parent" href="http://example.org/folders/myfolder?getfolderparent"/> <#-- TODO: -->
<link rel="cmis-allowableactions" href="http://example.org/folders/myfolder?getactions"/> <#-- TODO: -->
<link rel="cmis-relationships" href="http://example.org/folders/myfolder?getrelationships"/> <#-- TODO: -->
<link rel="cmis-children" href="http://example.org/folders/myfolder?getchildren"/> <#-- TODO: -->
<link rel="cmis-descendants" href="http://example.org/folders/myfolder?getdescendants"/> <#-- TODO: -->
<link rel="cmis-type" href="http://example.org/type1"/> <#-- TODO: -->
</#macro>

View File

@@ -0,0 +1,6 @@
<webscript>
<shortname>CMIS Index</shortname>
<description>Provides an index of CMIS services</description>
<url>/cmis</url>
<url>/index/cmis</url>
</webscript>

View File

@@ -0,0 +1,42 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Index of CMIS Services</title>
<link rel="stylesheet" href="${url.context}/css/base.css" TYPE="text/css">
</head>
<body>
<table>
<tr>
<td><img src="${url.context}/images/logo/AlfrescoLogo32.png" alt="Alfresco" /></td>
<td><nobr><span class="title">Index of CMIS Services</span></nobr></td>
</tr>
<tr><td><td>${services?size} Services
</table>
<br>
<table>
<tr><td><a href="${url.serviceContext}/index">Back to Web Scripts Home</a>
</table>
<br>
<#list services as webscript>
<#assign desc = webscript.description>
<span class="mainSubTitle">${desc.shortName}</span>
<table>
<#list desc.URIs as uri>
<tr><td><a href="${url.serviceContext}${uri}">${desc.method} ${url.serviceContext}${uri}</a>
</#list>
<tr><td>
</table>
<table>
<#if desc.description??><tr><td>Description:<td>${desc.description}<#else></#if>
<tr><td>Authentication:<td>${desc.requiredAuthentication}
<tr><td>Transaction:<td>${desc.requiredTransaction}
<tr><td>Format Style:<td>${desc.formatStyle}
<tr><td>Default Format:<td>${desc.defaultFormat!"<i>Determined at run-time</i>"}
<tr><td>
<tr><td>Id:<td><a href="${url.serviceContext}/script/${desc.id}">${desc.id}</a>
<tr><td>Description:<td><a href="${url.serviceContext}/description/${desc.id}">${desc.storePath}/${desc.descPath}</a>
</table>
<br>
</#list>
</body>
</html>

View File

@@ -0,0 +1,8 @@
<#macro appNS>http://www.w3.org/2007/app</#macro>
<#macro atomNS>http://www.w3.org/2005/Atom</#macro>
<#macro cmisNS>http://www.cmis.org/CMIS/1.0</#macro>
<#macro alfNS>http://www.alfresco.org</#macro>
<#macro opensearchNS>http://a9.com/-/spec/opensearch/1.1/</#macro>
<#macro serviceNS>xmlns="<@appNS/>" xmlns:atom="<@atomNS/>" xmlns:cmis="<@cmisNS/>" xmlns:alf="<@alfNS/>"</#macro>
<#macro feedNS>xmlns="<@atomNS/>" xmlns:cmis="<@cmisNS/>" xmlns:alf="<@alfNS/>" xmlns:opensearch="<@opensearchNS/>"</#macro>
<#macro entryNS>xmlns="<@atomNS/>" xmlns:cmis="<@cmisNS/>" xmlns:alf="<@alfNS/>"</#macro>

View File

@@ -1,20 +1,29 @@
<#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/>
<?xml version="1.0" encoding='utf-8'?>
<service xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cmis="http://www.cmis.org/CMIS/1.0">
<service <@nsLib.serviceNS/>>
<workspace cmis:id="${server.id}">
<atom:title>${server.name}</atom:title>
<cmis:repository_info>
<#-- TODO: cmis version -->
<cmis:repositoryInfo>
<cmis:repositoryId>${server.id}</cmis:repositoryId>
<cmis:repositoryName>${server.name}</cmis:repositoryName>
<cmis:repositoryDescription></cmis:repositoryDescription> <#-- TODO -->
<cmis:vendorName>Alfresco</cmis:vendorName>
<cmis:productName>Alfresco Repository (${server.edition})</cmis:productName>
<cmis:productVersion>${server.version}</cmis:productVersion>
<cmis:capabilities>
<cmis:capabilityMultifiling>true</cmis:capabilityMultifiling>
<cmis:capabilityUnfiling>false</cmis:capabilityUnfiling>
<cmis:capabilityVersionSpecificFiling>false</cmis:capabilityVersionSpecificFiling>
<cmis:capabilityAllVersionsSearchable>false</cmis:capabilityAllVersionsSearchable>
<cmis:capabilityPWCUpdatable>true</cmis:capabilityPWCUpdatable>
<cmis:capabilityInnerJoin>true</cmis:capabilityInnerJoin>
<cmis:capabilityOuterJoin>true</cmis:capabilityOuterJoin>
</cmis:capabilities>
<cmis:description></cmis:description>
<cmis:repositoryInfo></cmis:repositoryInfo>
</cmis:repository_info>
<cmis:repositorySpecificInfo></cmis:repositorySpecificInfo>
</cmis:repositoryInfo>
<#-- TODO: cmis:id on collection elements - are they required by cmis? -->
<#-- TODO: collection resources -->

View File

@@ -1,22 +1,25 @@
<#import "/org/alfresco/paging.lib.atom.ftl" as pagingLib/>
<#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/>
<#import "/org/alfresco/cmis/entries.lib.atom.ftl" as entriesLib/>
<#import "/org/alfresco/paging.lib.atom.ftl" as pagingLib/>
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://www.cmis.org/CMIS/1.0" xmlns:alf="http://www.alfresco.org" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
<generator version="${server.version}">Alfresco (${server.edition})</generator>
<title>${node.name}</title>
<updated>${xmldate(node.properties.modified)}</updated>
<icon>${absurl(url.context)}/images/logo/AlfrescoLogo16.ico</icon>
<author>
<feed <@nsLib.feedNS/>>
<generator version="${server.version}">Alfresco (${server.edition})</generator>
<title>${node.name}</title>
<updated>${xmldate(node.properties.modified)}</updated>
<icon>${absurl(url.context)}/images/logo/AlfrescoLogo16.ico</icon>
<author>
<name>${node.properties.creator!""}</name>
</author>
<id>urn:uuid:${node.id}</id>
<link rel="self" href="${absurl(url.full)?xml}" type="${format.type}"/>
<@pagingLib.cursor cursor=cursor/>
</author>
<id>urn:uuid:${node.id}</id>
<link rel="self" href="${absurl(url.full)?xml}" type="${format.type}"/>
<@pagingLib.cursor cursor=cursor/>
<#list results as child>
<entry>
<#if child.isDocument>
<@entriesLib.document node=child/>
<@entriesLib.document node=child/>
<#else>
<@entriesLib.folder node=child/>
<@entriesLib.folder node=child/>
</#if>
</entry>
</#list>
</feed>

View File

@@ -4,5 +4,6 @@
<url>/api/node/{store_type}/{store_id}/{id}/children?types={types}&amp;filter={filter?}&amp;skipCount={skipCount?}&amp;maxChildren={maxChildren?}</url>
<url>/api/path/{store_type}/{store_id}/{id}/children?types={types}&amp;filter={filter?}&amp;skipCount={skipCount?}&amp;maxChildren={maxChildren?}</url>
<authentication>guest</authentication>
<format default="atomfeed" />
<format default="atomfeed">argument</format>
<cmis version="0.21"/>
</webscript>

View File

@@ -0,0 +1,56 @@
script:
{
// ensure atom entry is posted
if (entry === null)
{
status.code = 400;
status.message = "Expected atom entry";
status.redirect = true;
break script;
}
// locate node
var pathSegments = url.match.split("/");
var reference = [ url.templateArgs.store_type, url.templateArgs.store_id ].concat(url.templateArgs.id.split("/"));
model.parent = cmis.findNode(pathSegments[2], reference);
if (model.parent === null)
{
status.code = 404;
status.message = "Repository " + pathSegments[2] + " " + reference.join("/") + " not found";
status.redirect = true;
break script;
}
// pull apart atom entry
// TODO: creation of folder
// TODO: creation of file/folder sub-types
// TODO: cmis properties
var id = entry.id;
var name = (slug !== null) ? slug : entry.title;
var title = entry.title;
var description = entry.summary;
var updated = entry.updated;
var author = (entry.author !== null) ? entry.author.name : null;
var content = entry.content;
// create the item
// TODO: author/updated/id
var node = model.parent.createFile(name);
node.properties.title = title;
node.properties.description = description;
if (content !== null)
{
node.content = content;
node.properties.content.encoding = "UTF-8";
node.properties.content.mimetype = atom.toMimeType(entry);
}
node.save();
model.node = node;
// setup for 201 Created response
// TODO: set Content-Location
status.code = 201;
status.location = url.server + url.serviceContext + "/api/node/" + node.nodeRef.storeRef.protocol + "/" + node.nodeRef.storeRef.identifier + "/" + node.nodeRef.id + "/properties";
status.redirect = true;
}

View File

@@ -0,0 +1,10 @@
<#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/>
<#import "/org/alfresco/cmis/entries.lib.atom.ftl" as entriesLib/>
<?xml version="1.0" encoding="UTF-8"?>
<entry <@nsLib.entryNS/>>
<#if node.isDocument>
<@entriesLib.document node=node/>
<#else>
<@entriesLib.folder node=node/>
</#if>
</entry>

View File

@@ -0,0 +1,9 @@
<webscript>
<shortname>Create folder or document</shortname>
<description></description>
<url>/api/node/{store_type}/{store_id}/{id}/children</url>
<url>/api/path/{store_type}/{store_id}/{id}/children</url>
<authentication>user</authentication>
<format default="atomentry"/>
<cmis version="0.21"/>
</webscript>

View File

@@ -0,0 +1,9 @@
script:
{
// TODO: Handle direct posting of media
status.code = 400;
status.message = "Posting of media resource not supported";
status.redirect = true;
break script;
}

View File

@@ -4,6 +4,9 @@
<url>/api/node/content{property}/{store_type}/{store_id}/{node_id}?a={attach?}</url>
<url>/api/path/content{property}/{store_type}/{store_id}/{path}?a={attach?}</url>
<url>/api/avmpath/content{property}/{store_id}/{path}?a={attach?}</url>
<url>/api/node/{store_type}/{store_id}/{id}/content{property}?a={attach?}</url>
<url>/api/path/{store_type}/{store_id}/{id}/content{property}?a={attach?}</url>
<authentication>guest</authentication>
<format default="">argument</format>
<cmis version="0.21"/>
</webscript>

View File

@@ -1,23 +1,26 @@
<#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/>
<#import "/org/alfresco/cmis/entries.lib.atom.ftl" as entriesLib/>
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://www.cmis.org/CMIS/1.0" xmlns:alf="http://www.alfresco.org" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
<generator version="${server.version}">Alfresco (${server.edition})</generator>
<title>${node.name}</title>
<updated>${xmldate(node.properties.modified)}</updated>
<icon>${absurl(url.context)}/images/logo/AlfrescoLogo16.ico</icon>
<author>
<feed <@nsLib.feedNS/>>
<generator version="${server.version}">Alfresco (${server.edition})</generator>
<title>${node.name}</title>
<updated>${xmldate(node.properties.modified)}</updated>
<icon>${absurl(url.context)}/images/logo/AlfrescoLogo16.ico</icon>
<author>
<name>${node.properties.creator!""}</name>
</author>
<id>urn:uuid:${node.id}</id>
<link rel="self" href="${absurl(url.full)?xml}" type="${format.type}"/>
<@parent node=node.parent recurse=returnToRoot/>
</author>
<id>urn:uuid:${node.id}</id>
<link rel="self" href="${absurl(url.full)?xml}" type="${format.type}"/>
<@parent node=node.parent recurse=returnToRoot/>
</feed>
<#macro parent node recurse=false>
<#if node?exists && node.isContainer>
<@entriesLib.folder node=node/>
<#if recurse>
<#if node?exists && node.isContainer>
<entry>
<@entriesLib.folder node=node/>
</entry>
<#if recurse>
<@parent node=node.parent recurse=true/>
</#if>
</#if>
</#if>
</#if>
</#macro>

View File

@@ -5,4 +5,5 @@
<url>/api/path/{store_type}/{store_id}/{id}/parent?returnToRoot={returnToRoot}</url>
<authentication>guest</authentication>
<format default="atomfeed">argument</format>
<cmis version="0.21"/>
</webscript>

View File

@@ -1,24 +1,27 @@
<#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/>
<#import "/org/alfresco/cmis/entries.lib.atom.ftl" as entriesLib/>
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:cmis="http://www.cmis.org/CMIS/1.0" xmlns:alf="http://www.alfresco.org" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
<generator version="${server.version}">Alfresco (${server.edition})</generator>
<title>${node.name}</title>
<updated>${xmldate(node.properties.modified)}</updated>
<icon>${absurl(url.context)}/images/logo/AlfrescoLogo16.ico</icon>
<author>
<feed <@nsLib.feedNS/>>
<generator version="${server.version}">Alfresco (${server.edition})</generator>
<title>${node.name}</title>
<updated>${xmldate(node.properties.modified)}</updated>
<icon>${absurl(url.context)}/images/logo/AlfrescoLogo16.ico</icon>
<author>
<name>${node.properties.creator!""}</name>
</author>
<id>urn:uuid:${node.id}</id>
<link rel="self" href="${absurl(url.full)?xml}" type="${format.type}"/>
<@parent node=node.parent recurse=returnToRoot/>
<#-- TODO: secondary parents loop -->
</author>
<id>urn:uuid:${node.id}</id>
<link rel="self" href="${absurl(url.full)?xml}" type="${format.type}"/>
<@parent node=node.parent recurse=returnToRoot/>
<#-- TODO: secondary parents loop -->
</feed>
<#macro parent node recurse=false>
<#if node?exists && node.isContainer>
<@entriesLib.folder node=node/>
<#if recurse>
<#if node?exists && node.isContainer>
<entry>
<@entriesLib.folder node=node/>
</entry>
<#if recurse>
<@parent node=node.parent recurse=true/>
</#if>
</#if>
</#if>
</#if>
</#macro>

View File

@@ -6,4 +6,5 @@
<url>/api/path/{store_type}/{store_id}/{id}/parents</url>
<authentication>guest</authentication>
<format default="atomfeed">argument</format>
<cmis version="0.21"/>
</webscript>

View File

@@ -0,0 +1,10 @@
<#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/>
<#import "/org/alfresco/cmis/entries.lib.atom.ftl" as entriesLib/>
<?xml version="1.0" encoding="UTF-8"?>
<entry <@nsLib.entryNS/>>
<#if node.isDocument>
<@entriesLib.document node=node/>
<#else>
<@entriesLib.folder node=node/>
</#if>
</entry>

View File

@@ -0,0 +1,10 @@
<webscript>
<shortname>Retrieve properties</shortname>
<description>Retrieves the properties of the node</description>
<!-- TODO: spec issue: returnVersion or returnCurrent? -->
<url>/api/node/{store_type}/{store_id}/{id}/properties?filter={filter?}&amp;returnVersion={returnVersion?}</url>
<url>/api/path/{store_type}/{store_id}/{id}/properties?filter={filter?}&amp;returnVersion={returnVersion?}</url>
<authentication>guest</authentication>
<format default="atomentry">argument</format>
<cmis version="0.21"/>
</webscript>

View File

@@ -0,0 +1,17 @@
script:
{
// locate node
var pathSegments = url.match.split("/");
var reference = [ url.templateArgs.store_type, url.templateArgs.store_id ].concat(url.templateArgs.id.split("/"));
model.node = cmis.findNode(pathSegments[2], reference);
if (model.node === null)
{
status.code = 404;
status.message = "Repository " + pathSegments[2] + " " + reference.join("/") + " not found";
status.redirect = true;
break script;
}
// TODO: handle version??
// TODO: property filters
}

View File

@@ -4,4 +4,5 @@
<url>/api/unfiled</url>
<authentication>guest</authentication>
<format default="atomfeed"/>
<cmis version="0.21"/>
</webscript>

View File

@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans-2.0.dtd'>
<beans>
@@ -94,7 +94,7 @@
<bean id="webscripts.container" class="org.alfresco.repo.web.scripts.RepositoryContainer" parent="webscripts.abstractcontainer">
<property name="name"><value>Repository</value></property>
<property name="scriptObjects">
<map>
<map merge="true">
<entry key="paging">
<ref bean="webscripts.js.paging" />
</entry>
@@ -117,7 +117,7 @@
<property name="webScriptsRegistryCache" ref="webScriptsRegistryCache"/>
</bean>
<bean id="webscripts.registry.prototype" parent="webscripts.registry" singleton="false"/>
<bean id="webscripts.registry.prototype" parent="webscripts.registry" scope="prototype"/>
@@ -409,10 +409,15 @@
<!-- CMIS API -->
<!-- -->
<!-- CMIS Index -->
<bean id="webscript.org.alfresco.cmis.index.get" class="org.alfresco.repo.cmis.Index" parent="webscript"/>
<alias alias="webscriptdesc.org.alfresco.repository.repository.get" name="webscripts.cmis.description"/>
<alias alias="webscriptdesc.org.alfresco.repository.store.children.get" name="webscripts.cmis.description"/>
<alias alias="webscriptdesc.org.alfresco.repository.store.parent.get" name="webscripts.cmis.description"/>
<alias alias="webscriptdesc.org.alfresco.repository.store.parents.get" name="webscripts.cmis.description"/>
<alias alias="webscriptdesc.org.alfresco.repository.store.properties.get" name="webscripts.cmis.description"/>
<alias alias="webscriptdesc.org.alfresco.repository.store.unfiled.get" name="webscripts.cmis.description"/>
<alias alias="webscriptdesc.org.alfresco.repository.store.content.get" name="webscripts.cmis.description"/>
</beans>

View File

@@ -0,0 +1,94 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for addDocumentToFolder element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="addDocumentToFolder">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentId",
"folderId"
})
@XmlRootElement(name = "addDocumentToFolder")
public class AddDocumentToFolder {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String documentId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String folderId;
/**
* Gets the value of the documentId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentId() {
return documentId;
}
/**
* Sets the value of the documentId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentId(String value) {
this.documentId = value;
}
/**
* Gets the value of the folderId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFolderId() {
return folderId;
}
/**
* Sets the value of the folderId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFolderId(String value) {
this.folderId = value;
}
}

View File

@@ -0,0 +1,36 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for addDocumentToFolderResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="addDocumentToFolderResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "addDocumentToFolderResponse")
public class AddDocumentToFolderResponse {
}

View File

@@ -0,0 +1,94 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
/**
* <p>Java class for allowableActionsEnum.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* &lt;simpleType name="allowableActionsEnum">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="delete"/>
* &lt;enumeration value="updateProperties"/>
* &lt;enumeration value="checkOut"/>
* &lt;enumeration value="cancelCheckOut"/>
* &lt;enumeration value="checkIn"/>
* &lt;enumeration value="deleteVersion"/>
* &lt;enumeration value="addToFolder"/>
* &lt;enumeration value="removeFromFolder"/>
* &lt;enumeration value="setContent"/>
* &lt;enumeration value="deleteContent"/>
* &lt;enumeration value="getAllVersions"/>
* &lt;enumeration value="getChilderen"/>
* &lt;enumeration value="getParents"/>
* &lt;enumeration value="getRelationships"/>
* &lt;enumeration value="getProperties"/>
* &lt;enumeration value="viewContent"/>
* &lt;enumeration value="move"/>
* &lt;/restriction>
* &lt;/simpleType>
* </pre>
*
*/
@XmlEnum
public enum AllowableActionsEnum {
@XmlEnumValue("addToFolder")
ADD_TO_FOLDER("addToFolder"),
@XmlEnumValue("cancelCheckOut")
CANCEL_CHECK_OUT("cancelCheckOut"),
@XmlEnumValue("checkIn")
CHECK_IN("checkIn"),
@XmlEnumValue("checkOut")
CHECK_OUT("checkOut"),
@XmlEnumValue("delete")
DELETE("delete"),
@XmlEnumValue("deleteContent")
DELETE_CONTENT("deleteContent"),
@XmlEnumValue("deleteVersion")
DELETE_VERSION("deleteVersion"),
@XmlEnumValue("getAllVersions")
GET_ALL_VERSIONS("getAllVersions"),
@XmlEnumValue("getChilderen")
GET_CHILDEREN("getChilderen"),
@XmlEnumValue("getParents")
GET_PARENTS("getParents"),
@XmlEnumValue("getProperties")
GET_PROPERTIES("getProperties"),
@XmlEnumValue("getRelationships")
GET_RELATIONSHIPS("getRelationships"),
@XmlEnumValue("move")
MOVE("move"),
@XmlEnumValue("removeFromFolder")
REMOVE_FROM_FOLDER("removeFromFolder"),
@XmlEnumValue("setContent")
SET_CONTENT("setContent"),
@XmlEnumValue("updateProperties")
UPDATE_PROPERTIES("updateProperties"),
@XmlEnumValue("viewContent")
VIEW_CONTENT("viewContent");
private final String value;
AllowableActionsEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static AllowableActionsEnum fromValue(String v) {
for (AllowableActionsEnum c: AllowableActionsEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v.toString());
}
}

View File

@@ -0,0 +1,46 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 2.0.6
* Tue May 27 14:11:13 EEST 2008
* Generated source version: 2.0.6
*
*/
@WebFault(name = "AlreadyExistsFault", targetNamespace = "http://www.cmis.org/ns/1.0")
public class AlreadyExistsException extends Exception {
public static final long serialVersionUID = 20080527141113L;
private org.alfresco.repo.cmis.ws.BasicFault alreadyExistsFault;
public AlreadyExistsException() {
super();
}
public AlreadyExistsException(String message) {
super(message);
}
public AlreadyExistsException(String message, Throwable cause) {
super(message, cause);
}
public AlreadyExistsException(String message, org.alfresco.repo.cmis.ws.BasicFault alreadyExistsFault) {
super(message);
this.alreadyExistsFault = alreadyExistsFault;
}
public AlreadyExistsException(String message, org.alfresco.repo.cmis.ws.BasicFault alreadyExistsFault, Throwable cause) {
super(message, cause);
this.alreadyExistsFault = alreadyExistsFault;
}
public org.alfresco.repo.cmis.ws.BasicFault getFaultInfo() {
return this.alreadyExistsFault;
}
}

View File

@@ -0,0 +1,91 @@
package org.alfresco.repo.cmis.ws;
import java.math.BigInteger;
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 basicFault complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="basicFault">
* &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" minOccurs="0"/>
* &lt;element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "basicFault", propOrder = {
"errorCode",
"errorMessage"
})
public class BasicFault {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected BigInteger errorCode;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String errorMessage;
/**
* Gets the value of the errorCode property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getErrorCode() {
return errorCode;
}
/**
* Sets the value of the errorCode property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setErrorCode(BigInteger value) {
this.errorCode = value;
}
/**
* Gets the value of the errorMessage property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getErrorMessage() {
return errorMessage;
}
/**
* Sets the value of the errorMessage property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setErrorMessage(String value) {
this.errorMessage = value;
}
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for cancelCheckOut element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="cancelCheckOut">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentId"
})
@XmlRootElement(name = "cancelCheckOut")
public class CancelCheckOut {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String documentId;
/**
* Gets the value of the documentId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentId() {
return documentId;
}
/**
* Sets the value of the documentId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentId(String value) {
this.documentId = value;
}
}

View File

@@ -0,0 +1,36 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for cancelCheckOutResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="cancelCheckOutResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "cancelCheckOutResponse")
public class CancelCheckOutResponse {
}

View File

@@ -0,0 +1,94 @@
package org.alfresco.repo.cmis.ws;
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 capabilitiesType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="capabilitiesType">
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="capabilityMultifiling" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;element name="capabilityUpdatePWC" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;element name="capabilityAllVersionsSearchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "capabilitiesType", propOrder = {
"capabilityMultifiling",
"capabilityUpdatePWC",
"capabilityAllVersionsSearchable"
})
public class CapabilitiesType {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected boolean capabilityMultifiling;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected boolean capabilityUpdatePWC;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected boolean capabilityAllVersionsSearchable;
/**
* Gets the value of the capabilityMultifiling property.
*
*/
public boolean isCapabilityMultifiling() {
return capabilityMultifiling;
}
/**
* Sets the value of the capabilityMultifiling property.
*
*/
public void setCapabilityMultifiling(boolean value) {
this.capabilityMultifiling = value;
}
/**
* Gets the value of the capabilityUpdatePWC property.
*
*/
public boolean isCapabilityUpdatePWC() {
return capabilityUpdatePWC;
}
/**
* Sets the value of the capabilityUpdatePWC property.
*
*/
public void setCapabilityUpdatePWC(boolean value) {
this.capabilityUpdatePWC = value;
}
/**
* Gets the value of the capabilityAllVersionsSearchable property.
*
*/
public boolean isCapabilityAllVersionsSearchable() {
return capabilityAllVersionsSearchable;
}
/**
* Sets the value of the capabilityAllVersionsSearchable property.
*
*/
public void setCapabilityAllVersionsSearchable(boolean value) {
this.capabilityAllVersionsSearchable = value;
}
}

View File

@@ -0,0 +1,49 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
/**
* <p>Java class for cardinalityEnum.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* &lt;simpleType name="cardinalityEnum">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="singleValued"/>
* &lt;enumeration value="multiValued"/>
* &lt;/restriction>
* &lt;/simpleType>
* </pre>
*
*/
@XmlEnum
public enum CardinalityEnum {
@XmlEnumValue("multiValued")
MULTI_VALUED("multiValued"),
@XmlEnumValue("singleValued")
SINGLE_VALUED("singleValued");
private final String value;
CardinalityEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static CardinalityEnum fromValue(String v) {
for (CardinalityEnum c: CardinalityEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v.toString());
}
}

View File

@@ -0,0 +1,178 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for checkIn element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="checkIn">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element name="major" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="properties" type="{http://www.cmis.org/ns/1.0}documentObjectType" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}contentStream" minOccurs="0"/>
* &lt;element name="checkinComment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentId",
"major",
"properties",
"contentStream",
"checkinComment"
})
@XmlRootElement(name = "checkIn")
public class CheckIn {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String documentId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected Boolean major;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected DocumentObjectType properties;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected ContentStream contentStream;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String checkinComment;
/**
* Gets the value of the documentId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentId() {
return documentId;
}
/**
* Sets the value of the documentId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentId(String value) {
this.documentId = value;
}
/**
* Gets the value of the major property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMajor() {
return major;
}
/**
* Sets the value of the major property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMajor(Boolean value) {
this.major = value;
}
/**
* Gets the value of the properties property.
*
* @return
* possible object is
* {@link DocumentObjectType }
*
*/
public DocumentObjectType getProperties() {
return properties;
}
/**
* Sets the value of the properties property.
*
* @param value
* allowed object is
* {@link DocumentObjectType }
*
*/
public void setProperties(DocumentObjectType value) {
this.properties = value;
}
/**
* Gets the value of the contentStream property.
*
* @return
* possible object is
* {@link ContentStream }
*
*/
public ContentStream getContentStream() {
return contentStream;
}
/**
* Sets the value of the contentStream property.
*
* @param value
* allowed object is
* {@link ContentStream }
*
*/
public void setContentStream(ContentStream value) {
this.contentStream = value;
}
/**
* Gets the value of the checkinComment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCheckinComment() {
return checkinComment;
}
/**
* Sets the value of the checkinComment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCheckinComment(String value) {
this.checkinComment = value;
}
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for checkInResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="checkInResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentId"
})
@XmlRootElement(name = "checkInResponse")
public class CheckInResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String documentId;
/**
* Gets the value of the documentId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentId() {
return documentId;
}
/**
* Sets the value of the documentId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentId(String value) {
this.documentId = value;
}
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for checkOut element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="checkOut">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentId"
})
@XmlRootElement(name = "checkOut")
public class CheckOut {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String documentId;
/**
* Gets the value of the documentId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentId() {
return documentId;
}
/**
* Sets the value of the documentId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentId(String value) {
this.documentId = value;
}
}

View File

@@ -0,0 +1,86 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for checkOutResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="checkOutResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element name="contentCopied" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentId",
"contentCopied"
})
@XmlRootElement(name = "checkOutResponse")
public class CheckOutResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String documentId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected boolean contentCopied;
/**
* Gets the value of the documentId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentId() {
return documentId;
}
/**
* Sets the value of the documentId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentId(String value) {
this.documentId = value;
}
/**
* Gets the value of the contentCopied property.
*
*/
public boolean isContentCopied() {
return contentCopied;
}
/**
* Sets the value of the contentCopied property.
*
*/
public void setContentCopied(boolean value) {
this.contentCopied = value;
}
}

View File

@@ -0,0 +1,73 @@
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for children element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="children">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="object" type="{http://www.cmis.org/ns/1.0}documentOrFolderObjectType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"object"
})
@XmlRootElement(name = "children")
public class Children {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected List<DocumentOrFolderObjectType> object;
/**
* Gets the value of the object 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 object property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getObject().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link DocumentOrFolderObjectType }
*
*
*/
public List<DocumentOrFolderObjectType> getObject() {
if (object == null) {
object = new ArrayList<DocumentOrFolderObjectType>();
}
return this.object;
}
}

View File

@@ -0,0 +1,115 @@
package org.alfresco.repo.cmis.ws;
import java.math.BigInteger;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.XmlValue;
/**
* <p>Java class for choiceType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="choiceType">
* &lt;simpleContent>
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
* &lt;attribute name="index" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
* &lt;attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* &lt;/extension>
* &lt;/simpleContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "choiceType", propOrder = {
"value"
})
public class ChoiceType {
@XmlValue
protected String value;
@XmlAttribute(required = true)
protected BigInteger index;
@XmlAttribute(required = true)
protected String key;
/**
* 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.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = 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 the value of the key property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKey(String value) {
this.key = value;
}
}

View File

@@ -0,0 +1,46 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 2.0.6
* Tue May 27 14:11:27 EEST 2008
* Generated source version: 2.0.6
*
*/
@WebFault(name = "ConcurrencyFault", targetNamespace = "http://www.cmis.org/ns/1.0")
public class ConcurrencyException extends Exception {
public static final long serialVersionUID = 20080527141127L;
private org.alfresco.repo.cmis.ws.BasicFault concurrencyFault;
public ConcurrencyException() {
super();
}
public ConcurrencyException(String message) {
super(message);
}
public ConcurrencyException(String message, Throwable cause) {
super(message, cause);
}
public ConcurrencyException(String message, org.alfresco.repo.cmis.ws.BasicFault concurrencyFault) {
super(message);
this.concurrencyFault = concurrencyFault;
}
public ConcurrencyException(String message, org.alfresco.repo.cmis.ws.BasicFault concurrencyFault, Throwable cause) {
super(message, cause);
this.concurrencyFault = concurrencyFault;
}
public org.alfresco.repo.cmis.ws.BasicFault getFaultInfo() {
return this.concurrencyFault;
}
}

View File

@@ -0,0 +1,46 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 2.0.6
* Tue May 27 14:11:13 EEST 2008
* Generated source version: 2.0.6
*
*/
@WebFault(name = "ConstraintViolationFault", targetNamespace = "http://www.cmis.org/ns/1.0")
public class ConstraintViolationException extends Exception {
public static final long serialVersionUID = 20080527141113L;
private org.alfresco.repo.cmis.ws.BasicFault constraintViolationFault;
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.BasicFault constraintViolationFault) {
super(message);
this.constraintViolationFault = constraintViolationFault;
}
public ConstraintViolationException(String message, org.alfresco.repo.cmis.ws.BasicFault constraintViolationFault, Throwable cause) {
super(message, cause);
this.constraintViolationFault = constraintViolationFault;
}
public org.alfresco.repo.cmis.ws.BasicFault getFaultInfo() {
return this.constraintViolationFault;
}
}

View File

@@ -0,0 +1,148 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for contentStream element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="contentStream">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}name" minOccurs="0"/>
* &lt;element name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
* &lt;element name="stream" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"mimeType",
"name",
"uri",
"stream"
})
@XmlRootElement(name = "contentStream")
public class ContentStream {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String mimeType;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String name;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String uri;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected byte[] stream;
/**
* Gets the value of the mimeType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMimeType() {
return mimeType;
}
/**
* Sets the value of the mimeType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMimeType(String value) {
this.mimeType = value;
}
/**
* 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 uri property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUri() {
return uri;
}
/**
* Sets the value of the uri property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUri(String value) {
this.uri = value;
}
/**
* Gets the value of the stream property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getStream() {
return stream;
}
/**
* Sets the value of the stream property.
*
* @param value
* allowed object is
* byte[]
*/
public void setStream(byte[] value) {
this.stream = ((byte[]) value);
}
}

View File

@@ -0,0 +1,178 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for createDocument element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="createDocument">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="typeId" type="{http://www.cmis.org/ns/1.0}ID"/>
* &lt;element name="propertyCollection" type="{http://www.cmis.org/ns/1.0}documentObjectType"/>
* &lt;element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}contentStream" minOccurs="0"/>
* &lt;element name="versioningState" type="{http://www.cmis.org/ns/1.0}versioningStateEnum" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"typeId",
"propertyCollection",
"folderId",
"contentStream",
"versioningState"
})
@XmlRootElement(name = "createDocument")
public class CreateDocument {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String typeId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected DocumentObjectType propertyCollection;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String folderId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected ContentStream contentStream;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected VersioningStateEnum versioningState;
/**
* Gets the value of the typeId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTypeId() {
return typeId;
}
/**
* Sets the value of the typeId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTypeId(String value) {
this.typeId = value;
}
/**
* Gets the value of the propertyCollection property.
*
* @return
* possible object is
* {@link DocumentObjectType }
*
*/
public DocumentObjectType getPropertyCollection() {
return propertyCollection;
}
/**
* Sets the value of the propertyCollection property.
*
* @param value
* allowed object is
* {@link DocumentObjectType }
*
*/
public void setPropertyCollection(DocumentObjectType value) {
this.propertyCollection = value;
}
/**
* Gets the value of the folderId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFolderId() {
return folderId;
}
/**
* Sets the value of the folderId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFolderId(String value) {
this.folderId = value;
}
/**
* Gets the value of the contentStream property.
*
* @return
* possible object is
* {@link ContentStream }
*
*/
public ContentStream getContentStream() {
return contentStream;
}
/**
* Sets the value of the contentStream property.
*
* @param value
* allowed object is
* {@link ContentStream }
*
*/
public void setContentStream(ContentStream value) {
this.contentStream = value;
}
/**
* Gets the value of the versioningState property.
*
* @return
* possible object is
* {@link VersioningStateEnum }
*
*/
public VersioningStateEnum getVersioningState() {
return versioningState;
}
/**
* Sets the value of the versioningState property.
*
* @param value
* allowed object is
* {@link VersioningStateEnum }
*
*/
public void setVersioningState(VersioningStateEnum value) {
this.versioningState = value;
}
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for createDocumentResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="createDocumentResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"objectId"
})
@XmlRootElement(name = "createDocumentResponse")
public class CreateDocumentResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String objectId;
/**
* Gets the value of the objectId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getObjectId() {
return objectId;
}
/**
* Sets the value of the objectId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setObjectId(String value) {
this.objectId = value;
}
}

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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for createFolder element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="createFolder">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="typeId" type="{http://www.cmis.org/ns/1.0}ID"/>
* &lt;element name="propertyCollection" type="{http://www.cmis.org/ns/1.0}folderObjectType"/>
* &lt;element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"typeId",
"propertyCollection",
"folderId"
})
@XmlRootElement(name = "createFolder")
public class CreateFolder {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String typeId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected FolderObjectType propertyCollection;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String folderId;
/**
* Gets the value of the typeId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTypeId() {
return typeId;
}
/**
* Sets the value of the typeId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTypeId(String value) {
this.typeId = value;
}
/**
* Gets the value of the propertyCollection property.
*
* @return
* possible object is
* {@link FolderObjectType }
*
*/
public FolderObjectType getPropertyCollection() {
return propertyCollection;
}
/**
* Sets the value of the propertyCollection property.
*
* @param value
* allowed object is
* {@link FolderObjectType }
*
*/
public void setPropertyCollection(FolderObjectType value) {
this.propertyCollection = value;
}
/**
* Gets the value of the folderId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFolderId() {
return folderId;
}
/**
* Sets the value of the folderId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFolderId(String value) {
this.folderId = value;
}
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for createFolderResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="createFolderResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"objectId"
})
@XmlRootElement(name = "createFolderResponse")
public class CreateFolderResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String objectId;
/**
* Gets the value of the objectId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getObjectId() {
return objectId;
}
/**
* Sets the value of the objectId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setObjectId(String value) {
this.objectId = value;
}
}

View File

@@ -0,0 +1,150 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for createRelationship element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="createRelationship">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="typeId" type="{http://www.cmis.org/ns/1.0}ID"/>
* &lt;element name="propertyCollection" type="{http://www.cmis.org/ns/1.0}relationshipObjectType"/>
* &lt;element name="sourceObjectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element name="targetObjectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"typeId",
"propertyCollection",
"sourceObjectId",
"targetObjectId"
})
@XmlRootElement(name = "createRelationship")
public class CreateRelationship {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String typeId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected RelationshipObjectType propertyCollection;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String sourceObjectId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String targetObjectId;
/**
* Gets the value of the typeId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTypeId() {
return typeId;
}
/**
* Sets the value of the typeId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTypeId(String value) {
this.typeId = value;
}
/**
* Gets the value of the propertyCollection property.
*
* @return
* possible object is
* {@link RelationshipObjectType }
*
*/
public RelationshipObjectType getPropertyCollection() {
return propertyCollection;
}
/**
* Sets the value of the propertyCollection property.
*
* @param value
* allowed object is
* {@link RelationshipObjectType }
*
*/
public void setPropertyCollection(RelationshipObjectType value) {
this.propertyCollection = value;
}
/**
* Gets the value of the sourceObjectId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSourceObjectId() {
return sourceObjectId;
}
/**
* Sets the value of the sourceObjectId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSourceObjectId(String value) {
this.sourceObjectId = value;
}
/**
* Gets the value of the targetObjectId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetObjectId() {
return targetObjectId;
}
/**
* Sets the value of the targetObjectId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetObjectId(String value) {
this.targetObjectId = value;
}
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for createRelationshipResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="createRelationshipResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"objectId"
})
@XmlRootElement(name = "createRelationshipResponse")
public class CreateRelationshipResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String objectId;
/**
* Gets the value of the objectId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getObjectId() {
return objectId;
}
/**
* Sets the value of the objectId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setObjectId(String value) {
this.objectId = value;
}
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for deleteAllVersions element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="deleteAllVersions">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentId"
})
@XmlRootElement(name = "deleteAllVersions")
public class DeleteAllVersions {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String documentId;
/**
* Gets the value of the documentId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentId() {
return documentId;
}
/**
* Sets the value of the documentId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentId(String value) {
this.documentId = value;
}
}

View File

@@ -0,0 +1,36 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for deleteAllVersionsResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="deleteAllVersionsResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "deleteAllVersionsResponse")
public class DeleteAllVersionsResponse {
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for deleteContentStream element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="deleteContentStream">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentId"
})
@XmlRootElement(name = "deleteContentStream")
public class DeleteContentStream {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String documentId;
/**
* Gets the value of the documentId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentId() {
return documentId;
}
/**
* Sets the value of the documentId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentId(String value) {
this.documentId = value;
}
}

View File

@@ -0,0 +1,36 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for deleteContentStreamResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="deleteContentStreamResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "deleteContentStreamResponse")
public class DeleteContentStreamResponse {
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for deleteObject element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="deleteObject">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"objectId"
})
@XmlRootElement(name = "deleteObject")
public class DeleteObject {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String objectId;
/**
* Gets the value of the objectId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getObjectId() {
return objectId;
}
/**
* Sets the value of the objectId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setObjectId(String value) {
this.objectId = value;
}
}

View File

@@ -0,0 +1,36 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for deleteObjectResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="deleteObjectResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "deleteObjectResponse")
public class DeleteObjectResponse {
}

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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for deleteTree element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="deleteTree">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element name="unfileMultiFiledDocuments" type="{http://www.cmis.org/ns/1.0}deleteWithMultiFilingEnum"/>
* &lt;element name="continueOnFailure" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"folderId",
"unfileMultiFiledDocuments",
"continueOnFailure"
})
@XmlRootElement(name = "deleteTree")
public class DeleteTree {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String folderId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected DeleteWithMultiFilingEnum unfileMultiFiledDocuments;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected Boolean continueOnFailure;
/**
* Gets the value of the folderId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFolderId() {
return folderId;
}
/**
* Sets the value of the folderId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFolderId(String value) {
this.folderId = value;
}
/**
* Gets the value of the unfileMultiFiledDocuments property.
*
* @return
* possible object is
* {@link DeleteWithMultiFilingEnum }
*
*/
public DeleteWithMultiFilingEnum getUnfileMultiFiledDocuments() {
return unfileMultiFiledDocuments;
}
/**
* Sets the value of the unfileMultiFiledDocuments property.
*
* @param value
* allowed object is
* {@link DeleteWithMultiFilingEnum }
*
*/
public void setUnfileMultiFiledDocuments(DeleteWithMultiFilingEnum value) {
this.unfileMultiFiledDocuments = value;
}
/**
* Gets the value of the continueOnFailure property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isContinueOnFailure() {
return continueOnFailure;
}
/**
* Sets the value of the continueOnFailure property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setContinueOnFailure(Boolean value) {
this.continueOnFailure = value;
}
}

View File

@@ -0,0 +1,139 @@
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.alfresco.repo.cmis.ws.DeleteTreeResponse.FailedToDelete;
/**
* <p>Java class for deleteTreeResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="deleteTreeResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="failedToDelete">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"failedToDelete"
})
@XmlRootElement(name = "deleteTreeResponse")
public class DeleteTreeResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected FailedToDelete failedToDelete;
/**
* Gets the value of the failedToDelete property.
*
* @return
* possible object is
* {@link FailedToDelete }
*
*/
public FailedToDelete getFailedToDelete() {
return failedToDelete;
}
/**
* Sets the value of the failedToDelete property.
*
* @param value
* allowed object is
* {@link FailedToDelete }
*
*/
public void setFailedToDelete(FailedToDelete value) {
this.failedToDelete = 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;element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"objectId"
})
public static class FailedToDelete {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected List<String> objectId;
/**
* Gets the value of the objectId 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 objectId property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getObjectId().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getObjectId() {
if (objectId == null) {
objectId = new ArrayList<String>();
}
return this.objectId;
}
}
}

View File

@@ -0,0 +1,52 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
/**
* <p>Java class for deleteWithMultiFilingEnum.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* &lt;simpleType name="deleteWithMultiFilingEnum">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="unfile"/>
* &lt;enumeration value="deleteSingleFiledDocs"/>
* &lt;enumeration value="delete"/>
* &lt;/restriction>
* &lt;/simpleType>
* </pre>
*
*/
@XmlEnum
public enum DeleteWithMultiFilingEnum {
@XmlEnumValue("delete")
DELETE("delete"),
@XmlEnumValue("deleteSingleFiledDocs")
DELETE_SINGLE_FILED_DOCS("deleteSingleFiledDocs"),
@XmlEnumValue("unfile")
UNFILE("unfile");
private final String value;
DeleteWithMultiFilingEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static DeleteWithMultiFilingEnum fromValue(String v) {
for (DeleteWithMultiFilingEnum c: DeleteWithMultiFilingEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v.toString());
}
}

View File

@@ -0,0 +1,73 @@
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for documentAndFolderCollection element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="documentAndFolderCollection">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="object" type="{http://www.cmis.org/ns/1.0}documentOrFolderObjectType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"object"
})
@XmlRootElement(name = "documentAndFolderCollection")
public class DocumentAndFolderCollection {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected List<DocumentOrFolderObjectType> object;
/**
* Gets the value of the object 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 object property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getObject().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link DocumentOrFolderObjectType }
*
*
*/
public List<DocumentOrFolderObjectType> getObject() {
if (object == null) {
object = new ArrayList<DocumentOrFolderObjectType>();
}
return this.object;
}
}

View File

@@ -0,0 +1,73 @@
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for documentCollection element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="documentCollection">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="object" type="{http://www.cmis.org/ns/1.0}documentObjectType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"object"
})
@XmlRootElement(name = "documentCollection")
public class DocumentCollection {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected List<DocumentObjectType> object;
/**
* Gets the value of the object 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 object property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getObject().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link DocumentObjectType }
*
*
*/
public List<DocumentObjectType> getObject() {
if (object == null) {
object = new ArrayList<DocumentObjectType>();
}
return this.object;
}
}

View File

@@ -0,0 +1,92 @@
package org.alfresco.repo.cmis.ws;
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 documentFolderOrRelationshipObjectType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="documentFolderOrRelationshipObjectType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/ns/1.0}documentOrFolderObjectType">
* &lt;sequence>
* &lt;element ref="{http://www.cmis.org/ns/1.0}sourceOID" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}targetOID" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "documentFolderOrRelationshipObjectType", propOrder = {
"sourceOID",
"targetOID"
})
public class DocumentFolderOrRelationshipObjectType
extends DocumentOrFolderObjectType
{
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String sourceOID;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String targetOID;
/**
* Gets the value of the sourceOID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSourceOID() {
return sourceOID;
}
/**
* Sets the value of the sourceOID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSourceOID(String value) {
this.sourceOID = value;
}
/**
* Gets the value of the targetOID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetOID() {
return targetOID;
}
/**
* Sets the value of the targetOID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetOID(String value) {
this.targetOID = value;
}
}

View File

@@ -0,0 +1,436 @@
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.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for documentObjectType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="documentObjectType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/ns/1.0}objectTypeBase">
* &lt;sequence>
* &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="isImmutable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="isLatestVersion" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="isMajorVersion" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="isLatestMajorVersion" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="versionSeriesIsCheckedOut" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element name="versionSeriesCheckedOutBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="versionSeriesCheckedOutOID" type="{http://www.cmis.org/ns/1.0}objectID" minOccurs="0"/>
* &lt;element name="checkinComment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="contentStreamLength" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* &lt;element name="contentStreamMimeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="contentStreamFilename" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="contentStreamURI" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}property" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "documentObjectType", propOrder = {
"name",
"isImmutable",
"isLatestVersion",
"isMajorVersion",
"isLatestMajorVersion",
"versionSeriesIsCheckedOut",
"versionSeriesCheckedOutBy",
"versionSeriesCheckedOutOID",
"checkinComment",
"contentStreamLength",
"contentStreamMimeType",
"contentStreamFilename",
"contentStreamURI",
"property"
})
public class DocumentObjectType
extends ObjectTypeBase
{
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String name;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected Boolean isImmutable;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected Boolean isLatestVersion;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected Boolean isMajorVersion;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected Boolean isLatestMajorVersion;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected Boolean versionSeriesIsCheckedOut;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String versionSeriesCheckedOutBy;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String versionSeriesCheckedOutOID;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String checkinComment;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected BigInteger contentStreamLength;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String contentStreamMimeType;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String contentStreamFilename;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String contentStreamURI;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected List<Property> property;
/**
* 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 isImmutable property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsImmutable() {
return isImmutable;
}
/**
* Sets the value of the isImmutable property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsImmutable(Boolean value) {
this.isImmutable = value;
}
/**
* Gets the value of the isLatestVersion property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsLatestVersion() {
return isLatestVersion;
}
/**
* Sets the value of the isLatestVersion property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsLatestVersion(Boolean value) {
this.isLatestVersion = value;
}
/**
* Gets the value of the isMajorVersion property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsMajorVersion() {
return isMajorVersion;
}
/**
* Sets the value of the isMajorVersion property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsMajorVersion(Boolean value) {
this.isMajorVersion = value;
}
/**
* Gets the value of the isLatestMajorVersion property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsLatestMajorVersion() {
return isLatestMajorVersion;
}
/**
* Sets the value of the isLatestMajorVersion property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsLatestMajorVersion(Boolean value) {
this.isLatestMajorVersion = value;
}
/**
* Gets the value of the versionSeriesIsCheckedOut property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isVersionSeriesIsCheckedOut() {
return versionSeriesIsCheckedOut;
}
/**
* Sets the value of the versionSeriesIsCheckedOut property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setVersionSeriesIsCheckedOut(Boolean value) {
this.versionSeriesIsCheckedOut = value;
}
/**
* Gets the value of the versionSeriesCheckedOutBy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersionSeriesCheckedOutBy() {
return versionSeriesCheckedOutBy;
}
/**
* Sets the value of the versionSeriesCheckedOutBy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersionSeriesCheckedOutBy(String value) {
this.versionSeriesCheckedOutBy = value;
}
/**
* Gets the value of the versionSeriesCheckedOutOID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVersionSeriesCheckedOutOID() {
return versionSeriesCheckedOutOID;
}
/**
* Sets the value of the versionSeriesCheckedOutOID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVersionSeriesCheckedOutOID(String value) {
this.versionSeriesCheckedOutOID = value;
}
/**
* Gets the value of the checkinComment property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCheckinComment() {
return checkinComment;
}
/**
* Sets the value of the checkinComment property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCheckinComment(String value) {
this.checkinComment = value;
}
/**
* Gets the value of the contentStreamLength property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getContentStreamLength() {
return contentStreamLength;
}
/**
* Sets the value of the contentStreamLength property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setContentStreamLength(BigInteger value) {
this.contentStreamLength = value;
}
/**
* Gets the value of the contentStreamMimeType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getContentStreamMimeType() {
return contentStreamMimeType;
}
/**
* Sets the value of the contentStreamMimeType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setContentStreamMimeType(String value) {
this.contentStreamMimeType = value;
}
/**
* Gets the value of the contentStreamFilename property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getContentStreamFilename() {
return contentStreamFilename;
}
/**
* Sets the value of the contentStreamFilename property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setContentStreamFilename(String value) {
this.contentStreamFilename = value;
}
/**
* Gets the value of the contentStreamURI property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getContentStreamURI() {
return contentStreamURI;
}
/**
* Sets the value of the contentStreamURI property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setContentStreamURI(String value) {
this.contentStreamURI = value;
}
/**
* Gets the value of the property 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 property property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getProperty().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Property }
*
*
*/
public List<Property> getProperty() {
if (property == null) {
property = new ArrayList<Property>();
}
return this.property;
}
}

View File

@@ -0,0 +1,92 @@
package org.alfresco.repo.cmis.ws;
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 documentOrFolderObjectType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="documentOrFolderObjectType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/ns/1.0}documentObjectType">
* &lt;sequence>
* &lt;element ref="{http://www.cmis.org/ns/1.0}parent" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}children" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "documentOrFolderObjectType", propOrder = {
"parent",
"children"
})
public class DocumentOrFolderObjectType
extends DocumentObjectType
{
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String parent;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected Children children;
/**
* Gets the value of the parent property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getParent() {
return parent;
}
/**
* Sets the value of the parent property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setParent(String value) {
this.parent = value;
}
/**
* Gets the value of the children property.
*
* @return
* possible object is
* {@link Children }
*
*/
public Children getChildren() {
return children;
}
/**
* Sets the value of the children property.
*
* @param value
* allowed object is
* {@link Children }
*
*/
public void setChildren(Children value) {
this.children = value;
}
}

View File

@@ -0,0 +1,46 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 2.0.6
* Tue May 27 14:11:27 EEST 2008
* Generated source version: 2.0.6
*
*/
@WebFault(name = "FilterNotValidFault", targetNamespace = "http://www.cmis.org/ns/1.0")
public class FilterNotValidException extends Exception {
public static final long serialVersionUID = 20080527141127L;
private org.alfresco.repo.cmis.ws.BasicFault filterNotValidFault;
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.BasicFault filterNotValidFault) {
super(message);
this.filterNotValidFault = filterNotValidFault;
}
public FilterNotValidException(String message, org.alfresco.repo.cmis.ws.BasicFault filterNotValidFault, Throwable cause) {
super(message, cause);
this.filterNotValidFault = filterNotValidFault;
}
public org.alfresco.repo.cmis.ws.BasicFault getFaultInfo() {
return this.filterNotValidFault;
}
}

View File

@@ -0,0 +1,73 @@
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for folderCollection element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="folderCollection">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="object" type="{http://www.cmis.org/ns/1.0}folderObjectType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"object"
})
@XmlRootElement(name = "folderCollection")
public class FolderCollection {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected List<FolderObjectType> object;
/**
* Gets the value of the object 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 object property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getObject().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link FolderObjectType }
*
*
*/
public List<FolderObjectType> getObject() {
if (object == null) {
object = new ArrayList<FolderObjectType>();
}
return this.object;
}
}

View File

@@ -0,0 +1,46 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 2.0.6
* Tue May 27 14:11:27 EEST 2008
* Generated source version: 2.0.6
*
*/
@WebFault(name = "FolderNotValidFault", targetNamespace = "http://www.cmis.org/ns/1.0")
public class FolderNotValidException extends Exception {
public static final long serialVersionUID = 20080527141127L;
private org.alfresco.repo.cmis.ws.BasicFault folderNotValidFault;
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.BasicFault folderNotValidFault) {
super(message);
this.folderNotValidFault = folderNotValidFault;
}
public FolderNotValidException(String message, org.alfresco.repo.cmis.ws.BasicFault folderNotValidFault, Throwable cause) {
super(message, cause);
this.folderNotValidFault = folderNotValidFault;
}
public org.alfresco.repo.cmis.ws.BasicFault getFaultInfo() {
return this.folderNotValidFault;
}
}

View File

@@ -0,0 +1,155 @@
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 folderObjectType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="folderObjectType">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/ns/1.0}objectTypeBase">
* &lt;sequence>
* &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}parent" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}children" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}property" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "folderObjectType", propOrder = {
"name",
"parent",
"children",
"property"
})
public class FolderObjectType
extends ObjectTypeBase
{
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String name;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String parent;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected Children children;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected List<Property> property;
/**
* 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 parent property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getParent() {
return parent;
}
/**
* Sets the value of the parent property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setParent(String value) {
this.parent = value;
}
/**
* Gets the value of the children property.
*
* @return
* possible object is
* {@link Children }
*
*/
public Children getChildren() {
return children;
}
/**
* Sets the value of the children property.
*
* @param value
* allowed object is
* {@link Children }
*
*/
public void setChildren(Children value) {
this.children = value;
}
/**
* Gets the value of the property 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 property property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getProperty().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Property }
*
*
*/
public List<Property> getProperty() {
if (property == null) {
property = new ArrayList<Property>();
}
return this.property;
}
}

View File

@@ -0,0 +1,94 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getAllVersions element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getAllVersions">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentId",
"filter"
})
@XmlRootElement(name = "getAllVersions")
public class GetAllVersions {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String documentId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String filter;
/**
* Gets the value of the documentId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentId() {
return documentId;
}
/**
* Sets the value of the documentId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentId(String value) {
this.documentId = value;
}
/**
* Gets the value of the filter property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFilter() {
return filter;
}
/**
* Sets the value of the filter property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFilter(String value) {
this.filter = value;
}
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getAllVersionsResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getAllVersionsResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{http://www.cmis.org/ns/1.0}documentCollection"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentCollection"
})
@XmlRootElement(name = "getAllVersionsResponse")
public class GetAllVersionsResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected DocumentCollection documentCollection;
/**
* Gets the value of the documentCollection property.
*
* @return
* possible object is
* {@link DocumentCollection }
*
*/
public DocumentCollection getDocumentCollection() {
return documentCollection;
}
/**
* Sets the value of the documentCollection property.
*
* @param value
* allowed object is
* {@link DocumentCollection }
*
*/
public void setDocumentCollection(DocumentCollection value) {
this.documentCollection = value;
}
}

View File

@@ -0,0 +1,94 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getAllowableActions element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getAllowableActions">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element name="asUser" type="{http://www.w3.org/2001/XMLSchema}string"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"objectId",
"asUser"
})
@XmlRootElement(name = "getAllowableActions")
public class GetAllowableActions {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String objectId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String asUser;
/**
* Gets the value of the objectId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getObjectId() {
return objectId;
}
/**
* Sets the value of the objectId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setObjectId(String value) {
this.objectId = value;
}
/**
* Gets the value of the asUser property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAsUser() {
return asUser;
}
/**
* Sets the value of the asUser property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAsUser(String value) {
this.asUser = value;
}
}

View File

@@ -0,0 +1,139 @@
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.alfresco.repo.cmis.ws.GetAllowableActionsResponse.AllowableActionCollection;
/**
* <p>Java class for getAllowableActionsResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getAllowableActionsResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="allowableActionCollection">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="action" type="{http://www.cmis.org/ns/1.0}allowableActionsEnum" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"allowableActionCollection"
})
@XmlRootElement(name = "getAllowableActionsResponse")
public class GetAllowableActionsResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected AllowableActionCollection allowableActionCollection;
/**
* Gets the value of the allowableActionCollection property.
*
* @return
* possible object is
* {@link AllowableActionCollection }
*
*/
public AllowableActionCollection getAllowableActionCollection() {
return allowableActionCollection;
}
/**
* Sets the value of the allowableActionCollection property.
*
* @param value
* allowed object is
* {@link AllowableActionCollection }
*
*/
public void setAllowableActionCollection(AllowableActionCollection value) {
this.allowableActionCollection = 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;element name="action" type="{http://www.cmis.org/ns/1.0}allowableActionsEnum" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"action"
})
public static class AllowableActionCollection {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected List<AllowableActionsEnum> action;
/**
* Gets the value of the action 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 action property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAction().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link AllowableActionsEnum }
*
*
*/
public List<AllowableActionsEnum> getAction() {
if (action == null) {
action = new ArrayList<AllowableActionsEnum>();
}
return this.action;
}
}
}

View File

@@ -0,0 +1,151 @@
package org.alfresco.repo.cmis.ws;
import java.math.BigInteger;
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;
/**
* <p>Java class for getCheckedoutDocs element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getCheckedoutDocs">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}maxItems" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}skipCount" minOccurs="0"/>
* &lt;element name="folderID" type="{http://www.cmis.org/ns/1.0}objectID" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"filter",
"maxItems",
"skipCount",
"folderID"
})
@XmlRootElement(name = "getCheckedoutDocs")
public class GetCheckedoutDocs {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String filter;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected BigInteger maxItems;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected BigInteger skipCount;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String folderID;
/**
* Gets the value of the filter property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFilter() {
return filter;
}
/**
* Sets the value of the filter property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFilter(String value) {
this.filter = value;
}
/**
* Gets the value of the maxItems property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMaxItems() {
return maxItems;
}
/**
* Sets the value of the maxItems property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMaxItems(BigInteger value) {
this.maxItems = value;
}
/**
* Gets the value of the skipCount property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSkipCount() {
return skipCount;
}
/**
* Sets the value of the skipCount property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSkipCount(BigInteger value) {
this.skipCount = value;
}
/**
* Gets the value of the folderID property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFolderID() {
return folderID;
}
/**
* Sets the value of the folderID property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFolderID(String value) {
this.folderID = value;
}
}

View File

@@ -0,0 +1,86 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getCheckedoutDocsResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getCheckedoutDocsResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{http://www.cmis.org/ns/1.0}documentCollection"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}hasMoreItems"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentCollection",
"hasMoreItems"
})
@XmlRootElement(name = "getCheckedoutDocsResponse")
public class GetCheckedoutDocsResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected DocumentCollection documentCollection;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected boolean hasMoreItems;
/**
* Gets the value of the documentCollection property.
*
* @return
* possible object is
* {@link DocumentCollection }
*
*/
public DocumentCollection getDocumentCollection() {
return documentCollection;
}
/**
* Sets the value of the documentCollection property.
*
* @param value
* allowed object is
* {@link DocumentCollection }
*
*/
public void setDocumentCollection(DocumentCollection value) {
this.documentCollection = value;
}
/**
* Gets the value of the hasMoreItems property.
*
*/
public boolean isHasMoreItems() {
return hasMoreItems;
}
/**
* Sets the value of the hasMoreItems property.
*
*/
public void setHasMoreItems(boolean value) {
this.hasMoreItems = value;
}
}

View File

@@ -0,0 +1,179 @@
package org.alfresco.repo.cmis.ws;
import java.math.BigInteger;
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;
/**
* <p>Java class for getChildren element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getChildren">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element name="type" type="{http://www.cmis.org/ns/1.0}typesOfObjectsEnum"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}maxItems" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}skipCount" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"folderId",
"type",
"filter",
"maxItems",
"skipCount"
})
@XmlRootElement(name = "getChildren")
public class GetChildren {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String folderId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected TypesOfObjectsEnum type;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String filter;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected BigInteger maxItems;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected BigInteger skipCount;
/**
* Gets the value of the folderId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFolderId() {
return folderId;
}
/**
* Sets the value of the folderId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFolderId(String value) {
this.folderId = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link TypesOfObjectsEnum }
*
*/
public TypesOfObjectsEnum getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link TypesOfObjectsEnum }
*
*/
public void setType(TypesOfObjectsEnum value) {
this.type = value;
}
/**
* Gets the value of the filter property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFilter() {
return filter;
}
/**
* Sets the value of the filter property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFilter(String value) {
this.filter = value;
}
/**
* Gets the value of the maxItems property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMaxItems() {
return maxItems;
}
/**
* Sets the value of the maxItems property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMaxItems(BigInteger value) {
this.maxItems = value;
}
/**
* Gets the value of the skipCount property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSkipCount() {
return skipCount;
}
/**
* Sets the value of the skipCount property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSkipCount(BigInteger value) {
this.skipCount = value;
}
}

View File

@@ -0,0 +1,86 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getChildrenResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getChildrenResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{http://www.cmis.org/ns/1.0}documentAndFolderCollection"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}hasMoreItems"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentAndFolderCollection",
"hasMoreItems"
})
@XmlRootElement(name = "getChildrenResponse")
public class GetChildrenResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected DocumentAndFolderCollection documentAndFolderCollection;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected boolean hasMoreItems;
/**
* Gets the value of the documentAndFolderCollection property.
*
* @return
* possible object is
* {@link DocumentAndFolderCollection }
*
*/
public DocumentAndFolderCollection getDocumentAndFolderCollection() {
return documentAndFolderCollection;
}
/**
* Sets the value of the documentAndFolderCollection property.
*
* @param value
* allowed object is
* {@link DocumentAndFolderCollection }
*
*/
public void setDocumentAndFolderCollection(DocumentAndFolderCollection value) {
this.documentAndFolderCollection = value;
}
/**
* Gets the value of the hasMoreItems property.
*
*/
public boolean isHasMoreItems() {
return hasMoreItems;
}
/**
* Sets the value of the hasMoreItems property.
*
*/
public void setHasMoreItems(boolean value) {
this.hasMoreItems = value;
}
}

View File

@@ -0,0 +1,123 @@
package org.alfresco.repo.cmis.ws;
import java.math.BigInteger;
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;
/**
* <p>Java class for getContentStream element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getContentStream">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element name="offset" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* &lt;element name="length" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentId",
"offset",
"length"
})
@XmlRootElement(name = "getContentStream")
public class GetContentStream {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String documentId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected BigInteger offset;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected BigInteger length;
/**
* Gets the value of the documentId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentId() {
return documentId;
}
/**
* Sets the value of the documentId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentId(String value) {
this.documentId = value;
}
/**
* Gets the value of the offset property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getOffset() {
return offset;
}
/**
* Sets the value of the offset property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setOffset(BigInteger value) {
this.offset = value;
}
/**
* Gets the value of the length property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getLength() {
return length;
}
/**
* Sets the value of the length property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setLength(BigInteger value) {
this.length = value;
}
}

View File

@@ -0,0 +1,64 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getContentStreamResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getContentStreamResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="stream" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"stream"
})
@XmlRootElement(name = "getContentStreamResponse")
public class GetContentStreamResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected byte[] stream;
/**
* Gets the value of the stream property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getStream() {
return stream;
}
/**
* Sets the value of the stream property.
*
* @param value
* allowed object is
* byte[]
*/
public void setStream(byte[] value) {
this.stream = ((byte[]) value);
}
}

View File

@@ -0,0 +1,150 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getDescendants element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getDescendants">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element name="type" type="{http://www.cmis.org/ns/1.0}typesOfObjectsEnum"/>
* &lt;element name="depth" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"folderId",
"type",
"depth",
"filter"
})
@XmlRootElement(name = "getDescendants")
public class GetDescendants {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String folderId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected TypesOfObjectsEnum type;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected Object depth;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String filter;
/**
* Gets the value of the folderId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFolderId() {
return folderId;
}
/**
* Sets the value of the folderId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFolderId(String value) {
this.folderId = value;
}
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link TypesOfObjectsEnum }
*
*/
public TypesOfObjectsEnum getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link TypesOfObjectsEnum }
*
*/
public void setType(TypesOfObjectsEnum value) {
this.type = value;
}
/**
* Gets the value of the depth property.
*
* @return
* possible object is
* {@link Object }
*
*/
public Object getDepth() {
return depth;
}
/**
* Sets the value of the depth property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setDepth(Object value) {
this.depth = value;
}
/**
* Gets the value of the filter property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFilter() {
return filter;
}
/**
* Sets the value of the filter property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFilter(String value) {
this.filter = value;
}
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getDescendantsResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getDescendantsResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{http://www.cmis.org/ns/1.0}documentAndFolderCollection"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentAndFolderCollection"
})
@XmlRootElement(name = "getDescendantsResponse")
public class GetDescendantsResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected DocumentAndFolderCollection documentAndFolderCollection;
/**
* Gets the value of the documentAndFolderCollection property.
*
* @return
* possible object is
* {@link DocumentAndFolderCollection }
*
*/
public DocumentAndFolderCollection getDocumentAndFolderCollection() {
return documentAndFolderCollection;
}
/**
* Sets the value of the documentAndFolderCollection property.
*
* @param value
* allowed object is
* {@link DocumentAndFolderCollection }
*
*/
public void setDocumentAndFolderCollection(DocumentAndFolderCollection value) {
this.documentAndFolderCollection = value;
}
}

View File

@@ -0,0 +1,94 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getDocumentParents element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getDocumentParents">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentId",
"filter"
})
@XmlRootElement(name = "getDocumentParents")
public class GetDocumentParents {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String documentId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String filter;
/**
* Gets the value of the documentId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDocumentId() {
return documentId;
}
/**
* Sets the value of the documentId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDocumentId(String value) {
this.documentId = value;
}
/**
* Gets the value of the filter property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFilter() {
return filter;
}
/**
* Sets the value of the filter property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFilter(String value) {
this.filter = value;
}
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getDocumentParentsResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getDocumentParentsResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{http://www.cmis.org/ns/1.0}folderCollection"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"folderCollection"
})
@XmlRootElement(name = "getDocumentParentsResponse")
public class GetDocumentParentsResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected FolderCollection folderCollection;
/**
* Gets the value of the folderCollection property.
*
* @return
* possible object is
* {@link FolderCollection }
*
*/
public FolderCollection getFolderCollection() {
return folderCollection;
}
/**
* Sets the value of the folderCollection property.
*
* @param value
* allowed object is
* {@link FolderCollection }
*
*/
public void setFolderCollection(FolderCollection value) {
this.folderCollection = value;
}
}

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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for getFolderParent element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getFolderParent">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
* &lt;element name="returnToRoot" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"folderId",
"filter",
"returnToRoot"
})
@XmlRootElement(name = "getFolderParent")
public class GetFolderParent {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String folderId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String filter;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected Boolean returnToRoot;
/**
* Gets the value of the folderId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFolderId() {
return folderId;
}
/**
* Sets the value of the folderId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFolderId(String value) {
this.folderId = value;
}
/**
* Gets the value of the filter property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFilter() {
return filter;
}
/**
* Sets the value of the filter property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFilter(String value) {
this.filter = value;
}
/**
* Gets the value of the returnToRoot property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isReturnToRoot() {
return returnToRoot;
}
/**
* Sets the value of the returnToRoot property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setReturnToRoot(Boolean value) {
this.returnToRoot = value;
}
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getFolderParentResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getFolderParentResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{http://www.cmis.org/ns/1.0}folderCollection"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"folderCollection"
})
@XmlRootElement(name = "getFolderParentResponse")
public class GetFolderParentResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected FolderCollection folderCollection;
/**
* Gets the value of the folderCollection property.
*
* @return
* possible object is
* {@link FolderCollection }
*
*/
public FolderCollection getFolderCollection() {
return folderCollection;
}
/**
* Sets the value of the folderCollection property.
*
* @param value
* allowed object is
* {@link FolderCollection }
*
*/
public void setFolderCollection(FolderCollection value) {
this.folderCollection = value;
}
}

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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for getProperties element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getProperties">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element name="returnVersion" type="{http://www.cmis.org/ns/1.0}versionEnum" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"objectId",
"returnVersion",
"filter"
})
@XmlRootElement(name = "getProperties")
public class GetProperties {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String objectId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected VersionEnum returnVersion;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String filter;
/**
* Gets the value of the objectId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getObjectId() {
return objectId;
}
/**
* Sets the value of the objectId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setObjectId(String value) {
this.objectId = value;
}
/**
* Gets the value of the returnVersion property.
*
* @return
* possible object is
* {@link VersionEnum }
*
*/
public VersionEnum getReturnVersion() {
return returnVersion;
}
/**
* Sets the value of the returnVersion property.
*
* @param value
* allowed object is
* {@link VersionEnum }
*
*/
public void setReturnVersion(VersionEnum value) {
this.returnVersion = value;
}
/**
* Gets the value of the filter property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFilter() {
return filter;
}
/**
* Sets the value of the filter property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFilter(String value) {
this.filter = value;
}
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getPropertiesResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getPropertiesResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="object" type="{http://www.cmis.org/ns/1.0}documentFolderOrRelationshipObjectType"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"object"
})
@XmlRootElement(name = "getPropertiesResponse")
public class GetPropertiesResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected DocumentFolderOrRelationshipObjectType object;
/**
* Gets the value of the object property.
*
* @return
* possible object is
* {@link DocumentFolderOrRelationshipObjectType }
*
*/
public DocumentFolderOrRelationshipObjectType getObject() {
return object;
}
/**
* Sets the value of the object property.
*
* @param value
* allowed object is
* {@link DocumentFolderOrRelationshipObjectType }
*
*/
public void setObject(DocumentFolderOrRelationshipObjectType value) {
this.object = value;
}
}

View File

@@ -0,0 +1,235 @@
package org.alfresco.repo.cmis.ws;
import java.math.BigInteger;
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;
/**
* <p>Java class for getRelationships element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getRelationships">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element name="direction" type="{http://www.cmis.org/ns/1.0}relationshipDirectionEnum"/>
* &lt;element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* &lt;element name="includeSubRelationshipTypes" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}maxItems" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}skipCount" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"objectId",
"direction",
"typeId",
"includeSubRelationshipTypes",
"filter",
"maxItems",
"skipCount"
})
@XmlRootElement(name = "getRelationships")
public class GetRelationships {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String objectId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected RelationshipDirectionEnum direction;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String typeId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected Boolean includeSubRelationshipTypes;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String filter;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected BigInteger maxItems;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected BigInteger skipCount;
/**
* Gets the value of the objectId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getObjectId() {
return objectId;
}
/**
* Sets the value of the objectId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setObjectId(String value) {
this.objectId = value;
}
/**
* Gets the value of the direction property.
*
* @return
* possible object is
* {@link RelationshipDirectionEnum }
*
*/
public RelationshipDirectionEnum getDirection() {
return direction;
}
/**
* Sets the value of the direction property.
*
* @param value
* allowed object is
* {@link RelationshipDirectionEnum }
*
*/
public void setDirection(RelationshipDirectionEnum value) {
this.direction = value;
}
/**
* Gets the value of the typeId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTypeId() {
return typeId;
}
/**
* Sets the value of the typeId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTypeId(String value) {
this.typeId = value;
}
/**
* Gets the value of the includeSubRelationshipTypes property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIncludeSubRelationshipTypes() {
return includeSubRelationshipTypes;
}
/**
* Sets the value of the includeSubRelationshipTypes property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIncludeSubRelationshipTypes(Boolean value) {
this.includeSubRelationshipTypes = value;
}
/**
* Gets the value of the filter property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFilter() {
return filter;
}
/**
* Sets the value of the filter property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFilter(String value) {
this.filter = value;
}
/**
* Gets the value of the maxItems property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMaxItems() {
return maxItems;
}
/**
* Sets the value of the maxItems property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMaxItems(BigInteger value) {
this.maxItems = value;
}
/**
* Gets the value of the skipCount property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSkipCount() {
return skipCount;
}
/**
* Sets the value of the skipCount property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSkipCount(BigInteger value) {
this.skipCount = value;
}
}

View File

@@ -0,0 +1,86 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getRelationshipsResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getRelationshipsResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{http://www.cmis.org/ns/1.0}relationshipCollection"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}hasMoreItems"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"relationshipCollection",
"hasMoreItems"
})
@XmlRootElement(name = "getRelationshipsResponse")
public class GetRelationshipsResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected RelationshipCollection relationshipCollection;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected boolean hasMoreItems;
/**
* Gets the value of the relationshipCollection property.
*
* @return
* possible object is
* {@link RelationshipCollection }
*
*/
public RelationshipCollection getRelationshipCollection() {
return relationshipCollection;
}
/**
* Sets the value of the relationshipCollection property.
*
* @param value
* allowed object is
* {@link RelationshipCollection }
*
*/
public void setRelationshipCollection(RelationshipCollection value) {
this.relationshipCollection = value;
}
/**
* Gets the value of the hasMoreItems property.
*
*/
public boolean isHasMoreItems() {
return hasMoreItems;
}
/**
* Sets the value of the hasMoreItems property.
*
*/
public void setHasMoreItems(boolean value) {
this.hasMoreItems = value;
}
}

View File

@@ -0,0 +1,36 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for getRepositoryInfo element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getRepositoryInfo">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "getRepositoryInfo")
public class GetRepositoryInfo {
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getRepositoryInfoResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getRepositoryInfoResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="repositoryInfo" type="{http://www.cmis.org/ns/1.0}repositoryInfoType"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"repositoryInfo"
})
@XmlRootElement(name = "getRepositoryInfoResponse")
public class GetRepositoryInfoResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected RepositoryInfoType repositoryInfo;
/**
* Gets the value of the repositoryInfo property.
*
* @return
* possible object is
* {@link RepositoryInfoType }
*
*/
public RepositoryInfoType getRepositoryInfo() {
return repositoryInfo;
}
/**
* Sets the value of the repositoryInfo property.
*
* @param value
* allowed object is
* {@link RepositoryInfoType }
*
*/
public void setRepositoryInfo(RepositoryInfoType value) {
this.repositoryInfo = value;
}
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getRootFolder element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getRootFolder">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"filter"
})
@XmlRootElement(name = "getRootFolder")
public class GetRootFolder {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String filter;
/**
* Gets the value of the filter property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFilter() {
return filter;
}
/**
* Sets the value of the filter property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFilter(String value) {
this.filter = value;
}
}

View File

@@ -0,0 +1,66 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getRootFolderResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getRootFolderResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="rootFolder" type="{http://www.cmis.org/ns/1.0}folderObjectType"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"rootFolder"
})
@XmlRootElement(name = "getRootFolderResponse")
public class GetRootFolderResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected FolderObjectType rootFolder;
/**
* Gets the value of the rootFolder property.
*
* @return
* possible object is
* {@link FolderObjectType }
*
*/
public FolderObjectType getRootFolder() {
return rootFolder;
}
/**
* Sets the value of the rootFolder property.
*
* @param value
* allowed object is
* {@link FolderObjectType }
*
*/
public void setRootFolder(FolderObjectType value) {
this.rootFolder = value;
}
}

View File

@@ -0,0 +1,94 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getTypeDefinition element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getTypeDefinition">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="typeId" type="{http://www.cmis.org/ns/1.0}ID"/>
* &lt;element name="includeInheritedProperties" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"typeId",
"includeInheritedProperties"
})
@XmlRootElement(name = "getTypeDefinition")
public class GetTypeDefinition {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String typeId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected Boolean includeInheritedProperties;
/**
* Gets the value of the typeId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTypeId() {
return typeId;
}
/**
* Sets the value of the typeId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTypeId(String value) {
this.typeId = value;
}
/**
* Gets the value of the includeInheritedProperties property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIncludeInheritedProperties() {
return includeInheritedProperties;
}
/**
* Sets the value of the includeInheritedProperties property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIncludeInheritedProperties(Boolean value) {
this.includeInheritedProperties = value;
}
}

View File

@@ -0,0 +1,86 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getTypeDefinitionResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getTypeDefinitionResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="type" type="{http://www.cmis.org/ns/1.0}objectTypeDefinitionType"/>
* &lt;element name="canCreateInstances" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"type",
"canCreateInstances"
})
@XmlRootElement(name = "getTypeDefinitionResponse")
public class GetTypeDefinitionResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected ObjectTypeDefinitionType type;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected boolean canCreateInstances;
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link ObjectTypeDefinitionType }
*
*/
public ObjectTypeDefinitionType getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link ObjectTypeDefinitionType }
*
*/
public void setType(ObjectTypeDefinitionType value) {
this.type = value;
}
/**
* Gets the value of the canCreateInstances property.
*
*/
public boolean isCanCreateInstances() {
return canCreateInstances;
}
/**
* Sets the value of the canCreateInstances property.
*
*/
public void setCanCreateInstances(boolean value) {
this.canCreateInstances = value;
}
}

View File

@@ -0,0 +1,151 @@
package org.alfresco.repo.cmis.ws;
import java.math.BigInteger;
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;
/**
* <p>Java class for getTypes element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getTypes">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="type" type="{http://www.cmis.org/ns/1.0}getTypesEnum"/>
* &lt;element name="returnPropertyDefinitions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}maxItems" minOccurs="0"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}skipCount" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"type",
"returnPropertyDefinitions",
"maxItems",
"skipCount"
})
@XmlRootElement(name = "getTypes")
public class GetTypes {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected GetTypesEnum type;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected Boolean returnPropertyDefinitions;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected BigInteger maxItems;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected BigInteger skipCount;
/**
* Gets the value of the type property.
*
* @return
* possible object is
* {@link GetTypesEnum }
*
*/
public GetTypesEnum getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link GetTypesEnum }
*
*/
public void setType(GetTypesEnum value) {
this.type = value;
}
/**
* Gets the value of the returnPropertyDefinitions property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isReturnPropertyDefinitions() {
return returnPropertyDefinitions;
}
/**
* Sets the value of the returnPropertyDefinitions property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setReturnPropertyDefinitions(Boolean value) {
this.returnPropertyDefinitions = value;
}
/**
* Gets the value of the maxItems property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMaxItems() {
return maxItems;
}
/**
* Sets the value of the maxItems property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMaxItems(BigInteger value) {
this.maxItems = value;
}
/**
* Gets the value of the skipCount property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSkipCount() {
return skipCount;
}
/**
* Sets the value of the skipCount property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSkipCount(BigInteger value) {
this.skipCount = value;
}
}

View File

@@ -0,0 +1,55 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
/**
* <p>Java class for getTypesEnum.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* &lt;simpleType name="getTypesEnum">
* &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="All"/>
* &lt;/restriction>
* &lt;/simpleType>
* </pre>
*
*/
@XmlEnum
public enum GetTypesEnum {
@XmlEnumValue("All")
ALL("All"),
@XmlEnumValue("Document")
DOCUMENT("Document"),
@XmlEnumValue("Folder")
FOLDER("Folder"),
@XmlEnumValue("Relationship")
RELATIONSHIP("Relationship");
private final String value;
GetTypesEnum(String v) {
value = v;
}
public String value() {
return value;
}
public static GetTypesEnum fromValue(String v) {
for (GetTypesEnum c: GetTypesEnum.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v.toString());
}
}

View File

@@ -0,0 +1,159 @@
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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.alfresco.repo.cmis.ws.GetTypesResponse.Types;
/**
* <p>Java class for getTypesResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getTypesResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="types">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="type" type="{http://www.cmis.org/ns/1.0}objectTypeDefinitionType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* &lt;element ref="{http://www.cmis.org/ns/1.0}hasMoreItems"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"types",
"hasMoreItems"
})
@XmlRootElement(name = "getTypesResponse")
public class GetTypesResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected Types types;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected boolean hasMoreItems;
/**
* Gets the value of the types property.
*
* @return
* possible object is
* {@link Types }
*
*/
public Types getTypes() {
return types;
}
/**
* Sets the value of the types property.
*
* @param value
* allowed object is
* {@link Types }
*
*/
public void setTypes(Types value) {
this.types = value;
}
/**
* Gets the value of the hasMoreItems property.
*
*/
public boolean isHasMoreItems() {
return hasMoreItems;
}
/**
* Sets the value of the hasMoreItems property.
*
*/
public void setHasMoreItems(boolean value) {
this.hasMoreItems = 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;element name="type" type="{http://www.cmis.org/ns/1.0}objectTypeDefinitionType" maxOccurs="unbounded" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"type"
})
public static class Types {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected List<ObjectTypeDefinitionType> type;
/**
* Gets the value of the type 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 type property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getType().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link ObjectTypeDefinitionType }
*
*
*/
public List<ObjectTypeDefinitionType> getType() {
if (type == null) {
type = new ArrayList<ObjectTypeDefinitionType>();
}
return this.type;
}
}
}

View File

@@ -0,0 +1,123 @@
package org.alfresco.repo.cmis.ws;
import java.math.BigInteger;
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;
/**
* <p>Java class for getUnfiledDocs element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getUnfiledDocs">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
* &lt;element name="maxDocuments" 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;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"filter",
"maxDocuments",
"skipCount"
})
@XmlRootElement(name = "getUnfiledDocs")
public class GetUnfiledDocs {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String filter;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected BigInteger maxDocuments;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected BigInteger skipCount;
/**
* Gets the value of the filter property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFilter() {
return filter;
}
/**
* Sets the value of the filter property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFilter(String value) {
this.filter = value;
}
/**
* Gets the value of the maxDocuments property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMaxDocuments() {
return maxDocuments;
}
/**
* Sets the value of the maxDocuments property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMaxDocuments(BigInteger value) {
this.maxDocuments = value;
}
/**
* Gets the value of the skipCount property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getSkipCount() {
return skipCount;
}
/**
* Sets the value of the skipCount property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setSkipCount(BigInteger value) {
this.skipCount = value;
}
}

View File

@@ -0,0 +1,86 @@
package org.alfresco.repo.cmis.ws;
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;
/**
* <p>Java class for getUnfiledDocsResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="getUnfiledDocsResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element ref="{http://www.cmis.org/ns/1.0}documentCollection"/>
* &lt;element ref="{http://www.cmis.org/ns/1.0}hasMoreItems"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"documentCollection",
"hasMoreItems"
})
@XmlRootElement(name = "getUnfiledDocsResponse")
public class GetUnfiledDocsResponse {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected DocumentCollection documentCollection;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected boolean hasMoreItems;
/**
* Gets the value of the documentCollection property.
*
* @return
* possible object is
* {@link DocumentCollection }
*
*/
public DocumentCollection getDocumentCollection() {
return documentCollection;
}
/**
* Sets the value of the documentCollection property.
*
* @param value
* allowed object is
* {@link DocumentCollection }
*
*/
public void setDocumentCollection(DocumentCollection value) {
this.documentCollection = value;
}
/**
* Gets the value of the hasMoreItems property.
*
*/
public boolean isHasMoreItems() {
return hasMoreItems;
}
/**
* Sets the value of the hasMoreItems property.
*
*/
public void setHasMoreItems(boolean value) {
this.hasMoreItems = value;
}
}

View File

@@ -0,0 +1,46 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 2.0.6
* Tue May 27 14:11:27 EEST 2008
* Generated source version: 2.0.6
*
*/
@WebFault(name = "InvalidArgumentFault", targetNamespace = "http://www.cmis.org/ns/1.0")
public class InvalidArgumentException extends Exception {
public static final long serialVersionUID = 20080527141127L;
private org.alfresco.repo.cmis.ws.BasicFault invalidArgumentFault;
public InvalidArgumentException() {
super();
}
public InvalidArgumentException(String message) {
super(message);
}
public InvalidArgumentException(String message, Throwable cause) {
super(message, cause);
}
public InvalidArgumentException(String message, org.alfresco.repo.cmis.ws.BasicFault invalidArgumentFault) {
super(message);
this.invalidArgumentFault = invalidArgumentFault;
}
public InvalidArgumentException(String message, org.alfresco.repo.cmis.ws.BasicFault invalidArgumentFault, Throwable cause) {
super(message, cause);
this.invalidArgumentFault = invalidArgumentFault;
}
public org.alfresco.repo.cmis.ws.BasicFault getFaultInfo() {
return this.invalidArgumentFault;
}
}

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.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for moveObject element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="moveObject">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element name="sourceFolderId" type="{http://www.cmis.org/ns/1.0}objectID" minOccurs="0"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"objectId",
"folderId",
"sourceFolderId"
})
@XmlRootElement(name = "moveObject")
public class MoveObject {
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String objectId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
protected String folderId;
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
protected String sourceFolderId;
/**
* Gets the value of the objectId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getObjectId() {
return objectId;
}
/**
* Sets the value of the objectId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setObjectId(String value) {
this.objectId = value;
}
/**
* Gets the value of the folderId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFolderId() {
return folderId;
}
/**
* Sets the value of the folderId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFolderId(String value) {
this.folderId = value;
}
/**
* Gets the value of the sourceFolderId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSourceFolderId() {
return sourceFolderId;
}
/**
* Sets the value of the sourceFolderId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSourceFolderId(String value) {
this.sourceFolderId = value;
}
}

View File

@@ -0,0 +1,36 @@
package org.alfresco.repo.cmis.ws;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for moveObjectResponse element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="moveObjectResponse">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "moveObjectResponse")
public class MoveObjectResponse {
}

View File

@@ -0,0 +1,58 @@
package org.alfresco.repo.cmis.ws;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import org.alfresco.repo.cmis.ws.NavigationServicePort;
/**
* This class was generated by Apache CXF 2.0.6
* Tue May 27 14:11:27 EEST 2008
* Generated source version: 2.0.6
*
*/
@WebServiceClient(name = "NavigationService", targetNamespace = "http://www.cmis.org/ns/1.0", wsdlLocation = "file:/D:/work/AlfrescoCMIS-WS/WScmis/web/wsdl/cmis/NavigationService.wsdl")
public class NavigationService extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://www.cmis.org/ns/1.0", "NavigationService");
public final static QName NavigationServicePort = new QName("http://www.cmis.org/ns/1.0", "NavigationServicePort");
static {
URL url = null;
try {
url = new URL("file:/D:/work/AlfrescoCMIS-WS/WScmis/web/wsdl/cmis/NavigationService.wsdl");
} catch (MalformedURLException e) {
System.err.println("Can not initialize the default wsdl from file:/D:/work/AlfrescoCMIS-WS/WScmis/web/wsdl/cmis/NavigationService.wsdl");
// e.printStackTrace();
}
WSDL_LOCATION = url;
}
public NavigationService(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public NavigationService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public NavigationService() {
super(WSDL_LOCATION, SERVICE);
}
/**
*
* @return
* returns NavigationServicePort
*/
@WebEndpoint(name = "NavigationServicePort")
public NavigationServicePort getNavigationServicePort() {
return super.getPort(NavigationServicePort, NavigationServicePort.class);
}
}

View File

@@ -0,0 +1,70 @@
package org.alfresco.repo.cmis.ws;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.ParameterStyle;
/**
* This class was generated by Apache CXF 2.0.6
* Tue May 27 14:11:27 EEST 2008
* Generated source version: 2.0.6
*
*/
@WebService(targetNamespace = "http://www.cmis.org/ns/1.0", name = "NavigationServicePort")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public interface NavigationServicePort {
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@WebResult(name = "getDescendantsResponse", targetNamespace = "http://www.cmis.org/ns/1.0", partName = "parameters")
@WebMethod
public org.alfresco.repo.cmis.ws.GetDescendantsResponse getDescendants(
@WebParam(partName = "parameters", name = "getDescendants", targetNamespace = "http://www.cmis.org/ns/1.0")
GetDescendants parameters
) throws RuntimeException, ConcurrencyException, InvalidArgumentException, FilterNotValidException, OperationNotSupportedException, FolderNotValidException, PermissionDeniedException;
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@WebResult(name = "getCheckedoutDocsResponse", targetNamespace = "http://www.cmis.org/ns/1.0", partName = "parameters")
@WebMethod
public org.alfresco.repo.cmis.ws.GetCheckedoutDocsResponse getCheckedoutDocs(
@WebParam(partName = "parameters", name = "getCheckedoutDocs", targetNamespace = "http://www.cmis.org/ns/1.0")
GetCheckedoutDocs parameters
) throws RuntimeException, ConcurrencyException, InvalidArgumentException, FilterNotValidException, OperationNotSupportedException, FolderNotValidException, PermissionDeniedException;
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@WebResult(name = "getDocumentParentsResponse", targetNamespace = "http://www.cmis.org/ns/1.0", partName = "parameters")
@WebMethod
public org.alfresco.repo.cmis.ws.GetDocumentParentsResponse getDocumentParents(
@WebParam(partName = "parameters", name = "getDocumentParents", targetNamespace = "http://www.cmis.org/ns/1.0")
GetDocumentParents parameters
) throws RuntimeException, ConcurrencyException, InvalidArgumentException, ObjectNotFoundException, FilterNotValidException, OperationNotSupportedException, PermissionDeniedException;
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@WebResult(name = "getChildrenResponse", targetNamespace = "http://www.cmis.org/ns/1.0", partName = "parameters")
@WebMethod
public org.alfresco.repo.cmis.ws.GetChildrenResponse getChildren(
@WebParam(partName = "parameters", name = "getChildren", targetNamespace = "http://www.cmis.org/ns/1.0")
GetChildren parameters
) throws RuntimeException, ConcurrencyException, InvalidArgumentException, FilterNotValidException, OperationNotSupportedException, FolderNotValidException, PermissionDeniedException;
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@WebResult(name = "getFolderParentResponse", targetNamespace = "http://www.cmis.org/ns/1.0", partName = "parameters")
@WebMethod
public org.alfresco.repo.cmis.ws.GetFolderParentResponse getFolderParent(
@WebParam(partName = "parameters", name = "getFolderParent", targetNamespace = "http://www.cmis.org/ns/1.0")
GetFolderParent parameters
) throws RuntimeException, ConcurrencyException, InvalidArgumentException, FilterNotValidException, OperationNotSupportedException, FolderNotValidException, PermissionDeniedException;
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@WebResult(name = "getUnfiledDocsResponse", targetNamespace = "http://www.cmis.org/ns/1.0", partName = "parameters")
@WebMethod
public org.alfresco.repo.cmis.ws.GetUnfiledDocsResponse getUnfiledDocs(
@WebParam(partName = "parameters", name = "getUnfiledDocs", targetNamespace = "http://www.cmis.org/ns/1.0")
GetUnfiledDocs parameters
) throws RuntimeException, ConcurrencyException, InvalidArgumentException, FilterNotValidException, OperationNotSupportedException, PermissionDeniedException;
}

Some files were not shown because too many files have changed in this diff Show More