diff options
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/PersistentConfigProvider.java')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/PersistentConfigProvider.java | 210 |
1 files changed, 0 insertions, 210 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/PersistentConfigProvider.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/PersistentConfigProvider.java deleted file mode 100644 index 9bf81a05..00000000 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/PersistentConfigProvider.java +++ /dev/null @@ -1,210 +0,0 @@ -/* - * Copyright 2012 by A-SIT, Secure Information Technology Center Austria - * - * Licensed under the EUPL, Version 1.1 or - as soon they will be approved by - * the European Commission - subsequent versions of the EUPL (the "Licence"); - * You may not use this work except in compliance with the Licence. - * You may obtain a copy of the Licence at: - * http://joinup.ec.europa.eu/software/page/eupl - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the Licence is distributed on an "AS IS" basis, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the Licence for the specific language governing permissions and - * limitations under the Licence. - */ -package at.asit.pdfover.gui.workflow.config; - -import java.util.Locale; - -import org.eclipse.swt.graphics.Point; - -import at.asit.pdfover.gui.bku.mobile.MobileBKUs; -import at.asit.pdfover.signator.BKUs; -import at.asit.pdfover.signator.SignaturePosition; - -/** - * An interface for reading the persistent configuration - * - * This reads the configuration that will be saved - */ -public interface PersistentConfigProvider { - /** - * Get the default configured BKU - * @return the default configured BKU - */ - public BKUs getDefaultBKUPersistent(); - - /** - * Gets the default Mobile number - * @return the default mobile number - */ - public String getDefaultMobileNumberPersistent(); - - /** - * Gets the password to use for Mobile BKU - * @return the password - */ - public String getDefaultMobilePasswordPersistent(); - - /** - * Gets the filename of the default emblem - * @return the emblem - */ - public String getDefaultEmblemPersistent(); - - /** - * Gets the proxy host - * @return the proxy hostname or ip address - */ - public String getProxyHostPersistent(); - - /** - * Gets the proxy port - * @return the proxy port - */ - public int getProxyPortPersistent(); - - /** - * Gets the proxy username - * @return the proxy username - */ - public String getProxyUserPersistent(); - - /** - * Gets the proxy password - * @return the proxy password - */ - public String getProxyPassPersistent(); - - /** - * Gets the default output folder for signed documents - * @return the default output folder - */ - public String getDefaultOutputFolderPersistent(); - - /** - * Get the default configured SignaturePosition - * @return the default configured SignaturePosition or null if not configured - */ - public SignaturePosition getDefaultSignaturePositionPersistent(); - - // Declare the other configuration getters for convenience - - /** - * Get the transparency of the signature placeholder - * @return the transparency of the signature placeholder - */ - public int getPlaceholderTransparency(); - - /** - * Gets the mobile BKU URL - * @return the mobile BKU URL - */ - public String getMobileBKUURL(); - - /** - * Gets the mobile BKU type - * @return the mobile BKU type - */ - public MobileBKUs getMobileBKUType(); - - /** - * Get the signature note text to use - * @return the signature note text - */ - public String getSignatureNote(); - - /** - * Gets the configured locale - * @return the configured locale - */ - public Locale getLocale(); - - /** - * Gets the configured locale - * @return the configured locale - */ - public Locale getSignatureLocale(); - - /** - * Get the signature PDF/A compatibility setting - * @return the signature PDF/A compatibility setting - */ - public boolean getSignaturePdfACompat(); - - /** - * Gets whether keystore signing is enabled - * @return whether keystore signing is enabled - */ - public Boolean getKeyStoreEnabledPersistent(); - - /** - * Gets the keystore file - * @return the keystore file - */ - public String getKeyStoreFilePersistent(); - - /** - * Gets the keystore type - * @return the keystore type - */ - public String getKeyStoreTypePersistent(); - - /** - * Gets the keystore alias - * @return the keystore alias - */ - public String getKeyStoreAliasPersistent(); - - /** - * Gets the keystore store password - * @return the keystore store password - */ - public String getKeyStoreStorePassPersistent(); - - /** - * Gets the keystore key password - * @return the keystore key password - */ - public String getKeyStoreKeyPassPersistent(); - - /** - * Gets whether to automatically check for application updates - * @return whether to automatically check for application updates - */ - public boolean getUpdateCheck(); - - /** - * Gets the configured MainWindow size - * @return the configured MainWindow size - */ - public Point getMainWindowSize(); - - /** - * Gets whether to use an existing singature marker. - * - * @return whether to use an existing singature marker - */ - public boolean getUseMarker(); - - /** - * Gets whether to use an existing signature fields. - * - * @return boolean - */ - public boolean getUseSignatureFields(); - - /** - * @return - */ - public boolean getEnablePlaceholderUsage(); - - /*** - * - * @return the signature profile - */ - public String getSignatureProfile(); - - public String getSaveFilePostFix(); -} |