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 d62a9b3d96
commit 53b15ec26a
3 changed files with 6 additions and 0 deletions

View File

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

View File

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