mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Add stub classified content model
* model I18n added * added Java contanstants via interface for convenience * includes a couple of renames for consistency * relates to RM-1947 +review RM-18 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@101539 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -3,6 +3,33 @@
|
||||
|
||||
<beans>
|
||||
|
||||
<!-- Classified content model bootstrap -->
|
||||
|
||||
<bean id="classifiedContentDictionaryBootstrap" parent="dictionaryModelBootstrap">
|
||||
<property name="models">
|
||||
<list>
|
||||
<value>alfresco/module/org_alfresco_module_rm/model/classifiedContentModel.xml</value>
|
||||
</list>
|
||||
</property>
|
||||
<property name="labels">
|
||||
<list>
|
||||
<value>alfresco/module/org_alfresco_module_rm/messages/classified-content-model</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- I18N bootstrap -->
|
||||
|
||||
<bean id="classifiedContentResourceBundles" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
|
||||
<property name="resourceBundles">
|
||||
<list>
|
||||
<value>alfresco.module.org_alfresco_module_rm.messages.classified-content</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- Classification service DAO -->
|
||||
|
||||
<bean id="classificationServiceDAO" class="org.alfresco.module.org_alfresco_module_rm.classification.ClassificationServiceDAO">
|
||||
<property name="levelConfigLocation" value="${rm.classification.levelsFile}" />
|
||||
<property name="reasonConfigLocation" value="${rm.classification.reasonsFile}" />
|
||||
@@ -62,11 +89,4 @@
|
||||
<constructor-arg ref="TransactionService"/>
|
||||
</bean>
|
||||
|
||||
<bean id="rmClassificationResourceBundles" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
|
||||
<property name="resourceBundles">
|
||||
<list>
|
||||
<value>alfresco.module.org_alfresco_module_rm.messages.rm-classification</value>
|
||||
</list>
|
||||
</property>
|
||||
</bean>
|
||||
</beans>
|
@@ -0,0 +1,2 @@
|
||||
clf_classifiedcontent.description=Classified Content Model
|
||||
|
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- Definition of Classified Content Model -->
|
||||
|
||||
<model name="clf:classifiedcontent" xmlns="http://www.alfresco.org/model/dictionary/1.0">
|
||||
|
||||
<!-- Meta-data about the model -->
|
||||
<description>Classified Content Model</description>
|
||||
<author>Roy Wetherall</author>
|
||||
<version>1.0</version>
|
||||
|
||||
<!-- Imports are required to allow references to definitions in other models -->
|
||||
<imports>
|
||||
<!-- Import Alfresco Dictionary Definitions -->
|
||||
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
|
||||
<!-- Import Alfresco Content Domain Model Definitions -->
|
||||
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
|
||||
<!-- Import Alfresco Content Domain Model Definitions -->
|
||||
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys" />
|
||||
</imports>
|
||||
|
||||
<!-- Classified Content Namespace -->
|
||||
<namespaces>
|
||||
<namespace uri="http://www.alfresco.org/model/classifiedcontent/1.0" prefix="clf"/>
|
||||
</namespaces>
|
||||
|
||||
<!-- Model Constraints -->
|
||||
<constraints>
|
||||
|
||||
</constraints>
|
||||
|
||||
<!-- Types -->
|
||||
<types>
|
||||
|
||||
</types>
|
||||
|
||||
<!-- Aspects -->
|
||||
<aspects>
|
||||
|
||||
</aspects>
|
||||
|
||||
</model>
|
@@ -240,7 +240,7 @@
|
||||
<!-- Import the RM webscript's -->
|
||||
<import resource="classpath:alfresco/module/org_alfresco_module_rm/rm-webscript-context.xml"/>
|
||||
|
||||
<!-- Import the Classified Records Services -->
|
||||
<import resource="classpath:alfresco/module/org_alfresco_module_rm/rm-classified-records-context.xml"/>
|
||||
<!-- Import the Classified Content Services -->
|
||||
<import resource="classpath:alfresco/module/org_alfresco_module_rm/classified-content-context.xml"/>
|
||||
|
||||
</beans>
|
||||
|
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Copyright (C) 2005-2015 Alfresco Software Limited.
|
||||
*
|
||||
* This file is part of Alfresco
|
||||
*
|
||||
* Alfresco is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* Alfresco is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public License
|
||||
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package org.alfresco.module.org_alfresco_module_rm.classification.model;
|
||||
|
||||
/**
|
||||
* Classified content model interface.
|
||||
* <p>
|
||||
* Helper containing reusable information about the classified content model.
|
||||
*
|
||||
* @author Roy Wetherall
|
||||
* @since 3.0
|
||||
*/
|
||||
public interface ClassifiedContentModel
|
||||
{
|
||||
/** Namespace details */
|
||||
String RM_URI = "http://www.alfresco.org/model/classifiedcontent/1.0";
|
||||
String RM_PREFIX = "clf";
|
||||
}
|
Reference in New Issue
Block a user