mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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"/>
|
||||
|
@@ -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>
|
@@ -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>
|
@@ -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>
|
@@ -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>
|
@@ -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 -->
|
||||
|
@@ -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>
|
@@ -4,5 +4,6 @@
|
||||
<url>/api/node/{store_type}/{store_id}/{id}/children?types={types}&filter={filter?}&skipCount={skipCount?}&maxChildren={maxChildren?}</url>
|
||||
<url>/api/path/{store_type}/{store_id}/{id}/children?types={types}&filter={filter?}&skipCount={skipCount?}&maxChildren={maxChildren?}</url>
|
||||
<authentication>guest</authentication>
|
||||
<format default="atomfeed" />
|
||||
<format default="atomfeed">argument</format>
|
||||
<cmis version="0.21"/>
|
||||
</webscript>
|
@@ -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;
|
||||
}
|
@@ -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>
|
@@ -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>
|
@@ -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;
|
||||
}
|
@@ -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>
|
@@ -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>
|
@@ -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>
|
@@ -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>
|
@@ -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>
|
@@ -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>
|
@@ -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?}&returnVersion={returnVersion?}</url>
|
||||
<url>/api/path/{store_type}/{store_id}/{id}/properties?filter={filter?}&returnVersion={returnVersion?}</url>
|
||||
<authentication>guest</authentication>
|
||||
<format default="atomentry">argument</format>
|
||||
<cmis version="0.21"/>
|
||||
</webscript>
|
@@ -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
|
||||
}
|
@@ -4,4 +4,5 @@
|
||||
<url>/api/unfiled</url>
|
||||
<authentication>guest</authentication>
|
||||
<format default="atomfeed"/>
|
||||
<cmis version="0.21"/>
|
||||
</webscript>
|
@@ -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>
|
||||
|
@@ -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>
|
||||
* <element name="addDocumentToFolder">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="addDocumentToFolderResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "addDocumentToFolderResponse")
|
||||
public class AddDocumentToFolderResponse {
|
||||
|
||||
|
||||
}
|
@@ -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>
|
||||
* <simpleType name="allowableActionsEnum">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="delete"/>
|
||||
* <enumeration value="updateProperties"/>
|
||||
* <enumeration value="checkOut"/>
|
||||
* <enumeration value="cancelCheckOut"/>
|
||||
* <enumeration value="checkIn"/>
|
||||
* <enumeration value="deleteVersion"/>
|
||||
* <enumeration value="addToFolder"/>
|
||||
* <enumeration value="removeFromFolder"/>
|
||||
* <enumeration value="setContent"/>
|
||||
* <enumeration value="deleteContent"/>
|
||||
* <enumeration value="getAllVersions"/>
|
||||
* <enumeration value="getChilderen"/>
|
||||
* <enumeration value="getParents"/>
|
||||
* <enumeration value="getRelationships"/>
|
||||
* <enumeration value="getProperties"/>
|
||||
* <enumeration value="viewContent"/>
|
||||
* <enumeration value="move"/>
|
||||
* </restriction>
|
||||
* </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());
|
||||
}
|
||||
|
||||
}
|
@@ -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;
|
||||
}
|
||||
}
|
91
source/generated/org/alfresco/repo/cmis/ws/BasicFault.java
Normal file
91
source/generated/org/alfresco/repo/cmis/ws/BasicFault.java
Normal 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>
|
||||
* <complexType name="basicFault">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="errorCode" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
|
||||
* <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="cancelCheckOut">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="cancelCheckOutResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "cancelCheckOutResponse")
|
||||
public class CancelCheckOutResponse {
|
||||
|
||||
|
||||
}
|
@@ -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>
|
||||
* <complexType name="capabilitiesType">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="capabilityMultifiling" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* <element name="capabilityUpdatePWC" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* <element name="capabilityAllVersionsSearchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <simpleType name="cardinalityEnum">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="singleValued"/>
|
||||
* <enumeration value="multiValued"/>
|
||||
* </restriction>
|
||||
* </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());
|
||||
}
|
||||
|
||||
}
|
178
source/generated/org/alfresco/repo/cmis/ws/CheckIn.java
Normal file
178
source/generated/org/alfresco/repo/cmis/ws/CheckIn.java
Normal 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>
|
||||
* <element name="checkIn">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element name="major" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <element name="properties" type="{http://www.cmis.org/ns/1.0}documentObjectType" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}contentStream" minOccurs="0"/>
|
||||
* <element name="checkinComment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="checkInResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
66
source/generated/org/alfresco/repo/cmis/ws/CheckOut.java
Normal file
66
source/generated/org/alfresco/repo/cmis/ws/CheckOut.java
Normal 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>
|
||||
* <element name="checkOut">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="checkOutResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element name="contentCopied" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
73
source/generated/org/alfresco/repo/cmis/ws/Children.java
Normal file
73
source/generated/org/alfresco/repo/cmis/ws/Children.java
Normal 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>
|
||||
* <element name="children">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="object" type="{http://www.cmis.org/ns/1.0}documentOrFolderObjectType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
115
source/generated/org/alfresco/repo/cmis/ws/ChoiceType.java
Normal file
115
source/generated/org/alfresco/repo/cmis/ws/ChoiceType.java
Normal 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>
|
||||
* <complexType name="choiceType">
|
||||
* <simpleContent>
|
||||
* <extension base="<http://www.w3.org/2001/XMLSchema>string">
|
||||
* <attribute name="index" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
|
||||
* <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
|
||||
* </extension>
|
||||
* </simpleContent>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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;
|
||||
}
|
||||
}
|
@@ -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;
|
||||
}
|
||||
}
|
148
source/generated/org/alfresco/repo/cmis/ws/ContentStream.java
Normal file
148
source/generated/org/alfresco/repo/cmis/ws/ContentStream.java
Normal 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>
|
||||
* <element name="contentStream">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}name" minOccurs="0"/>
|
||||
* <element name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
|
||||
* <element name="stream" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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);
|
||||
}
|
||||
|
||||
}
|
178
source/generated/org/alfresco/repo/cmis/ws/CreateDocument.java
Normal file
178
source/generated/org/alfresco/repo/cmis/ws/CreateDocument.java
Normal 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>
|
||||
* <element name="createDocument">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="typeId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="propertyCollection" type="{http://www.cmis.org/ns/1.0}documentObjectType"/>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}contentStream" minOccurs="0"/>
|
||||
* <element name="versioningState" type="{http://www.cmis.org/ns/1.0}versioningStateEnum" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="createDocumentResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
122
source/generated/org/alfresco/repo/cmis/ws/CreateFolder.java
Normal file
122
source/generated/org/alfresco/repo/cmis/ws/CreateFolder.java
Normal 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>
|
||||
* <element name="createFolder">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="typeId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="propertyCollection" type="{http://www.cmis.org/ns/1.0}folderObjectType"/>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="createFolderResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="createRelationship">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="typeId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="propertyCollection" type="{http://www.cmis.org/ns/1.0}relationshipObjectType"/>
|
||||
* <element name="sourceObjectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element name="targetObjectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="createRelationshipResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="deleteAllVersions">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="deleteAllVersionsResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "deleteAllVersionsResponse")
|
||||
public class DeleteAllVersionsResponse {
|
||||
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="deleteContentStream">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="deleteContentStreamResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "deleteContentStreamResponse")
|
||||
public class DeleteContentStreamResponse {
|
||||
|
||||
|
||||
}
|
66
source/generated/org/alfresco/repo/cmis/ws/DeleteObject.java
Normal file
66
source/generated/org/alfresco/repo/cmis/ws/DeleteObject.java
Normal 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>
|
||||
* <element name="deleteObject">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="deleteObjectResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "deleteObjectResponse")
|
||||
public class DeleteObjectResponse {
|
||||
|
||||
|
||||
}
|
122
source/generated/org/alfresco/repo/cmis/ws/DeleteTree.java
Normal file
122
source/generated/org/alfresco/repo/cmis/ws/DeleteTree.java
Normal 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>
|
||||
* <element name="deleteTree">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element name="unfileMultiFiledDocuments" type="{http://www.cmis.org/ns/1.0}deleteWithMultiFilingEnum"/>
|
||||
* <element name="continueOnFailure" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="deleteTreeResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="failedToDelete">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <simpleType name="deleteWithMultiFilingEnum">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="unfile"/>
|
||||
* <enumeration value="deleteSingleFiledDocs"/>
|
||||
* <enumeration value="delete"/>
|
||||
* </restriction>
|
||||
* </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());
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="documentAndFolderCollection">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="object" type="{http://www.cmis.org/ns/1.0}documentOrFolderObjectType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="documentCollection">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="object" type="{http://www.cmis.org/ns/1.0}documentObjectType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <complexType name="documentFolderOrRelationshipObjectType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/ns/1.0}documentOrFolderObjectType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}sourceOID" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}targetOID" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <complexType name="documentObjectType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/ns/1.0}objectTypeBase">
|
||||
* <sequence>
|
||||
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="isImmutable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <element name="isLatestVersion" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <element name="isMajorVersion" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <element name="isLatestMajorVersion" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <element name="versionSeriesIsCheckedOut" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <element name="versionSeriesCheckedOutBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="versionSeriesCheckedOutOID" type="{http://www.cmis.org/ns/1.0}objectID" minOccurs="0"/>
|
||||
* <element name="checkinComment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="contentStreamLength" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
|
||||
* <element name="contentStreamMimeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="contentStreamFilename" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="contentStreamURI" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}property" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <complexType name="documentOrFolderObjectType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/ns/1.0}documentObjectType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}parent" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}children" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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;
|
||||
}
|
||||
}
|
@@ -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>
|
||||
* <element name="folderCollection">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="object" type="{http://www.cmis.org/ns/1.0}folderObjectType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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;
|
||||
}
|
||||
}
|
155
source/generated/org/alfresco/repo/cmis/ws/FolderObjectType.java
Normal file
155
source/generated/org/alfresco/repo/cmis/ws/FolderObjectType.java
Normal 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>
|
||||
* <complexType name="folderObjectType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/ns/1.0}objectTypeBase">
|
||||
* <sequence>
|
||||
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}parent" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}children" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}property" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getAllVersions">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getAllVersionsResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}documentCollection"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getAllowableActions">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element name="asUser" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getAllowableActionsResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="allowableActionCollection">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="action" type="{http://www.cmis.org/ns/1.0}allowableActionsEnum" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="action" type="{http://www.cmis.org/ns/1.0}allowableActionsEnum" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getCheckedoutDocs">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}maxItems" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}skipCount" minOccurs="0"/>
|
||||
* <element name="folderID" type="{http://www.cmis.org/ns/1.0}objectID" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getCheckedoutDocsResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}documentCollection"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}hasMoreItems"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
179
source/generated/org/alfresco/repo/cmis/ws/GetChildren.java
Normal file
179
source/generated/org/alfresco/repo/cmis/ws/GetChildren.java
Normal 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>
|
||||
* <element name="getChildren">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element name="type" type="{http://www.cmis.org/ns/1.0}typesOfObjectsEnum"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}maxItems" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}skipCount" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getChildrenResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}documentAndFolderCollection"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}hasMoreItems"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
123
source/generated/org/alfresco/repo/cmis/ws/GetContentStream.java
Normal file
123
source/generated/org/alfresco/repo/cmis/ws/GetContentStream.java
Normal 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>
|
||||
* <element name="getContentStream">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element name="offset" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
|
||||
* <element name="length" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getContentStreamResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="stream" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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);
|
||||
}
|
||||
|
||||
}
|
150
source/generated/org/alfresco/repo/cmis/ws/GetDescendants.java
Normal file
150
source/generated/org/alfresco/repo/cmis/ws/GetDescendants.java
Normal 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>
|
||||
* <element name="getDescendants">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element name="type" type="{http://www.cmis.org/ns/1.0}typesOfObjectsEnum"/>
|
||||
* <element name="depth" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getDescendantsResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}documentAndFolderCollection"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getDocumentParents">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getDocumentParentsResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}folderCollection"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
122
source/generated/org/alfresco/repo/cmis/ws/GetFolderParent.java
Normal file
122
source/generated/org/alfresco/repo/cmis/ws/GetFolderParent.java
Normal 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>
|
||||
* <element name="getFolderParent">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* <element name="returnToRoot" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getFolderParentResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}folderCollection"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
122
source/generated/org/alfresco/repo/cmis/ws/GetProperties.java
Normal file
122
source/generated/org/alfresco/repo/cmis/ws/GetProperties.java
Normal 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>
|
||||
* <element name="getProperties">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element name="returnVersion" type="{http://www.cmis.org/ns/1.0}versionEnum" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getPropertiesResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="object" type="{http://www.cmis.org/ns/1.0}documentFolderOrRelationshipObjectType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
235
source/generated/org/alfresco/repo/cmis/ws/GetRelationships.java
Normal file
235
source/generated/org/alfresco/repo/cmis/ws/GetRelationships.java
Normal 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>
|
||||
* <element name="getRelationships">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element name="direction" type="{http://www.cmis.org/ns/1.0}relationshipDirectionEnum"/>
|
||||
* <element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="includeSubRelationshipTypes" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}maxItems" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}skipCount" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getRelationshipsResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}relationshipCollection"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}hasMoreItems"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getRepositoryInfo">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "getRepositoryInfo")
|
||||
public class GetRepositoryInfo {
|
||||
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getRepositoryInfoResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="repositoryInfo" type="{http://www.cmis.org/ns/1.0}repositoryInfoType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getRootFolder">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getRootFolderResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="rootFolder" type="{http://www.cmis.org/ns/1.0}folderObjectType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getTypeDefinition">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="typeId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="includeInheritedProperties" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getTypeDefinitionResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="type" type="{http://www.cmis.org/ns/1.0}objectTypeDefinitionType"/>
|
||||
* <element name="canCreateInstances" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
151
source/generated/org/alfresco/repo/cmis/ws/GetTypes.java
Normal file
151
source/generated/org/alfresco/repo/cmis/ws/GetTypes.java
Normal 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>
|
||||
* <element name="getTypes">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="type" type="{http://www.cmis.org/ns/1.0}getTypesEnum"/>
|
||||
* <element name="returnPropertyDefinitions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}maxItems" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}skipCount" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
55
source/generated/org/alfresco/repo/cmis/ws/GetTypesEnum.java
Normal file
55
source/generated/org/alfresco/repo/cmis/ws/GetTypesEnum.java
Normal 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>
|
||||
* <simpleType name="getTypesEnum">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="Document"/>
|
||||
* <enumeration value="Folder"/>
|
||||
* <enumeration value="Relationship"/>
|
||||
* <enumeration value="All"/>
|
||||
* </restriction>
|
||||
* </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());
|
||||
}
|
||||
|
||||
}
|
159
source/generated/org/alfresco/repo/cmis/ws/GetTypesResponse.java
Normal file
159
source/generated/org/alfresco/repo/cmis/ws/GetTypesResponse.java
Normal 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>
|
||||
* <element name="getTypesResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="types">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="type" type="{http://www.cmis.org/ns/1.0}objectTypeDefinitionType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}hasMoreItems"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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>
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="type" type="{http://www.cmis.org/ns/1.0}objectTypeDefinitionType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
123
source/generated/org/alfresco/repo/cmis/ws/GetUnfiledDocs.java
Normal file
123
source/generated/org/alfresco/repo/cmis/ws/GetUnfiledDocs.java
Normal 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>
|
||||
* <element name="getUnfiledDocs">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* <element name="maxDocuments" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
|
||||
* <element name="skipCount" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="getUnfiledDocsResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}documentCollection"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}hasMoreItems"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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;
|
||||
}
|
||||
}
|
122
source/generated/org/alfresco/repo/cmis/ws/MoveObject.java
Normal file
122
source/generated/org/alfresco/repo/cmis/ws/MoveObject.java
Normal 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>
|
||||
* <element name="moveObject">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}objectID"/>
|
||||
* <element name="sourceFolderId" type="{http://www.cmis.org/ns/1.0}objectID" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </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;
|
||||
}
|
||||
|
||||
}
|
@@ -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>
|
||||
* <element name="moveObjectResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "moveObjectResponse")
|
||||
public class MoveObjectResponse {
|
||||
|
||||
|
||||
}
|
@@ -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);
|
||||
}
|
||||
|
||||
}
|
@@ -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
Reference in New Issue
Block a user