001/* 002 * This library is part of OpenCms - 003 * the Open Source Content Management System 004 * 005 * Copyright (C) Alkacon Software (http://www.alkacon.com) 006 * 007 * This library is free software; you can redistribute it and/or 008 * modify it under the terms of the GNU Lesser General Public 009 * License as published by the Free Software Foundation; either 010 * version 2.1 of the License, or (at your option) any later version. 011 * 012 * This library is distributed in the hope that it will be useful, 013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 015 * Lesser General Public License for more details. 016 * 017 * For further information about Alkacon Software, please see the 018 * company website: http://www.alkacon.com 019 * 020 * For further information about OpenCms, please see the 021 * project website: http://www.opencms.org 022 * 023 * You should have received a copy of the GNU Lesser General Public 024 * License along with this library; if not, write to the Free Software 025 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 026 */ 027 028package org.opencms.workflow; 029 030import org.opencms.i18n.A_CmsMessageBundle; 031import org.opencms.i18n.I_CmsMessageBundle; 032 033/** 034 * The message bundle for the workflow package.<p> 035 * 036 */ 037public final class Messages extends A_CmsMessageBundle { 038 039 /** Message key for the resource bundle. */ 040 public static final String ERR_INVALID_WORKFLOW_ACTION_1 = "ERR_INVALID_WORKFLOW_ACTION_1"; 041 042 /** Message key for the resource bundle. */ 043 public static final String ERR_NEW_PARENT_NOT_IN_WORKFLOW_1 = "ERR_NEW_PARENT_NOT_IN_WORKFLOW_1"; 044 045 /** Message key for the resource bundle. */ 046 public static final String GUI_ALREADY_IN_WORKFLOW_0 = "GUI_ALREADY_IN_WORKFLOW_0"; 047 048 /** Message key for the resource bundle. */ 049 public static final String GUI_BROKEN_LINKS_0 = "GUI_BROKEN_LINKS_0"; 050 051 /** Message key for the resource bundle. */ 052 public static final String GUI_MAIL_PUBLISH_LINK_1 = "GUI_MAIL_PUBLISH_LINK_1"; 053 054 /** Message key for the resource bundle. */ 055 public static final String GUI_MAIL_USER_LINE_1 = "GUI_MAIL_USER_LINE_1"; 056 057 /** Message key for the resource bundle. */ 058 public static final String GUI_WORKFLOW_ACTION_FORCE_PUBLISH_0 = "GUI_WORKFLOW_ACTION_FORCE_PUBLISH_0"; 059 060 /** Message key for the resource bundle. */ 061 public static final String GUI_WORKFLOW_ACTION_PUBLISH_0 = "GUI_WORKFLOW_ACTION_PUBLISH_0"; 062 063 /** Message key for the resource bundle. */ 064 public static final String GUI_WORKFLOW_ACTION_RELEASE_0 = "GUI_WORKFLOW_ACTION_RELEASE_0"; 065 066 /** Message key for the resource bundle. */ 067 public static final String GUI_WORKFLOW_PROJECT_DESCRIPTION_2 = "GUI_WORKFLOW_PROJECT_DESCRIPTION_2"; 068 069 /** Message key for the resource bundle. */ 070 public static final String GUI_WORKFLOW_PROJECT_NAME_2 = "GUI_WORKFLOW_PROJECT_NAME_2"; 071 072 /** Message key for the resource bundle. */ 073 public static final String GUI_WORKFLOW_PUBLISH_0 = "GUI_WORKFLOW_PUBLISH_0"; 074 075 /** Name of the used resource bundle. */ 076 private static final String BUNDLE_NAME = "org.opencms.workflow.messages"; 077 078 /** Static instance member. */ 079 private static final I_CmsMessageBundle INSTANCE = new Messages(); 080 081 /** 082 * Hides the public constructor for this utility class.<p> 083 */ 084 private Messages() { 085 086 // hide the constructor 087 } 088 089 /** 090 * Returns an instance of this localized message accessor.<p> 091 * 092 * @return an instance of this localized message accessor 093 */ 094 public static I_CmsMessageBundle get() { 095 096 return INSTANCE; 097 } 098 099 /** 100 * Returns the bundle name for this OpenCms package.<p> 101 * 102 * @return the bundle name for this OpenCms package 103 */ 104 public String getBundleName() { 105 106 return BUNDLE_NAME; 107 } 108}