David Caruana 3f107708f8 - AVM Web Script Sample (browse stores, folders, content)
- Fix Web Script issue where urls contained ; (due to tomcat)
- Allow AVMScriptStore to be passed through script converters (add serializable)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6071 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-22 16:39:43 +00:00

418 lines
26 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0">
<cm:folder xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:alf="http://www.alfresco.org" xmlns:d="http://www.alfresco.org/model/dictionary/1.0" xmlns:view="http://www.alfresco.org/view/repository/1.0" xmlns:act="http://www.alfresco.org/model/action/1.0" xmlns:wf="http://www.alfresco.org/model/workflow/1.0" xmlns:app="http://www.alfresco.org/model/application/1.0" xmlns:ver="http://www.alfresco.org/model/versionstore/1.0" xmlns:usr="http://www.alfresco.org/model/user/1.0" xmlns:cm="http://www.alfresco.org/model/content/1.0" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:wcm="http://www.alfresco.org/model/wcmmodel/1.0" xmlns:wca="http://www.alfresco.org/model/wcmappmodel/1.0" xmlns:sys="http://www.alfresco.org/model/system/1.0" xmlns:wcmwf="http://www.alfresco.org/model/wcmworkflow/1.0" xmlns:rule="http://www.alfresco.org/model/rule/1.0" xmlns:fm="http://www.alfresco.org/model/forum/1.0" xmlns:bpm="http://www.alfresco.org/model/bpm/1.0" xmlns:custom="custom.model" xmlns="" view:childName="cm:webscripts">
<view:aspects>
<app:uifacets></app:uifacets>
</view:aspects>
<view:properties>
<cm:description>URL addressable Web Services</cm:description>
<app:icon>space-icon-default</app:icon>
<cm:title>URL addressable Web Services</cm:title>
<cm:name>Web Scripts</cm:name>
</view:properties>
<view:associations>
<cm:contains>
<cm:content view:childName="cm:readme.html">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description>What are Web Scripts and how do you develop them?</cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/readme.html|mimetype=text/html|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title></cm:title>
<cm:author></cm:author>
<cm:name>readme.html</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:folder view:childName="cm:org">
<view:aspects>
<app:uifacets></app:uifacets>
</view:aspects>
<view:properties>
<cm:description></cm:description>
<app:icon>space-icon-default</app:icon>
<cm:title></cm:title>
<cm:name>org</cm:name>
</view:properties>
<view:associations>
<cm:contains>
<cm:folder view:childName="cm:alfresco">
<view:aspects>
<app:uifacets></app:uifacets>
</view:aspects>
<view:properties>
<cm:description></cm:description>
<app:icon>space-icon-default</app:icon>
<cm:title></cm:title>
<cm:name>alfresco</cm:name>
</view:properties>
<view:associations>
<cm:contains>
<cm:folder view:childName="cm:sample">
<view:aspects>
<app:uifacets></app:uifacets>
</view:aspects>
<view:properties>
<cm:description></cm:description>
<app:icon>space-icon-default</app:icon>
<cm:title></cm:title>
<cm:name>sample</cm:name>
</view:properties>
<view:associations>
<cm:contains>
<cm:content view:childName="cm:blogsearch.get.js">
<view:aspects>
<cm:titled></cm:titled>
<app:inlineeditable></app:inlineeditable>
<cm:author></cm:author>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/blogsearch.get.js|mimetype=application/x-javascript|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>blogsearch.get.js</cm:title>
<cm:author></cm:author>
<cm:name>blogsearch.get.js</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:blogsearch.get.atom.ftl">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/blogsearch.get.atom.ftl|mimetype=text/plain|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>blogsearch.get.atom.ftl</cm:title>
<cm:author></cm:author>
<sys:store-protocol>workspace</sys:store-protocol>
<cm:name>blogsearch.get.atom.ftl</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:blogsearch.get.desc.xml">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/blogsearch.get.desc.xml|mimetype=text/xml|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>blogsearch.get.desc.xml</cm:title>
<cm:author></cm:author>
<cm:name>blogsearch.get.desc.xml</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:blogsearch.get.html.ftl">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/blogsearch.get.html.ftl|mimetype=text/plain|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>blogsearch.get.html.ftl</cm:title>
<cm:author></cm:author>
<cm:name>blogsearch.get.html.ftl</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:blogsearch.get.html.400.ftl">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/blogsearch.get.html.400.ftl|mimetype=text/plain|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>blogsearch.get.html.400.ftl</cm:title>
<cm:author></cm:author>
<cm:name>blogsearch.get.html.400.ftl</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:blogsearch.get.atom.400.ftl">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/blogsearch.get.atom.400.ftl|mimetype=text/plain|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>blogsearch.get.atom.400.ftl</cm:title>
<cm:author></cm:author>
<cm:name>blogsearch.get.atom.400.ftl</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:categorysearch.get.js">
<view:aspects>
<cm:titled></cm:titled>
<app:inlineeditable></app:inlineeditable>
<cm:author></cm:author>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/categorysearch.get.js|mimetype=application/x-javascript|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>categorysearch.get.js</cm:title>
<cm:author></cm:author>
<cm:name>categorysearch.get.js</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:categorysearch.get.atom.ftl">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/categorysearch.get.atom.ftl|mimetype=text/plain|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>categorysearch.get.atom.ftl</cm:title>
<cm:author></cm:author>
<sys:store-protocol>workspace</sys:store-protocol>
<cm:name>categorysearch.get.atom.ftl</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:categorysearch.get.desc.xml">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/categorysearch.get.desc.xml|mimetype=text/xml|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>categorysearch.get.desc.xml</cm:title>
<cm:author></cm:author>
<cm:name>categorysearch.get.desc.xml</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:categorysearch.get.html.ftl">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/categorysearch.get.html.ftl|mimetype=text/plain|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>categorysearch.get.html.ftl</cm:title>
<cm:author></cm:author>
<cm:name>categorysearch.get.html.ftl</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:categorysearch.get.html.404.ftl">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/categorysearch.get.html.404.ftl|mimetype=text/plain|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>categorysearch.get.html.404.ftl</cm:title>
<cm:author></cm:author>
<cm:name>categorysearch.get.html.404.ftl</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:categorysearch.get.atom.404.ftl">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/categorysearch.get.atom.404.ftl|mimetype=text/plain|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>categorysearch.get.atom.404.ftl</cm:title>
<cm:author></cm:author>
<cm:name>categorysearch.get.atom.404.ftl</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:folder.get.js">
<view:aspects>
<cm:titled></cm:titled>
<app:inlineeditable></app:inlineeditable>
<cm:author></cm:author>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/folder.get.js|mimetype=application/x-javascript|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>folder.get.js</cm:title>
<cm:author></cm:author>
<cm:name>folder.get.js</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:folder.get.atom.ftl">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/folder.get.atom.ftl|mimetype=text/plain|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>folder.get.atom.ftl</cm:title>
<cm:author></cm:author>
<sys:store-protocol>workspace</sys:store-protocol>
<cm:name>folder.get.atom.ftl</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:folder.get.desc.xml">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/folder.get.desc.xml|mimetype=text/xml|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>folder.get.desc.xml</cm:title>
<cm:author></cm:author>
<cm:name>folder.get.desc.xml</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:folder.get.html.ftl">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/folder.get.html.ftl|mimetype=text/plain|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>folder.get.html.ftl</cm:title>
<cm:author></cm:author>
<cm:name>folder.get.html.ftl</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:avmstores.get.desc.xml">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/avmstores.get.desc.xml|mimetype=text/xml|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>avmstores.get.desc.xml</cm:title>
<cm:author></cm:author>
<cm:name>avmstores.get.desc.xml</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:avmstores.get.html.ftl">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/avmstores.get.html.ftl|mimetype=text/plain|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>avmstores.get.html.ftl</cm:title>
<cm:author></cm:author>
<cm:name>avmstores.get.html.ftl</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:avmbrowse.get.js">
<view:aspects>
<cm:titled></cm:titled>
<app:inlineeditable></app:inlineeditable>
<cm:author></cm:author>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/avmbrowse.get.js|mimetype=application/x-javascript|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>avmbrowse.get.js</cm:title>
<cm:author></cm:author>
<cm:name>avmbrowse.get.js</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:avmbrowse.get.desc.xml">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/avmbrowse.get.desc.xml|mimetype=text/xml|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>avmbrowse.get.desc.xml</cm:title>
<cm:author></cm:author>
<cm:name>avmbrowse.get.desc.xml</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
<cm:content view:childName="cm:avmbrowse.get.html.ftl">
<view:aspects>
<cm:titled></cm:titled>
<cm:author></cm:author>
<app:inlineeditable></app:inlineeditable>
</view:aspects>
<view:properties>
<app:editInline>true</app:editInline>
<cm:description></cm:description>
<cm:content>contentUrl=classpath:alfresco/bootstrap/webscripts/avmbrowse.get.html.ftl|mimetype=text/plain|size=|encoding=UTF-8|locale=en_US_</cm:content>
<cm:title>avmbrowse.get.html.ftl</cm:title>
<cm:author></cm:author>
<cm:name>avmbrowse.get.html.ftl</cm:name>
</view:properties>
<view:associations></view:associations>
</cm:content>
</cm:contains>
</view:associations>
</cm:folder>
</cm:contains>
</view:associations>
</cm:folder>
</cm:contains>
</view:associations>
</cm:folder>
</cm:contains>
</view:associations>
</cm:folder>
</view:view>