From 4d7fcae9b965ecdac936f508f404f09062dfe7b2 Mon Sep 17 00:00:00 2001 From: Tom Page Date: Thu, 23 Jun 2016 11:24:16 +0100 Subject: [PATCH] RM-3566 Update security controls API. Create a Java API to allow adding and removing specified security controls without affecting other marks on the node. --- .../util/UpdateActionType.java | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/util/UpdateActionType.java diff --git a/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/util/UpdateActionType.java b/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/util/UpdateActionType.java new file mode 100644 index 0000000000..ffaba58fc2 --- /dev/null +++ b/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/util/UpdateActionType.java @@ -0,0 +1,42 @@ +/* + * #%L + * Alfresco Records Management Module + * %% + * Copyright (C) 2005 - 2016 Alfresco Software Limited + * %% + * This file is part of the Alfresco software. + * - + * If the software was purchased under a paid Alfresco license, the terms of + * the paid license agreement will prevail. Otherwise, the software is + * provided under the following open source license terms: + * - + * 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 . + * #L% + */ +package org.alfresco.module.org_alfresco_module_rm.util; + +import org.alfresco.api.AlfrescoPublicApi; + +/** + * An enumeration for the methods of updating a collection of immutable objects. + * + * @author Tom Page + * @since 2.5 + */ +@AlfrescoPublicApi +public enum UpdateActionType +{ + ADD, + REMOVE; +}