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@10733 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -5,12 +5,10 @@
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
||||
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
|
||||
|
||||
|
||||
<import resource="classpath:META-INF/cxf/cxf.xml" />
|
||||
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
|
||||
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
|
||||
|
||||
|
||||
<jaxws:endpoint address="/RepositoryService" implementor="#dmRepositoryService" implementorClass="org.alfresco.repo.cmis.ws.DMRepositoryServicePort">
|
||||
<jaxws:inInterceptors>
|
||||
<ref local="saajInInterceptor" />
|
||||
@@ -152,26 +150,21 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="dmRepositoryServiceTarget" parent="dmAbstractService" class="org.alfresco.repo.cmis.ws.DMRepositoryServicePort">
|
||||
<property name="rootPath">
|
||||
<value>workspace://SpacesStore/app:company_home</value>
|
||||
</property>
|
||||
</bean>
|
||||
<bean id="dmRepositoryServiceTarget" parent="dmAbstractService" class="org.alfresco.repo.cmis.ws.DMRepositoryServicePort" />
|
||||
|
||||
<bean id="dmNavigationServiceTarget" parent="dmAbstractService" class="org.alfresco.repo.cmis.ws.DMNavigationServicePort" />
|
||||
|
||||
<bean id="dmObjectServiceTarget" parent="dmAbstractService" class="org.alfresco.repo.cmis.ws.DMObjectServicePort" />
|
||||
|
||||
<bean id="dmAbstractService" abstract="true" class="org.alfresco.repo.cmis.ws.DMAbstractServicePort">
|
||||
<property name="authenticationService" ref="authenticationService" />
|
||||
<property name="personService" ref="personService" />
|
||||
<property name="nodeService" ref="nodeService" />
|
||||
<property name="dictionaryService" ref="dictionaryService" />
|
||||
<property name="searchService" ref="searchService" />
|
||||
<property name="namespaceService" ref="namespaceService" />
|
||||
<property name="versionService" ref="versionService" />
|
||||
<property name="checkOutCheckInService" ref="checkOutCheckInService" />
|
||||
<property name="fileFolderService" ref="fileFolderService" />
|
||||
<property name="cmisService" ref="CMISService" />
|
||||
<property name="cmisQueryService" ref="CMISQueryService" />
|
||||
<property name="cmisPropertyService" ref="CMISPropertyService" />
|
||||
<property name="cmisDictionaryService" ref="CMISDictionaryService" />
|
||||
<property name="descriptorService" ref="DescriptorService" />
|
||||
<property name="nodeService" ref="NodeService" />
|
||||
<property name="versionService" ref="VersionService" />
|
||||
<property name="fileFolderService" ref="FileFolderService" />
|
||||
</bean>
|
||||
|
||||
<bean id="exceptionPointcutAdvisor" class="org.springframework.aop.support.DefaultPointcutAdvisor">
|
||||
|
@@ -4,8 +4,8 @@
|
||||
[#-- ATOM Entry for Document --]
|
||||
[#-- --]
|
||||
|
||||
[#macro document node]
|
||||
<author><name>${node.properties.creator}</name></author>
|
||||
[#macro document node propfilter="*"]
|
||||
<author><name>${node.properties.creator!""}</name></author>
|
||||
<content type="${node.mimetype}" src="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/content"/>
|
||||
<id>urn:uuid:${node.id}</id>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}"/>
|
||||
@@ -17,9 +17,9 @@
|
||||
<summary>${node.properties.description!node.properties.title!cropContent(node, 50)}</summary>
|
||||
<title>${node.name}</title>
|
||||
<updated>${xmldate(node.properties.modified)}</updated>
|
||||
[@documentCMISProps node=node/]
|
||||
<app:edited>${xmldate(node.properties.modified)}</app:edited>
|
||||
<alf:icon>${absurl(url.context)}${node.icon16}</alf:icon>
|
||||
[@documentCMISProps node propfilter/]
|
||||
[#-- TODO: custom ns <app:edited>${xmldate(node.properties.modified)}</app:edited> --]
|
||||
[#-- TODO: custom ns <alf:icon>${absurl(url.context)}${node.icon16}</alf:icon> --]
|
||||
[/#macro]
|
||||
|
||||
[#macro documentCMISLinks node]
|
||||
@@ -31,30 +31,30 @@
|
||||
<link rel="cmis-type" href="${absurl(url.serviceContext)}/api/type/${cmistypeid(node)}"/>
|
||||
[/#macro]
|
||||
|
||||
[#macro documentCMISProps node]
|
||||
[#macro documentCMISProps node propfilter]
|
||||
<cmis:properties>
|
||||
<cmis:propertyBoolean cmis:name="isImmutable">${cmisproperty(node, "IS_IMMUTABLE")?string}</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean cmis:name="isLatestVersion">${cmisproperty(node, "IS_LATEST_VERSION")?string}</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean cmis:name="isMajorVersion">${cmisproperty(node, "IS_MAJOR_VERSION")?string}</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean cmis:name="isLatestMajorVersion">${cmisproperty(node, "IS_LATEST_MAJOR_VERSION")?string}</cmis:propertyBoolean>
|
||||
<cmis:propertyBoolean cmis:name="isVersionSeriesCheckedOut">${cmisproperty(node, "VERSION_SERIES_IS_CHECKED_OUT")?string}</cmis:propertyBoolean>
|
||||
<cmis:propertyDateTime cmis:name="creationDate">${xmldate(node.properties.created)}</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime cmis:name="lastModificationDate">${xmldate(node.properties.modified)}</cmis:propertyDateTime>
|
||||
<cmis:propertyID cmis:name="objectId">${node.nodeRef}</cmis:propertyID>
|
||||
<cmis:propertyID cmis:name="versionSeriesID">${cmisproperty(node, "VERSION_SERIES_ID")}</cmis:propertyID>
|
||||
<cmis:propertyID cmis:name="versionSeriesCheckedOutID">${cmisproperty(node, "VERSION_SERIES_CHECKED_OUT_ID")!""}</cmis:propertyID>
|
||||
<cmis:propertyInteger cmis:name="contentStreamLength">${node.properties.content.size}</cmis:propertyInteger>
|
||||
<cmis:propertyString cmis:name="name">${node.name}</cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="baseType">document</cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="objectType">${cmistypeid(node)}</cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="createdBy">${node.properties.creator}</cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="lastModifiedBy">${node.properties.modifier}</cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="contentStreamMimetype">${node.properties.content.mimetype}</cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="contentStreamName">${node.name}</cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="versionLabel">${cmisproperty(node, "VERSION_LABEL")!""}</cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="versionSeriesCheckedOutBy">${cmisproperty(node, "VERSION_SERIES_CHECKED_OUT_BY")!""}</cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="checkinComment">${cmisproperty(node, "CHECKIN_COMMENT")!""}</cmis:propertyString>
|
||||
<cmis:propertyURI cmis:name="contentStreamURI">${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/content</cmis:propertyURI>
|
||||
[@filter propfilter "IS_IMMUTABLE"][@prop "isImmutable" cmisproperty(node, "IS_IMMUTABLE") "Boolean"/][/@filter]
|
||||
[@filter propfilter "IS_LATEST_VERSION"][@prop "isLatestVersion" cmisproperty(node, "IS_LATEST_VERSION") "Boolean"/][/@filter]
|
||||
[@filter propfilter "IS_MAJOR_VERSION"][@prop "isMajorVersion" cmisproperty(node, "IS_MAJOR_VERSION") "Boolean"/][/@filter]
|
||||
[@filter propfilter "IS_LATEST_MAJOR_VERSION"][@prop "isLatestMajorVersion" cmisproperty(node, "IS_LATEST_MAJOR_VERSION") "Boolean"/][/@filter]
|
||||
[@filter propfilter "VERSION_SERIES_IS_CHECKED_OUT"][@prop "isVersionSeriesCheckedOut" cmisproperty(node, "VERSION_SERIES_IS_CHECKED_OUT") "Boolean"/][/@filter]
|
||||
[@filter propfilter "CREATION_DATE"][@prop "creationDate" node.properties.created "DateTime"/][/@filter]
|
||||
[@filter propfilter "LAST_MODIFICATION_DATE"][@prop "lastModificationDate" node.properties.modified "DateTime"/][/@filter]
|
||||
[@filter propfilter "OBJECT_ID"][@prop "objectId" node.nodeRef "ID"/][/@filter]
|
||||
[@filter propfilter "VERSION_SERIES_ID"][@prop "versionSeriesID" cmisproperty(node, "VERSION_SERIES_ID") "ID"/][/@filter]
|
||||
[@filter propfilter "VERSION_SERIES_CHECKED_OUT_ID"][@prop "versionSeriesCheckedOutID" cmisproperty(node, "VERSION_SERIES_CHECKED_OUT_ID")!"" "ID"/][/@filter]
|
||||
[@filter propfilter "CONTENT_STREAM_LENGTH"][@prop "contentStreamLength" node.properties.content.size "Integer"/][/@filter]
|
||||
[@filter propfilter "NAME"][@prop "name" node.name "String"/][/@filter]
|
||||
[@filter propfilter "ROOT_TYPE_QUERY_NAME"][@prop "baseType" "document" "String"/][/@filter] [#-- TODO: spec issue 41 --]
|
||||
[@filter propfilter "OBJECT_TYPE_ID"][@prop "objectType" cmistypeid(node) "String"/][/@filter]
|
||||
[@filter propfilter "CREATED_BY"][@prop "createdBy" node.properties.creator "String"/][/@filter]
|
||||
[@filter propfilter "LAST_MODIFIED_BY"][@prop "lastModifiedBy" node.properties.modifier "String"/][/@filter]
|
||||
[@filter propfilter "CONTENT_STREAM_MIME_TYPE"][@prop "contentStreamMimetype" node.properties.content.mimetype "String"/][/@filter]
|
||||
[@filter propfilter "CONTENT_STREAM_FILENAME"][@prop "contentStreamName" node.name "String"/][/@filter]
|
||||
[@filter propfilter "VERSION_LABEL"][@prop "versionLabel" cmisproperty(node, "VERSION_LABEL")!"" "String"/][/@filter]
|
||||
[@filter propfilter "VERSION_SERIES_CHECKED_OUT_BY"][@prop "versionSeriesCheckedOutBy" cmisproperty(node, "VERSION_SERIES_CHECKED_OUT_BY")!"" "String"/][/@filter]
|
||||
[@filter propfilter "CHECKIN_COMMENT"][@prop "checkinComment" cmisproperty(node, "CHECKIN_COMMENT")!"" "String"/][/@filter]
|
||||
[@filter propfilter "CONTENT_STREAM_URI"][@prop "contentStreamURI" absurl(url.serviceContext) + "/api/node/" + node.nodeRef.storeRef.protocol + "/" + node.nodeRef.storeRef.identifier + "/" + node.nodeRef.id + "/content" "String"/][/@filter]
|
||||
</cmis:properties>
|
||||
[/#macro]
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
[#-- ATOM Entry for Version --]
|
||||
[#-- --]
|
||||
|
||||
[#macro version node version]
|
||||
[#macro version node version propfilter="*"]
|
||||
<author><name>${node.properties.creator}</name></author>
|
||||
<content type="${node.mimetype}" src="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/content"/>
|
||||
<id>urn:uuid:${node.id}</id>
|
||||
@@ -74,9 +74,9 @@
|
||||
<summary>${node.properties.description!node.properties.title!cropContent(node.properties.content, 50)}</summary>
|
||||
<title>${node.name}</title>
|
||||
<updated>${xmldate(node.properties.modified)}</updated>
|
||||
[@documentCMISProps node=node/]
|
||||
<app:edited>${xmldate(node.properties.modified)}</app:edited>
|
||||
<alf:icon>${absurl(url.context)}${node.icon16}</alf:icon>
|
||||
[@documentCMISProps node propfilter/]
|
||||
[#-- TODO: custom ns <app:edited>${xmldate(node.properties.modified)}</app:edited> --]
|
||||
[#-- TODO: custom ns <alf:icon>${absurl(url.context)}${node.icon16}</alf:icon> --]
|
||||
[/#macro]
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
[#-- ATOM Entry for Private Working Copy --]
|
||||
[#-- --]
|
||||
|
||||
[#macro pwc node]
|
||||
[#macro pwc node propfilter="*"]
|
||||
<author><name>${node.properties.creator}</name></author>
|
||||
<content type="${node.mimetype}" src="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/content"/>
|
||||
<id>urn:uuid:${node.id}</id>
|
||||
@@ -97,10 +97,10 @@
|
||||
<summary>${node.properties.description!node.properties.title!cropContent(node.properties.content, 50)}</summary>
|
||||
<title>${node.name}</title>
|
||||
<updated>${xmldate(node.properties.modified)}</updated>
|
||||
[@documentCMISProps node=node/]
|
||||
<app:edited>${xmldate(node.properties.modified)}</app:edited>
|
||||
[@documentCMISProps node propfilter/]
|
||||
[#-- TODO: custom ns <app:edited>${xmldate(node.properties.modified)}</app:edited> --]
|
||||
[#-- TODO: the edit link refers to the updatable node resource, allowing updates on PWCs without checkin --]
|
||||
<alf:icon>${absurl(url.context)}${node.icon16}</alf:icon>
|
||||
[#-- TODO: custom ns <alf:icon>${absurl(url.context)}${node.icon16}</alf:icon> --]
|
||||
[/#macro]
|
||||
|
||||
|
||||
@@ -108,20 +108,20 @@
|
||||
[#-- ATOM Entry for Folder --]
|
||||
[#-- --]
|
||||
|
||||
[#macro folder node]
|
||||
[#macro folder node propfilter="*"]
|
||||
<author><name>${node.properties.creator}</name></author>
|
||||
<content>${node.id}</content> [#-- TODO --]
|
||||
<id>urn:uuid:${node.id}</id>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}"/>
|
||||
<link rel="edit" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}"/>
|
||||
[@folderCMISLinks node=node/]
|
||||
[@folderCMISLinks node/]
|
||||
<published>${xmldate(node.properties.created)}</published>
|
||||
<summary>${node.properties.description!node.properties.title}</summary> [#-- TODO --]
|
||||
<summary>${node.properties.description!node.properties.title!""}</summary> [#-- TODO --]
|
||||
<title>${node.name}</title>
|
||||
<updated>${xmldate(node.properties.modified)}</updated>
|
||||
[@folderCMISProps node=node/]
|
||||
<app:edited>${xmldate(node.properties.modified)}</app:edited>
|
||||
<alf:icon>${absurl(url.context)}${node.icon16}</alf:icon>
|
||||
[@folderCMISProps node propfilter/]
|
||||
[#-- TODO: custom ns <app:edited>${xmldate(node.properties.modified)}</app:edited> --]
|
||||
[#-- TODO: custom ns <alf:icon>${absurl(url.context)}${node.icon16}</alf:icon> --]
|
||||
[/#macro]
|
||||
|
||||
[#macro folderCMISLinks node]
|
||||
@@ -136,21 +136,49 @@
|
||||
<link rel="cmis-type" href="${absurl(url.serviceContext)}/api/type/${cmistypeid(node)}"/>
|
||||
[/#macro]
|
||||
|
||||
[#macro folderCMISProps node]
|
||||
[#macro folderCMISProps node propfilter]
|
||||
<cmis:properties>
|
||||
<cmis:propertyDateTime cmis:name="creationDate">${xmldate(node.properties.created)}</cmis:propertyDateTime>
|
||||
<cmis:propertyDateTime cmis:name="lastModificationDate">${xmldate(node.properties.modified)}</cmis:propertyDateTime>
|
||||
<cmis:propertyID cmis:name="objectId">${node.nodeRef}</cmis:propertyID>
|
||||
<cmis:propertyID cmis:name="parent">${cmisproperty(node, "PARENT")!""}</cmis:propertyID>
|
||||
<cmis:propertyString cmis:name="name">${node.name}</cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="objectType">${cmistypeid(node)}</cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="baseType">folder</cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="createdBy">${node.properties.creator}</cmis:propertyString>
|
||||
<cmis:propertyString cmis:name="lastModifiedBy">${node.properties.modifier}</cmis:propertyString>
|
||||
[@filter propfilter "CREATION_DATE"][@prop "creationDate" node.properties.created "DateTime"/][/@filter]
|
||||
[@filter propfilter "LAST_MODIFICATION_DATE"][@prop "lastModificationDate" node.properties.modified "DateTime"/][/@filter]
|
||||
[@filter propfilter "OBJECT_ID"][@prop "objectId" node.nodeRef "ID"/][/@filter]
|
||||
[@filter propfilter "PARENT"][@prop "parent" cmisproperty(node, "PARENT")!"" "ID"/][/@filter]
|
||||
[@filter propfilter "NAME"][@prop "name" node.name "String"/][/@filter]
|
||||
[@filter propfilter "ROOT_TYPE_QUERY_NAME"][@prop "baseType" "folder" "String"/][/@filter] [#-- TODO: spec issue 41 --]
|
||||
[@filter propfilter "OBJECT_TYPE_ID"][@prop "objectType" cmistypeid(node) "String"/][/@filter]
|
||||
[@filter propfilter "CREATED_BY"][@prop "createdBy" node.properties.creator "String"/][/@filter]
|
||||
[@filter propfilter "LAST_MODIFIED_BY"][@prop "lastModifiedBy" node.properties.modifier "String"/][/@filter]
|
||||
</cmis:properties>
|
||||
[/#macro]
|
||||
|
||||
|
||||
[#-- --]
|
||||
[#-- ATOM Entry for Query Row --]
|
||||
[#-- --]
|
||||
|
||||
[#-- TODO: spec issue 47 --]
|
||||
[#macro row row]
|
||||
[#if row.nodes??]
|
||||
[#assign node = row.nodes?first]
|
||||
<author><name>${node.properties.creator!""}</name></author>
|
||||
<content type="${node.mimetype}" src="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}/content"/>
|
||||
<id>urn:uuid:${node.id}</id>
|
||||
<link rel="self" href="${absurl(url.serviceContext)}/api/node/${node.nodeRef.storeRef.protocol}/${node.nodeRef.storeRef.identifier}/${node.nodeRef.id}"/>
|
||||
<title>${node.name}</title>
|
||||
<updated>${xmldate(node.properties.modified)}</updated>
|
||||
[/#if]
|
||||
[#assign values = row.values]
|
||||
[#if values?size > 0]
|
||||
<cmis:properties>
|
||||
[#list values?keys as colname]
|
||||
[#assign coltype = row.getColumnType(colname)]
|
||||
[@prop colname values[colname] coltype/]
|
||||
[/#list]
|
||||
</cmis:properties>
|
||||
[/#if]
|
||||
[#-- TODO: custom ns <alf:icon>${absurl(url.context)}${node.icon16}</alf:icon> --]
|
||||
[/#macro]
|
||||
|
||||
|
||||
[#-- --]
|
||||
[#-- ATOM Entry for Type Definition --]
|
||||
[#-- --]
|
||||
@@ -227,6 +255,35 @@
|
||||
</cmis:property>
|
||||
[/#macro]
|
||||
|
||||
|
||||
[#-- --]
|
||||
[#-- CMIS Properties --]
|
||||
[#-- --]
|
||||
|
||||
[#macro filter filter value]
|
||||
[#if filter == "*" || filter?index_of(value) != -1 || filter?matches(value,'i')][#nested][/#if]
|
||||
[/#macro]
|
||||
|
||||
[#macro prop name value type]
|
||||
[#if type == "String"]
|
||||
<cmis:propertyString cmis:name="${name}">${value}</cmis:propertyString>
|
||||
[#elseif type == "Integer"]
|
||||
<cmis:propertyInteger cmis:name="${name}">${value?c}</cmis:propertyInteger>
|
||||
[#elseif type == "Decimal"]
|
||||
<cmis:propertyDecimal cmis:name="${name}">${value?c}</cmis:propertyDecimal>
|
||||
[#elseif type == "Boolean"]
|
||||
<cmis:propertyBoolean cmis:name="${name}">${value?string}</cmis:propertyBoolean>
|
||||
[#elseif type == "DateTime"]
|
||||
<cmis:propertyDateTime cmis:name="${name}">${xmldate(value)}</cmis:propertyDateTime>
|
||||
[#elseif type == "URI"]
|
||||
<cmis:propertyURI cmis:name="${name}">${value}</cmis:propertyURI>
|
||||
[#elseif type == "ID"]
|
||||
<cmis:propertyID cmis:name="${name}">${value}</cmis:propertyID>
|
||||
[#-- TODO: remaining property types --]
|
||||
[/#if]
|
||||
[/#macro]
|
||||
|
||||
|
||||
[#-- TODO: spec issue 40 --]
|
||||
[#macro cmisBaseType rootType]
|
||||
[#if rootType = "DOCUMENT_OBJECT_TYPE"]document[#elseif rootType = "FOLDER_OBJECT_TYPE"]folder[#elseif rootType = "RELATIONSHIP_OBJECT_TYPE"]relationship[#elseif rootType = "POLICY_OBJECT_TYPE"]policy[#else][/#if][/#macro]
|
||||
|
@@ -4,6 +4,6 @@
|
||||
[#macro cmisNS]http://www.cmis.org/2008/05[/#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:app="[@appNS/]" xmlns:cmis="[@cmisNS/]" xmlns:alf="[@alfNS/]" xmlns:opensearch="[@opensearchNS/]"[/#macro]
|
||||
[#macro entryNS]xmlns="[@atomNS/]" xmlns:app="[@appNS/]" xmlns:cmis="[@cmisNS/]" xmlns:alf="[@alfNS/]"[/#macro]
|
||||
[#macro serviceNS]xmlns="[@appNS/]" xmlns:atom="[@atomNS/]" xmlns:cmis="[@cmisNS/]" [#-- TODO: custom ns xmlns:alf="[@alfNS/]" --][/#macro]
|
||||
[#macro feedNS]xmlns="[@atomNS/]" xmlns:app="[@appNS/]" xmlns:cmis="[@cmisNS/]" [#-- xmlns:alf="[@alfNS/]" xmlns:opensearch="[@opensearchNS/]" --][/#macro]
|
||||
[#macro entryNS]xmlns="[@atomNS/]" xmlns:app="[@appNS/]" xmlns:cmis="[@cmisNS/]" [#-- xmlns:alf="[@alfNS/]" --][/#macro]
|
@@ -1,37 +1,39 @@
|
||||
<#macro links cursor pageNo="pageNo" pageSize="pageSize" skipCount="skipCount" maxItems="maxItems">
|
||||
<#if cursor.pageType = "PAGE">
|
||||
<#if cursor.hasFirstPage>
|
||||
<link rel="first" href="${absurl(encodeuri(scripturl(argreplace(url.args, pageNo, cursor.firstPage, pageSize, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
</#if>
|
||||
<#if cursor.hasLastPage>
|
||||
<link rel="last" href="${absurl(encodeuri(scripturl(argreplace(url.args, pageNo, cursor.lastPage, pageSize, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
</#if>
|
||||
<#if cursor.hasPrevPage>
|
||||
<link rel="prev" href="${absurl(encodeuri(scripturl(argreplace(url.args, pageNo, cursor.prevPage, pageSize, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
</#if>
|
||||
<#if cursor.hasNextPage>
|
||||
<link rel="next" href="${absurl(encodeuri(scripturl(argreplace(url.args, pageNo, cursor.nextPage, pageSize, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
</#if>
|
||||
<#else>
|
||||
<#if cursor.hasFirstPage>
|
||||
<link rel="first" href="${absurl(encodeuri(scripturl(argreplace(url.args, skipCount, cursor.firstPage, maxItems, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
</#if>
|
||||
<#if cursor.hasLastPage>
|
||||
<link rel="last" href="${absurl(encodeuri(scripturl(argreplace(url.args, skipCount, cursor.lastPage, maxItems, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
</#if>
|
||||
<#if cursor.hasPrevPage>
|
||||
<link rel="prev" href="${absurl(encodeuri(scripturl(argreplace(url.args, skipCount, cursor.prevPage, maxItems, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
</#if>
|
||||
<#if cursor.hasNextPage>
|
||||
<link rel="next" href="${absurl(encodeuri(scripturl(argreplace(url.args, skipCount, cursor.nextPage, maxItems, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
</#if>
|
||||
</#if>
|
||||
</#macro>
|
||||
[#ftl]
|
||||
|
||||
<#macro opensearch cursor>
|
||||
<#-- NOTE: this macro requires the definition of xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" in -->
|
||||
<#-- the enclosing document -->
|
||||
<opensearch:totalResults>${cursor.totalRows}</opensearch:totalResults>
|
||||
<opensearch:startIndex>${cursor.startRow}</opensearch:startIndex>
|
||||
<opensearch:itemsPerPage>${cursor.pageSize}</opensearch:itemsPerPage>
|
||||
</#macro>
|
||||
[#macro links cursor pageNo="pageNo" pageSize="pageSize" skipCount="skipCount" maxItems="maxItems"]
|
||||
[#if cursor.pageType = "PAGE"]
|
||||
[#if cursor.hasFirstPage]
|
||||
<link rel="first" href="${absurl(encodeuri(scripturl(argreplace(url.args, pageNo, cursor.firstPage, pageSize, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
[/#if]
|
||||
[#if cursor.hasLastPage]
|
||||
<link rel="last" href="${absurl(encodeuri(scripturl(argreplace(url.args, pageNo, cursor.lastPage, pageSize, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
[/#if]
|
||||
[#if cursor.hasPrevPage]
|
||||
<link rel="prev" href="${absurl(encodeuri(scripturl(argreplace(url.args, pageNo, cursor.prevPage, pageSize, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
[/#if]
|
||||
[#if cursor.hasNextPage]
|
||||
<link rel="next" href="${absurl(encodeuri(scripturl(argreplace(url.args, pageNo, cursor.nextPage, pageSize, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
[/#if]
|
||||
[#else]
|
||||
[#if cursor.hasFirstPage]
|
||||
<link rel="first" href="${absurl(encodeuri(scripturl(argreplace(url.args, skipCount, cursor.firstPage, maxItems, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
[/#if]
|
||||
[#if cursor.hasLastPage]
|
||||
<link rel="last" href="${absurl(encodeuri(scripturl(argreplace(url.args, skipCount, cursor.lastPage, maxItems, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
[/#if]
|
||||
[#if cursor.hasPrevPage]
|
||||
<link rel="prev" href="${absurl(encodeuri(scripturl(argreplace(url.args, skipCount, cursor.prevPage, maxItems, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
[/#if]
|
||||
[#if cursor.hasNextPage]
|
||||
<link rel="next" href="${absurl(encodeuri(scripturl(argreplace(url.args, skipCount, cursor.nextPage, maxItems, cursor.pageSize))))?xml}" type="${format.type}"/>
|
||||
[/#if]
|
||||
[/#if]
|
||||
[/#macro]
|
||||
|
||||
[#macro opensearch cursor]
|
||||
[#-- NOTE: this macro requires the definition of xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" in --]
|
||||
[#-- the enclosing document --]
|
||||
[#-- TODO: custom ns <opensearch:totalResults>${cursor.totalRows}</opensearch:totalResults> --]
|
||||
[#-- TODO: custom ns <opensearch:startIndex>${cursor.startRow}</opensearch:startIndex> --]
|
||||
[#-- TODO: custom ns <opensearch:itemsPerPage>${cursor.pageSize}</opensearch:itemsPerPage> --]
|
||||
[/#macro]
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[#ftl]
|
||||
[#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/]
|
||||
<?xml version="1.0" encoding='utf-8'?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<service [@nsLib.serviceNS/]>
|
||||
<workspace cmis:id="${server.id}">
|
||||
<atom:title>${server.name}</atom:title>
|
||||
@@ -37,6 +37,9 @@
|
||||
<collection href="${absurl(url.serviceContext)}/api/types" cmis:collectionType="types">
|
||||
<atom:title>type collection</atom:title>
|
||||
</collection>
|
||||
<collection href="${absurl(url.serviceContext)}/api/query" cmis:collectionType="query">
|
||||
<atom:title>query collection</atom:title>
|
||||
</collection>
|
||||
|
||||
</workspace>
|
||||
</service>
|
||||
|
@@ -0,0 +1,28 @@
|
||||
[#ftl]
|
||||
[#import "/org/alfresco/cmis/ns.lib.atom.ftl" as nsLib/]
|
||||
[#import "/org/alfresco/cmis/atomfeed.lib.atom.ftl" as feedLib/]
|
||||
[#import "/org/alfresco/cmis/atomentry.lib.atom.ftl" as entryLib/]
|
||||
[#import "/org/alfresco/paging.lib.atom.ftl" as pagingLib/]
|
||||
[#compress]
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<feed [@nsLib.feedNS/]>
|
||||
|
||||
[#-- TODO: uuid --]
|
||||
[@feedLib.generic "urn:uuid:resultset" "Result set for ${statement}" "${person.properties.userName}"]
|
||||
[@pagingLib.links cursor=cursor/]
|
||||
[/@feedLib.generic]
|
||||
|
||||
[#assign rs = cmisresultset(resultset)]
|
||||
[#list rs.rows as row]
|
||||
<entry>
|
||||
[@entryLib.row row/]
|
||||
</entry>
|
||||
[/#list]
|
||||
|
||||
[@feedLib.hasMore more=cursor/]
|
||||
[@pagingLib.opensearch cursor=cursor/]
|
||||
|
||||
</feed>
|
||||
|
||||
[/#compress]
|
@@ -0,0 +1,44 @@
|
||||
script:
|
||||
{
|
||||
// process query statement
|
||||
// <?xml version="1.0"?>
|
||||
// <query xmlns="http://www.cmis.org/CMIS/2008/05">
|
||||
// <statement>object_id1</statement >
|
||||
// <searchAllVersions>false</searchAllVersions>
|
||||
// <pageSize>0</pageSize>
|
||||
// <skipCount>0</skipCount>
|
||||
// <returnAllowableActions>false</returnAllowableActions>
|
||||
// </query>
|
||||
|
||||
default xml namespace = 'http://www.cmis.org/2008/05';
|
||||
|
||||
var cmisQuery = new XML(query);
|
||||
|
||||
// extract query statement
|
||||
model.statement = cmisQuery.statement.toString();
|
||||
if (model.statement == null || model.statement.length == 0)
|
||||
{
|
||||
status.setCode(status.STATUS_BAD_REQUEST, "Query statement must be provided");
|
||||
break script;
|
||||
}
|
||||
|
||||
// process search all versions (NOTE: not supported)
|
||||
var searchAllVersions = cmisQuery.searchAllVersions;
|
||||
if (searchAllVersions != null && searchAllVersions === "true")
|
||||
{
|
||||
status.setCode(status.STATUS_INTERNAL_SERVER_ERROR, "Search all versions not supported");
|
||||
break script;
|
||||
}
|
||||
|
||||
// TODO: process allowableActions
|
||||
|
||||
// process paging
|
||||
var skipCount = parseInt(cmisQuery.skipCount);
|
||||
var pageSize = parseInt(cmisQuery.pageSize);
|
||||
var page = paging.createPageOrWindow(null, null, isNaN(skipCount) ? null : skipCount, isNaN(pageSize) ? null : pageSize);
|
||||
|
||||
// perform query
|
||||
var paged = cmis.query(model.statement, page);
|
||||
model.resultset = paged.result;
|
||||
model.cursor = paged.cursor;
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
<webscript>
|
||||
<shortname>Issue ad-hoc query</shortname>
|
||||
<description>Issue ad-hoc query statement</description>
|
||||
<url>/api/query</url>
|
||||
<authentication>user</authentication>
|
||||
<format default="atomfeed"/>
|
||||
<family>CMIS</family>
|
||||
</webscript>
|
@@ -12,8 +12,6 @@ script:
|
||||
break script;
|
||||
}
|
||||
|
||||
// TODO: check for appropriate permission
|
||||
|
||||
// ensure atom entry is posted
|
||||
if (entry === null)
|
||||
{
|
||||
@@ -23,6 +21,15 @@ script:
|
||||
break script;
|
||||
}
|
||||
|
||||
// check permissions
|
||||
if (!model.node.hasPermission("WriteProperties") || !model.node.hasPermission("WriteContent"))
|
||||
{
|
||||
status.code = 403;
|
||||
status.message = "Permission to update is denied";
|
||||
status.redirect = true;
|
||||
break script;
|
||||
}
|
||||
|
||||
// update properties
|
||||
// NOTE: Only CMIS property name is updatable
|
||||
// TODO: support for custom properties
|
||||
|
@@ -6,7 +6,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<entry [@nsLib.entryNS/]>
|
||||
[@entryLib.document node=node/]
|
||||
[#if checkin]
|
||||
[@entryLib.document node/]
|
||||
[#else]
|
||||
[@entryLib.pwc node/]
|
||||
[/#if]
|
||||
</entry>
|
||||
|
||||
[/#compress]
|
@@ -3,8 +3,8 @@ script:
|
||||
// locate node
|
||||
var pathSegments = url.match.split("/");
|
||||
var reference = [ url.templateArgs.store_type, url.templateArgs.store_id ].concat(url.templateArgs.id.split("/"));
|
||||
var node = cmis.findNode("node", reference);
|
||||
if (node === null || !node.hasAspect("cm:workingcopy"))
|
||||
model.node = cmis.findNode("node", reference);
|
||||
if (model.node === null || !model.node.hasAspect("cm:workingcopy"))
|
||||
{
|
||||
status.code = 404;
|
||||
status.message = "Private working copy " + reference.join("/") + " not found";
|
||||
@@ -12,13 +12,22 @@ script:
|
||||
break script;
|
||||
}
|
||||
|
||||
if (!node.hasPermission("CheckIn"))
|
||||
// check permissions
|
||||
model.checkin = cmis.findArg(args.checkin, headers["CMIS-checkin"]) == "true" ? true : false;
|
||||
if (model.checkin && !model.node.hasPermission("CheckIn"))
|
||||
{
|
||||
status.code = 403;
|
||||
status.message = "Permission to checkin is denied";
|
||||
status.redirect = true;
|
||||
break script;
|
||||
}
|
||||
else if (!model.node.hasPermission("WriteProperties") || !model.node.hasPermission("WriteContent"))
|
||||
{
|
||||
status.code = 403;
|
||||
status.message = "Permission to update is denied";
|
||||
status.redirect = true;
|
||||
break script;
|
||||
}
|
||||
|
||||
if (entry !== null)
|
||||
{
|
||||
@@ -30,7 +39,7 @@ script:
|
||||
var name = entry.title;
|
||||
if (name !== null)
|
||||
{
|
||||
node.name = name;
|
||||
model.node.name = name;
|
||||
updated = true;
|
||||
}
|
||||
|
||||
@@ -38,7 +47,7 @@ script:
|
||||
var content = entry.content;
|
||||
if (content !== null)
|
||||
{
|
||||
if (!node.isDocument)
|
||||
if (!model.node.isDocument)
|
||||
{
|
||||
status.code = 400;
|
||||
status.message = "Cannot update content on folder " + pathSegments[2] + " " + reference.join("/");
|
||||
@@ -46,22 +55,25 @@ script:
|
||||
break script;
|
||||
}
|
||||
|
||||
node.content = content;
|
||||
node.properties.content.encoding = "UTF-8";
|
||||
node.properties.content.mimetype = atom.toMimeType(entry);
|
||||
model.node.content = content;
|
||||
model.node.properties.content.encoding = "UTF-8";
|
||||
model.node.properties.content.mimetype = atom.toMimeType(entry);
|
||||
updated = true;
|
||||
}
|
||||
|
||||
// only save if an update actually occurred
|
||||
if (updated)
|
||||
{
|
||||
node.save();
|
||||
model.node.save();
|
||||
}
|
||||
}
|
||||
|
||||
// checkin
|
||||
if (model.checkin)
|
||||
{
|
||||
var comment = cmis.findArg(args.checkinComment, headers["CMIS-checkinComment"]);
|
||||
var major = cmis.findArg(args.major, headers["CMIS-major"]);
|
||||
major = (major === null || major == "true") ? true : false;
|
||||
model.node = node.checkin(comment === null ? "" : comment, major);
|
||||
model.node = model.node.checkin(comment === null ? "" : comment, major);
|
||||
}
|
||||
}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<webscript>
|
||||
<shortname>Checkin Private Working Copy</shortname>
|
||||
<description>Checkin private working copy</description>
|
||||
<url>/api/pwc/{store_type}/{store_id}/{id}?checkinComment={checkinComment?}&major={major?}</url>
|
||||
<url>/api/pwc/{store_type}/{store_id}/{id}?checkinComment={checkinComment?}&major={major?}&checkin={checkin?}</url>
|
||||
<authentication>user</authentication>
|
||||
<format default="atomentry"/>
|
||||
<family>CMIS</family>
|
||||
|
@@ -112,6 +112,12 @@
|
||||
<constructor-arg><ref bean="CMISPropertyService"/></constructor-arg>
|
||||
</bean>
|
||||
</entry>
|
||||
<entry key="cmisresultset">
|
||||
<bean class="org.alfresco.repo.cmis.rest.CMISResultSetMethod">
|
||||
<constructor-arg><ref bean="ServiceRegistry"/></constructor-arg>
|
||||
<constructor-arg><ref bean="webscripts.repo.imageresolver"/></constructor-arg>
|
||||
</bean>
|
||||
</entry>
|
||||
</map>
|
||||
</property>
|
||||
<property name="registryFactory">
|
||||
|
@@ -9,18 +9,19 @@ import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for addDocumentToFolder element declaration.
|
||||
* <p>Java class for addObjectToFolder element declaration.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <element name="addDocumentToFolder">
|
||||
* <element name="addObjectToFolder">
|
||||
* <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"/>
|
||||
* <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -32,39 +33,66 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"documentId",
|
||||
"repositoryId",
|
||||
"objectId",
|
||||
"folderId"
|
||||
})
|
||||
@XmlRootElement(name = "addDocumentToFolder")
|
||||
public class AddDocumentToFolder {
|
||||
@XmlRootElement(name = "addObjectToFolder")
|
||||
public class AddObjectToFolder {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String documentId;
|
||||
protected String repositoryId;
|
||||
@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;
|
||||
|
||||
/**
|
||||
* Gets the value of the documentId property.
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDocumentId() {
|
||||
return documentId;
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the documentId property.
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDocumentId(String value) {
|
||||
this.documentId = value;
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
@@ -8,12 +8,12 @@ import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for addDocumentToFolderResponse element declaration.
|
||||
* <p>Java class for addObjectToFolderResponse element declaration.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <element name="addDocumentToFolderResponse">
|
||||
* <element name="addObjectToFolderResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
@@ -29,8 +29,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "addDocumentToFolderResponse")
|
||||
public class AddDocumentToFolderResponse {
|
||||
@XmlRootElement(name = "addObjectToFolderResponse")
|
||||
public class AddObjectToFolderResponse {
|
||||
|
||||
|
||||
}
|
118
source/generated/org/alfresco/repo/cmis/ws/AllowableActionEnum.java
Executable file
118
source/generated/org/alfresco/repo/cmis/ws/AllowableActionEnum.java
Executable file
@@ -0,0 +1,118 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlEnumValue;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for allowableActionEnum.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="allowableActionEnum">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="canGetProperties"/>
|
||||
* <enumeration value="canUpdateProperties"/>
|
||||
* <enumeration value="canDeleteObject"/>
|
||||
* <enumeration value="canGetObjectParents"/>
|
||||
* <enumeration value="canGetFolderParent"/>
|
||||
* <enumeration value="canMoveObject"/>
|
||||
* <enumeration value="canAddObjectToFolder"/>
|
||||
* <enumeration value="canRemoveObjectFromFolder"/>
|
||||
* <enumeration value="canGetRelationships"/>
|
||||
* <enumeration value="canApplyPolicy"/>
|
||||
* <enumeration value="canRemovePolicy"/>
|
||||
* <enumeration value="canGetAppliedPolicies"/>
|
||||
* <enumeration value="canGetContentStream"/>
|
||||
* <enumeration value="canSetContentStream"/>
|
||||
* <enumeration value="canDeleteContentStream"/>
|
||||
* <enumeration value="canCheckOut"/>
|
||||
* <enumeration value="canCancelCheckout"/>
|
||||
* <enumeration value="canCheckIn"/>
|
||||
* <enumeration value="canGetChildren"/>
|
||||
* <enumeration value="canGetDescendants"/>
|
||||
* <enumeration value="canCreateDocument"/>
|
||||
* <enumeration value="canCreateFolder"/>
|
||||
* <enumeration value="canCreateRelationship"/>
|
||||
* <enumeration value="canCreatePolicy"/>
|
||||
* <enumeration value="canDeleteTree"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlEnum
|
||||
public enum AllowableActionEnum {
|
||||
|
||||
@XmlEnumValue("canAddObjectToFolder")
|
||||
CAN_ADD_OBJECT_TO_FOLDER("canAddObjectToFolder"),
|
||||
@XmlEnumValue("canApplyPolicy")
|
||||
CAN_APPLY_POLICY("canApplyPolicy"),
|
||||
@XmlEnumValue("canCancelCheckout")
|
||||
CAN_CANCEL_CHECKOUT("canCancelCheckout"),
|
||||
@XmlEnumValue("canCheckIn")
|
||||
CAN_CHECK_IN("canCheckIn"),
|
||||
@XmlEnumValue("canCheckOut")
|
||||
CAN_CHECK_OUT("canCheckOut"),
|
||||
@XmlEnumValue("canCreateDocument")
|
||||
CAN_CREATE_DOCUMENT("canCreateDocument"),
|
||||
@XmlEnumValue("canCreateFolder")
|
||||
CAN_CREATE_FOLDER("canCreateFolder"),
|
||||
@XmlEnumValue("canCreatePolicy")
|
||||
CAN_CREATE_POLICY("canCreatePolicy"),
|
||||
@XmlEnumValue("canCreateRelationship")
|
||||
CAN_CREATE_RELATIONSHIP("canCreateRelationship"),
|
||||
@XmlEnumValue("canDeleteContentStream")
|
||||
CAN_DELETE_CONTENT_STREAM("canDeleteContentStream"),
|
||||
@XmlEnumValue("canDeleteObject")
|
||||
CAN_DELETE_OBJECT("canDeleteObject"),
|
||||
@XmlEnumValue("canDeleteTree")
|
||||
CAN_DELETE_TREE("canDeleteTree"),
|
||||
@XmlEnumValue("canGetAppliedPolicies")
|
||||
CAN_GET_APPLIED_POLICIES("canGetAppliedPolicies"),
|
||||
@XmlEnumValue("canGetChildren")
|
||||
CAN_GET_CHILDREN("canGetChildren"),
|
||||
@XmlEnumValue("canGetContentStream")
|
||||
CAN_GET_CONTENT_STREAM("canGetContentStream"),
|
||||
@XmlEnumValue("canGetDescendants")
|
||||
CAN_GET_DESCENDANTS("canGetDescendants"),
|
||||
@XmlEnumValue("canGetFolderParent")
|
||||
CAN_GET_FOLDER_PARENT("canGetFolderParent"),
|
||||
@XmlEnumValue("canGetObjectParents")
|
||||
CAN_GET_OBJECT_PARENTS("canGetObjectParents"),
|
||||
@XmlEnumValue("canGetProperties")
|
||||
CAN_GET_PROPERTIES("canGetProperties"),
|
||||
@XmlEnumValue("canGetRelationships")
|
||||
CAN_GET_RELATIONSHIPS("canGetRelationships"),
|
||||
@XmlEnumValue("canMoveObject")
|
||||
CAN_MOVE_OBJECT("canMoveObject"),
|
||||
@XmlEnumValue("canRemoveObjectFromFolder")
|
||||
CAN_REMOVE_OBJECT_FROM_FOLDER("canRemoveObjectFromFolder"),
|
||||
@XmlEnumValue("canRemovePolicy")
|
||||
CAN_REMOVE_POLICY("canRemovePolicy"),
|
||||
@XmlEnumValue("canSetContentStream")
|
||||
CAN_SET_CONTENT_STREAM("canSetContentStream"),
|
||||
@XmlEnumValue("canUpdateProperties")
|
||||
CAN_UPDATE_PROPERTIES("canUpdateProperties");
|
||||
private final String value;
|
||||
|
||||
AllowableActionEnum(String v) {
|
||||
value = v;
|
||||
}
|
||||
|
||||
public String value() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public static AllowableActionEnum fromValue(String v) {
|
||||
for (AllowableActionEnum c: AllowableActionEnum.values()) {
|
||||
if (c.value.equals(v)) {
|
||||
return c;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException(v.toString());
|
||||
}
|
||||
|
||||
}
|
@@ -1,94 +0,0 @@
|
||||
|
||||
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());
|
||||
}
|
||||
|
||||
}
|
69
source/generated/org/alfresco/repo/cmis/ws/AllowableActionsType.java
Executable file
69
source/generated/org/alfresco/repo/cmis/ws/AllowableActionsType.java
Executable file
@@ -0,0 +1,69 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for allowableActionsType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="allowableActionsType">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="action" type="{http://www.cmis.org/ns/1.0}allowableActionEnum" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "allowableActionsType", propOrder = {
|
||||
"action"
|
||||
})
|
||||
public class AllowableActionsType {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected List<AllowableActionEnum> 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 AllowableActionEnum }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<AllowableActionEnum> getAction() {
|
||||
if (action == null) {
|
||||
action = new ArrayList<AllowableActionEnum>();
|
||||
}
|
||||
return this.action;
|
||||
}
|
||||
|
||||
}
|
@@ -1,46 +0,0 @@
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
122
source/generated/org/alfresco/repo/cmis/ws/ApplyPolicy.java
Executable file
122
source/generated/org/alfresco/repo/cmis/ws/ApplyPolicy.java
Executable file
@@ -0,0 +1,122 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for applyPolicy element declaration.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <element name="applyPolicy">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="policyId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"policyId",
|
||||
"objectId"
|
||||
})
|
||||
@XmlRootElement(name = "applyPolicy")
|
||||
public class ApplyPolicy {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String policyId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String objectId;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the policyId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getPolicyId() {
|
||||
return policyId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the policyId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setPolicyId(String value) {
|
||||
this.policyId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
}
|
@@ -8,12 +8,12 @@ import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for removeDocumentFromFolderResponse element declaration.
|
||||
* <p>Java class for applyPolicyResponse element declaration.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <element name="removeDocumentFromFolderResponse">
|
||||
* <element name="applyPolicyResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
@@ -29,8 +29,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlRootElement(name = "removeDocumentFromFolderResponse")
|
||||
public class RemoveDocumentFromFolderResponse {
|
||||
@XmlRootElement(name = "applyPolicyResponse")
|
||||
public class ApplyPolicyResponse {
|
||||
|
||||
|
||||
}
|
@@ -18,8 +18,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="errorCode" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
|
||||
* <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="errorCode" type="{http://www.w3.org/2001/XMLSchema}integer"/>
|
||||
* <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -35,9 +35,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
})
|
||||
public class BasicFault {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected BigInteger errorCode;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String errorMessage;
|
||||
|
||||
/**
|
||||
|
@@ -19,7 +19,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -31,14 +32,41 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"documentId"
|
||||
})
|
||||
@XmlRootElement(name = "cancelCheckOut")
|
||||
public class CancelCheckOut {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String documentId;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the documentId property.
|
||||
*
|
||||
|
@@ -18,8 +18,12 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="capabilityUnfiling" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* <element name="capabilityVersionSpecificFiling" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* <element name="capabilityPWCUpdatable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* <element name="capabilityAllVersionsSearchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* <element name="capabilityJoin" type="{http://www.cmis.org/ns/1.0}joinEnum"/>
|
||||
* <element name="capabilityFulltext" type="{http://www.cmis.org/ns/1.0}fulltextEnum"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -31,17 +35,29 @@ import javax.xml.bind.annotation.XmlType;
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "capabilitiesType", propOrder = {
|
||||
"capabilityMultifiling",
|
||||
"capabilityUpdatePWC",
|
||||
"capabilityAllVersionsSearchable"
|
||||
"capabilityUnfiling",
|
||||
"capabilityVersionSpecificFiling",
|
||||
"capabilityPWCUpdatable",
|
||||
"capabilityAllVersionsSearchable",
|
||||
"capabilityJoin",
|
||||
"capabilityFulltext"
|
||||
})
|
||||
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;
|
||||
protected boolean capabilityUnfiling;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected boolean capabilityVersionSpecificFiling;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected boolean capabilityPWCUpdatable;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected boolean capabilityAllVersionsSearchable;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected JoinEnum capabilityJoin;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected FulltextEnum capabilityFulltext;
|
||||
|
||||
/**
|
||||
* Gets the value of the capabilityMultifiling property.
|
||||
@@ -60,19 +76,51 @@ public class CapabilitiesType {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the capabilityUpdatePWC property.
|
||||
* Gets the value of the capabilityUnfiling property.
|
||||
*
|
||||
*/
|
||||
public boolean isCapabilityUpdatePWC() {
|
||||
return capabilityUpdatePWC;
|
||||
public boolean isCapabilityUnfiling() {
|
||||
return capabilityUnfiling;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the capabilityUpdatePWC property.
|
||||
* Sets the value of the capabilityUnfiling property.
|
||||
*
|
||||
*/
|
||||
public void setCapabilityUpdatePWC(boolean value) {
|
||||
this.capabilityUpdatePWC = value;
|
||||
public void setCapabilityUnfiling(boolean value) {
|
||||
this.capabilityUnfiling = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the capabilityVersionSpecificFiling property.
|
||||
*
|
||||
*/
|
||||
public boolean isCapabilityVersionSpecificFiling() {
|
||||
return capabilityVersionSpecificFiling;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the capabilityVersionSpecificFiling property.
|
||||
*
|
||||
*/
|
||||
public void setCapabilityVersionSpecificFiling(boolean value) {
|
||||
this.capabilityVersionSpecificFiling = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the capabilityPWCUpdatable property.
|
||||
*
|
||||
*/
|
||||
public boolean isCapabilityPWCUpdatable() {
|
||||
return capabilityPWCUpdatable;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the capabilityPWCUpdatable property.
|
||||
*
|
||||
*/
|
||||
public void setCapabilityPWCUpdatable(boolean value) {
|
||||
this.capabilityPWCUpdatable = value;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -91,4 +139,52 @@ public class CapabilitiesType {
|
||||
this.capabilityAllVersionsSearchable = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the capabilityJoin property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link JoinEnum }
|
||||
*
|
||||
*/
|
||||
public JoinEnum getCapabilityJoin() {
|
||||
return capabilityJoin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the capabilityJoin property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link JoinEnum }
|
||||
*
|
||||
*/
|
||||
public void setCapabilityJoin(JoinEnum value) {
|
||||
this.capabilityJoin = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the capabilityFulltext property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link FulltextEnum }
|
||||
*
|
||||
*/
|
||||
public FulltextEnum getCapabilityFulltext() {
|
||||
return capabilityFulltext;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the capabilityFulltext property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link FulltextEnum }
|
||||
*
|
||||
*/
|
||||
public void setCapabilityFulltext(FulltextEnum value) {
|
||||
this.capabilityFulltext = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -19,9 +19,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <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 name="properties" type="{http://www.cmis.org/ns/1.0}propertiesType" 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>
|
||||
@@ -35,6 +36,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"documentId",
|
||||
"major",
|
||||
"properties",
|
||||
@@ -44,17 +46,43 @@ import javax.xml.bind.annotation.XmlType;
|
||||
@XmlRootElement(name = "checkIn")
|
||||
public class CheckIn {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@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;
|
||||
protected PropertiesType properties;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected ContentStream contentStream;
|
||||
protected ContentStreamType contentStream;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String checkinComment;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the documentId property.
|
||||
*
|
||||
@@ -108,10 +136,10 @@ public class CheckIn {
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link DocumentObjectType }
|
||||
* {@link PropertiesType }
|
||||
*
|
||||
*/
|
||||
public DocumentObjectType getProperties() {
|
||||
public PropertiesType getProperties() {
|
||||
return properties;
|
||||
}
|
||||
|
||||
@@ -120,10 +148,10 @@ public class CheckIn {
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link DocumentObjectType }
|
||||
* {@link PropertiesType }
|
||||
*
|
||||
*/
|
||||
public void setProperties(DocumentObjectType value) {
|
||||
public void setProperties(PropertiesType value) {
|
||||
this.properties = value;
|
||||
}
|
||||
|
||||
@@ -132,10 +160,10 @@ public class CheckIn {
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link ContentStream }
|
||||
* {@link ContentStreamType }
|
||||
*
|
||||
*/
|
||||
public ContentStream getContentStream() {
|
||||
public ContentStreamType getContentStream() {
|
||||
return contentStream;
|
||||
}
|
||||
|
||||
@@ -144,10 +172,10 @@ public class CheckIn {
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link ContentStream }
|
||||
* {@link ContentStreamType }
|
||||
*
|
||||
*/
|
||||
public void setContentStream(ContentStream value) {
|
||||
public void setContentStream(ContentStreamType value) {
|
||||
this.contentStream = value;
|
||||
}
|
||||
|
||||
|
@@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="documentId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
|
@@ -19,7 +19,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -31,14 +32,41 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"documentId"
|
||||
})
|
||||
@XmlRootElement(name = "checkOut")
|
||||
public class CheckOut {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String documentId;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the documentId property.
|
||||
*
|
||||
|
@@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="documentId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="contentCopied" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
|
@@ -1,73 +0,0 @@
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
69
source/generated/org/alfresco/repo/cmis/ws/ChildrenType.java
Executable file
69
source/generated/org/alfresco/repo/cmis/ws/ChildrenType.java
Executable file
@@ -0,0 +1,69 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for childrenType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="childrenType">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="child" type="{http://www.cmis.org/ns/1.0}folderTreeType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "childrenType", propOrder = {
|
||||
"child"
|
||||
})
|
||||
public class ChildrenType {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected List<FolderTreeType> child;
|
||||
|
||||
/**
|
||||
* Gets the value of the child 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 child property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getChild().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link FolderTreeType }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<FolderTreeType> getChild() {
|
||||
if (child == null) {
|
||||
child = new ArrayList<FolderTreeType>();
|
||||
}
|
||||
return this.child;
|
||||
}
|
||||
|
||||
}
|
@@ -1,46 +0,0 @@
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
@@ -6,17 +6,17 @@ import javax.xml.ws.WebFault;
|
||||
|
||||
/**
|
||||
* This class was generated by Apache CXF 2.0.6
|
||||
* Tue May 27 14:11:13 EEST 2008
|
||||
* Tue Jul 29 18:22:39 EEST 2008
|
||||
* Generated source version: 2.0.6
|
||||
*
|
||||
*/
|
||||
|
||||
@WebFault(name = "ConstraintViolationFault", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
@WebFault(name = "constraintViolationException", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
|
||||
public class ConstraintViolationException extends Exception {
|
||||
public static final long serialVersionUID = 20080527141113L;
|
||||
public static final long serialVersionUID = 20080729182239L;
|
||||
|
||||
private org.alfresco.repo.cmis.ws.BasicFault constraintViolationFault;
|
||||
private org.alfresco.repo.cmis.ws.BasicFault constraintViolationException;
|
||||
|
||||
public ConstraintViolationException() {
|
||||
super();
|
||||
@@ -30,17 +30,17 @@ public class ConstraintViolationException extends Exception {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public ConstraintViolationException(String message, org.alfresco.repo.cmis.ws.BasicFault constraintViolationFault) {
|
||||
public ConstraintViolationException(String message, org.alfresco.repo.cmis.ws.BasicFault constraintViolationException) {
|
||||
super(message);
|
||||
this.constraintViolationFault = constraintViolationFault;
|
||||
this.constraintViolationException = constraintViolationException;
|
||||
}
|
||||
|
||||
public ConstraintViolationException(String message, org.alfresco.repo.cmis.ws.BasicFault constraintViolationFault, Throwable cause) {
|
||||
public ConstraintViolationException(String message, org.alfresco.repo.cmis.ws.BasicFault constraintViolationException, Throwable cause) {
|
||||
super(message, cause);
|
||||
this.constraintViolationFault = constraintViolationFault;
|
||||
this.constraintViolationException = constraintViolationException;
|
||||
}
|
||||
|
||||
public org.alfresco.repo.cmis.ws.BasicFault getFaultInfo() {
|
||||
return this.constraintViolationFault;
|
||||
return this.constraintViolationException;
|
||||
}
|
||||
}
|
||||
|
@@ -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 Jul 29 18:21:47 EEST 2008
|
||||
* Generated source version: 2.0.6
|
||||
*
|
||||
*/
|
||||
|
||||
@WebFault(name = "contentAlreadyExistsException", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
|
||||
public class ContentAlreadyExistsException extends Exception {
|
||||
public static final long serialVersionUID = 20080729182147L;
|
||||
|
||||
private org.alfresco.repo.cmis.ws.BasicFault contentAlreadyExistsException;
|
||||
|
||||
public ContentAlreadyExistsException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public ContentAlreadyExistsException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public ContentAlreadyExistsException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public ContentAlreadyExistsException(String message, org.alfresco.repo.cmis.ws.BasicFault contentAlreadyExistsException) {
|
||||
super(message);
|
||||
this.contentAlreadyExistsException = contentAlreadyExistsException;
|
||||
}
|
||||
|
||||
public ContentAlreadyExistsException(String message, org.alfresco.repo.cmis.ws.BasicFault contentAlreadyExistsException, Throwable cause) {
|
||||
super(message, cause);
|
||||
this.contentAlreadyExistsException = contentAlreadyExistsException;
|
||||
}
|
||||
|
||||
public org.alfresco.repo.cmis.ws.BasicFault getFaultInfo() {
|
||||
return this.contentAlreadyExistsException;
|
||||
}
|
||||
}
|
@@ -1,148 +0,0 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.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);
|
||||
}
|
||||
|
||||
}
|
52
source/generated/org/alfresco/repo/cmis/ws/ContentStreamAllowedEnum.java
Executable file
52
source/generated/org/alfresco/repo/cmis/ws/ContentStreamAllowedEnum.java
Executable file
@@ -0,0 +1,52 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlEnumValue;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for contentStreamAllowedEnum.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="contentStreamAllowedEnum">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="notAllowed"/>
|
||||
* <enumeration value="allowed"/>
|
||||
* <enumeration value="required"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlEnum
|
||||
public enum ContentStreamAllowedEnum {
|
||||
|
||||
@XmlEnumValue("allowed")
|
||||
ALLOWED("allowed"),
|
||||
@XmlEnumValue("notAllowed")
|
||||
NOT_ALLOWED("notAllowed"),
|
||||
@XmlEnumValue("required")
|
||||
REQUIRED("required");
|
||||
private final String value;
|
||||
|
||||
ContentStreamAllowedEnum(String v) {
|
||||
value = v;
|
||||
}
|
||||
|
||||
public String value() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public static ContentStreamAllowedEnum fromValue(String v) {
|
||||
for (ContentStreamAllowedEnum c: ContentStreamAllowedEnum.values()) {
|
||||
if (c.value.equals(v)) {
|
||||
return c;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException(v.toString());
|
||||
}
|
||||
|
||||
}
|
178
source/generated/org/alfresco/repo/cmis/ws/ContentStreamType.java
Executable file
178
source/generated/org/alfresco/repo/cmis/ws/ContentStreamType.java
Executable file
@@ -0,0 +1,178 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import javax.activation.DataHandler;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlMimeType;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for contentStreamType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="contentStreamType">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="length" type="{http://www.w3.org/2001/XMLSchema}integer"/>
|
||||
* <element name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* <element name="filename" type="{http://www.w3.org/2001/XMLSchema}string" 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"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "contentStreamType", propOrder = {
|
||||
"length",
|
||||
"mimeType",
|
||||
"filename",
|
||||
"uri",
|
||||
"stream"
|
||||
})
|
||||
public class ContentStreamType {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected BigInteger length;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String mimeType;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String filename;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String uri;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
@XmlMimeType("application/octet-stream")
|
||||
protected DataHandler stream;
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 filename property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getFilename() {
|
||||
return filename;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the filename property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setFilename(String value) {
|
||||
this.filename = 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
|
||||
* {@link DataHandler }
|
||||
*
|
||||
*/
|
||||
public DataHandler getStream() {
|
||||
return stream;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the stream property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link DataHandler }
|
||||
*
|
||||
*/
|
||||
public void setStream(DataHandler value) {
|
||||
this.stream = value;
|
||||
}
|
||||
|
||||
}
|
@@ -19,9 +19,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <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 name="properties" type="{http://www.cmis.org/ns/1.0}propertiesType"/>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}ID" 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>
|
||||
@@ -35,8 +36,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"typeId",
|
||||
"propertyCollection",
|
||||
"properties",
|
||||
"folderId",
|
||||
"contentStream",
|
||||
"versioningState"
|
||||
@@ -44,17 +46,43 @@ import javax.xml.bind.annotation.XmlType;
|
||||
@XmlRootElement(name = "createDocument")
|
||||
public class CreateDocument {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@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;
|
||||
protected PropertiesType properties;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String folderId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected ContentStream contentStream;
|
||||
protected ContentStreamType contentStream;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected VersioningStateEnum versioningState;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the typeId property.
|
||||
*
|
||||
@@ -80,27 +108,27 @@ public class CreateDocument {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the propertyCollection property.
|
||||
* Gets the value of the properties property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link DocumentObjectType }
|
||||
* {@link PropertiesType }
|
||||
*
|
||||
*/
|
||||
public DocumentObjectType getPropertyCollection() {
|
||||
return propertyCollection;
|
||||
public PropertiesType getProperties() {
|
||||
return properties;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the propertyCollection property.
|
||||
* Sets the value of the properties property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link DocumentObjectType }
|
||||
* {@link PropertiesType }
|
||||
*
|
||||
*/
|
||||
public void setPropertyCollection(DocumentObjectType value) {
|
||||
this.propertyCollection = value;
|
||||
public void setProperties(PropertiesType value) {
|
||||
this.properties = value;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -132,10 +160,10 @@ public class CreateDocument {
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link ContentStream }
|
||||
* {@link ContentStreamType }
|
||||
*
|
||||
*/
|
||||
public ContentStream getContentStream() {
|
||||
public ContentStreamType getContentStream() {
|
||||
return contentStream;
|
||||
}
|
||||
|
||||
@@ -144,10 +172,10 @@ public class CreateDocument {
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link ContentStream }
|
||||
* {@link ContentStreamType }
|
||||
*
|
||||
*/
|
||||
public void setContentStream(ContentStream value) {
|
||||
public void setContentStream(ContentStreamType value) {
|
||||
this.contentStream = value;
|
||||
}
|
||||
|
||||
|
@@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="objectId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
|
@@ -19,9 +19,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <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"/>
|
||||
* <element name="properties" type="{http://www.cmis.org/ns/1.0}propertiesType"/>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -33,20 +34,47 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"typeId",
|
||||
"propertyCollection",
|
||||
"properties",
|
||||
"folderId"
|
||||
})
|
||||
@XmlRootElement(name = "createFolder")
|
||||
public class CreateFolder {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@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;
|
||||
protected PropertiesType properties;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String folderId;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the typeId property.
|
||||
*
|
||||
@@ -72,27 +100,27 @@ public class CreateFolder {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the propertyCollection property.
|
||||
* Gets the value of the properties property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link FolderObjectType }
|
||||
* {@link PropertiesType }
|
||||
*
|
||||
*/
|
||||
public FolderObjectType getPropertyCollection() {
|
||||
return propertyCollection;
|
||||
public PropertiesType getProperties() {
|
||||
return properties;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the propertyCollection property.
|
||||
* Sets the value of the properties property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link FolderObjectType }
|
||||
* {@link PropertiesType }
|
||||
*
|
||||
*/
|
||||
public void setPropertyCollection(FolderObjectType value) {
|
||||
this.propertyCollection = value;
|
||||
public void setProperties(PropertiesType value) {
|
||||
this.properties = value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="objectId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
|
150
source/generated/org/alfresco/repo/cmis/ws/CreatePolicy.java
Executable file
150
source/generated/org/alfresco/repo/cmis/ws/CreatePolicy.java
Executable 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 createPolicy element declaration.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <element name="createPolicy">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="typeId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="properties" type="{http://www.cmis.org/ns/1.0}propertiesType"/>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}ID" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"typeId",
|
||||
"properties",
|
||||
"folderId"
|
||||
})
|
||||
@XmlRootElement(name = "createPolicy")
|
||||
public class CreatePolicy {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@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 PropertiesType properties;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String folderId;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the 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 properties property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link PropertiesType }
|
||||
*
|
||||
*/
|
||||
public PropertiesType getProperties() {
|
||||
return properties;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the properties property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link PropertiesType }
|
||||
*
|
||||
*/
|
||||
public void setProperties(PropertiesType value) {
|
||||
this.properties = 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;
|
||||
}
|
||||
|
||||
}
|
28
source/generated/org/alfresco/repo/cmis/ws/GetRootFolder.java → source/generated/org/alfresco/repo/cmis/ws/CreatePolicyResponse.java
Normal file → Executable file
28
source/generated/org/alfresco/repo/cmis/ws/GetRootFolder.java → source/generated/org/alfresco/repo/cmis/ws/CreatePolicyResponse.java
Normal file → Executable file
@@ -9,17 +9,17 @@ import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for getRootFolder element declaration.
|
||||
* <p>Java class for createPolicyResponse element declaration.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <element name="getRootFolder">
|
||||
* <element name="createPolicyResponse">
|
||||
* <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="objectId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -31,36 +31,36 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"filter"
|
||||
"objectId"
|
||||
})
|
||||
@XmlRootElement(name = "getRootFolder")
|
||||
public class GetRootFolder {
|
||||
@XmlRootElement(name = "createPolicyResponse")
|
||||
public class CreatePolicyResponse {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String filter;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String objectId;
|
||||
|
||||
/**
|
||||
* Gets the value of the filter property.
|
||||
* Gets the value of the objectId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getFilter() {
|
||||
return filter;
|
||||
public String getObjectId() {
|
||||
return objectId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the filter property.
|
||||
* Sets the value of the objectId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setFilter(String value) {
|
||||
this.filter = value;
|
||||
public void setObjectId(String value) {
|
||||
this.objectId = value;
|
||||
}
|
||||
|
||||
}
|
@@ -19,10 +19,11 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <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"/>
|
||||
* <element name="properties" type="{http://www.cmis.org/ns/1.0}propertiesType"/>
|
||||
* <element name="sourceObjectId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="targetObjectId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -34,23 +35,50 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"typeId",
|
||||
"propertyCollection",
|
||||
"properties",
|
||||
"sourceObjectId",
|
||||
"targetObjectId"
|
||||
})
|
||||
@XmlRootElement(name = "createRelationship")
|
||||
public class CreateRelationship {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@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;
|
||||
protected PropertiesType properties;
|
||||
@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 repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the typeId property.
|
||||
*
|
||||
@@ -76,27 +104,27 @@ public class CreateRelationship {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the propertyCollection property.
|
||||
* Gets the value of the properties property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link RelationshipObjectType }
|
||||
* {@link PropertiesType }
|
||||
*
|
||||
*/
|
||||
public RelationshipObjectType getPropertyCollection() {
|
||||
return propertyCollection;
|
||||
public PropertiesType getProperties() {
|
||||
return properties;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the propertyCollection property.
|
||||
* Sets the value of the properties property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link RelationshipObjectType }
|
||||
* {@link PropertiesType }
|
||||
*
|
||||
*/
|
||||
public void setPropertyCollection(RelationshipObjectType value) {
|
||||
this.propertyCollection = value;
|
||||
public void setProperties(PropertiesType value) {
|
||||
this.properties = value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="objectId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
|
@@ -19,7 +19,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="versionSeriesId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -31,36 +32,63 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"documentId"
|
||||
"repositoryId",
|
||||
"versionSeriesId"
|
||||
})
|
||||
@XmlRootElement(name = "deleteAllVersions")
|
||||
public class DeleteAllVersions {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String documentId;
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String versionSeriesId;
|
||||
|
||||
/**
|
||||
* Gets the value of the documentId property.
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDocumentId() {
|
||||
return documentId;
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the documentId property.
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDocumentId(String value) {
|
||||
this.documentId = value;
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the versionSeriesId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getVersionSeriesId() {
|
||||
return versionSeriesId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the versionSeriesId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setVersionSeriesId(String value) {
|
||||
this.versionSeriesId = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -19,7 +19,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -31,14 +32,41 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"documentId"
|
||||
})
|
||||
@XmlRootElement(name = "deleteContentStream")
|
||||
public class DeleteContentStream {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String documentId;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the documentId property.
|
||||
*
|
||||
|
@@ -19,7 +19,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -31,14 +32,41 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"objectId"
|
||||
})
|
||||
@XmlRootElement(name = "deleteObject")
|
||||
public class DeleteObject {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String objectId;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the objectId property.
|
||||
*
|
||||
|
@@ -19,8 +19,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="unfileNonfolderObjects" type="{http://www.cmis.org/ns/1.0}unfileNonfolderObjectsEnum"/>
|
||||
* <element name="continueOnFailure" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
@@ -33,20 +34,47 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"folderId",
|
||||
"unfileMultiFiledDocuments",
|
||||
"unfileNonfolderObjects",
|
||||
"continueOnFailure"
|
||||
})
|
||||
@XmlRootElement(name = "deleteTree")
|
||||
public class DeleteTree {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@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;
|
||||
protected UnfileNonfolderObjectsEnum unfileNonfolderObjects;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected Boolean continueOnFailure;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the folderId property.
|
||||
*
|
||||
@@ -72,27 +100,27 @@ public class DeleteTree {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the unfileMultiFiledDocuments property.
|
||||
* Gets the value of the unfileNonfolderObjects property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link DeleteWithMultiFilingEnum }
|
||||
* {@link UnfileNonfolderObjectsEnum }
|
||||
*
|
||||
*/
|
||||
public DeleteWithMultiFilingEnum getUnfileMultiFiledDocuments() {
|
||||
return unfileMultiFiledDocuments;
|
||||
public UnfileNonfolderObjectsEnum getUnfileNonfolderObjects() {
|
||||
return unfileNonfolderObjects;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the unfileMultiFiledDocuments property.
|
||||
* Sets the value of the unfileNonfolderObjects property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link DeleteWithMultiFilingEnum }
|
||||
* {@link UnfileNonfolderObjectsEnum }
|
||||
*
|
||||
*/
|
||||
public void setUnfileMultiFiledDocuments(DeleteWithMultiFilingEnum value) {
|
||||
this.unfileMultiFiledDocuments = value;
|
||||
public void setUnfileNonfolderObjects(UnfileNonfolderObjectsEnum value) {
|
||||
this.unfileNonfolderObjects = value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -27,7 +27,7 @@ import org.alfresco.repo.cmis.ws.DeleteTreeResponse.FailedToDelete;
|
||||
* <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"/>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}ID" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -87,7 +87,7 @@ public class DeleteTreeResponse {
|
||||
* <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"/>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}ID" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
|
58
source/generated/org/alfresco/repo/cmis/ws/DiscoveryService.java
Executable file
58
source/generated/org/alfresco/repo/cmis/ws/DiscoveryService.java
Executable file
@@ -0,0 +1,58 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.ws.Service;
|
||||
import javax.xml.ws.WebEndpoint;
|
||||
import javax.xml.ws.WebServiceClient;
|
||||
import org.alfresco.repo.cmis.ws.DiscoveryServicePort;
|
||||
|
||||
/**
|
||||
* This class was generated by Apache CXF 2.0.6
|
||||
* Tue Jul 29 18:22:11 EEST 2008
|
||||
* Generated source version: 2.0.6
|
||||
*
|
||||
*/
|
||||
|
||||
@WebServiceClient(name = "DiscoveryService", targetNamespace = "http://www.cmis.org/ns/1.0", wsdlLocation = "file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/DiscoveryService.wsdl")
|
||||
public class DiscoveryService extends Service {
|
||||
|
||||
public final static URL WSDL_LOCATION;
|
||||
public final static QName SERVICE = new QName("http://www.cmis.org/ns/1.0", "DiscoveryService");
|
||||
public final static QName DiscoveryServicePort = new QName("http://www.cmis.org/ns/1.0", "DiscoveryServicePort");
|
||||
static {
|
||||
URL url = null;
|
||||
try {
|
||||
url = new URL("file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/DiscoveryService.wsdl");
|
||||
} catch (MalformedURLException e) {
|
||||
System.err.println("Can not initialize the default wsdl from file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/DiscoveryService.wsdl");
|
||||
// e.printStackTrace();
|
||||
}
|
||||
WSDL_LOCATION = url;
|
||||
}
|
||||
|
||||
public DiscoveryService(URL wsdlLocation) {
|
||||
super(wsdlLocation, SERVICE);
|
||||
}
|
||||
|
||||
public DiscoveryService(URL wsdlLocation, QName serviceName) {
|
||||
super(wsdlLocation, serviceName);
|
||||
}
|
||||
|
||||
public DiscoveryService() {
|
||||
super(WSDL_LOCATION, SERVICE);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
* returns DiscoveryServicePort
|
||||
*/
|
||||
@WebEndpoint(name = "DiscoveryServicePort")
|
||||
public DiscoveryServicePort getDiscoveryServicePort() {
|
||||
return super.getPort(DiscoveryServicePort, DiscoveryServicePort.class);
|
||||
}
|
||||
|
||||
}
|
30
source/generated/org/alfresco/repo/cmis/ws/DiscoveryServicePort.java
Executable file
30
source/generated/org/alfresco/repo/cmis/ws/DiscoveryServicePort.java
Executable file
@@ -0,0 +1,30 @@
|
||||
|
||||
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 Jul 29 18:22:11 EEST 2008
|
||||
* Generated source version: 2.0.6
|
||||
*
|
||||
*/
|
||||
|
||||
@WebService(targetNamespace = "http://www.cmis.org/ns/1.0", name = "DiscoveryServicePort")
|
||||
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
|
||||
|
||||
public interface DiscoveryServicePort {
|
||||
|
||||
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
|
||||
@WebResult(name = "queryResponse", targetNamespace = "http://www.cmis.org/ns/1.0", partName = "parameters")
|
||||
@WebMethod
|
||||
public org.alfresco.repo.cmis.ws.QueryResponse query(
|
||||
@WebParam(partName = "parameters", name = "query", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
Query parameters
|
||||
) throws RuntimeException, InvalidArgumentException, ConstraintViolationException, OperationNotSupportedException, UpdateConflictException, PermissionDeniedException;
|
||||
}
|
@@ -1,73 +0,0 @@
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
@@ -1,92 +0,0 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.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;
|
||||
}
|
||||
|
||||
}
|
@@ -1,436 +0,0 @@
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
@@ -1,92 +0,0 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.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;
|
||||
}
|
||||
|
||||
}
|
@@ -6,17 +6,17 @@ import javax.xml.ws.WebFault;
|
||||
|
||||
/**
|
||||
* This class was generated by Apache CXF 2.0.6
|
||||
* Tue May 27 14:11:27 EEST 2008
|
||||
* Tue Jul 29 18:22:39 EEST 2008
|
||||
* Generated source version: 2.0.6
|
||||
*
|
||||
*/
|
||||
|
||||
@WebFault(name = "FilterNotValidFault", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
@WebFault(name = "filterNotValidException", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
|
||||
public class FilterNotValidException extends Exception {
|
||||
public static final long serialVersionUID = 20080527141127L;
|
||||
public static final long serialVersionUID = 20080729182239L;
|
||||
|
||||
private org.alfresco.repo.cmis.ws.BasicFault filterNotValidFault;
|
||||
private org.alfresco.repo.cmis.ws.BasicFault filterNotValidException;
|
||||
|
||||
public FilterNotValidException() {
|
||||
super();
|
||||
@@ -30,17 +30,17 @@ public class FilterNotValidException extends Exception {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public FilterNotValidException(String message, org.alfresco.repo.cmis.ws.BasicFault filterNotValidFault) {
|
||||
public FilterNotValidException(String message, org.alfresco.repo.cmis.ws.BasicFault filterNotValidException) {
|
||||
super(message);
|
||||
this.filterNotValidFault = filterNotValidFault;
|
||||
this.filterNotValidException = filterNotValidException;
|
||||
}
|
||||
|
||||
public FilterNotValidException(String message, org.alfresco.repo.cmis.ws.BasicFault filterNotValidFault, Throwable cause) {
|
||||
public FilterNotValidException(String message, org.alfresco.repo.cmis.ws.BasicFault filterNotValidException, Throwable cause) {
|
||||
super(message, cause);
|
||||
this.filterNotValidFault = filterNotValidFault;
|
||||
this.filterNotValidException = filterNotValidException;
|
||||
}
|
||||
|
||||
public org.alfresco.repo.cmis.ws.BasicFault getFaultInfo() {
|
||||
return this.filterNotValidFault;
|
||||
return this.filterNotValidException;
|
||||
}
|
||||
}
|
||||
|
@@ -6,17 +6,17 @@ import javax.xml.ws.WebFault;
|
||||
|
||||
/**
|
||||
* This class was generated by Apache CXF 2.0.6
|
||||
* Tue May 27 14:11:27 EEST 2008
|
||||
* Tue Jul 29 18:22:19 EEST 2008
|
||||
* Generated source version: 2.0.6
|
||||
*
|
||||
*/
|
||||
|
||||
@WebFault(name = "FolderNotValidFault", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
@WebFault(name = "folderNotValidException", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
|
||||
public class FolderNotValidException extends Exception {
|
||||
public static final long serialVersionUID = 20080527141127L;
|
||||
public static final long serialVersionUID = 20080729182219L;
|
||||
|
||||
private org.alfresco.repo.cmis.ws.BasicFault folderNotValidFault;
|
||||
private org.alfresco.repo.cmis.ws.BasicFault folderNotValidException;
|
||||
|
||||
public FolderNotValidException() {
|
||||
super();
|
||||
@@ -30,17 +30,17 @@ public class FolderNotValidException extends Exception {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public FolderNotValidException(String message, org.alfresco.repo.cmis.ws.BasicFault folderNotValidFault) {
|
||||
public FolderNotValidException(String message, org.alfresco.repo.cmis.ws.BasicFault folderNotValidException) {
|
||||
super(message);
|
||||
this.folderNotValidFault = folderNotValidFault;
|
||||
this.folderNotValidException = folderNotValidException;
|
||||
}
|
||||
|
||||
public FolderNotValidException(String message, org.alfresco.repo.cmis.ws.BasicFault folderNotValidFault, Throwable cause) {
|
||||
public FolderNotValidException(String message, org.alfresco.repo.cmis.ws.BasicFault folderNotValidException, Throwable cause) {
|
||||
super(message, cause);
|
||||
this.folderNotValidFault = folderNotValidFault;
|
||||
this.folderNotValidException = folderNotValidException;
|
||||
}
|
||||
|
||||
public org.alfresco.repo.cmis.ws.BasicFault getFaultInfo() {
|
||||
return this.folderNotValidFault;
|
||||
return this.folderNotValidException;
|
||||
}
|
||||
}
|
||||
|
@@ -1,155 +0,0 @@
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
64
source/generated/org/alfresco/repo/cmis/ws/FolderTreeType.java
Executable file
64
source/generated/org/alfresco/repo/cmis/ws/FolderTreeType.java
Executable file
@@ -0,0 +1,64 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for folderTreeType complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="folderTreeType">
|
||||
* <complexContent>
|
||||
* <extension base="{http://www.cmis.org/ns/1.0}objectType">
|
||||
* <sequence>
|
||||
* <element name="children" type="{http://www.cmis.org/ns/1.0}childrenType" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </extension>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "folderTreeType", propOrder = {
|
||||
"children"
|
||||
})
|
||||
public class FolderTreeType
|
||||
extends ObjectType
|
||||
{
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected ChildrenType children;
|
||||
|
||||
/**
|
||||
* Gets the value of the children property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link ChildrenType }
|
||||
*
|
||||
*/
|
||||
public ChildrenType getChildren() {
|
||||
return children;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the children property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link ChildrenType }
|
||||
*
|
||||
*/
|
||||
public void setChildren(ChildrenType value) {
|
||||
this.children = value;
|
||||
}
|
||||
|
||||
}
|
52
source/generated/org/alfresco/repo/cmis/ws/FulltextEnum.java
Executable file
52
source/generated/org/alfresco/repo/cmis/ws/FulltextEnum.java
Executable file
@@ -0,0 +1,52 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlEnumValue;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for fulltextEnum.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="fulltextEnum">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="noFulltext"/>
|
||||
* <enumeration value="fulltextOnly"/>
|
||||
* <enumeration value="fulltextAndStructured"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlEnum
|
||||
public enum FulltextEnum {
|
||||
|
||||
@XmlEnumValue("fulltextAndStructured")
|
||||
FULLTEXT_AND_STRUCTURED("fulltextAndStructured"),
|
||||
@XmlEnumValue("fulltextOnly")
|
||||
FULLTEXT_ONLY("fulltextOnly"),
|
||||
@XmlEnumValue("noFulltext")
|
||||
NO_FULLTEXT("noFulltext");
|
||||
private final String value;
|
||||
|
||||
FulltextEnum(String v) {
|
||||
value = v;
|
||||
}
|
||||
|
||||
public String value() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public static FulltextEnum fromValue(String v) {
|
||||
for (FulltextEnum c: FulltextEnum.values()) {
|
||||
if (c.value.equals(v)) {
|
||||
return c;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException(v.toString());
|
||||
}
|
||||
|
||||
}
|
@@ -19,7 +19,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="versionSeriesId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
@@ -32,39 +33,66 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"documentId",
|
||||
"repositoryId",
|
||||
"versionSeriesId",
|
||||
"filter"
|
||||
})
|
||||
@XmlRootElement(name = "getAllVersions")
|
||||
public class GetAllVersions {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String documentId;
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String versionSeriesId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String filter;
|
||||
|
||||
/**
|
||||
* Gets the value of the documentId property.
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDocumentId() {
|
||||
return documentId;
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the documentId property.
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDocumentId(String value) {
|
||||
this.documentId = value;
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the versionSeriesId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getVersionSeriesId() {
|
||||
return versionSeriesId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the versionSeriesId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setVersionSeriesId(String value) {
|
||||
this.versionSeriesId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}documentCollection"/>
|
||||
* <element name="versions" type="{http://www.cmis.org/ns/1.0}objectCollectionType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -31,36 +31,36 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"documentCollection"
|
||||
"versions"
|
||||
})
|
||||
@XmlRootElement(name = "getAllVersionsResponse")
|
||||
public class GetAllVersionsResponse {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected DocumentCollection documentCollection;
|
||||
protected ObjectCollectionType versions;
|
||||
|
||||
/**
|
||||
* Gets the value of the documentCollection property.
|
||||
* Gets the value of the versions property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link DocumentCollection }
|
||||
* {@link ObjectCollectionType }
|
||||
*
|
||||
*/
|
||||
public DocumentCollection getDocumentCollection() {
|
||||
return documentCollection;
|
||||
public ObjectCollectionType getVersions() {
|
||||
return versions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the documentCollection property.
|
||||
* Sets the value of the versions property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link DocumentCollection }
|
||||
* {@link ObjectCollectionType }
|
||||
*
|
||||
*/
|
||||
public void setDocumentCollection(DocumentCollection value) {
|
||||
this.documentCollection = value;
|
||||
public void setVersions(ObjectCollectionType value) {
|
||||
this.versions = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -19,8 +19,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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"/>
|
||||
* <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="asUser" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -32,6 +33,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"objectId",
|
||||
"asUser"
|
||||
})
|
||||
@@ -39,10 +41,36 @@ import javax.xml.bind.annotation.XmlType;
|
||||
public class GetAllowableActions {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String objectId;
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String objectId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String asUser;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the objectId property.
|
||||
*
|
||||
|
@@ -1,14 +1,11 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlElement;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import org.alfresco.repo.cmis.ws.GetAllowableActionsResponse.AllowableActionCollection;
|
||||
|
||||
|
||||
/**
|
||||
@@ -22,17 +19,7 @@ import org.alfresco.repo.cmis.ws.GetAllowableActionsResponse.AllowableActionColl
|
||||
* <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>
|
||||
* <element name="allowableActions" type="{http://www.cmis.org/ns/1.0}allowableActionsType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -44,96 +31,36 @@ import org.alfresco.repo.cmis.ws.GetAllowableActionsResponse.AllowableActionColl
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"allowableActionCollection"
|
||||
"allowableActions"
|
||||
})
|
||||
@XmlRootElement(name = "getAllowableActionsResponse")
|
||||
public class GetAllowableActionsResponse {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected AllowableActionCollection allowableActionCollection;
|
||||
protected AllowableActionsType allowableActions;
|
||||
|
||||
/**
|
||||
* Gets the value of the allowableActionCollection property.
|
||||
* Gets the value of the allowableActions property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link AllowableActionCollection }
|
||||
* {@link AllowableActionsType }
|
||||
*
|
||||
*/
|
||||
public AllowableActionCollection getAllowableActionCollection() {
|
||||
return allowableActionCollection;
|
||||
public AllowableActionsType getAllowableActions() {
|
||||
return allowableActions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the allowableActionCollection property.
|
||||
* Sets the value of the allowableActions property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link AllowableActionCollection }
|
||||
* {@link AllowableActionsType }
|
||||
*
|
||||
*/
|
||||
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;
|
||||
}
|
||||
|
||||
public void setAllowableActions(AllowableActionsType value) {
|
||||
this.allowableActions = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -9,17 +9,18 @@ import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for getDocumentParents element declaration.
|
||||
* <p>Java class for getAppliedPolicies element declaration.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <element name="getDocumentParents">
|
||||
* <element name="getAppliedPolicies">
|
||||
* <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="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
@@ -32,39 +33,66 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"documentId",
|
||||
"repositoryId",
|
||||
"objectId",
|
||||
"filter"
|
||||
})
|
||||
@XmlRootElement(name = "getDocumentParents")
|
||||
public class GetDocumentParents {
|
||||
@XmlRootElement(name = "getAppliedPolicies")
|
||||
public class GetAppliedPolicies {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String documentId;
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String objectId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String filter;
|
||||
|
||||
/**
|
||||
* Gets the value of the documentId property.
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getDocumentId() {
|
||||
return documentId;
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the documentId property.
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setDocumentId(String value) {
|
||||
this.documentId = value;
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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;
|
||||
}
|
||||
|
||||
/**
|
66
source/generated/org/alfresco/repo/cmis/ws/GetAppliedPoliciesResponse.java
Executable file
66
source/generated/org/alfresco/repo/cmis/ws/GetAppliedPoliciesResponse.java
Executable 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 getAppliedPoliciesResponse element declaration.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <element name="getAppliedPoliciesResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="appliedPolicies" type="{http://www.cmis.org/ns/1.0}objectCollectionType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"appliedPolicies"
|
||||
})
|
||||
@XmlRootElement(name = "getAppliedPoliciesResponse")
|
||||
public class GetAppliedPoliciesResponse {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected ObjectCollectionType appliedPolicies;
|
||||
|
||||
/**
|
||||
* Gets the value of the appliedPolicies property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link ObjectCollectionType }
|
||||
*
|
||||
*/
|
||||
public ObjectCollectionType getAppliedPolicies() {
|
||||
return appliedPolicies;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the appliedPolicies property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link ObjectCollectionType }
|
||||
*
|
||||
*/
|
||||
public void setAppliedPolicies(ObjectCollectionType value) {
|
||||
this.appliedPolicies = value;
|
||||
}
|
||||
|
||||
}
|
@@ -20,10 +20,12 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="folderID" type="{http://www.cmis.org/ns/1.0}ID" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* <element name="includeAllowableActions" 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"/>
|
||||
* <element name="folderID" type="{http://www.cmis.org/ns/1.0}objectID" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -35,22 +37,76 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"folderID",
|
||||
"filter",
|
||||
"includeAllowableActions",
|
||||
"maxItems",
|
||||
"skipCount",
|
||||
"folderID"
|
||||
"skipCount"
|
||||
})
|
||||
@XmlRootElement(name = "getCheckedoutDocs")
|
||||
public class GetCheckedoutDocs {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
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 includeAllowableActions;
|
||||
@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 repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the 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.
|
||||
@@ -76,6 +132,30 @@ public class GetCheckedoutDocs {
|
||||
this.filter = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the includeAllowableActions property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public Boolean isIncludeAllowableActions() {
|
||||
return includeAllowableActions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the includeAllowableActions property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public void setIncludeAllowableActions(Boolean value) {
|
||||
this.includeAllowableActions = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the maxItems property.
|
||||
*
|
||||
@@ -124,28 +204,4 @@ public class GetCheckedoutDocs {
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}documentCollection"/>
|
||||
* <element name="documents" type="{http://www.cmis.org/ns/1.0}objectCollectionType"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}hasMoreItems"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
@@ -32,39 +32,39 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"documentCollection",
|
||||
"documents",
|
||||
"hasMoreItems"
|
||||
})
|
||||
@XmlRootElement(name = "getCheckedoutDocsResponse")
|
||||
public class GetCheckedoutDocsResponse {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected DocumentCollection documentCollection;
|
||||
protected ObjectCollectionType documents;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected boolean hasMoreItems;
|
||||
|
||||
/**
|
||||
* Gets the value of the documentCollection property.
|
||||
* Gets the value of the documents property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link DocumentCollection }
|
||||
* {@link ObjectCollectionType }
|
||||
*
|
||||
*/
|
||||
public DocumentCollection getDocumentCollection() {
|
||||
return documentCollection;
|
||||
public ObjectCollectionType getDocuments() {
|
||||
return documents;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the documentCollection property.
|
||||
* Sets the value of the documents property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link DocumentCollection }
|
||||
* {@link ObjectCollectionType }
|
||||
*
|
||||
*/
|
||||
public void setDocumentCollection(DocumentCollection value) {
|
||||
this.documentCollection = value;
|
||||
public void setDocuments(ObjectCollectionType value) {
|
||||
this.documents = value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -20,9 +20,11 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="type" type="{http://www.cmis.org/ns/1.0}typesOfFileableObjectsEnum" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* <element name="includeAllowableActions" 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>
|
||||
@@ -36,9 +38,11 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"folderId",
|
||||
"type",
|
||||
"filter",
|
||||
"includeAllowableActions",
|
||||
"maxItems",
|
||||
"skipCount"
|
||||
})
|
||||
@@ -46,16 +50,44 @@ import javax.xml.bind.annotation.XmlType;
|
||||
public class GetChildren {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String folderId;
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected TypesOfObjectsEnum type;
|
||||
protected String folderId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected TypesOfFileableObjectsEnum type;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String filter;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected Boolean includeAllowableActions;
|
||||
@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 repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the folderId property.
|
||||
*
|
||||
@@ -85,10 +117,10 @@ public class GetChildren {
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link TypesOfObjectsEnum }
|
||||
* {@link TypesOfFileableObjectsEnum }
|
||||
*
|
||||
*/
|
||||
public TypesOfObjectsEnum getType() {
|
||||
public TypesOfFileableObjectsEnum getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
@@ -97,10 +129,10 @@ public class GetChildren {
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link TypesOfObjectsEnum }
|
||||
* {@link TypesOfFileableObjectsEnum }
|
||||
*
|
||||
*/
|
||||
public void setType(TypesOfObjectsEnum value) {
|
||||
public void setType(TypesOfFileableObjectsEnum value) {
|
||||
this.type = value;
|
||||
}
|
||||
|
||||
@@ -128,6 +160,30 @@ public class GetChildren {
|
||||
this.filter = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the includeAllowableActions property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public Boolean isIncludeAllowableActions() {
|
||||
return includeAllowableActions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the includeAllowableActions property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public void setIncludeAllowableActions(Boolean value) {
|
||||
this.includeAllowableActions = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the maxItems property.
|
||||
*
|
||||
|
@@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}documentAndFolderCollection"/>
|
||||
* <element name="children" type="{http://www.cmis.org/ns/1.0}childrenType"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}hasMoreItems"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
@@ -32,39 +32,39 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"documentAndFolderCollection",
|
||||
"children",
|
||||
"hasMoreItems"
|
||||
})
|
||||
@XmlRootElement(name = "getChildrenResponse")
|
||||
public class GetChildrenResponse {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected DocumentAndFolderCollection documentAndFolderCollection;
|
||||
protected ChildrenType children;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected boolean hasMoreItems;
|
||||
|
||||
/**
|
||||
* Gets the value of the documentAndFolderCollection property.
|
||||
* Gets the value of the children property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link DocumentAndFolderCollection }
|
||||
* {@link ChildrenType }
|
||||
*
|
||||
*/
|
||||
public DocumentAndFolderCollection getDocumentAndFolderCollection() {
|
||||
return documentAndFolderCollection;
|
||||
public ChildrenType getChildren() {
|
||||
return children;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the documentAndFolderCollection property.
|
||||
* Sets the value of the children property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link DocumentAndFolderCollection }
|
||||
* {@link ChildrenType }
|
||||
*
|
||||
*/
|
||||
public void setDocumentAndFolderCollection(DocumentAndFolderCollection value) {
|
||||
this.documentAndFolderCollection = value;
|
||||
public void setChildren(ChildrenType value) {
|
||||
this.children = value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -1,7 +1,6 @@
|
||||
|
||||
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;
|
||||
@@ -20,9 +19,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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"/>
|
||||
* <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="documentId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -34,19 +32,40 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"documentId",
|
||||
"offset",
|
||||
"length"
|
||||
"repositoryId",
|
||||
"documentId"
|
||||
})
|
||||
@XmlRootElement(name = "getContentStream")
|
||||
public class GetContentStream {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@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 repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the documentId property.
|
||||
@@ -72,52 +91,4 @@ public class GetContentStream {
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="stream" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}contentStream"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -31,34 +31,36 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"stream"
|
||||
"contentStream"
|
||||
})
|
||||
@XmlRootElement(name = "getContentStreamResponse")
|
||||
public class GetContentStreamResponse {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected byte[] stream;
|
||||
protected ContentStreamType contentStream;
|
||||
|
||||
/**
|
||||
* Gets the value of the stream property.
|
||||
* Gets the value of the contentStream property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* byte[]
|
||||
* {@link ContentStreamType }
|
||||
*
|
||||
*/
|
||||
public byte[] getStream() {
|
||||
return stream;
|
||||
public ContentStreamType getContentStream() {
|
||||
return contentStream;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the stream property.
|
||||
* Sets the value of the contentStream property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* byte[]
|
||||
* {@link ContentStreamType }
|
||||
*
|
||||
*/
|
||||
public void setStream(byte[] value) {
|
||||
this.stream = ((byte[]) value);
|
||||
public void setContentStream(ContentStreamType value) {
|
||||
this.contentStream = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -1,6 +1,7 @@
|
||||
|
||||
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;
|
||||
@@ -19,10 +20,12 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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 name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="type" type="{http://www.cmis.org/ns/1.0}typesOfFileableObjectsEnum" minOccurs="0"/>
|
||||
* <element name="depth" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* <element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -34,22 +37,52 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"folderId",
|
||||
"type",
|
||||
"depth",
|
||||
"filter"
|
||||
"filter",
|
||||
"includeAllowableActions"
|
||||
})
|
||||
@XmlRootElement(name = "getDescendants")
|
||||
public class GetDescendants {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String folderId;
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected TypesOfObjectsEnum type;
|
||||
protected String folderId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected Object depth;
|
||||
protected TypesOfFileableObjectsEnum type;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected BigInteger depth;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String filter;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected Boolean includeAllowableActions;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the folderId property.
|
||||
@@ -80,10 +113,10 @@ public class GetDescendants {
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link TypesOfObjectsEnum }
|
||||
* {@link TypesOfFileableObjectsEnum }
|
||||
*
|
||||
*/
|
||||
public TypesOfObjectsEnum getType() {
|
||||
public TypesOfFileableObjectsEnum getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
@@ -92,10 +125,10 @@ public class GetDescendants {
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link TypesOfObjectsEnum }
|
||||
* {@link TypesOfFileableObjectsEnum }
|
||||
*
|
||||
*/
|
||||
public void setType(TypesOfObjectsEnum value) {
|
||||
public void setType(TypesOfFileableObjectsEnum value) {
|
||||
this.type = value;
|
||||
}
|
||||
|
||||
@@ -104,10 +137,10 @@ public class GetDescendants {
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Object }
|
||||
* {@link BigInteger }
|
||||
*
|
||||
*/
|
||||
public Object getDepth() {
|
||||
public BigInteger getDepth() {
|
||||
return depth;
|
||||
}
|
||||
|
||||
@@ -116,10 +149,10 @@ public class GetDescendants {
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Object }
|
||||
* {@link BigInteger }
|
||||
*
|
||||
*/
|
||||
public void setDepth(Object value) {
|
||||
public void setDepth(BigInteger value) {
|
||||
this.depth = value;
|
||||
}
|
||||
|
||||
@@ -147,4 +180,28 @@ public class GetDescendants {
|
||||
this.filter = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the includeAllowableActions property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public Boolean isIncludeAllowableActions() {
|
||||
return includeAllowableActions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the includeAllowableActions property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public void setIncludeAllowableActions(Boolean value) {
|
||||
this.includeAllowableActions = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}documentAndFolderCollection"/>
|
||||
* <element name="descendants" type="{http://www.cmis.org/ns/1.0}childrenType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -31,36 +31,36 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"documentAndFolderCollection"
|
||||
"descendants"
|
||||
})
|
||||
@XmlRootElement(name = "getDescendantsResponse")
|
||||
public class GetDescendantsResponse {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected DocumentAndFolderCollection documentAndFolderCollection;
|
||||
protected ChildrenType descendants;
|
||||
|
||||
/**
|
||||
* Gets the value of the documentAndFolderCollection property.
|
||||
* Gets the value of the descendants property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link DocumentAndFolderCollection }
|
||||
* {@link ChildrenType }
|
||||
*
|
||||
*/
|
||||
public DocumentAndFolderCollection getDocumentAndFolderCollection() {
|
||||
return documentAndFolderCollection;
|
||||
public ChildrenType getDescendants() {
|
||||
return descendants;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the documentAndFolderCollection property.
|
||||
* Sets the value of the descendants property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link DocumentAndFolderCollection }
|
||||
* {@link ChildrenType }
|
||||
*
|
||||
*/
|
||||
public void setDocumentAndFolderCollection(DocumentAndFolderCollection value) {
|
||||
this.documentAndFolderCollection = value;
|
||||
public void setDescendants(ChildrenType value) {
|
||||
this.descendants = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -19,8 +19,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="folderId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* <element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* <element name="returnToRoot" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
@@ -33,20 +35,50 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"folderId",
|
||||
"filter",
|
||||
"includeAllowableActions",
|
||||
"returnToRoot"
|
||||
})
|
||||
@XmlRootElement(name = "getFolderParent")
|
||||
public class GetFolderParent {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@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 includeAllowableActions;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected Boolean returnToRoot;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the folderId property.
|
||||
*
|
||||
@@ -95,6 +127,30 @@ public class GetFolderParent {
|
||||
this.filter = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the includeAllowableActions property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public Boolean isIncludeAllowableActions() {
|
||||
return includeAllowableActions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the includeAllowableActions property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public void setIncludeAllowableActions(Boolean value) {
|
||||
this.includeAllowableActions = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the returnToRoot property.
|
||||
*
|
||||
|
@@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}folderCollection"/>
|
||||
* <element name="ancestors" type="{http://www.cmis.org/ns/1.0}objectCollectionType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -31,36 +31,36 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"folderCollection"
|
||||
"ancestors"
|
||||
})
|
||||
@XmlRootElement(name = "getFolderParentResponse")
|
||||
public class GetFolderParentResponse {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected FolderCollection folderCollection;
|
||||
protected ObjectCollectionType ancestors;
|
||||
|
||||
/**
|
||||
* Gets the value of the folderCollection property.
|
||||
* Gets the value of the ancestors property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link FolderCollection }
|
||||
* {@link ObjectCollectionType }
|
||||
*
|
||||
*/
|
||||
public FolderCollection getFolderCollection() {
|
||||
return folderCollection;
|
||||
public ObjectCollectionType getAncestors() {
|
||||
return ancestors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the folderCollection property.
|
||||
* Sets the value of the ancestors property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link FolderCollection }
|
||||
* {@link ObjectCollectionType }
|
||||
*
|
||||
*/
|
||||
public void setFolderCollection(FolderCollection value) {
|
||||
this.folderCollection = value;
|
||||
public void setAncestors(ObjectCollectionType value) {
|
||||
this.ancestors = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
150
source/generated/org/alfresco/repo/cmis/ws/GetObjectParents.java
Executable file
150
source/generated/org/alfresco/repo/cmis/ws/GetObjectParents.java
Executable 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 getObjectParents element declaration.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <element name="getObjectParents">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}filter" minOccurs="0"/>
|
||||
* <element name="includeAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </element>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"objectId",
|
||||
"filter",
|
||||
"includeAllowableActions"
|
||||
})
|
||||
@XmlRootElement(name = "getObjectParents")
|
||||
public class GetObjectParents {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String objectId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String filter;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected Boolean includeAllowableActions;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the 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 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 includeAllowableActions property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public Boolean isIncludeAllowableActions() {
|
||||
return includeAllowableActions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the includeAllowableActions property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public void setIncludeAllowableActions(Boolean value) {
|
||||
this.includeAllowableActions = value;
|
||||
}
|
||||
|
||||
}
|
@@ -9,17 +9,17 @@ import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for getDocumentParentsResponse element declaration.
|
||||
* <p>Java class for getObjectParentsResponse element declaration.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <element name="getDocumentParentsResponse">
|
||||
* <element name="getObjectParentsResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}folderCollection"/>
|
||||
* <element name="parents" type="{http://www.cmis.org/ns/1.0}objectCollectionType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -31,36 +31,36 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"folderCollection"
|
||||
"parents"
|
||||
})
|
||||
@XmlRootElement(name = "getDocumentParentsResponse")
|
||||
public class GetDocumentParentsResponse {
|
||||
@XmlRootElement(name = "getObjectParentsResponse")
|
||||
public class GetObjectParentsResponse {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected FolderCollection folderCollection;
|
||||
protected ObjectCollectionType parents;
|
||||
|
||||
/**
|
||||
* Gets the value of the folderCollection property.
|
||||
* Gets the value of the parents property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link FolderCollection }
|
||||
* {@link ObjectCollectionType }
|
||||
*
|
||||
*/
|
||||
public FolderCollection getFolderCollection() {
|
||||
return folderCollection;
|
||||
public ObjectCollectionType getParents() {
|
||||
return parents;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the folderCollection property.
|
||||
* Sets the value of the parents property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link FolderCollection }
|
||||
* {@link ObjectCollectionType }
|
||||
*
|
||||
*/
|
||||
public void setFolderCollection(FolderCollection value) {
|
||||
this.folderCollection = value;
|
||||
public void setParents(ObjectCollectionType value) {
|
||||
this.parents = value;
|
||||
}
|
||||
|
||||
}
|
@@ -19,7 +19,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <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>
|
||||
@@ -33,6 +34,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"objectId",
|
||||
"returnVersion",
|
||||
"filter"
|
||||
@@ -40,6 +42,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
@XmlRootElement(name = "getProperties")
|
||||
public class GetProperties {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String objectId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
@@ -47,6 +51,30 @@ public class GetProperties {
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String filter;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the objectId property.
|
||||
*
|
||||
|
150
source/generated/org/alfresco/repo/cmis/ws/GetPropertiesOfLatestVersion.java
Executable file
150
source/generated/org/alfresco/repo/cmis/ws/GetPropertiesOfLatestVersion.java
Executable 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 getPropertiesOfLatestVersion element declaration.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <element name="getPropertiesOfLatestVersion">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="versionSeriesId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="majorVersion" type="{http://www.w3.org/2001/XMLSchema}boolean" 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 = {
|
||||
"repositoryId",
|
||||
"versionSeriesId",
|
||||
"majorVersion",
|
||||
"filter"
|
||||
})
|
||||
@XmlRootElement(name = "getPropertiesOfLatestVersion")
|
||||
public class GetPropertiesOfLatestVersion {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String versionSeriesId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected Boolean majorVersion;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String filter;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the versionSeriesId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getVersionSeriesId() {
|
||||
return versionSeriesId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the versionSeriesId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setVersionSeriesId(String value) {
|
||||
this.versionSeriesId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the majorVersion property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public Boolean isMajorVersion() {
|
||||
return majorVersion;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the majorVersion property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public void setMajorVersion(Boolean value) {
|
||||
this.majorVersion = 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;
|
||||
}
|
||||
|
||||
}
|
@@ -9,17 +9,17 @@ import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for getRootFolderResponse element declaration.
|
||||
* <p>Java class for getPropertiesOfLatestVersionResponse element declaration.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <element name="getRootFolderResponse">
|
||||
* <element name="getPropertiesOfLatestVersionResponse">
|
||||
* <complexType>
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="rootFolder" type="{http://www.cmis.org/ns/1.0}folderObjectType"/>
|
||||
* <element name="object" type="{http://www.cmis.org/ns/1.0}objectType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -31,36 +31,36 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"rootFolder"
|
||||
"object"
|
||||
})
|
||||
@XmlRootElement(name = "getRootFolderResponse")
|
||||
public class GetRootFolderResponse {
|
||||
@XmlRootElement(name = "getPropertiesOfLatestVersionResponse")
|
||||
public class GetPropertiesOfLatestVersionResponse {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected FolderObjectType rootFolder;
|
||||
protected ObjectType object;
|
||||
|
||||
/**
|
||||
* Gets the value of the rootFolder property.
|
||||
* Gets the value of the object property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link FolderObjectType }
|
||||
* {@link ObjectType }
|
||||
*
|
||||
*/
|
||||
public FolderObjectType getRootFolder() {
|
||||
return rootFolder;
|
||||
public ObjectType getObject() {
|
||||
return object;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the rootFolder property.
|
||||
* Sets the value of the object property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link FolderObjectType }
|
||||
* {@link ObjectType }
|
||||
*
|
||||
*/
|
||||
public void setRootFolder(FolderObjectType value) {
|
||||
this.rootFolder = value;
|
||||
public void setObject(ObjectType value) {
|
||||
this.object = value;
|
||||
}
|
||||
|
||||
}
|
@@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="object" type="{http://www.cmis.org/ns/1.0}documentFolderOrRelationshipObjectType"/>
|
||||
* <element name="object" type="{http://www.cmis.org/ns/1.0}objectType"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -37,17 +37,17 @@ import javax.xml.bind.annotation.XmlType;
|
||||
public class GetPropertiesResponse {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected DocumentFolderOrRelationshipObjectType object;
|
||||
protected ObjectType object;
|
||||
|
||||
/**
|
||||
* Gets the value of the object property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link DocumentFolderOrRelationshipObjectType }
|
||||
* {@link ObjectType }
|
||||
*
|
||||
*/
|
||||
public DocumentFolderOrRelationshipObjectType getObject() {
|
||||
public ObjectType getObject() {
|
||||
return object;
|
||||
}
|
||||
|
||||
@@ -56,10 +56,10 @@ public class GetPropertiesResponse {
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link DocumentFolderOrRelationshipObjectType }
|
||||
* {@link ObjectType }
|
||||
*
|
||||
*/
|
||||
public void setObject(DocumentFolderOrRelationshipObjectType value) {
|
||||
public void setObject(ObjectType value) {
|
||||
this.object = value;
|
||||
}
|
||||
|
||||
|
@@ -20,11 +20,13 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="direction" type="{http://www.cmis.org/ns/1.0}relationshipDirectionEnum" minOccurs="0"/>
|
||||
* <element name="typeId" type="{http://www.cmis.org/ns/1.0}ID" 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 name="includeAllowableActions" 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>
|
||||
@@ -38,11 +40,13 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"objectId",
|
||||
"direction",
|
||||
"typeId",
|
||||
"includeSubRelationshipTypes",
|
||||
"filter",
|
||||
"includeAllowableActions",
|
||||
"maxItems",
|
||||
"skipCount"
|
||||
})
|
||||
@@ -50,8 +54,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
public class GetRelationships {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String objectId;
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String objectId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected RelationshipDirectionEnum direction;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String typeId;
|
||||
@@ -60,10 +66,36 @@ public class GetRelationships {
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String filter;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected Boolean includeAllowableActions;
|
||||
@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 repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the objectId property.
|
||||
*
|
||||
@@ -184,6 +216,30 @@ public class GetRelationships {
|
||||
this.filter = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the includeAllowableActions property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public Boolean isIncludeAllowableActions() {
|
||||
return includeAllowableActions;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the includeAllowableActions property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link Boolean }
|
||||
*
|
||||
*/
|
||||
public void setIncludeAllowableActions(Boolean value) {
|
||||
this.includeAllowableActions = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the maxItems property.
|
||||
*
|
||||
|
@@ -19,7 +19,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}relationshipCollection"/>
|
||||
* <element name="relationships" type="{http://www.cmis.org/ns/1.0}objectCollectionType"/>
|
||||
* <element ref="{http://www.cmis.org/ns/1.0}hasMoreItems"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
@@ -32,39 +32,39 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"relationshipCollection",
|
||||
"relationships",
|
||||
"hasMoreItems"
|
||||
})
|
||||
@XmlRootElement(name = "getRelationshipsResponse")
|
||||
public class GetRelationshipsResponse {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected RelationshipCollection relationshipCollection;
|
||||
protected ObjectCollectionType relationships;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected boolean hasMoreItems;
|
||||
|
||||
/**
|
||||
* Gets the value of the relationshipCollection property.
|
||||
* Gets the value of the relationships property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link RelationshipCollection }
|
||||
* {@link ObjectCollectionType }
|
||||
*
|
||||
*/
|
||||
public RelationshipCollection getRelationshipCollection() {
|
||||
return relationshipCollection;
|
||||
public ObjectCollectionType getRelationships() {
|
||||
return relationships;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the relationshipCollection property.
|
||||
* Sets the value of the relationships property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link RelationshipCollection }
|
||||
* {@link ObjectCollectionType }
|
||||
*
|
||||
*/
|
||||
public void setRelationshipCollection(RelationshipCollection value) {
|
||||
this.relationshipCollection = value;
|
||||
public void setRelationships(ObjectCollectionType value) {
|
||||
this.relationships = value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
36
source/generated/org/alfresco/repo/cmis/ws/GetRepositories.java
Executable file
36
source/generated/org/alfresco/repo/cmis/ws/GetRepositories.java
Executable file
@@ -0,0 +1,36 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for getRepositories element declaration.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <element name="getRepositories">
|
||||
* <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 = "getRepositories")
|
||||
public class GetRepositories {
|
||||
|
||||
|
||||
}
|
@@ -11,17 +11,17 @@ import javax.xml.bind.annotation.XmlType;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for documentCollection element declaration.
|
||||
* <p>Java class for getRepositoriesResponse element declaration.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <element name="documentCollection">
|
||||
* <element name="getRepositoriesResponse">
|
||||
* <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"/>
|
||||
* <element name="repository" type="{http://www.cmis.org/ns/1.0}repositoryType" maxOccurs="unbounded" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -33,41 +33,41 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"object"
|
||||
"repository"
|
||||
})
|
||||
@XmlRootElement(name = "documentCollection")
|
||||
public class DocumentCollection {
|
||||
@XmlRootElement(name = "getRepositoriesResponse")
|
||||
public class GetRepositoriesResponse {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected List<DocumentObjectType> object;
|
||||
protected List<RepositoryType> repository;
|
||||
|
||||
/**
|
||||
* Gets the value of the object property.
|
||||
* Gets the value of the repository 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.
|
||||
* This is why there is not a <CODE>set</CODE> method for the repository property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getObject().add(newItem);
|
||||
* getRepository().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link DocumentObjectType }
|
||||
* {@link RepositoryType }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<DocumentObjectType> getObject() {
|
||||
if (object == null) {
|
||||
object = new ArrayList<DocumentObjectType>();
|
||||
public List<RepositoryType> getRepository() {
|
||||
if (repository == null) {
|
||||
repository = new ArrayList<RepositoryType>();
|
||||
}
|
||||
return this.object;
|
||||
return this.repository;
|
||||
}
|
||||
|
||||
}
|
@@ -3,6 +3,7 @@ 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;
|
||||
|
||||
@@ -18,6 +19,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -28,9 +30,37 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "")
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId"
|
||||
})
|
||||
@XmlRootElement(name = "getRepositoryInfo")
|
||||
public class GetRepositoryInfo {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -19,8 +19,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <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>
|
||||
@@ -32,16 +32,40 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"typeId",
|
||||
"includeInheritedProperties"
|
||||
"repositoryId",
|
||||
"typeId"
|
||||
})
|
||||
@XmlRootElement(name = "getTypeDefinition")
|
||||
public class GetTypeDefinition {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@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 repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the typeId property.
|
||||
@@ -67,28 +91,4 @@ public class GetTypeDefinition {
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -20,7 +20,6 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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>
|
||||
@@ -32,16 +31,13 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"type",
|
||||
"canCreateInstances"
|
||||
"type"
|
||||
})
|
||||
@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.
|
||||
@@ -67,20 +63,4 @@ public class GetTypeDefinitionResponse {
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -20,7 +20,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="typeId" type="{http://www.cmis.org/ns/1.0}ID" minOccurs="0"/>
|
||||
* <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"/>
|
||||
@@ -35,7 +36,8 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"type",
|
||||
"repositoryId",
|
||||
"typeId",
|
||||
"returnPropertyDefinitions",
|
||||
"maxItems",
|
||||
"skipCount"
|
||||
@@ -44,7 +46,9 @@ import javax.xml.bind.annotation.XmlType;
|
||||
public class GetTypes {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected GetTypesEnum type;
|
||||
protected String repositoryId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String typeId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected Boolean returnPropertyDefinitions;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
@@ -53,27 +57,51 @@ public class GetTypes {
|
||||
protected BigInteger skipCount;
|
||||
|
||||
/**
|
||||
* Gets the value of the type property.
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link GetTypesEnum }
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public GetTypesEnum getType() {
|
||||
return type;
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the type property.
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link GetTypesEnum }
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setType(GetTypesEnum value) {
|
||||
this.type = value;
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = 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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -1,55 +0,0 @@
|
||||
|
||||
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());
|
||||
}
|
||||
|
||||
}
|
@@ -1,123 +0,0 @@
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
}
|
@@ -1,86 +0,0 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlAccessType;
|
||||
import javax.xml.bind.annotation.XmlAccessorType;
|
||||
import javax.xml.bind.annotation.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;
|
||||
}
|
||||
|
||||
}
|
70
source/generated/org/alfresco/repo/cmis/ws/HTML.java
Executable file
70
source/generated/org/alfresco/repo/cmis/ws/HTML.java
Executable file
@@ -0,0 +1,70 @@
|
||||
|
||||
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.XmlAnyElement;
|
||||
import javax.xml.bind.annotation.XmlType;
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for HTML complex type.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
*
|
||||
* <pre>
|
||||
* <complexType name="HTML">
|
||||
* <complexContent>
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
||||
* <sequence>
|
||||
* <any/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
* </complexType>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "HTML", propOrder = {
|
||||
"any"
|
||||
})
|
||||
public class HTML {
|
||||
|
||||
@XmlAnyElement
|
||||
protected List<Element> any;
|
||||
|
||||
/**
|
||||
* Gets the value of the any property.
|
||||
*
|
||||
* <p>
|
||||
* This accessor method returns a reference to the live list,
|
||||
* not a snapshot. Therefore any modification you make to the
|
||||
* returned list will be present inside the JAXB object.
|
||||
* This is why there is not a <CODE>set</CODE> method for the any property.
|
||||
*
|
||||
* <p>
|
||||
* For example, to add a new item, do as follows:
|
||||
* <pre>
|
||||
* getAny().add(newItem);
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
* <p>
|
||||
* Objects of the following type(s) are allowed in the list
|
||||
* {@link Element }
|
||||
*
|
||||
*
|
||||
*/
|
||||
public List<Element> getAny() {
|
||||
if (any == null) {
|
||||
any = new ArrayList<Element>();
|
||||
}
|
||||
return this.any;
|
||||
}
|
||||
|
||||
}
|
@@ -6,17 +6,17 @@ import javax.xml.ws.WebFault;
|
||||
|
||||
/**
|
||||
* This class was generated by Apache CXF 2.0.6
|
||||
* Tue May 27 14:11:27 EEST 2008
|
||||
* Tue Jul 29 18:22:39 EEST 2008
|
||||
* Generated source version: 2.0.6
|
||||
*
|
||||
*/
|
||||
|
||||
@WebFault(name = "InvalidArgumentFault", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
@WebFault(name = "invalidArgumentException", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
|
||||
public class InvalidArgumentException extends Exception {
|
||||
public static final long serialVersionUID = 20080527141127L;
|
||||
public static final long serialVersionUID = 20080729182239L;
|
||||
|
||||
private org.alfresco.repo.cmis.ws.BasicFault invalidArgumentFault;
|
||||
private org.alfresco.repo.cmis.ws.BasicFault invalidArgumentException;
|
||||
|
||||
public InvalidArgumentException() {
|
||||
super();
|
||||
@@ -30,17 +30,17 @@ public class InvalidArgumentException extends Exception {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
public InvalidArgumentException(String message, org.alfresco.repo.cmis.ws.BasicFault invalidArgumentFault) {
|
||||
public InvalidArgumentException(String message, org.alfresco.repo.cmis.ws.BasicFault invalidArgumentException) {
|
||||
super(message);
|
||||
this.invalidArgumentFault = invalidArgumentFault;
|
||||
this.invalidArgumentException = invalidArgumentException;
|
||||
}
|
||||
|
||||
public InvalidArgumentException(String message, org.alfresco.repo.cmis.ws.BasicFault invalidArgumentFault, Throwable cause) {
|
||||
public InvalidArgumentException(String message, org.alfresco.repo.cmis.ws.BasicFault invalidArgumentException, Throwable cause) {
|
||||
super(message, cause);
|
||||
this.invalidArgumentFault = invalidArgumentFault;
|
||||
this.invalidArgumentException = invalidArgumentException;
|
||||
}
|
||||
|
||||
public org.alfresco.repo.cmis.ws.BasicFault getFaultInfo() {
|
||||
return this.invalidArgumentFault;
|
||||
return this.invalidArgumentException;
|
||||
}
|
||||
}
|
||||
|
52
source/generated/org/alfresco/repo/cmis/ws/JoinEnum.java
Executable file
52
source/generated/org/alfresco/repo/cmis/ws/JoinEnum.java
Executable file
@@ -0,0 +1,52 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.xml.bind.annotation.XmlEnum;
|
||||
import javax.xml.bind.annotation.XmlEnumValue;
|
||||
|
||||
|
||||
/**
|
||||
* <p>Java class for joinEnum.
|
||||
*
|
||||
* <p>The following schema fragment specifies the expected content contained within this class.
|
||||
* <p>
|
||||
* <pre>
|
||||
* <simpleType name="joinEnum">
|
||||
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
||||
* <enumeration value="noJoin"/>
|
||||
* <enumeration value="innerOnly"/>
|
||||
* <enumeration value="innerAndOuter"/>
|
||||
* </restriction>
|
||||
* </simpleType>
|
||||
* </pre>
|
||||
*
|
||||
*/
|
||||
@XmlEnum
|
||||
public enum JoinEnum {
|
||||
|
||||
@XmlEnumValue("innerAndOuter")
|
||||
INNER_AND_OUTER("innerAndOuter"),
|
||||
@XmlEnumValue("innerOnly")
|
||||
INNER_ONLY("innerOnly"),
|
||||
@XmlEnumValue("noJoin")
|
||||
NO_JOIN("noJoin");
|
||||
private final String value;
|
||||
|
||||
JoinEnum(String v) {
|
||||
value = v;
|
||||
}
|
||||
|
||||
public String value() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public static JoinEnum fromValue(String v) {
|
||||
for (JoinEnum c: JoinEnum.values()) {
|
||||
if (c.value.equals(v)) {
|
||||
return c;
|
||||
}
|
||||
}
|
||||
throw new IllegalArgumentException(v.toString());
|
||||
}
|
||||
|
||||
}
|
@@ -19,9 +19,10 @@ import javax.xml.bind.annotation.XmlType;
|
||||
* <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"/>
|
||||
* <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="objectId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="targetFolderId" type="{http://www.cmis.org/ns/1.0}ID"/>
|
||||
* <element name="sourceFolderId" type="{http://www.cmis.org/ns/1.0}ID" minOccurs="0"/>
|
||||
* </sequence>
|
||||
* </restriction>
|
||||
* </complexContent>
|
||||
@@ -33,20 +34,47 @@ import javax.xml.bind.annotation.XmlType;
|
||||
*/
|
||||
@XmlAccessorType(XmlAccessType.FIELD)
|
||||
@XmlType(name = "", propOrder = {
|
||||
"repositoryId",
|
||||
"objectId",
|
||||
"folderId",
|
||||
"targetFolderId",
|
||||
"sourceFolderId"
|
||||
})
|
||||
@XmlRootElement(name = "moveObject")
|
||||
public class MoveObject {
|
||||
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true)
|
||||
protected String repositoryId;
|
||||
@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;
|
||||
protected String targetFolderId;
|
||||
@XmlElement(namespace = "http://www.cmis.org/ns/1.0")
|
||||
protected String sourceFolderId;
|
||||
|
||||
/**
|
||||
* Gets the value of the repositoryId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getRepositoryId() {
|
||||
return repositoryId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the repositoryId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setRepositoryId(String value) {
|
||||
this.repositoryId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the objectId property.
|
||||
*
|
||||
@@ -72,27 +100,27 @@ public class MoveObject {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value of the folderId property.
|
||||
* Gets the value of the targetFolderId property.
|
||||
*
|
||||
* @return
|
||||
* possible object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public String getFolderId() {
|
||||
return folderId;
|
||||
public String getTargetFolderId() {
|
||||
return targetFolderId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of the folderId property.
|
||||
* Sets the value of the targetFolderId property.
|
||||
*
|
||||
* @param value
|
||||
* allowed object is
|
||||
* {@link String }
|
||||
*
|
||||
*/
|
||||
public void setFolderId(String value) {
|
||||
this.folderId = value;
|
||||
public void setTargetFolderId(String value) {
|
||||
this.targetFolderId = value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
58
source/generated/org/alfresco/repo/cmis/ws/MultiFilingService.java
Executable file
58
source/generated/org/alfresco/repo/cmis/ws/MultiFilingService.java
Executable file
@@ -0,0 +1,58 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
import javax.xml.namespace.QName;
|
||||
import javax.xml.ws.Service;
|
||||
import javax.xml.ws.WebEndpoint;
|
||||
import javax.xml.ws.WebServiceClient;
|
||||
import org.alfresco.repo.cmis.ws.MultiFilingServicePort;
|
||||
|
||||
/**
|
||||
* This class was generated by Apache CXF 2.0.6
|
||||
* Tue Jul 29 18:22:19 EEST 2008
|
||||
* Generated source version: 2.0.6
|
||||
*
|
||||
*/
|
||||
|
||||
@WebServiceClient(name = "MultiFilingService", targetNamespace = "http://www.cmis.org/ns/1.0", wsdlLocation = "file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/MultiFilingService.wsdl")
|
||||
public class MultiFilingService extends Service {
|
||||
|
||||
public final static URL WSDL_LOCATION;
|
||||
public final static QName SERVICE = new QName("http://www.cmis.org/ns/1.0", "MultiFilingService");
|
||||
public final static QName MultiFilingServicePort = new QName("http://www.cmis.org/ns/1.0", "MultiFilingServicePort");
|
||||
static {
|
||||
URL url = null;
|
||||
try {
|
||||
url = new URL("file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/MultiFilingService.wsdl");
|
||||
} catch (MalformedURLException e) {
|
||||
System.err.println("Can not initialize the default wsdl from file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/MultiFilingService.wsdl");
|
||||
// e.printStackTrace();
|
||||
}
|
||||
WSDL_LOCATION = url;
|
||||
}
|
||||
|
||||
public MultiFilingService(URL wsdlLocation) {
|
||||
super(wsdlLocation, SERVICE);
|
||||
}
|
||||
|
||||
public MultiFilingService(URL wsdlLocation, QName serviceName) {
|
||||
super(wsdlLocation, serviceName);
|
||||
}
|
||||
|
||||
public MultiFilingService() {
|
||||
super(WSDL_LOCATION, SERVICE);
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return
|
||||
* returns MultiFilingServicePort
|
||||
*/
|
||||
@WebEndpoint(name = "MultiFilingServicePort")
|
||||
public MultiFilingServicePort getMultiFilingServicePort() {
|
||||
return super.getPort(MultiFilingServicePort, MultiFilingServicePort.class);
|
||||
}
|
||||
|
||||
}
|
44
source/generated/org/alfresco/repo/cmis/ws/MultiFilingServicePort.java
Executable file
44
source/generated/org/alfresco/repo/cmis/ws/MultiFilingServicePort.java
Executable file
@@ -0,0 +1,44 @@
|
||||
|
||||
package org.alfresco.repo.cmis.ws;
|
||||
|
||||
import javax.jws.WebMethod;
|
||||
import javax.jws.WebParam;
|
||||
import javax.jws.WebService;
|
||||
import javax.xml.ws.RequestWrapper;
|
||||
import javax.xml.ws.ResponseWrapper;
|
||||
|
||||
/**
|
||||
* This class was generated by Apache CXF 2.0.6
|
||||
* Tue Jul 29 18:22:19 EEST 2008
|
||||
* Generated source version: 2.0.6
|
||||
*
|
||||
*/
|
||||
|
||||
@WebService(targetNamespace = "http://www.cmis.org/ns/1.0", name = "MultiFilingServicePort")
|
||||
|
||||
public interface MultiFilingServicePort {
|
||||
|
||||
@ResponseWrapper(localName = "removeObjectFromFolderResponse", targetNamespace = "http://www.cmis.org/ns/1.0", className = "org.alfresco.repo.cmis.ws.RemoveObjectFromFolderResponse")
|
||||
@RequestWrapper(localName = "removeObjectFromFolder", targetNamespace = "http://www.cmis.org/ns/1.0", className = "org.alfresco.repo.cmis.ws.RemoveObjectFromFolder")
|
||||
@WebMethod
|
||||
public void removeObjectFromFolder(
|
||||
@WebParam(name = "repositoryId", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
java.lang.String repositoryId,
|
||||
@WebParam(name = "objectId", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
java.lang.String objectId,
|
||||
@WebParam(name = "folderId", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
java.lang.String folderId
|
||||
) throws RuntimeException, InvalidArgumentException, ObjectNotFoundException, NotInFolderException, ConstraintViolationException, OperationNotSupportedException, UpdateConflictException, FolderNotValidException, PermissionDeniedException;
|
||||
|
||||
@ResponseWrapper(localName = "addObjectToFolderResponse", targetNamespace = "http://www.cmis.org/ns/1.0", className = "org.alfresco.repo.cmis.ws.AddObjectToFolderResponse")
|
||||
@RequestWrapper(localName = "addObjectToFolder", targetNamespace = "http://www.cmis.org/ns/1.0", className = "org.alfresco.repo.cmis.ws.AddObjectToFolder")
|
||||
@WebMethod
|
||||
public void addObjectToFolder(
|
||||
@WebParam(name = "repositoryId", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
java.lang.String repositoryId,
|
||||
@WebParam(name = "objectId", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
java.lang.String objectId,
|
||||
@WebParam(name = "folderId", targetNamespace = "http://www.cmis.org/ns/1.0")
|
||||
java.lang.String folderId
|
||||
) throws RuntimeException, InvalidArgumentException, ObjectNotFoundException, ConstraintViolationException, OperationNotSupportedException, UpdateConflictException, FolderNotValidException, PermissionDeniedException;
|
||||
}
|
@@ -11,12 +11,12 @@ 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
|
||||
* Tue Jul 29 18:22:03 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")
|
||||
@WebServiceClient(name = "NavigationService", targetNamespace = "http://www.cmis.org/ns/1.0", wsdlLocation = "file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/NavigationService.wsdl")
|
||||
public class NavigationService extends Service {
|
||||
|
||||
public final static URL WSDL_LOCATION;
|
||||
@@ -25,9 +25,9 @@ public class NavigationService extends Service {
|
||||
static {
|
||||
URL url = null;
|
||||
try {
|
||||
url = new URL("file:/D:/work/AlfrescoCMIS-WS/WScmis/web/wsdl/cmis/NavigationService.wsdl");
|
||||
url = new URL("file:/D:/work/CMIS-WS/CMIS-WS/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");
|
||||
System.err.println("Can not initialize the default wsdl from file:/D:/work/CMIS-WS/CMIS-WS/web/wsdl/cmis/NavigationService.wsdl");
|
||||
// e.printStackTrace();
|
||||
}
|
||||
WSDL_LOCATION = url;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user