001/*
002 * (C) Copyright 2015 Nuxeo SA (http://nuxeo.com/) and others.
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the GNU Lesser General Public License
006 * (LGPL) version 2.1 which accompanies this distribution, and is available at
007 * http://www.gnu.org/licenses/lgpl-2.1.html
008 *
009 * This library is distributed in the hope that it will be useful,
010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
012 * Lesser General Public License for more details.
013 *
014 * Contributors:
015 *     Thomas Roger
016 */
017
018package org.nuxeo.ecm.permissions;
019
020/**
021 * @since 7.4
022 */
023public class Constants {
024
025    private Constants() {
026        // constants class
027    }
028
029    public static final String ACE_INFO_DIRECTORY = "aceinfo";
030
031    public static final String NOTIFY_KEY = "notify";
032
033    public static final String COMMENT_KEY = "comment";
034
035    public static final String ACE_KEY = "ace";
036
037    public static final String ACL_NAME_KEY = "aclName";
038
039    public static final String PERMISSION_NOTIFICATION_EVENT = "permissionNotification";
040
041    public static final String ACE_GRANTED_TEMPLATE = "template:aceGranted";
042
043    public static final String ACE_INFO_ID = "aceinfo:id";
044
045    public static final String ACE_INFO_REPOSITORY_NAME = "aceinfo:repositoryName";
046
047    public static final String ACE_INFO_DOC_ID = "aceinfo:docId";
048
049    public static final String ACE_INFO_ACL_NAME = "aceinfo:aclName";
050
051    public static final String ACE_INFO_ACE_ID = "aceinfo:aceId";
052
053    public static final String ACE_INFO_NOTIFY = "aceinfo:notify";
054
055    public static final String ACE_INFO_COMMENT = "aceinfo:comment";
056
057}