RM-2044 (Add "Classified" aspect)

+review RM @rwetherall @tpage

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@101929 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tuna Aksoy
2015-04-15 14:01:09 +00:00
parent d46ef8ef4b
commit 87c922dda3
2 changed files with 37 additions and 6 deletions

View File

@@ -31,12 +31,34 @@
<!-- Types -->
<types>
</types>
<!-- Aspects -->
<aspects>
<!-- Classified aspect -->
<aspect name="clf:classified">
<properties>
<property name="clf:initialClassification">
<title>Initial Classification</title>
<type>d:text</type>
</property>
<property name="clf:currentClassification">
<title>Current Classification</title>
<type>d:text</type>
</property>
<property name="clf:classificationAuthority">
<title>Classification Authority</title>
<type>d:text</type>
</property>
<property name="clf:classificationReasons">
<title>Classification Reasons</title>
<type>d:text</type>
<multiple>true</multiple>
</property>
</properties>
</aspect>
</aspects>
</model>

View File

@@ -18,17 +18,26 @@
*/
package org.alfresco.module.org_alfresco_module_rm.classification.model;
import org.alfresco.service.namespace.QName;
/**
* 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";
}
String CLF_URI = "http://www.alfresco.org/model/classifiedcontent/1.0";
String CLF_PREFIX = "clf";
/** Classified aspect */
QName ASPECT_CLASSIFIED = QName.createQName(CLF_URI, "classified");
QName PROP_INITIAL_CLASSIFICATION = QName.createQName(CLF_URI, "initialClassification");
QName PROP_CURRENT_CLASSIFICATION = QName.createQName(CLF_URI, "currentClassification");
QName PROP_CLASSIFICATION_AUTHORITY = QName.createQName(CLF_URI, "classificationAuthority");
QName PROP_CLASSIFICATION_REASONS = QName.createQName(CLF_URI, "classificationReasons");
}