001/* 002 * This library is part of OpenCms - 003 * the Open Source Content Management System 004 * 005 * Copyright (c) Alkacon Software GmbH & Co. KG (https://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: https://www.alkacon.com 019 * 020 * For further information about OpenCms, please see the 021 * project website: https://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.db.storage; 029 030import org.opencms.i18n.A_CmsMessageBundle; 031import org.opencms.i18n.I_CmsMessageBundle; 032 033/** 034 * Convenience class to access the localized messages of this OpenCms package.<p> 035 */ 036public final class Messages extends A_CmsMessageBundle { 037 038 /** Message constant for key in the resource bundle. */ 039 public static final String ERR_STORAGE_ACTIVE_MISSING_1 = "ERR_STORAGE_ACTIVE_MISSING_1"; 040 041 /** Message constant for key in the resource bundle. */ 042 public static final String ERR_STORAGE_BLOB_LOAD_FAILED_2 = "ERR_STORAGE_BLOB_LOAD_FAILED_2"; 043 044 /** Message constant for key in the resource bundle. */ 045 public static final String ERR_STORAGE_BLOB_MISSING_2 = "ERR_STORAGE_BLOB_MISSING_2"; 046 047 /** Message constant for key in the resource bundle. */ 048 public static final String ERR_STORAGE_CONTENT_NULL_0 = "ERR_STORAGE_CONTENT_NULL_0"; 049 050 /** Message constant for key in the resource bundle. */ 051 public static final String ERR_STORAGE_DB_CLASS_CREATE_1 = "ERR_STORAGE_DB_CLASS_CREATE_1"; 052 053 /** Message constant for key in the resource bundle. */ 054 public static final String ERR_STORAGE_DB_CLASS_INVALID_2 = "ERR_STORAGE_DB_CLASS_INVALID_2"; 055 056 /** Message constant for key in the resource bundle. */ 057 public static final String ERR_STORAGE_DB_RESERVED_ID_1 = "ERR_STORAGE_DB_RESERVED_ID_1"; 058 059 /** Message constant for key in the resource bundle. */ 060 public static final String ERR_STORAGE_EXTERNAL_WRITE_2 = "ERR_STORAGE_EXTERNAL_WRITE_2"; 061 062 /** Message constant for key in the resource bundle. */ 063 public static final String ERR_STORAGE_HASH_INVALID_0 = "ERR_STORAGE_HASH_INVALID_0"; 064 065 /** Message constant for key in the resource bundle. */ 066 public static final String ERR_STORAGE_HASH_OUTSIDE_REPOSITORY_0 = "ERR_STORAGE_HASH_OUTSIDE_REPOSITORY_0"; 067 068 /** Message constant for key in the resource bundle. */ 069 public static final String ERR_STORAGE_LEGACY_CONTAINS_ACTIVE_1 = "ERR_STORAGE_LEGACY_CONTAINS_ACTIVE_1"; 070 071 /** Message constant for key in the resource bundle. */ 072 public static final String ERR_STORAGE_MISSING_CONFIG_2 = "ERR_STORAGE_MISSING_CONFIG_2"; 073 074 /** Message constant for key in the resource bundle. */ 075 public static final String ERR_STORAGE_MISSING_TYPE_1 = "ERR_STORAGE_MISSING_TYPE_1"; 076 077 /** Message constant for key in the resource bundle. */ 078 public static final String ERR_STORAGE_PATH_NOT_REGULAR_FILE_1 = "ERR_STORAGE_PATH_NOT_REGULAR_FILE_1"; 079 080 /** Message constant for key in the resource bundle. */ 081 public static final String ERR_STORAGE_POLICY_CREATE_1 = "ERR_STORAGE_POLICY_CREATE_1"; 082 083 /** Message constant for key in the resource bundle. */ 084 public static final String ERR_STORAGE_POLICY_INIT_1 = "ERR_STORAGE_POLICY_INIT_1"; 085 086 /** Message constant for key in the resource bundle. */ 087 public static final String ERR_STORAGE_POLICY_INVALID_2 = "ERR_STORAGE_POLICY_INVALID_2"; 088 089 /** Message constant for key in the resource bundle. */ 090 public static final String ERR_STORAGE_REPOSITORY_MISSING_1 = "ERR_STORAGE_REPOSITORY_MISSING_1"; 091 092 /** Message constant for key in the resource bundle. */ 093 public static final String ERR_STORAGE_REPOSITORY_NOT_DIRECTORY_1 = "ERR_STORAGE_REPOSITORY_NOT_DIRECTORY_1"; 094 095 /** Message constant for key in the resource bundle. */ 096 public static final String ERR_STORAGE_REPOSITORY_READ_WRITE_1 = "ERR_STORAGE_REPOSITORY_READ_WRITE_1"; 097 098 /** Message constant for key in the resource bundle. */ 099 public static final String ERR_STORAGE_S3_READ_WRITE_1 = "ERR_STORAGE_S3_READ_WRITE_1"; 100 101 /** Message constant for key in the resource bundle. */ 102 public static final String ERR_STORAGE_SQL_1 = "ERR_STORAGE_SQL_1"; 103 104 /** Message constant for key in the resource bundle. */ 105 public static final String ERR_STORAGE_UNCONFIGURED_1 = "ERR_STORAGE_UNCONFIGURED_1"; 106 107 /** Message constant for key in the resource bundle. */ 108 public static final String ERR_STORAGE_UNSUPPORTED_TYPE_2 = "ERR_STORAGE_UNSUPPORTED_TYPE_2"; 109 110 /** Message constant for key in the resource bundle. */ 111 public static final String INIT_STORAGE_BACKEND_CHECKING_3 = "INIT_STORAGE_BACKEND_CHECKING_3"; 112 113 /** Message constant for key in the resource bundle. */ 114 public static final String INIT_STORAGE_BACKEND_CONFIGURED_3 = "INIT_STORAGE_BACKEND_CONFIGURED_3"; 115 116 /** Message constant for key in the resource bundle. */ 117 public static final String INIT_STORAGE_BACKEND_FAILED_4 = "INIT_STORAGE_BACKEND_FAILED_4"; 118 119 /** Message constant for key in the resource bundle. */ 120 public static final String INIT_STORAGE_BACKEND_OK_3 = "INIT_STORAGE_BACKEND_OK_3"; 121 122 /** Message constant for key in the resource bundle. */ 123 public static final String LOG_STORAGE_DELETE_BACKEND_MISSING_1 = "LOG_STORAGE_DELETE_BACKEND_MISSING_1"; 124 125 /** Message constant for key in the resource bundle. */ 126 public static final String LOG_STORAGE_DELETE_FAILED_2 = "LOG_STORAGE_DELETE_FAILED_2"; 127 128 /** Message constant for key in the resource bundle. */ 129 public static final String LOG_STORAGE_CLOSE_FAILED_1 = "LOG_STORAGE_CLOSE_FAILED_1"; 130 131 /** Message constant for key in the resource bundle. */ 132 public static final String LOG_STORAGE_REFERENCES_FAILED_1 = "LOG_STORAGE_REFERENCES_FAILED_1"; 133 134 /** Name of the used resource bundle. */ 135 private static final String BUNDLE_NAME = "org.opencms.db.storage.messages"; 136 137 /** Static instance member. */ 138 private static final I_CmsMessageBundle INSTANCE = new Messages(); 139 140 /** 141 * Hides the public constructor for this utility class.<p> 142 */ 143 private Messages() { 144 145 // hide the constructor 146 } 147 148 /** 149 * Returns an instance of this localized message accessor.<p> 150 * 151 * @return an instance of this localized message accessor 152 */ 153 public static I_CmsMessageBundle get() { 154 155 return INSTANCE; 156 } 157 158 /** 159 * Returns the bundle name for this OpenCms package.<p> 160 * 161 * @return the bundle name for this OpenCms package 162 */ 163 public String getBundleName() { 164 165 return BUNDLE_NAME; 166 } 167}