se.cambio.cds.util
Class UserConfigurationManager

Package class diagram package UserConfigurationManager
java.lang.Object
  extended by se.cambio.cds.util.UserConfigurationManager

public class UserConfigurationManager
extends Object


Field Summary
static String ARCHETYPES_FOLDER_KW
           
static String COUNTRY
           
static String CURRENT_DATE_TIME_KW
           
static String DEFAULT_COUNTRY
           
static String DEFAULT_LANGUAGE
           
static String DOCUMENTS_FOLDER_KW
           
static String LANGUAGE
           
static String ONTOLOGIES_FOLDER_KW
           
static String OVERVIEWS_FOLDER_KW
           
static String TEMPLATES_FOLDER_KW
           
static String TERMINOLOGIES_FOLDER_KW
           
 
Method Summary
static File getArchetypeFolder()
           
static String getCountryCode()
           
static Date getCustomDate()
           
static File getDocumentsFolder()
           
static String getLanguage()
           
static Object getObjectParameter(String name)
           
static File getOntologiesFolder()
           
static File getOverviewsFolder()
           
static String getParameter(String name)
           
static String getParameterWithDefault(String keyword)
           
static File getTemplateFolder()
           
static File getTerminologiesFolder()
           
static void loadParameters(Hashtable<Object,Object> usrConfig)
           
static boolean saveConfig()
           
static void setParameter(String name, String value)
           
static void setParameterWithDefault(String keyword, String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARCHETYPES_FOLDER_KW

public static String ARCHETYPES_FOLDER_KW

TEMPLATES_FOLDER_KW

public static String TEMPLATES_FOLDER_KW

TERMINOLOGIES_FOLDER_KW

public static String TERMINOLOGIES_FOLDER_KW

ONTOLOGIES_FOLDER_KW

public static String ONTOLOGIES_FOLDER_KW

DOCUMENTS_FOLDER_KW

public static String DOCUMENTS_FOLDER_KW

OVERVIEWS_FOLDER_KW

public static String OVERVIEWS_FOLDER_KW

CURRENT_DATE_TIME_KW

public static String CURRENT_DATE_TIME_KW

LANGUAGE

public static final String LANGUAGE
See Also:
Constant Field Values

COUNTRY

public static final String COUNTRY
See Also:
Constant Field Values

DEFAULT_LANGUAGE

public static final String DEFAULT_LANGUAGE
See Also:
Constant Field Values

DEFAULT_COUNTRY

public static final String DEFAULT_COUNTRY
See Also:
Constant Field Values
Method Detail

getParameter

public static String getParameter(String name)
                           throws MissingConfigurationParameterException
Throws:
MissingConfigurationParameterException

loadParameters

public static void loadParameters(Hashtable<Object,Object> usrConfig)

getObjectParameter

public static Object getObjectParameter(String name)
                                 throws MissingConfigurationParameterException
Throws:
MissingConfigurationParameterException

setParameter

public static void setParameter(String name,
                                String value)

getParameterWithDefault

public static String getParameterWithDefault(String keyword)

getCustomDate

public static Date getCustomDate()

getArchetypeFolder

public static File getArchetypeFolder()

getTemplateFolder

public static File getTemplateFolder()

getTerminologiesFolder

public static File getTerminologiesFolder()

getOntologiesFolder

public static File getOntologiesFolder()

getDocumentsFolder

public static File getDocumentsFolder()

getOverviewsFolder

public static File getOverviewsFolder()

getLanguage

public static String getLanguage()

getCountryCode

public static String getCountryCode()

setParameterWithDefault

public static void setParameterWithDefault(String keyword,
                                           String value)

saveConfig

public static boolean saveConfig()


Copyright © 2013 Cambio. All Rights Reserved.