001/* 002 * Copyright 2016 Anyware Services 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package org.ametys.plugins.workspaces.project; 017 018/** 019 * Project constants. 020 */ 021public interface ProjectConstants 022{ 023 /** Project workspace page template. */ 024 public static final String PROJECT_TEMPLATE = "project"; 025 026 /** Project workspace page template for the edition FO module. */ 027 public static final String EDITIONFO_TEMPLATE = "project-wiki"; 028 029 /** Calendar module service identifier */ 030 public static final String CALENDAR_MODULE_SERVICE_ID = "org.ametys.plugins.workspaces.module.Calendar"; 031 032 /** Right ID to create project in the back office */ 033 public static final String RIGHT_PROJECT_CREATE = "Plugins_Workspaces_Rights_Project_Create"; 034 035 /** Right ID to edit project in the back office */ 036 public static final String RIGHT_PROJECT_EDIT = "Plugins_Workspaces_Rights_Project_Edit"; 037 038 /** Right ID to delete project in the back office */ 039 public static final String RIGHT_PROJECT_DELETE = "Plugins_Workspaces_Rights_Project_Delete"; 040 041 /** Right ID to add a tag */ 042 public static final String RIGHT_PROJECT_ADD_TAG = "Plugins_Workspaces_Rights_Project_Add_Tag"; 043 044 /** Right ID to delete a tag */ 045 public static final String RIGHT_PROJECT_DELETE_TAG = "Plugins_Workspaces_Rights_Project_Delete_Tag"; 046 047 /** Right ID to add a place */ 048 public static final String RIGHT_PROJECT_ADD_PLACE = "Plugins_Workspaces_Rights_Project_Add_Place"; 049 050 /** Right ID to delete a place */ 051 public static final String RIGHT_PROJECT_DELETE_PLACE = "Plugins_Workspaces_Rights_Project_Delete_Place"; 052 053 /** Right ID to manager project tags */ 054 public static final String RIGHT_PROJECT_HANDLE_TAGS = "Workspace_Rights_Tags_HandleTag"; 055 056 /** Right ID to manager project keywords (not modules keywords) */ 057 public static final String RIGHT_PROJECT_HANDLE_PROJECTKEYWORDS = "Workspace_Rights_Keywords_HandleKeyword"; 058 059 /** Project Right to add a member to a project */ 060 public static final String RIGHT_PROJECT_ADD_MEMBER = "Plugins_Workspaces_Rights_Service_Module_Members_Add"; 061 062 /** Project Right to remove a member from the project */ 063 public static final String RIGHT_PROJECT_REMOVE_MEMBER = "Plugins_Workspaces_Rights_Service_Module_Members_Remove"; 064 065}