RM-1204 (As a records user I want to manage the permissions of the root hold container so that I can control who can see the contents of the root hold container)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63383 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tuna Aksoy
2014-02-27 13:16:42 +00:00
parent 82ab448d5c
commit b5aa5a2237
3 changed files with 6 additions and 0 deletions

View File

@@ -349,6 +349,7 @@
<value>RECORD_FOLDER</value> <value>RECORD_FOLDER</value>
<value>UNFILED_RECORD_CONTAINER</value> <value>UNFILED_RECORD_CONTAINER</value>
<value>UNFILED_RECORD_CONTAINER_CHILD</value> <value>UNFILED_RECORD_CONTAINER_CHILD</value>
<value>HOLD_CONTAINER</value>
</set> </set>
</property> </property>
<property name="capability" value ="ManageAccessRights"/> <property name="capability" value ="ManageAccessRights"/>

View File

@@ -35,6 +35,7 @@ public enum FilePlanComponentKind
RECORD, RECORD,
TRANSFER, TRANSFER,
HOLD, HOLD,
HOLD_CONTAINER,
HOLD_CONTAINER_CHILD, HOLD_CONTAINER_CHILD,
DISPOSITION_SCHEDULE, DISPOSITION_SCHEDULE,
UNFILED_RECORD_CONTAINER, UNFILED_RECORD_CONTAINER,

View File

@@ -218,6 +218,10 @@ public class FilePlanServiceImpl extends ServiceBaseImpl
{ {
result = FilePlanComponentKind.HOLD; result = FilePlanComponentKind.HOLD;
} }
else if (instanceOf(nodeRef, TYPE_HOLD_CONTAINER))
{
result = FilePlanComponentKind.HOLD_CONTAINER;
}
else if (instanceOf(nodeRef, TYPE_HOLD_CONTAINER_CHILD)) else if (instanceOf(nodeRef, TYPE_HOLD_CONTAINER_CHILD))
{ {
result = FilePlanComponentKind.HOLD_CONTAINER_CHILD; result = FilePlanComponentKind.HOLD_CONTAINER_CHILD;