Tagging bootstrap and model. Javascript API tag cloud function

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7479 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Mike Hatfield
2007-11-29 15:26:36 +00:00
parent 1e89a663ef
commit dbc7863a45
6 changed files with 119 additions and 0 deletions

View File

@@ -1100,9 +1100,21 @@
</cm:category>
<!-- Tags -->
<cm:category>
<view:acl>
<view:ace view:access="ALLOWED">
<view:authority>GROUP_EVERYONE</view:authority>
<view:permission>Contributor</view:permission>
</view:ace>
</view:acl>
<cm:name>Tags</cm:name>
</cm:category>
</cm:subcategories>
</cm:category>
</cm:categories>
</cm:category_root>

View File

@@ -0,0 +1,14 @@
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
xmlns:sys="http://www.alfresco.org/model/system/1.0"
xmlns:cm="http://www.alfresco.org/model/content/1.0">
<cm:category view:childName="cm:taggable">
<view:acl view:inherit="false">
<view:ace view:access="ALLOWED">
<view:authority>GROUP_EVERYONE</view:authority>
<view:permission>Collaborator</view:permission>
</view:ace>
</view:acl>
<cm:name>Tags</cm:name>
<sys:node-uuid>tag:tag-root</sys:node-uuid>
</cm:category>
</view:view>

View File

@@ -189,3 +189,5 @@ patch.avmFormPropertyIdentifier.result=Reindexed wca:webform to make wca:formnam
patch.formsFolder.description=Adds 'Forms' folder to Data Dictionary
patch.tagRootCategory.description=Adds 'Tags' as new top-level category root

View File

@@ -682,6 +682,24 @@
</properties>
</aspect>
<aspect name="cm:taggable">
<title>Taggable</title>
<parent>cm:classifiable</parent>
<properties>
<property name="cm:taggable">
<title>Tags</title>
<type>d:category</type>
<mandatory>false</mandatory>
<multiple>true</multiple>
<index enabled="true">
<atomic>true</atomic>
<stored>true</stored>
<tokenised>false</tokenised>
</index>
</property>
</properties>
</aspect>
<aspect name="cm:attachable">
<title>Attachable</title>
<associations>

View File

@@ -1145,4 +1145,25 @@
</property>
</bean>
<bean id="patch.tagRootCategory" class="org.alfresco.repo.admin.patch.impl.GenericBootstrapPatch" parent="basePatch" >
<property name="id"><value>patch.tagRootCategory</value></property>
<property name="description"><value>patch.tagRootCategory.description</value></property>
<property name="fixesFromSchema"><value>0</value></property>
<property name="fixesToSchema"><value>113</value></property>
<property name="targetSchema"><value>114</value></property>
<!-- bootstrap view -->
<property name="importerBootstrap">
<ref bean="spacesBootstrap" />
</property>
<property name="checkPath">
<value>/cm:categoryRoot/cm:taggable</value>
</property>
<property name="bootstrapView">
<props>
<prop key="path">/cm:categoryRoot</prop>
<prop key="location">alfresco/bootstrap/tagRootCategory.xml</prop>
</props>
</property>
</bean>
</beans>