blob: 0c1527686fab0a9c7c83470215a0075d75091e41 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*/
package org.eclipse.osbp.preferences;
import java.util.Collection;
import java.util.Locale;
import java.util.Map;
import org.eclipse.core.resources.IProject;
public interface IProductConfigurationPrefs {
public static int DEFAULT_PORT_ACTIVE_MQ_BROKER_SERVICE = 61616;
public static int DEFAULT_PORT_BPM_ENGINE = 9123;
public static int DEFAULT_PORT_EMAIL_SMTP = 25;
public abstract IProject getProject();
public abstract String getBusinessBundleClassNameReadOnly();
/**
* @return name of the server running the BPM Service.<br>Use {@link ProductConfiguration#isServerReasonable(String)} to check if the name is reasonable.
*/
public abstract String getBpmServerIp();
public abstract int getBpmServerPort();
public abstract int getBpmResponseTimeout();
public abstract String getEuroXRefRatesURLDaily();
public abstract String getEuroXRefRatesURLPrevious();
/**
* @return name of the server running the ActiveMQ Broker Service.<br>Use {@link ProductConfiguration#isServerReasonable(String)} to check if the name is reasonable.
*/
public abstract String getActiveMqBrokerServerName();
public abstract int getActiveMqBrokerServerPort();
public abstract int getHybridRefresherMilliSecsActive();
public abstract int getHybridRefresherMilliSecsInactive();
// public abstract String getDataSourceNameForAuthentication();
//
// public abstract String getDataSourceNameForBLOB();
//
// public abstract String getDataSourceNameForBPM();
//
// public abstract String getDataSourceNameForBusinessData();
public abstract int getAuthRESTfulPort();
public abstract boolean hasAutoLogin();
public abstract boolean hasEncryptPasswords();
public abstract boolean hasNoRememberMe();
public abstract int getDtoRealmPortalId();
public abstract int getLdapRealmPortalId();
public abstract String getLdapContextFactoryUrl();
public abstract String getLdapUserDnTemplate();
/**
* @return administrator email when login depends on email adress. default = admin@support.com
*/
public abstract String getAdminEmail();
/**
* @return administrator email username to authenticate against the email server.
*/
public abstract String getAdminEmailUsername();
/**
* <b>Please be aware, that the password is stored as <u>plain-text</u> right now!</b>
* @return administrator email password to authenticate against the email server.
*/
public abstract String getAdminEmailPassword();
public abstract int getMaxLoginAttempts();
public abstract String getProtocolDatasource();
public abstract String getProtocolUnit();
public abstract boolean getIdentifyByUsername();
public abstract Map<String, Locale> getLanguages();
public abstract boolean isLanguagesAutotranslate();
public abstract boolean willLanguagesAutocreate();
public abstract boolean isUomoMetricUnit();
public abstract boolean showLanguageSelectInRespectiveLocale();
public abstract String getLanguagesGoogleHttpReferrer();
public abstract String getLanguagesGoogleApiKey();
public abstract boolean hasToolsPrintService();
public abstract boolean hasDemoToolsTheme();
public abstract boolean hasDemoToolsStrategy();
public abstract boolean hasDemoToolsLanguage();
public abstract boolean projectWizardUsesAbsoluteLocation();
public abstract Collection<DataSourceConfiguration> getDataSources();
public abstract Collection<PersistenceUnitConfiguration> getPersistenceUnits();
public abstract boolean isBpmEngineHibernateShowSql();
public abstract boolean isBpmEngineHibernateFormatSql();
public abstract String getBpmEnginePersistenceUnit();
public abstract String getBpmEngineHibernateSchemaName(String persistenceUnit);
public abstract int getBpmEngineHibernateMaxFetchDepth();
public abstract String getAuthenticationOrganizationId();
/**
* @return name of the server running email service.<br>Use {@link ProductConfiguration#isServerReasonable(String)} to check if the name is reasonable.
*/
public abstract String getEmailServerIp();
public abstract int getEmailSmtpPort();
public abstract boolean isEmailUseSslOnConnect();
public abstract String getJavaPosConfiguration();
}