001/* 002 * Copyright 2010 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.cms.alerts; 017 018/** 019 * Constants related to content alerts. 020 */ 021public interface AlertsConstants 022{ 023 024 /** The name of the metadata storing when the "awaiting validation" alert was last sent. */ 025 public static final String AWAITING_VALIDATION_ALERT_LAST_DATE = "awaitingValidationLastDate"; 026 027 /** The name of the metadata storing whether the "unmodified content" alert is enabled. */ 028 public static final String UNMODIFIED_ALERT_ENABLED = "unmodifiedAlertEnabled"; 029 030 /** The name of the metadata storing the "unmodified content" reminder text. */ 031 public static final String UNMODIFIED_ALERT_TEXT = "unmodifiedAlertText"; 032 033 /** The name of the metadata storing when the "unmodified content" alert was last sent. */ 034 public static final String UNMODIFIED_ALERT_LAST_DATE = "unmodifiedAlertLastDate"; 035 036 /** The name of the metadata storing whether the reminder is enabled. */ 037 public static final String REMINDER_ENABLED = "reminderEnabled"; 038 039 /** The name of the metadata storing the reminder date. */ 040 public static final String REMINDER_DATE = "reminderDate"; 041 042 /** The name of the metadata storing the reminder text. */ 043 public static final String REMINDER_TEXT = "reminderText"; 044 045 /** The name of the metadata storing when the "scheduled archiving" alert was last sent. */ 046 public static final String SCHEDULED_ARCHIVING_REMINDER_LAST_DATE = "scheduledArchivingLastDate"; 047 048}