mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Addressing review comments from RM-132. Original issues were RM-2431 and RM-2432.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108993 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -138,7 +138,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<property name="clf:lastReclassifyBy">
|
<property name="clf:lastReclassifyBy">
|
||||||
<title>Last user to reclassify this node</title>
|
<title>Last user to reclassify this node</title>
|
||||||
<description>Identifier for the user who most recently reclassified this node</description>
|
<description>Free form text identifier for the user or entity who most recently reclassified this node</description>
|
||||||
<type>d:text</type>
|
<type>d:text</type>
|
||||||
<mandatory>false</mandatory>
|
<mandatory>false</mandatory>
|
||||||
</property>
|
</property>
|
||||||
|
@@ -89,6 +89,10 @@ public interface ClassificationSchemeService
|
|||||||
*/
|
*/
|
||||||
Reclassification getReclassification(ClassificationLevel from, ClassificationLevel to);
|
Reclassification getReclassification(ClassificationLevel from, ClassificationLevel to);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets the allowed values for reclassification actions.
|
||||||
|
* @see Reclassification
|
||||||
|
*/
|
||||||
Set<String> getReclassificationValues();
|
Set<String> getReclassificationValues();
|
||||||
|
|
||||||
/** Types of reclassification. */
|
/** Types of reclassification. */
|
||||||
|
@@ -142,7 +142,7 @@ public class ClassificationSchemeServiceImpl extends ServiceBaseImpl implements
|
|||||||
|
|
||||||
if (from.equals(to))
|
if (from.equals(to))
|
||||||
{ return null; }
|
{ return null; }
|
||||||
else if (fromIndex < lastIndex && toIndex == lastIndex)
|
else if (toIndex == lastIndex)
|
||||||
{
|
{
|
||||||
return Reclassification.DECLASSIFY;
|
return Reclassification.DECLASSIFY;
|
||||||
}
|
}
|
||||||
|
@@ -58,10 +58,6 @@ public interface ClassifiedContentModel
|
|||||||
QName PROP_LAST_RECLASSIFY_AT = QName.createQName(CLF_URI, "lastReclassifyAt");
|
QName PROP_LAST_RECLASSIFY_AT = QName.createQName(CLF_URI, "lastReclassifyAt");
|
||||||
QName PROP_LAST_RECLASSIFY_REASON = QName.createQName(CLF_URI, "lastReclassifyReason");
|
QName PROP_LAST_RECLASSIFY_REASON = QName.createQName(CLF_URI, "lastReclassifyReason");
|
||||||
QName PROP_LAST_RECLASSIFICATION_ACTION = QName.createQName(CLF_URI, "lastReclassificationAction");
|
QName PROP_LAST_RECLASSIFICATION_ACTION = QName.createQName(CLF_URI, "lastReclassificationAction");
|
||||||
/** Reclassification allowed values. */
|
|
||||||
String RECLASSIFICATION_UPGRADE = "UPGRADE";
|
|
||||||
String RECLASSIFICATION_DOWNGRADE = "DOWNGRADE";
|
|
||||||
String RECLASSIFICATION_DECLASSIFY = "DECLASSIFY";
|
|
||||||
|
|
||||||
/** Security Clearance aspect. */
|
/** Security Clearance aspect. */
|
||||||
QName ASPECT_SECURITY_CLEARANCE = QName.createQName(CLF_URI, "securityClearance");
|
QName ASPECT_SECURITY_CLEARANCE = QName.createQName(CLF_URI, "securityClearance");
|
||||||
|
Reference in New Issue
Block a user