+++ /dev/null
-/*
- * Copyright (C) 2015 Roland Haeder
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-package org.mxchange.addressbook;
-
-import org.mxchange.addressbook.application.Application;
-import org.mxchange.addressbook.client.Client;
-import org.mxchange.addressbook.manager.contact.ManageableContact;
-
-/**
- * A general interface which should be always expanded
- *
- * @author Roland Haeder
- */
-public interface FrameworkInterface {
- /*
- * Properties file name
- */
- public static final String PROPERTIES_CONFIG_FILE = "config.properties";
-
- /**
- * Getter for contact manager
- *
- * @return Contact manager instance
- */
- public ManageableContact getContactManager ();
-
- /**
- * Client instance
- *
- * @return the client
- */
- public Client getClient ();
-
- /**
- * Application instance
- *
- * @return the application
- */
- public Application getApplication ();
-
- /**
- * Getter for human-readable string from given key
- *
- * @param key Key to return
- * @return Human-readable message
- */
- public String getMessageStringFromKey (final String key);
-
- /**
- * Logs given exception
- *
- * @param exception Exception to log
- */
- public void logException (final Throwable exception);
-
- /**
- * Checks if given boolean field is available and set to same value
- *
- * @param columnName Column name to check
- * @param bool Boolean value
- * @return Whether all conditions are met
- */
- public boolean isValueEqual (final String columnName, final boolean bool);
-
- /**
- * Some "getter for a value from given column name. This name will be
- * translated into a method name and then this method is called.
- *
- * @param columnName Column name
- * @return Value from field
- */
- public Object getValueFromColumn (final String columnName);
-}