0001: /**
0002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
0003: *
0004: * Permission is hereby granted, free of charge, to any person obtaining a copy
0005: * of this software and associated documentation files (the "Software"), to deal
0006: * in the Software without restriction, including without limitation the rights
0007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
0008: * copies of the Software, and to permit persons to whom the Software is
0009: * furnished to do so, subject to the following conditions:
0010: *
0011: * The above copyright notice and this permission notice shall be included in
0012: * all copies or substantial portions of the Software.
0013: *
0014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
0017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
0018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
0019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
0020: * SOFTWARE.
0021: */package com.liferay.portal.util;
0022:
0023: import java.util.Properties;
0024:
0025: import com.germinus.easyconf.ComponentProperties;
0026: import com.liferay.portal.model.impl.CompanyImpl;
0027: import com.liferay.portal.security.auth.CompanyThreadLocal;
0028: import com.liferay.util.ExtPropertiesLoader;
0029:
0030: /**
0031: * <a href="PropsUtil.java.html"><b><i>View Source</i></b></a>
0032: *
0033: * @author Brian Wing Shun Chan
0034: *
0035: */
0036: public class PropsUtil {
0037:
0038: static {
0039: InitUtil.init();
0040: }
0041:
0042: // Portal Context
0043:
0044: public static final String PORTAL_CTX = "portal.ctx";
0045:
0046: // Resource Repositories Root
0047:
0048: public static final String RESOURCE_REPOSITORIES_ROOT = "resource.repositories.root";
0049:
0050: // TCK
0051:
0052: public static final String TCK_URL = "tck.url";
0053:
0054: // Schema
0055:
0056: public static final String SCHEMA_RUN_ENABLED = "schema.run.enabled";
0057:
0058: public static final String SCHEMA_RUN_MINIMAL = "schema.run.minimal";
0059:
0060: // Upgrade
0061:
0062: public static final String UPGRADE_PROCESSES = "upgrade.processes";
0063:
0064: // Verify
0065:
0066: public static final String VERIFY_PROCESSES = "verify.processes";
0067:
0068: public static final String VERIFY_FREQUENCY = "verify.frequency";
0069:
0070: // Auto Deploy
0071:
0072: public static final String AUTO_DEPLOY_LISTENERS = "auto.deploy.listeners";
0073:
0074: public static final String AUTO_DEPLOY_ENABLED = "auto.deploy.enabled";
0075:
0076: public static final String AUTO_DEPLOY_DEPLOY_DIR = "auto.deploy.deploy.dir";
0077:
0078: public static final String AUTO_DEPLOY_DEST_DIR = "auto.deploy.dest.dir";
0079:
0080: public static final String AUTO_DEPLOY_DEFAULT_DEST_DIR = "auto.deploy.default.dest.dir";
0081:
0082: public static final String AUTO_DEPLOY_INTERVAL = "auto.deploy.interval";
0083:
0084: public static final String AUTO_DEPLOY_BLACKLIST_THRESHOLD = "auto.deploy.blacklist.threshold";
0085:
0086: public static final String AUTO_DEPLOY_UNPACK_WAR = "auto.deploy.unpack.war";
0087:
0088: public static final String AUTO_DEPLOY_CUSTOM_PORTLET_XML = "auto.deploy.custom.portlet.xml";
0089:
0090: public static final String AUTO_DEPLOY_JBOSS_PREFIX = "auto.deploy.jboss.prefix";
0091:
0092: public static final String AUTO_DEPLOY_TOMCAT_CONF_DIR = "auto.deploy.tomcat.conf.dir";
0093:
0094: public static final String AUTO_DEPLOY_TOMCAT_DEST_DIR = "auto.deploy.tomcat.dest.dir";
0095:
0096: public static final String AUTO_DEPLOY_TOMCAT_LIB_DIR = "auto.deploy.tomcat.lib.dir";
0097:
0098: public static final String LIBRARY_DOWNLOAD_URL = "library.download.url.";
0099:
0100: // Hot Deploy
0101:
0102: public static final String HOT_DEPLOY_LISTENERS = "hot.deploy.listeners";
0103:
0104: // Plugin
0105:
0106: public static final String PLUGIN_TYPES = "plugin.types";
0107:
0108: public static final String PLUGIN_REPOSITORIES_TRUSTED = "plugin.repositories.trusted";
0109:
0110: public static final String PLUGIN_REPOSITORIES_UNTRUSTED = "plugin.repositories.untrusted";
0111:
0112: public static final String PLUGIN_NOTIFICATIONS_ENABLED = "plugin.notifications.enabled";
0113:
0114: public static final String PLUGIN_NOTIFICATIONS_PACKAGES_IGNORED = "plugin.notifications.packages.ignored";
0115:
0116: // Portlet
0117:
0118: public static final String PORTLET_VIRTUAL_PATH = "portlet.virtual.path";
0119:
0120: // Theme
0121:
0122: public static final String THEME_CSS_FAST_LOAD = "theme.css.fast.load";
0123:
0124: public static final String THEME_VIRTUAL_PATH = "theme.virtual.path";
0125:
0126: public static final String THEME_LOADER_STORAGE_PATH = "theme.loader.storage.path";
0127:
0128: public static final String THEME_LOADER_NEW_THEME_ID_ON_IMPORT = "theme.loader.new.theme.id.on.import";
0129:
0130: // Resource Actions
0131:
0132: public static final String RESOURCE_ACTIONS_CONFIGS = "resource.actions.configs";
0133:
0134: // Model Hints
0135:
0136: public static final String MODEL_HINTS_CONFIGS = "model.hints.configs";
0137:
0138: // Spring
0139:
0140: public static final String SPRING_CONFIGS = "spring.configs";
0141:
0142: public static final String SPRING_HIBERNATE_DATA_SOURCE = "spring.hibernate.data.source";
0143:
0144: public static final String SPRING_HIBERNATE_SESSION_FACTORY = "spring.hibernate.session.factory";
0145:
0146: // Hibernate
0147:
0148: public static final String HIBERNATE_CONFIGS = "hibernate.configs";
0149:
0150: public static final String HIBERNATE_DIALECT = "hibernate.dialect.";
0151:
0152: // Custom SQL
0153:
0154: public static final String CUSTOM_SQL_CONFIGS = "custom.sql.configs";
0155:
0156: public static final String CUSTOM_SQL_FUNCTION_ISNULL = "custom.sql.function.isnull";
0157:
0158: public static final String CUSTOM_SQL_FUNCTION_ISNOTNULL = "custom.sql.function.isnotnull";
0159:
0160: // Ehcache
0161:
0162: public static final String EHCACHE_SINGLE_VM_CONFIG_LOCATION = "ehcache.single.vm.config.location";
0163:
0164: public static final String EHCACHE_MULTI_VM_CONFIG_LOCATION = "ehcache.multi.vm.config.location";
0165:
0166: // Commons Pool
0167:
0168: public static final String COMMONS_POOL_ENABLED = "commons.pool.enabled";
0169:
0170: // JavaScript
0171:
0172: public static final String JAVASCRIPT_FILES = "javascript.files";
0173:
0174: public static final String JAVASCRIPT_FAST_LOAD = "javascript.fast.load";
0175:
0176: public static final String JAVASCRIPT_LOG_ENABLED = "javascript.log.enabled";
0177:
0178: // SQL Data
0179:
0180: public static final String SQL_DATA_COM_LIFERAY_PORTAL_MODEL_COUNTRY_COUNTRY_ID = "sql.data.com.liferay.portal.model.Country.country.id";
0181:
0182: public static final String SQL_DATA_COM_LIFERAY_PORTAL_MODEL_REGION_REGION_ID = "sql.data.com.liferay.portal.model.Region.region.id";
0183:
0184: public static final String SQL_DATA_COM_LIFERAY_PORTAL_MODEL_LISTTYPE_ACCOUNT_ADDRESS = "sql.data.com.liferay.portal.model.ListType.account.address";
0185:
0186: public static final String SQL_DATA_COM_LIFERAY_PORTAL_MODEL_LISTTYPE_ACCOUNT_EMAIL_ADDRESS = "sql.data.com.liferay.portal.model.ListType.account.email.address";
0187:
0188: public static final String SQL_DATA_COM_LIFERAY_PORTAL_MODEL_LISTTYPE_CONTACT_EMAIL_ADDRESS = "sql.data.com.liferay.portal.model.ListType.contact.email.address";
0189:
0190: public static final String SQL_DATA_COM_LIFERAY_PORTAL_MODEL_LISTTYPE_ORGANIZATION_STATUS = "sql.data.com.liferay.portal.model.ListType.organization.status";
0191:
0192: // Company
0193:
0194: public static final String COMPANY_DEFAULT_WEB_ID = "company.default.web.id";
0195:
0196: public static final String COMPANY_SECURITY_AUTH_TYPE = "company.security.auth.type";
0197:
0198: public static final String COMPANY_SECURITY_AUTH_REQUIRES_HTTPS = "company.security.auth.requires.https";
0199:
0200: public static final String COMPANY_SECURITY_AUTO_LOGIN = "company.security.auto.login";
0201:
0202: public static final String COMPANY_SECURITY_AUTO_LOGIN_MAX_AGE = "company.security.auto.login.max.age";
0203:
0204: public static final String COMPANY_SECURITY_SEND_PASSWORD = "company.security.send.password";
0205:
0206: public static final String COMPANY_SECURITY_STRANGERS = "company.security.strangers";
0207:
0208: public static final String COMPANY_SECURITY_STRANGERS_WITH_MX = "company.security.strangers.with.mx";
0209:
0210: public static final String COMPANY_SECURITY_STRANGERS_VERIFY = "company.security.strangers.verify";
0211:
0212: public static final String COMPANY_SECURITY_COMMUNITY_LOGO = "company.security.community.logo";
0213:
0214: // Users
0215:
0216: public static final String USERS_DELETE = "users.delete";
0217:
0218: public static final String USERS_SCREEN_NAME_ALWAYS_AUTOGENERATE = "users.screen.name.always.autogenerate";
0219:
0220: public static final String USERS_SCREEN_NAME_GENERATOR = "users.screen.name.generator";
0221:
0222: public static final String USERS_SCREEN_NAME_VALIDATOR = "users.screen.name.validator";
0223:
0224: public static final String USERS_IMAGE_MAX_SIZE = "users.image.max.size";
0225:
0226: // Groups and Roles
0227:
0228: public static final String SYSTEM_GROUPS = "system.groups";
0229:
0230: public static final String SYSTEM_ROLES = "system.roles";
0231:
0232: public static final String SYSTEM_COMMUNITY_ROLES = "system.community.roles";
0233:
0234: public static final String SYSTEM_ORGANIZATION_ROLES = "system.organization.roles";
0235:
0236: public static final String OMNIADMIN_USERS = "omniadmin.users";
0237:
0238: public static final String TERMS_OF_USE_REQUIRED = "terms.of.use.required";
0239:
0240: // Languages and Time Zones
0241:
0242: public static final String LOCALES = "locales";
0243:
0244: public static final String LOCALE_DEFAULT_REQUEST = "locale.default.request";
0245:
0246: public static final String TIME_ZONES = "time.zones";
0247:
0248: // Organizations
0249:
0250: public static final String ORGANIZATIONS_COUNTRY_REQUIRED = "organizations.country.required";
0251:
0252: // Look and Feel
0253:
0254: public static final String LOOK_AND_FEEL_MODIFIABLE = "look.and.feel.modifiable";
0255:
0256: public static final String DEFAULT_THEME_ID = "default.theme.id";
0257:
0258: public static final String DEFAULT_COLOR_SCHEME_ID = "default.color.scheme.id";
0259:
0260: public static final String DEFAULT_REGULAR_THEME_ID = "default.regular.theme.id";
0261:
0262: public static final String DEFAULT_REGULAR_COLOR_SCHEME_ID = "default.regular.color.scheme.id";
0263:
0264: public static final String DEFAULT_WAP_THEME_ID = "default.wap.theme.id";
0265:
0266: public static final String DEFAULT_WAP_COLOR_SCHEME_ID = "default.wap.color.scheme.id";
0267:
0268: public static final String THEME_SYNC_ON_GROUP = "theme.sync.on.group";
0269:
0270: // Request
0271:
0272: public static final String REQUEST_SHARED_ATTRIBUTES = "request.shared.attributes";
0273:
0274: // Session
0275:
0276: public static final String SESSION_TIMEOUT = "session.timeout";
0277:
0278: public static final String SESSION_TIMEOUT_WARNING = "session.timeout.warning";
0279:
0280: public static final String SESSION_TIMEOUT_AUTO_EXTEND = "session.timeout.auto.extend";
0281:
0282: public static final String SESSION_SHARED_ATTRIBUTES = "session.shared.attributes";
0283:
0284: public static final String SESSION_ENABLE_PERSISTENT_COOKIES = "session.enable.persistent.cookies";
0285:
0286: public static final String SESSION_COOKIE_DOMAIN = "session.cookie.domain";
0287:
0288: public static final String SESSION_ENABLE_PHISHING_PROTECTION = "session.enable.phishing.protection";
0289:
0290: public static final String SESSION_TEST_COOKIE_SUPPORT = "session.test.cookie.support";
0291:
0292: public static final String SESSION_DISABLED = "session.disabled";
0293:
0294: public static final String SERVLET_SESSION_CREATE_EVENTS = "servlet.session.create.events";
0295:
0296: public static final String SERVLET_SESSION_DESTROY_EVENTS = "servlet.session.destroy.events";
0297:
0298: public static final String SESSION_TRACKER_MEMORY_ENABLED = "session.tracker.memory.enabled";
0299:
0300: public static final String SESSION_TRACKER_PERSISTENCE_ENABLED = "session.tracker.persistence.enabled";
0301:
0302: public static final String SESSION_TRACKER_FRIENDLY_PATHS_ENABLED = "session.tracker.friendly.paths.enabled";
0303:
0304: public static final String SESSION_TRACKER_IGNORE_PATHS = "session.tracker.ignore.paths";
0305:
0306: // JAAS
0307:
0308: public static final String PORTAL_CONFIGURATION = "portal.configuration";
0309:
0310: public static final String PORTAL_JAAS_ENABLE = "portal.jaas.enable";
0311:
0312: public static final String PORTAL_JAAS_IMPL = "portal.jaas.impl";
0313:
0314: public static final String PORTAL_JAAS_STRICT_PASSWORD = "portal.jaas.strict.password";
0315:
0316: public static final String PORTAL_IMPERSONATION_ENABLE = "portal.impersonation.enable";
0317:
0318: // LDAP
0319:
0320: public static final String LDAP_FACTORY_INITIAL = "ldap.factory.initial";
0321:
0322: public static final String LDAP_BASE_PROVIDER_URL = "ldap.base.provider.url";
0323:
0324: public static final String LDAP_BASE_DN = "ldap.base.dn";
0325:
0326: public static final String LDAP_SECURITY_PRINCIPAL = "ldap.security.principal";
0327:
0328: public static final String LDAP_SECURITY_CREDENTIALS = "ldap.security.credentials";
0329:
0330: public static final String LDAP_AUTH_ENABLED = "ldap.auth.enabled";
0331:
0332: public static final String LDAP_AUTH_REQUIRED = "ldap.auth.required";
0333:
0334: public static final String LDAP_AUTH_METHOD = "ldap.auth.method";
0335:
0336: public static final String LDAP_AUTH_PASSWORD_ENCRYPTION_ALGORITHM = "ldap.auth.password.encryption.algorithm";
0337:
0338: public static final String LDAP_AUTH_PASSWORD_ENCRYPTION_ALGORITHM_TYPES = "ldap.auth.password.encryption.algorithm.types";
0339:
0340: public static final String LDAP_AUTH_SEARCH_FILTER = "ldap.auth.search.filter";
0341:
0342: public static final String LDAP_ATTRS_TRANSFORMER_IMPL = "ldap.attrs.transformer.impl";
0343:
0344: public static final String LDAP_USER_IMPL = "ldap.user.impl";
0345:
0346: public static final String LDAP_USER_DEFAULT_OBJECT_CLASSES = "ldap.user.default.object.classes";
0347:
0348: public static final String LDAP_USER_MAPPINGS = "ldap.user.mappings";
0349:
0350: public static final String LDAP_GROUP_MAPPINGS = "ldap.group.mappings";
0351:
0352: public static final String LDAP_IMPORT_ENABLED = "ldap.import.enabled";
0353:
0354: public static final String LDAP_IMPORT_ON_STARTUP = "ldap.import.on.startup";
0355:
0356: public static final String LDAP_IMPORT_INTERVAL = "ldap.import.interval";
0357:
0358: public static final String LDAP_IMPORT_USER_SEARCH_FILTER = "ldap.import.user.search.filter";
0359:
0360: public static final String LDAP_IMPORT_GROUP_SEARCH_FILTER = "ldap.import.group.search.filter";
0361:
0362: public static final String LDAP_IMPORT_METHOD = "ldap.import.method";
0363:
0364: public static final String LDAP_EXPORT_ENABLED = "ldap.export.enabled";
0365:
0366: public static final String LDAP_USERS_DN = "ldap.users.dn";
0367:
0368: public static final String LDAP_GROUPS_DN = "ldap.groups.dn";
0369:
0370: public static final String LDAP_PASSWORD_POLICY_ENABLED = "ldap.password.policy.enabled";
0371:
0372: public static final String LDAP_ERROR_PASSWORD_AGE = "ldap.error.password.age";
0373:
0374: public static final String LDAP_ERROR_PASSWORD_EXPIRED = "ldap.error.password.expired";
0375:
0376: public static final String LDAP_ERROR_PASSWORD_HISTORY = "ldap.error.password.history";
0377:
0378: public static final String LDAP_ERROR_PASSWORD_NOT_CHANGEABLE = "ldap.error.password.not.changeable";
0379:
0380: public static final String LDAP_ERROR_PASSWORD_SYNTAX = "ldap.error.password.syntax";
0381:
0382: public static final String LDAP_ERROR_PASSWORD_TRIVIAL = "ldap.error.password.trivial";
0383:
0384: public static final String LDAP_ERROR_USER_LOCKOUT = "ldap.error.user.lockout";
0385:
0386: // CAS
0387:
0388: public static final String CAS_AUTH_ENABLED = "cas.auth.enabled";
0389:
0390: public static final String CAS_IMPORT_FROM_LDAP = "cas.import.from.ldap";
0391:
0392: public static final String CAS_LOGIN_URL = "cas.login.url";
0393:
0394: public static final String CAS_LOGOUT_URL = "cas.logout.url";
0395:
0396: public static final String CAS_SERVER_NAME = "cas.server.name";
0397:
0398: public static final String CAS_SERVICE_URL = "cas.service.url";
0399:
0400: public static final String CAS_VALIDATE_URL = "cas.validate.url";
0401:
0402: // NTLM
0403:
0404: public static final String NTLM_AUTH_ENABLED = "ntlm.auth.enabled";
0405:
0406: public static final String NTLM_DOMAIN_CONTROLLER = "ntlm.auth.domain.controller";
0407:
0408: public static final String NTLM_DOMAIN = "ntlm.auth.domain";
0409:
0410: // OpenID
0411:
0412: public static final String OPEN_ID_AUTH_ENABLED = "open.id.auth.enabled";
0413:
0414: // OpenSSO
0415:
0416: public static final String OPEN_SSO_AUTH_ENABLED = "open.sso.auth.enabled";
0417:
0418: public static final String OPEN_SSO_LOGIN_URL = "open.sso.login.url";
0419:
0420: public static final String OPEN_SSO_LOGOUT_URL = "open.sso.logout.url";
0421:
0422: public static final String OPEN_SSO_SERVICE_URL = "open.sso.service.url";
0423:
0424: public static final String OPEN_SSO_SUBJECT_COOKIE_NAME = "open.sso.subject.cookie.name";
0425:
0426: // Authentication Pipeline
0427:
0428: public static final String AUTH_PIPELINE_PRE = "auth.pipeline.pre";
0429:
0430: public static final String AUTH_PIPELINE_POST = "auth.pipeline.post";
0431:
0432: public static final String AUTH_PIPELINE_ENABLE_LIFERAY_CHECK = "auth.pipeline.enable.liferay.check";
0433:
0434: public static final String AUTH_FAILURE = "auth.failure";
0435:
0436: public static final String AUTH_MAX_FAILURES = "auth.max.failures";
0437:
0438: public static final String AUTH_SIMULTANEOUS_LOGINS = "auth.simultaneous.logins";
0439:
0440: public static final String AUTH_FORWARD_BY_LAST_PATH = "auth.forward.by.last.path";
0441:
0442: public static final String AUTH_FORWARD_BY_REDIRECT = "auth.forward.by.redirect";
0443:
0444: public static final String AUTH_FORWARD_LAST_PATHS = "auth.forward.last.paths";
0445:
0446: public static final String AUTH_PUBLIC_PATHS = "auth.public.paths";
0447:
0448: // Auto Login
0449:
0450: public static final String AUTO_LOGIN_HOOKS = "auto.login.hooks";
0451:
0452: // SSO with MAC
0453:
0454: public static final String AUTH_MAC_ALLOW = "auth.mac.allow";
0455:
0456: public static final String AUTH_MAC_ALGORITHM = "auth.mac.algorithm";
0457:
0458: public static final String AUTH_MAC_SHARED_KEY = "auth.mac.shared.key";
0459:
0460: // Passwords
0461:
0462: public static final String PASSWORDS_ENCRYPTION_ALGORITHM = "passwords.encryption.algorithm";
0463:
0464: public static final String PASSWORDS_DIGEST_ENCODING = "passwords.digest.encoding";
0465:
0466: public static final String PASSWORDS_TOOLKIT = "passwords.toolkit";
0467:
0468: public static final String PASSWORDS_PASSWORDPOLICYTOOLKIT_GENERATOR = "passwords.passwordpolicytoolkit.generator";
0469:
0470: public static final String PASSWORDS_PASSWORDPOLICYTOOLKIT_STATIC = "passwords.passwordpolicytoolkit.static";
0471:
0472: public static final String PASSWORDS_REGEXPTOOLKIT_PATTERN = "passwords.regexptoolkit.pattern";
0473:
0474: public static final String PASSWORDS_REGEXPTOOLKIT_CHARSET = "passwords.regexptoolkit.charset";
0475:
0476: public static final String PASSWORDS_REGEXPTOOLKIT_LENGTH = "passwords.regexptoolkit.length";
0477:
0478: public static final String PASSWORDS_DEFAULT_POLICY_NAME = "passwords.default.policy.name";
0479:
0480: // Permissions
0481:
0482: public static final String PERMISSIONS_CHECKER = "permissions.checker";
0483:
0484: public static final String PERMISSIONS_USER_CHECK_ALGORITHM = "permissions.user.check.algorithm";
0485:
0486: public static final String PERMISSIONS_LIST_FILTER = "permissions.list.filter";
0487:
0488: // Captcha
0489:
0490: public static final String CAPTCHA_MAX_CHALLENGES = "captcha.max.challenges";
0491:
0492: // Startup Events
0493:
0494: public static final String GLOBAL_STARTUP_EVENTS = "global.startup.events";
0495:
0496: public static final String APPLICATION_STARTUP_EVENTS = "application.startup.events";
0497:
0498: public static final String SHUTDOWN_PROGRAMMATICALLY_EXIT = "shutdown.programmatically.exit";
0499:
0500: // Shutdown Events
0501:
0502: public static final String GLOBAL_SHUTDOWN_EVENTS = "global.shutdown.events";
0503:
0504: public static final String APPLICATION_SHUTDOWN_EVENTS = "application.shutdown.events";
0505:
0506: // Portal Events
0507:
0508: public static final String SERVLET_SERVICE_EVENTS_PRE = "servlet.service.events.pre";
0509:
0510: public static final String SERVLET_SERVICE_EVENTS_PRE_ERROR_PAGE = "servlet.service.events.pre.error.page";
0511:
0512: public static final String SERVLET_SERVICE_EVENTS_POST = "servlet.service.events.post";
0513:
0514: public static final String LOGIN_EVENTS_PRE = "login.events.pre";
0515:
0516: public static final String LOGIN_EVENTS_POST = "login.events.post";
0517:
0518: public static final String LOGOUT_EVENTS_PRE = "logout.events.pre";
0519:
0520: public static final String LOGOUT_EVENTS_POST = "logout.events.post";
0521:
0522: // Default Landing Page
0523:
0524: public static final String DEFAULT_LANDING_PAGE_PATH = "default.landing.page.path";
0525:
0526: // Default Logout Page
0527:
0528: public static final String DEFAULT_LOGOUT_PAGE_PATH = "default.logout.page.path";
0529:
0530: // Default Guest
0531:
0532: public static final String DEFAULT_GUEST_LAYOUT_NAME = "default.guest.layout.name";
0533:
0534: public static final String DEFAULT_GUEST_LAYOUT_TEMPLATE_ID = "default.guest.layout.template.id";
0535:
0536: public static final String DEFAULT_GUEST_LAYOUT_COLUMN = "default.guest.layout.column-";
0537:
0538: public static final String DEFAULT_GUEST_FRIENDLY_URL = "default.guest.friendly.url";
0539:
0540: // Default User
0541:
0542: public static final String DEFAULT_USER_LAYOUT_NAME = "default.user.layout.name";
0543:
0544: public static final String DEFAULT_USER_LAYOUT_TEMPLATE_ID = "default.user.layout.template.id";
0545:
0546: public static final String DEFAULT_USER_LAYOUT_COLUMN = "default.user.layout.column-";
0547:
0548: public static final String DEFAULT_USER_PRIVATE_LAYOUT_LAR = "default.user.private.layout.lar";
0549:
0550: public static final String DEFAULT_USER_PUBLIC_LAYOUT_LAR = "default.user.public.layout.lar";
0551:
0552: // Default Admin
0553:
0554: public static final String DEFAULT_ADMIN_PASSWORD = "default.admin.password";
0555:
0556: public static final String DEFAULT_ADMIN_SCREEN_NAME = "default.admin.screen.name";
0557:
0558: public static final String DEFAULT_ADMIN_EMAIL_ADDRESS_PREFIX = "default.admin.email.address.prefix";
0559:
0560: public static final String DEFAULT_ADMIN_FIRST_NAME = "default.admin.first.name";
0561:
0562: public static final String DEFAULT_ADMIN_MIDDLE_NAME = "default.admin.middle.name";
0563:
0564: public static final String DEFAULT_ADMIN_LAST_NAME = "default.admin.last.name";
0565:
0566: // Layouts
0567:
0568: public static final String LAYOUT_TYPES = "layout.types";
0569:
0570: public static final String LAYOUT_CONFIGURATION_ACTION_UPDATE = "layout.configuration.action.update";
0571:
0572: public static final String LAYOUT_CONFIGURATION_ACTION_DELETE = "layout.configuration.action.delete";
0573:
0574: public static final String LAYOUT_EDIT_PAGE = "layout.edit.page";
0575:
0576: public static final String LAYOUT_VIEW_PAGE = "layout.view.page";
0577:
0578: public static final String LAYOUT_URL = "layout.url";
0579:
0580: public static final String LAYOUT_URL_FRIENDLIABLE = "layout.url.friendliable";
0581:
0582: public static final String LAYOUT_PARENTABLE = "layout.parentable";
0583:
0584: public static final String LAYOUT_SITEMAPABLE = "layout.sitemapable";
0585:
0586: public static final String LAYOUT_STATIC_PORTLETS_START = "layout.static.portlets.start.";
0587:
0588: public static final String LAYOUT_STATIC_PORTLETS_END = "layout.static.portlets.end.";
0589:
0590: public static final String LAYOUT_FRIENDLY_URL_PRIVATE_GROUP_SERVLET_MAPPING = "layout.friendly.url.private.group.servlet.mapping";
0591:
0592: public static final String LAYOUT_FRIENDLY_URL_PRIVATE_USER_SERVLET_MAPPING = "layout.friendly.url.private.user.servlet.mapping";
0593:
0594: public static final String LAYOUT_FRIENDLY_URL_PUBLIC_SERVLET_MAPPING = "layout.friendly.url.public.servlet.mapping";
0595:
0596: public static final String LAYOUT_FRIENDLY_URL_PAGE_NOT_FOUND = "layout.friendly.url.page.not.found";
0597:
0598: public static final String LAYOUT_FRIENDLY_URL_KEYWORDS = "layout.friendly.url.keywords";
0599:
0600: public static final String LAYOUT_ADD_PORTLETS = "layout.add.portlets";
0601:
0602: public static final String LAYOUT_NAME_MAX_LENGTH = "layout.name.max.length";
0603:
0604: public static final String LAYOUT_TABS_PER_ROW = "layout.tabs.per.row";
0605:
0606: public static final String LAYOUT_REMEMBER_SESSION_WINDOW_STATE_MAXIMIZED = "layout.remember.session.window.state.maximized";
0607:
0608: public static final String LAYOUT_REMEMBER_REQUEST_WINDOW_STATE_MAXIMIZED = "layout.remember.request.window.state.maximized";
0609:
0610: public static final String LAYOUT_GUEST_SHOW_MAX_ICON = "layout.guest.show.max.icon";
0611:
0612: public static final String LAYOUT_GUEST_SHOW_MIN_ICON = "layout.guest.show.min.icon";
0613:
0614: public static final String LAYOUT_SHOW_PORTLET_ACCESS_DENIED = "layout.show.portlet.access.denied";
0615:
0616: public static final String LAYOUT_SHOW_PORTLET_INACTIVE = "layout.show.portlet.inactive";
0617:
0618: public static final String LAYOUT_SHOW_HTTP_STATUS = "layout.show.http.status";
0619:
0620: public static final String LAYOUT_DEFAULT_TEMPLATE_ID = "layout.default.template.id";
0621:
0622: public static final String LAYOUT_PARALLEL_RENDER_ENABLE = "layout.parallel.render.enable";
0623:
0624: public static final String LAYOUT_CLONE_IMPL = "layout.clone.impl";
0625:
0626: public static final String LAYOUT_TEMPLATE_CACHE_ENABLED = "layout.template.cache.enabled";
0627:
0628: public static final String LAYOUT_DEFAULT_P_L_RESET = "layout.default.p_l_reset";
0629:
0630: // Portlet URL
0631:
0632: public static final String PORTLET_URL_APPEND_PARAMETERS = "portlet.url.append.parameters";
0633:
0634: public static final String PORTLET_URL_ANCHOR_ENABLE = "portlet.url.anchor.enable";
0635:
0636: // Preferences
0637:
0638: public static final String PREFERENCE_VALIDATE_ON_STARTUP = "preference.validate.on.startup";
0639:
0640: // Struts
0641:
0642: public static final String STRUTS_PORTLET_REQUEST_PROCESSOR = "struts.portlet.request.processor";
0643:
0644: // Images
0645:
0646: public static final String IMAGE_DEFAULT_SPACER = "image.default.spacer";
0647:
0648: public static final String IMAGE_DEFAULT_COMPANY_LOGO = "image.default.company.logo";
0649:
0650: public static final String IMAGE_DEFAULT_USER_PORTRAIT = "image.default.user.portrait";
0651:
0652: // Editors
0653:
0654: public static final String EDITOR_WYSIWYG_DEFAULT = "editor.wysiwyg.default";
0655:
0656: // Fields
0657:
0658: public static final String FIELD_ENABLE_COM_LIFERAY_PORTAL_MODEL_CONTACT_MALE = "field.enable.com.liferay.portal.model.Contact.male";
0659:
0660: public static final String FIELD_ENABLE_COM_LIFERAY_PORTAL_MODEL_CONTACT_BIRTHDAY = "field.enable.com.liferay.portal.model.Contact.birthday";
0661:
0662: public static final String FIELD_ENABLE_COM_LIFERAY_PORTAL_MODEL_ORGANIZATION_STATUS = "field.enable.com.liferay.portal.model.Organization.status";
0663:
0664: // Mime Types
0665:
0666: public static final String MIME_TYPES = "mime.types";
0667:
0668: // Amazon License Keys
0669:
0670: public static final String AMAZON_LICENSE = "amazon.license.";
0671:
0672: // Instant Messenger
0673:
0674: public static final String AIM_LOGIN = "aim.login";
0675:
0676: public static final String AIM_PASSWORD = "aim.password";
0677:
0678: public static final String ICQ_JAR = "icq.jar";
0679:
0680: public static final String ICQ_LOGIN = "icq.login";
0681:
0682: public static final String ICQ_PASSWORD = "icq.password";
0683:
0684: public static final String MSN_LOGIN = "msn.login";
0685:
0686: public static final String MSN_PASSWORD = "msn.password";
0687:
0688: public static final String YM_LOGIN = "ym.login";
0689:
0690: public static final String YM_PASSWORD = "ym.password";
0691:
0692: // Lucene Search
0693:
0694: public static final String INDEX_READ_ONLY = "index.read.only";
0695:
0696: public static final String INDEX_ON_STARTUP = "index.on.startup";
0697:
0698: public static final String INDEX_WITH_THREAD = "index.with.thread";
0699:
0700: public static final String LUCENE_STORE_TYPE = "lucene.store.type";
0701:
0702: public static final String LUCENE_STORE_JDBC_AUTO_CLEAN_UP = "lucene.store.jdbc.auto.clean.up";
0703:
0704: public static final String LUCENE_STORE_JDBC_DIALECT = "lucene.store.jdbc.dialect.";
0705:
0706: public static final String LUCENE_DIR = "lucene.dir";
0707:
0708: public static final String LUCENE_FILE_EXTRACTOR = "lucene.file.extractor";
0709:
0710: public static final String LUCENE_FILE_EXTRACTOR_REGEXP_STRIP = "lucene.file.extractor.regexp.strip";
0711:
0712: public static final String LUCENE_ANALYZER = "lucene.analyzer";
0713:
0714: public static final String LUCENE_MERGE_FACTOR = "lucene.merge.factor";
0715:
0716: public static final String LUCENE_OPTIMIZE_INTERVAL = "lucene.optimize.interval";
0717:
0718: // SourceForge
0719:
0720: public static final String SOURCE_FORGE_MIRRORS = "source.forge.mirrors";
0721:
0722: // Value Object
0723:
0724: public static final String VALUE_OBJECT_FINDER_CACHE_ENABLED = "value.object.finder.cache.enabled";
0725:
0726: // Last Modified
0727:
0728: public static final String LAST_MODIFIED_CHECK = "last.modified.check";
0729:
0730: public static final String LAST_MODIFIED_PATHS = "last.modified.paths";
0731:
0732: // Communication Link
0733:
0734: public static final String COMM_LINK_PROPERTIES = "comm.link.properties";
0735:
0736: // Content Delivery Network
0737:
0738: public static final String CDN_HOST = "cdn.host";
0739:
0740: // Counter
0741:
0742: public static final String COUNTER_INCREMENT = "counter.increment";
0743:
0744: // Jabber
0745:
0746: public static final String JABBER_XMPP_SERVER_ENABLED = "jabber.xmpp.server.enabled";
0747:
0748: public static final String JABBER_XMPP_SERVER_ADDRESS = "jabber.xmpp.server.address";
0749:
0750: public static final String JABBER_XMPP_SERVER_NAME = "jabber.xmpp.server.name";
0751:
0752: public static final String JABBER_XMPP_SERVER_PORT = "jabber.xmpp.server.port";
0753:
0754: public static final String JABBER_XMPP_USER_PASSWORD = "jabber.xmpp.user.password";
0755:
0756: // JBI
0757:
0758: public static final String JBI_WORKFLOW_URL = "jbi.workflow.url";
0759:
0760: // JCR
0761:
0762: public static final String JCR_INITIALIZE_ON_STARTUP = "jcr.initialize.on.startup";
0763:
0764: public static final String JCR_WORKSPACE_NAME = "jcr.workspace.name";
0765:
0766: public static final String JCR_NODE_DOCUMENTLIBRARY = "jcr.node.documentlibrary";
0767:
0768: public static final String JCR_JACKRABBIT_REPOSITORY_ROOT = "jcr.jackrabbit.repository.root";
0769:
0770: public static final String JCR_JACKRABBIT_CONFIG_FILE_PATH = "jcr.jackrabbit.config.file.path";
0771:
0772: public static final String JCR_JACKRABBIT_REPOSITORY_HOME = "jcr.jackrabbit.repository.home";
0773:
0774: public static final String JCR_JACKRABBIT_CREDENTIALS_USERNAME = "jcr.jackrabbit.credentials.username";
0775:
0776: public static final String JCR_JACKRABBIT_CREDENTIALS_PASSWORD = "jcr.jackrabbit.credentials.password";
0777:
0778: // OpenOffice
0779:
0780: public static final String OPENOFFICE_SERVER_ENABLED = "openoffice.server.enabled";
0781:
0782: public static final String OPENOFFICE_SERVER_HOST = "openoffice.server.host";
0783:
0784: public static final String OPENOFFICE_SERVER_PORT = "openoffice.server.port";
0785:
0786: // POP
0787:
0788: public static final String POP_SERVER_NOTIFICATIONS_ENABLED = "pop.server.notifications.enabled";
0789:
0790: public static final String POP_SERVER_NOTIFICATIONS_INTERVAL = "pop.server.notifications.interval";
0791:
0792: public static final String POP_SERVER_SUBDOMAIN = "pop.server.subdomain";
0793:
0794: // Reverse AJAX
0795:
0796: public static final String REVERSE_AJAX_ENABLED = "reverse.ajax.enabled";
0797:
0798: public static final String REVERSE_AJAX_HEARTBEAT = "reverse.ajax.heartbeat";
0799:
0800: // Scheduler
0801:
0802: public static final String SCHEDULER_ENABLED = "scheduler.enabled";
0803:
0804: // Social Bookmarking
0805:
0806: public static final String SOCIAL_BOOKMARK_TYPES = "social.bookmark.types";
0807:
0808: public static final String SOCIAL_BOOKMARK_POST_URL = "social.bookmark.post.url";
0809:
0810: // Velocity Engine
0811:
0812: public static final String VELOCITY_ENGINE_RESOURCE_LISTENERS = "velocity.engine.resource.listeners";
0813:
0814: public static final String VELOCITY_ENGINE_RESOURCE_MANAGER = "velocity.engine.resource.manager";
0815:
0816: public static final String VELOCITY_ENGINE_RESOURCE_MANAGER_CACHE = "velocity.engine.resource.manager.cache";
0817:
0818: public static final String VELOCITY_ENGINE_RESOURCE_MANAGER_CACHE_ENABLED = "velocity.engine.resource.manager.cache.enabled";
0819:
0820: public static final String VELOCITY_ENGINE_RESOURCE_MANAGER_MODIFICATION_CHECK_INTERVAL = "velocity.engine.resource.manager.modification.check.interval";
0821:
0822: public static final String VELOCITY_ENGINE_VELOCIMACRO_LIBRARY = "velocity.engine.velocimacro.library";
0823:
0824: public static final String VELOCITY_ENGINE_LOGGER = "velocity.engine.logger";
0825:
0826: public static final String VELOCITY_ENGINE_LOGGER_CATEGORY = "velocity.engine.logger.category";
0827:
0828: // Virtual Hosts
0829:
0830: public static final String VIRTUAL_HOSTS_IGNORE_HOSTS = "virtual.hosts.ignore.hosts";
0831:
0832: public static final String VIRTUAL_HOSTS_IGNORE_PATHS = "virtual.hosts.ignore.paths";
0833:
0834: // Web Server
0835:
0836: public static final String WEB_SERVER_HTTP_PORT = "web.server.http.port";
0837:
0838: public static final String WEB_SERVER_HTTPS_PORT = "web.server.https.port";
0839:
0840: public static final String WEB_SERVER_HOST = "web.server.host";
0841:
0842: public static final String WEB_SERVER_PROTOCOL = "web.server.protocol";
0843:
0844: public static final String WEB_SERVER_DISPLAY_NODE = "web.server.display.node";
0845:
0846: // WebDAV
0847:
0848: public static final String WEBDAV_LITMUS = "webdav.litmus";
0849:
0850: // Admin Portlet
0851:
0852: public static final String ADMIN_DEFAULT_GROUP_NAMES = "admin.default.group.names";
0853:
0854: public static final String ADMIN_DEFAULT_ROLE_NAMES = "admin.default.role.names";
0855:
0856: public static final String ADMIN_DEFAULT_USER_GROUP_NAMES = "admin.default.user.group.names";
0857:
0858: public static final String ADMIN_MAIL_HOST_NAMES = "admin.mail.host.names";
0859:
0860: public static final String ADMIN_RESERVED_SCREEN_NAMES = "admin.reserved.screen.names";
0861:
0862: public static final String ADMIN_RESERVED_EMAIL_ADDRESSES = "admin.reserved.email.addresses";
0863:
0864: public static final String ADMIN_EMAIL_FROM_NAME = "admin.email.from.name";
0865:
0866: public static final String ADMIN_EMAIL_FROM_ADDRESS = "admin.email.from.address";
0867:
0868: public static final String ADMIN_EMAIL_USER_ADDED_ENABLED = "admin.email.user.added.enabled";
0869:
0870: public static final String ADMIN_EMAIL_USER_ADDED_SUBJECT = "admin.email.user.added.subject";
0871:
0872: public static final String ADMIN_EMAIL_USER_ADDED_BODY = "admin.email.user.added.body";
0873:
0874: public static final String ADMIN_EMAIL_PASSWORD_SENT_ENABLED = "admin.email.password.sent.enabled";
0875:
0876: public static final String ADMIN_EMAIL_PASSWORD_SENT_SUBJECT = "admin.email.password.sent.subject";
0877:
0878: public static final String ADMIN_EMAIL_PASSWORD_SENT_BODY = "admin.email.password.sent.body";
0879:
0880: // Blogs Portlet
0881:
0882: public static final String BLOGS_EMAIL_COMMENTS_ADDED_ENABLED = "blogs.email.comments.added.enabled";
0883:
0884: public static final String BLOGS_EMAIL_COMMENTS_ADDED_SUBJECT = "blogs.email.comments.added.subject";
0885:
0886: public static final String BLOGS_EMAIL_COMMENTS_ADDED_BODY = "blogs.email.comments.added.body";
0887:
0888: public static final String BLOGS_PAGE_ABSTRACT_LENGTH = "blogs.page.abstract.length";
0889:
0890: public static final String BLOGS_RSS_ABSTRACT_LENGTH = "blogs.rss.abstract.length";
0891:
0892: // Calendar Portlet
0893:
0894: public static final String CALENDAR_EVENT_TYPES = "calendar.event.types";
0895:
0896: public static final String CALENDAR_EMAIL_FROM_NAME = "calendar.email.from.name";
0897:
0898: public static final String CALENDAR_EMAIL_FROM_ADDRESS = "calendar.email.from.address";
0899:
0900: public static final String CALENDAR_EMAIL_EVENT_REMINDER_ENABLED = "calendar.email.event.reminder.enabled";
0901:
0902: public static final String CALENDAR_EMAIL_EVENT_REMINDER_SUBJECT = "calendar.email.event.reminder.subject";
0903:
0904: public static final String CALENDAR_EMAIL_EVENT_REMINDER_BODY = "calendar.email.event.reminder.body";
0905:
0906: // Communities Portlet
0907:
0908: public static final String COMMUNITIES_EMAIL_FROM_NAME = "communities.email.from.name";
0909:
0910: public static final String COMMUNITIES_EMAIL_FROM_ADDRESS = "communities.email.from.address";
0911:
0912: public static final String COMMUNITIES_EMAIL_MEMBERSHIP_REPLY_SUBJECT = "communities.email.membership.reply.subject";
0913:
0914: public static final String COMMUNITIES_EMAIL_MEMBERSHIP_REPLY_BODY = "communities.email.membership.reply.body";
0915:
0916: public static final String COMMUNITIES_EMAIL_MEMBERSHIP_REQUEST_SUBJECT = "communities.email.membership.request.subject";
0917:
0918: public static final String COMMUNITIES_EMAIL_MEMBERSHIP_REQUEST_BODY = "communities.email.membership.request.body";
0919:
0920: // Document Library Portlet
0921:
0922: public static final String DL_HOOK_IMPL = "dl.hook.impl";
0923:
0924: public static final String DL_HOOK_FILE_SYSTEM_ROOT_DIR = "dl.hook.file.system.root.dir";
0925:
0926: public static final String DL_HOOK_S3_ACCESS_KEY = "dl.hook.s3.access.key";
0927:
0928: public static final String DL_HOOK_S3_SECRET_KEY = "dl.hook.s3.secret.key";
0929:
0930: public static final String DL_HOOK_S3_BUCKET_NAME = "dl.hook.s3.bucket.name";
0931:
0932: public static final String DL_FILE_MAX_SIZE = "dl.file.max.size";
0933:
0934: public static final String DL_FILE_EXTENSIONS = "dl.file.extensions";
0935:
0936: public static final String DL_LAYOUTS_SYNC_ENABLED = "dl.layouts.sync.enabled";
0937:
0938: public static final String DL_LAYOUTS_SYNC_PRIVATE_FOLDER = "dl.layouts.sync.private.folder";
0939:
0940: public static final String DL_LAYOUTS_SYNC_PUBLIC_FOLDER = "dl.layouts.sync.public.folder";
0941:
0942: // Image Gallery Portlet
0943:
0944: public static final String IG_IMAGE_MAX_SIZE = "ig.image.max.size";
0945:
0946: public static final String IG_IMAGE_EXTENSIONS = "ig.image.extensions";
0947:
0948: public static final String IG_IMAGE_THUMBNAIL_MAX_HEIGHT = "ig.image.thumbnail.max.height";
0949:
0950: public static final String IG_IMAGE_THUMBNAIL_MAX_WIDTH = "ig.image.thumbnail.max.width";
0951:
0952: // Invitation Portlet
0953:
0954: public static final String INVITATION_EMAIL_MAX_RECIPIENTS = "invitation.email.max.recipients";
0955:
0956: public static final String INVITATION_EMAIL_MESSAGE_BODY = "invitation.email.message.body";
0957:
0958: public static final String INVITATION_EMAIL_MESSAGE_SUBJECT = "invitation.email.message.subject";
0959:
0960: // Journal Portlet
0961:
0962: public static final String JOURNAL_ARTICLE_FORCE_AUTOGENERATE_ID = "journal.article.force.autogenerate.id";
0963:
0964: public static final String JOURNAL_ARTICLE_FORCE_INCREMENT_VERSION = "journal.article.force.increment.version";
0965:
0966: public static final String JOURNAL_ARTICLE_TYPES = "journal.article.types";
0967:
0968: public static final String JOURNAL_ARTICLE_TOKEN_PAGE_BREAK = "journal.article.token.page.break";
0969:
0970: public static final String JOURNAL_ARTICLE_CHECK_INTERVAL = "journal.article.check.interval";
0971:
0972: public static final String JOURNAL_FEED_FORCE_AUTOGENERATE_ID = "journal.feed.force.autogenerate.id";
0973:
0974: public static final String JOURNAL_STRUCTURE_FORCE_AUTOGENERATE_ID = "journal.structure.force.autogenerate.id";
0975:
0976: public static final String JOURNAL_TEMPLATE_FORCE_AUTOGENERATE_ID = "journal.template.force.autogenerate.id";
0977:
0978: public static final String JOURNAL_TEMPLATE_VELOCITY_RESTRICTED_VARIABLES = "journal.template.velocity.restricted.variables";
0979:
0980: public static final String JOURNAL_IMAGE_SMALL_MAX_SIZE = "journal.image.small.max.size";
0981:
0982: public static final String JOURNAL_IMAGE_EXTENSIONS = "journal.image.extensions";
0983:
0984: public static final String JOURNAL_TRANSFORMER_LISTENER = "journal.transformer.listener";
0985:
0986: public static final String JOURNAL_SYNC_CONTENT_SEARCH_ON_STARTUP = "journal.sync.content.search.on.startup";
0987:
0988: public static final String JOURNAL_EMAIL_FROM_NAME = "journal.email.from.name";
0989:
0990: public static final String JOURNAL_EMAIL_FROM_ADDRESS = "journal.email.from.address";
0991:
0992: public static final String JOURNAL_EMAIL_ARTICLE_APPROVAL_DENIED_ENABLED = "journal.email.article.approval.denied.enabled";
0993:
0994: public static final String JOURNAL_EMAIL_ARTICLE_APPROVAL_DENIED_SUBJECT = "journal.email.article.approval.denied.subject";
0995:
0996: public static final String JOURNAL_EMAIL_ARTICLE_APPROVAL_DENIED_BODY = "journal.email.article.approval.denied.body";
0997:
0998: public static final String JOURNAL_EMAIL_ARTICLE_APPROVAL_GRANTED_ENABLED = "journal.email.article.approval.granted.enabled";
0999:
1000: public static final String JOURNAL_EMAIL_ARTICLE_APPROVAL_GRANTED_SUBJECT = "journal.email.article.approval.granted.subject";
1001:
1002: public static final String JOURNAL_EMAIL_ARTICLE_APPROVAL_GRANTED_BODY = "journal.email.article.approval.granted.body";
1003:
1004: public static final String JOURNAL_EMAIL_ARTICLE_APPROVAL_REQUESTED_ENABLED = "journal.email.article.approval.requested.enabled";
1005:
1006: public static final String JOURNAL_EMAIL_ARTICLE_APPROVAL_REQUESTED_SUBJECT = "journal.email.article.approval.requested.subject";
1007:
1008: public static final String JOURNAL_EMAIL_ARTICLE_APPROVAL_REQUESTED_BODY = "journal.email.article.approval.requested.body";
1009:
1010: public static final String JOURNAL_EMAIL_ARTICLE_REVIEW_ENABLED = "journal.email.article.review.enabled";
1011:
1012: public static final String JOURNAL_EMAIL_ARTICLE_REVIEW_SUBJECT = "journal.email.article.review.subject";
1013:
1014: public static final String JOURNAL_EMAIL_ARTICLE_REVIEW_BODY = "journal.email.article.review.body";
1015:
1016: public static final String JOURNAL_LAR_CREATION_STRATEGY = "journal.lar.creation.strategy";
1017:
1018: // Journal Articles Portlet
1019:
1020: public static final String JOURNAL_ARTICLES_PAGE_DELTA_VALUES = "journal.articles.page.delta.values";
1021:
1022: // Mail Portlet
1023:
1024: public static final String MAIL_MX_UPDATE = "mail.mx.update";
1025:
1026: public static final String MAIL_HOOK_IMPL = "mail.hook.impl";
1027:
1028: public static final String MAIL_HOOK_CYRUS_ADD_USER = "mail.hook.cyrus.add.user";
1029:
1030: public static final String MAIL_HOOK_CYRUS_DELETE_USER = "mail.hook.cyrus.delete.user";
1031:
1032: public static final String MAIL_HOOK_CYRUS_HOME = "mail.hook.cyrus.home";
1033:
1034: public static final String MAIL_HOOK_FUSEMAIL_URL = "mail.hook.fusemail.url";
1035:
1036: public static final String MAIL_HOOK_FUSEMAIL_USERNAME = "mail.hook.fusemail.username";
1037:
1038: public static final String MAIL_HOOK_FUSEMAIL_PASSWORD = "mail.hook.fusemail.password";
1039:
1040: public static final String MAIL_HOOK_FUSEMAIL_ACCOUNT_TYPE = "mail.hook.fusemail.account.type";
1041:
1042: public static final String MAIL_HOOK_FUSEMAIL_GROUP_PARENT = "mail.hook.fusemail.group.parent";
1043:
1044: public static final String MAIL_HOOK_SENDMAIL_ADD_USER = "mail.hook.sendmail.add.user";
1045:
1046: public static final String MAIL_HOOK_SENDMAIL_CHANGE_PASSWORD = "mail.hook.sendmail.change.password";
1047:
1048: public static final String MAIL_HOOK_SENDMAIL_DELETE_USER = "mail.hook.sendmail.delete.user";
1049:
1050: public static final String MAIL_HOOK_SENDMAIL_HOME = "mail.hook.sendmail.home";
1051:
1052: public static final String MAIL_HOOK_SENDMAIL_VIRTUSERTABLE = "mail.hook.sendmail.virtusertable";
1053:
1054: public static final String MAIL_HOOK_SENDMAIL_VIRTUSERTABLE_REFRESH = "mail.hook.sendmail.virtusertable.refresh";
1055:
1056: public static final String MAIL_HOOK_SHELL_SCRIPT = "mail.hook.shell.script";
1057:
1058: public static final String MAIL_BOX_STYLE = "mail.box.style";
1059:
1060: public static final String MAIL_INBOX_NAME = "mail.inbox.name";
1061:
1062: public static final String MAIL_SPAM_NAME = "mail.spam.name";
1063:
1064: public static final String MAIL_SENT_NAME = "mail.sent.name";
1065:
1066: public static final String MAIL_DRAFTS_NAME = "mail.drafts.name";
1067:
1068: public static final String MAIL_TRASH_NAME = "mail.trash.name";
1069:
1070: public static final String MAIL_JUNK_MAIL_WARNING_SIZE = "mail.junk-mail.warning.size";
1071:
1072: public static final String MAIL_TRASH_WARNING_SIZE = "mail.trash.warning.size";
1073:
1074: public static final String MAIL_SMTP_DEBUG = "mail.smtp.debug";
1075:
1076: public static final String MAIL_AUDIT_TRAIL = "mail.audit.trail";
1077:
1078: public static final String MAIL_ATTACHMENTS_MAX_SIZE = "mail.attachments.max.size";
1079:
1080: public static final String MAIL_ACCOUNT_FINDER = "mail.account.finder";
1081:
1082: public static final String MAIL_ACCOUNT_FINDER_PASSWORD = "mail.account.finder.password";
1083:
1084: public static final String MAIL_RECIPIENT_FINDER = "mail.recipient.finder";
1085:
1086: // Message Boards Portlet
1087:
1088: public static final String MESSAGE_BOARDS_EMAIL_FROM_NAME = "message.boards.email.from.name";
1089:
1090: public static final String MESSAGE_BOARDS_EMAIL_FROM_ADDRESS = "message.boards.email.from.address";
1091:
1092: public static final String MESSAGE_BOARDS_EMAIL_MESSAGE_ADDED_ENABLED = "message.boards.email.message.added.enabled";
1093:
1094: public static final String MESSAGE_BOARDS_EMAIL_MESSAGE_ADDED_SUBJECT_PREFIX = "message.boards.email.message.added.subject.prefix";
1095:
1096: public static final String MESSAGE_BOARDS_EMAIL_MESSAGE_ADDED_BODY = "message.boards.email.message.added.body";
1097:
1098: public static final String MESSAGE_BOARDS_EMAIL_MESSAGE_ADDED_SIGNATURE = "message.boards.email.message.added.signature";
1099:
1100: public static final String MESSAGE_BOARDS_EMAIL_MESSAGE_UPDATED_ENABLED = "message.boards.email.message.updated.enabled";
1101:
1102: public static final String MESSAGE_BOARDS_EMAIL_MESSAGE_UPDATED_SUBJECT_PREFIX = "message.boards.email.message.updated.subject.prefix";
1103:
1104: public static final String MESSAGE_BOARDS_EMAIL_MESSAGE_UPDATED_BODY = "message.boards.email.message.updated.body";
1105:
1106: public static final String MESSAGE_BOARDS_EMAIL_MESSAGE_UPDATED_SIGNATURE = "message.boards.email.message.updated.signature";
1107:
1108: public static final String MESSAGE_BOARDS_ALLOW_ANONYMOUS_POSTING = "message.boards.anonymous.posting.enabled";
1109:
1110: public static final String MESSAGE_BOARDS_ANONYMOUS_POSTING_ENABLED = "message.boards.expire.ban.job.interval";
1111:
1112: public static final String MESSAGE_BOARDS_EXPIRE_BAN_JOB_INTERVAL = "message.boards.expire.ban.job.interval";
1113:
1114: public static final String MESSAGE_BOARDS_EXPIRE_BAN_INTERVAL = "message.boards.expire.ban.interval";
1115:
1116: public static final String MESSAGE_BOARDS_RSS_ABSTRACT_LENGTH = "message.boards.rss.abstract.length";
1117:
1118: // My Places Portlet
1119:
1120: public static final String MY_PLACES_SHOW_USER_PUBLIC_SITES_WITH_NO_LAYOUTS = "my.places.show.user.public.sites.with.no.layouts";
1121:
1122: public static final String MY_PLACES_SHOW_USER_PRIVATE_SITES_WITH_NO_LAYOUTS = "my.places.show.user.private.sites.with.no.layouts";
1123:
1124: public static final String MY_PLACES_SHOW_ORGANIZATION_PUBLIC_SITES_WITH_NO_LAYOUTS = "my.places.show.organization.public.sites.with.no.layouts";
1125:
1126: public static final String MY_PLACES_SHOW_ORGANIZATION_PRIVATE_SITES_WITH_NO_LAYOUTS = "my.places.show.organization.private.sites.with.no.layouts";
1127:
1128: public static final String MY_PLACES_SHOW_COMMUNITY_PUBLIC_SITES_WITH_NO_LAYOUTS = "my.places.show.community.public.sites.with.no.layouts";
1129:
1130: public static final String MY_PLACES_SHOW_COMMUNITY_PRIVATE_SITES_WITH_NO_LAYOUTS = "my.places.show.community.private.sites.with.no.layouts";
1131:
1132: // Nested Portlet Portlet
1133:
1134: public static final String NESTED_PORTLETS_LAYOUT_TEMPLATE_DEFAULT = "nested.portlets.layout.template.default";
1135:
1136: public static final String NESTED_PORTLETS_LAYOUT_TEMPLATE_UNSUPPORTED = "nested.portlets.layout.template.unsupported";
1137:
1138: // Portlet CSS Portlet
1139:
1140: public static final String PORTLET_CSS_ENABLED = "portlet.css.enabled";
1141:
1142: // Shopping Portlet
1143:
1144: public static final String SHOPPING_CART_MIN_QTY_MULTIPLE = "shopping.cart.min.qty.multiple";
1145:
1146: public static final String SHOPPING_CATEGORY_FORWARD_TO_CART = "shopping.category.forward.to.cart";
1147:
1148: public static final String SHOPPING_CATEGORY_SHOW_SPECIAL_ITEMS = "shopping.category.show.special.items";
1149:
1150: public static final String SHOPPING_ITEM_SHOW_AVAILABILITY = "shopping.item.show.availability";
1151:
1152: public static final String SHOPPING_IMAGE_SMALL_MAX_SIZE = "shopping.image.small.max.size";
1153:
1154: public static final String SHOPPING_IMAGE_MEDIUM_MAX_SIZE = "shopping.image.medium.max.size";
1155:
1156: public static final String SHOPPING_IMAGE_LARGE_MAX_SIZE = "shopping.image.large.max.size";
1157:
1158: public static final String SHOPPING_IMAGE_EXTENSIONS = "shopping.image.extensions";
1159:
1160: public static final String SHOPPING_EMAIL_FROM_NAME = "shopping.email.from.name";
1161:
1162: public static final String SHOPPING_EMAIL_FROM_ADDRESS = "shopping.email.from.address";
1163:
1164: public static final String SHOPPING_EMAIL_ORDER_CONFIRMATION_ENABLED = "shopping.email.order.confirmation.enabled";
1165:
1166: public static final String SHOPPING_EMAIL_ORDER_CONFIRMATION_SUBJECT = "shopping.email.order.confirmation.subject";
1167:
1168: public static final String SHOPPING_EMAIL_ORDER_CONFIRMATION_BODY = "shopping.email.order.confirmation.body";
1169:
1170: public static final String SHOPPING_EMAIL_ORDER_SHIPPING_ENABLED = "shopping.email.order.shipping.enabled";
1171:
1172: public static final String SHOPPING_EMAIL_ORDER_SHIPPING_SUBJECT = "shopping.email.order.shipping.subject";
1173:
1174: public static final String SHOPPING_EMAIL_ORDER_SHIPPING_BODY = "shopping.email.order.shipping.body";
1175:
1176: // Software Catalog Portlet
1177:
1178: public static final String SC_IMAGE_MAX_SIZE = "sc.image.max.size";
1179:
1180: public static final String SC_IMAGE_THUMBNAIL_MAX_HEIGHT = "sc.image.thumbnail.max.height";
1181:
1182: public static final String SC_IMAGE_THUMBNAIL_MAX_WIDTH = "sc.image.thumbnail.max.width";
1183:
1184: // Tags Compiler Portlet
1185:
1186: public static final String TAGS_COMPILER_ENABLED = "tags.compiler.enabled";
1187:
1188: // Tags Portlet
1189:
1190: public static final String TAGS_ASSET_VALIDATOR = "tags.asset.validator";
1191:
1192: // Translator Portlet
1193:
1194: public static final String TRANSLATOR_DEFAULT_LANGUAGES = "translator.default.languages";
1195:
1196: // Web Form Portlet
1197:
1198: public static final String WEB_FORM_PORTLET_MAX_FIELDS = "web.form.portlet.max.fields";
1199:
1200: // Wiki Portlet
1201:
1202: public static final String WIKI_CLASSIC_SYNTAX_HELP_URL = "wiki.classic.syntax.help.url";
1203:
1204: public static final String WIKI_FRONT_PAGE_NAME = "wiki.front.page.name";
1205:
1206: public static final String WIKI_INITIAL_NODE_NAME = "wiki.initial.node.name";
1207:
1208: public static boolean containsKey(String key) {
1209: return _getInstance().containsKey(key);
1210: }
1211:
1212: public static String get(String key) {
1213: return _getInstance().get(key);
1214: }
1215:
1216: public static String get(long companyId, String key) {
1217: return _getInstance(companyId).get(key);
1218: }
1219:
1220: public static void set(String key, String value) {
1221: _getInstance().set(key, value);
1222: }
1223:
1224: public static void set(long companyId, String key, String value) {
1225: _getInstance(companyId).set(key, value);
1226: }
1227:
1228: public static String[] getArray(String key) {
1229: return _getInstance().getArray(key);
1230: }
1231:
1232: public static Properties getProperties() {
1233: return _getInstance().getProperties();
1234: }
1235:
1236: public static ComponentProperties getComponentProperties() {
1237: return _getInstance().getComponentProperties();
1238: }
1239:
1240: private static ExtPropertiesLoader _getInstance() {
1241: long companyId = CompanyThreadLocal.getCompanyId();
1242:
1243: return _getInstance(companyId);
1244: }
1245:
1246: private static ExtPropertiesLoader _getInstance(long companyId) {
1247: if (companyId > CompanyImpl.SYSTEM) {
1248: return ExtPropertiesLoader.getInstance(PropsFiles.PORTAL,
1249: companyId);
1250: } else {
1251: return ExtPropertiesLoader.getInstance(PropsFiles.PORTAL);
1252: }
1253: }
1254:
1255: }
|