1 31 package org.blojsom.util; 32 33 41 public interface BlojsomConstants { 42 43 46 public static final String BLOJSOM_VERSION_NUMBER = "blojsom v3.0"; 47 48 52 public static final String BLOJSOM_BLOG = "BLOJSOM_BLOG"; 53 54 58 public static final String BLOJSOM_ENTRIES = "BLOJSOM_ENTRIES"; 59 60 64 public static final String BLOJSOM_CATEGORIES = "BLOJSOM_CATEGORIES"; 65 66 70 public static final String BLOJSOM_ALL_CATEGORIES = "BLOJSOM_ALL_CATEGORIES"; 71 72 76 public static final String BLOJSOM_DATE = "BLOJSOM_DATE"; 77 78 82 public static final String BLOJSOM_DATE_ISO8601 = "BLOJSOM_DATE_ISO8601"; 83 84 88 public static final String BLOJSOM_DATE_OBJECT = "BLOJSOM_DATE_OBJECT"; 89 90 94 public static final String BLOJSOM_DATE_UTC = "BLOJSOM_DATE_UTC"; 95 96 100 public static final String BLOJSOM_SITE_URL = "BLOJSOM_SITE_URL"; 101 102 107 public static final String BLOJSOM_PERMALINK = "BLOJSOM_PERMALINK"; 108 109 114 public static final String BLOJSOM_PERMALINK_NEXT_ENTRY = "BLOJSOM_PERMALINK_NEXT_ENTRY"; 115 116 121 public static final String BLOJSOM_PERMALINK_PREVIOUS_ENTRY = "BLOJSOM_PERMALINK_PREVIOUS_ENTRY"; 122 123 127 public static final String BLOJSOM_REQUESTED_CATEGORY = "BLOJSOM_REQUESTED_CATEGORY"; 128 129 133 public static final String BLOJSOM_LAST_MODIFIED = "BLOJSOM_LAST_MODIFIED"; 134 135 139 public static final String BLOJSOM_BLOG_ID = "BLOJSOM_BLOG_ID"; 140 141 145 public static final String BLOJSOM_VERSION = "BLOJSOM_VERSION"; 146 147 151 public static final String BLOJSOM_REQUESTED_FLAVOR = "BLOJSOM_REQUESTED_FLAVOR"; 152 153 157 public static final String BLOJSOM_PLUGINS = "BLOJSOM_PLUGINS"; 158 159 163 public static final String RESOURCE_MANAGER_CONTEXT_KEY = "BLOJSOM_RESOURCE_MANAGER"; 164 165 public static final String BLOJSOM_APPLICATION_CONTEXT = "BLOJSOM_APPLICATION_CONTEXT"; 166 public static final String BLOJSOM_XMLRPC_APPLICATION_CONTEXT = "BLOJSOM_XMLRPC_APPLICATION_CONTEXT"; 167 public static final String BLOJSOM_COMMENTAPI_APPLICATION_CONTEXT = "BLOJSOM_COMMENTAPI_APPLICATION_CONTEXT"; 168 169 172 public static final String UTF8 = "UTF-8"; 173 174 177 public static final String DEFAULT_FLAVOR_HTML = "html"; 178 179 182 public static final String FLAVOR_PARAM = "flavor"; 183 184 187 public static final String PERMALINK_PARAM = "permalink"; 188 189 192 public static final String PLUGINS_PARAM = "plugins"; 193 194 197 public static final String PAGE_PARAM = "page"; 198 199 202 public static final String PAGE_PARAM_ARCHIVE = "archive"; 203 204 207 public static final String OVERRIDE_LASTMODIFIED_PARAM = "lastmodified"; 208 209 212 public static final String CATEGORY_PARAM = "category"; 213 214 217 public static final String BLOG_ID_PARAM = "blog_id"; 218 219 222 public static final int INFINITE_BLOG_DEPTH = -1; 223 224 227 public static final String BLOG_LANGUAGE_DEFAULT = "en"; 228 229 232 public static final String BLOG_COUNTRY_DEFAULT = "US"; 233 234 237 public static final String BLOG_DEFAULT_TIMEZONE = "America/New_York"; 238 239 242 public static final int BLOG_ENTRIES_DISPLAY_DEFAULT = 15; 243 244 247 public static final String HTTP_LASTMODIFIED = "Last-Modified"; 248 249 252 public static final String HTTP_ETAG = "ETag"; 253 254 257 public static final String RFC_822_DATE_FORMAT = "EEE, d MMM yyyy HH:mm:ss Z"; 258 259 263 public static final String ISO_8601_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ssz"; 264 265 268 public static final String SHORT_ISO_8601_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss'Z'"; 269 270 273 public static final String UTC_DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ss'Z'"; 274 275 279 public static final int MAX_HASHABLE_LENGTH = 300; 280 281 284 public static final String LINE_SEPARATOR = System.getProperty("line.separator"); 285 286 public static final String DEFAULT_DIGEST_ALGORITHM = "MD5"; 287 288 public static final String WHITESPACE = " \t\n\f\r"; 289 290 public static final String REDIRECT_TO_PARAM = "redirect_to"; 291 292 public static final String PAGE_NUMBER_PARAM = "pg_num"; 293 294 public static final String BLOJSOM_AJAX_STATUS = "BLOJSOM_AJAX_STATUS"; 295 public static final String SUCCESS = "success"; 296 public static final String FAILURE = "failure"; 297 298 public static final String PERMISSION_SUFFIX = "_permission"; 299 300 303 public static final String PRAGMA_HTTP_HEADER = "Pragma"; 304 public static final String CACHE_CONTROL_HTTP_HEADER = "Cache-Control"; 305 public static final String NO_CACHE_HTTP_HEADER_VALUE = "no-cache"; 306 307 public static final String DEFAULT_BLOG_IP = "default-blog"; 309 public static final String TEMPLATES_DIRECTORY_IP = "templates-directory"; 310 public static final String RESOURCES_DIRECTORY_IP = "resources-directory"; 311 public static final String DEFAULT_CONFIGURATION_BASE_DIRECTORY = "/WEB-INF/"; 312 public static final String BLOGS_DIRECTORY_IP = "blogs-directory"; 313 public static final String DEFAULT_BLOGS_DIRECTORY = "/blogs/"; 314 public static final String BOOTSTRAP_DIRECTORY_IP = "bootstrap-directory"; 315 public static final String DEFAULT_BOOTSTRAP_DIRECTORY = "/bootstrap/"; 316 public static final String DEFAULT_TEMPLATES_DIRECTORY = "/templates/"; 317 public static final String DEFAULT_RESOURCES_DIRECTORY = "/resources/"; 318 public static final String INSTALLED_LOCALES_IP = "installed-locales"; 319 320 public static final String BLOG_NAME_IP = "blog-name"; 322 public static final String BLOG_DEPTH_IP = "blog-directory-depth"; 323 public static final String BLOG_LANGUAGE_IP = "blog-language"; 324 public static final String BLOG_COUNTRY_IP = "blog-country"; 325 public static final String BLOG_DESCRIPTION_IP = "blog-description"; 326 public static final String BLOG_URL_IP = "blog-url"; 327 public static final String BLOG_ADMIN_URL_IP = "blog-admin-url"; 328 public static final String BLOG_BASE_URL_IP = "blog-base-url"; 329 public static final String BLOG_BASE_ADMIN_URL_IP = "blog-base-admin-url"; 330 public static final String BLOG_ENTRIES_DISPLAY_IP = "blog-entries-display"; 331 public static final String BLOG_AUTHORIZATION_IP = "blog-authorization"; 332 public static final String BLOG_OWNER = "blog-owner"; 333 public static final String BLOG_OWNER_EMAIL = "blog-owner-email"; 334 public static final String BLOG_COMMENTS_ENABLED_IP = "blog-comments-enabled"; 335 public static final String BLOG_TRACKBACKS_ENABLED_IP = "blog-trackbacks-enabled"; 336 public static final String BLOG_PINGBACKS_ENABLED_IP = "blog-pingbacks-enabled"; 337 public static final String BLOG_EMAIL_ENABLED_IP = "blog-email-enabled"; 338 public static final String BLOJSOM_PLUGIN_CHAIN = "blojsom-plugin-chain"; 339 public static final String BLOG_DEFAULT_FLAVOR_IP = "blog-default-flavor"; 340 public static final String LINEAR_NAVIGATION_ENABLED_IP = "linear-navigation-enabled"; 341 public static final String XMLRPC_ENABLED_IP = "xmlrpc-enabled"; 342 public static final String BLOG_ADMINISTRATION_LOCALE_IP = "blog-administration-locale"; 343 public static final String USE_ENCRYPTED_PASSWORDS = "use-encrypted-passwords"; 344 public static final String DIGEST_ALGORITHM = "digest-algorithm"; 345 public static final String RECURSIVE_CATEGORIES = "recursive-categories"; 346 public static final String PREFERRED_SYNDICATION_FLAVOR = "preferred-syndication-flavor"; 347 public static final String USE_DYNAMIC_BLOG_URLS = "use-dynamic-blog-urls"; 348 public static final String RECENT_COMMENTS_COUNT = "recent-comments-count"; 349 public static final int DEFAULT_RECENT_COMMENTS_COUNT = 5; 350 public static final String RECENT_TRACKBACKS_COUNT = "recent-trackbacks-count"; 351 public static final int DEFAULT_RECENT_TRACKBACKS_COUNT = 5; 352 public static final String RECENT_PINGBACKS_COUNT = "recent-pingbacks-count"; 353 public static final int DEFAULT_RECENT_PINGBACKS_COUNT = 5; 354 public static final String DEFAULT_POST_CATEGORY = "default-post-category"; 355 356 public static final String USE_RICHTEXT_EDITOR_PREFERENCE = "use-richtext-editor"; 358 public static final String DISPLAY_RESPONSE_TEXT_PREFERENCE = "display-response-text"; 359 } 360 361 | Popular Tags |