Servoy 3.5.x Public API

com.servoy.j2db
Class Messages

java.lang.Object
  extended by com.servoy.j2db.Messages

public class Messages
extends Object


Field Summary
static int ALL_LOCALES
           
static String BUNDLE_NAME
           
static long changedTime
           
static int DEFAULT_LOCALE
           
static boolean invalidConnection
           
static boolean noConnection
           
static int SPECIFIED_LOCALE
           
 
Constructor Summary
Messages()
           
 
Method Summary
static boolean deleteKey(String key, com.servoy.j2db.persistence.Solution solution, String clientId, Properties settings, com.servoy.j2db.dataprocessing.IDataServer dataServer)
           
 ResourceBundle getAsResourceBundle()
          Can be usefull for coding agains servoy.
static String getString(String key)
           
static String getString(String key, Object[] args)
           
static String getStringIfPrefix(String key)
           
static boolean hasDefaultServerMessages()
          CURRENTLY FOR INTERNAL USE ONLY, DO NOT CALL.
static void load(com.servoy.j2db.IMessagesCallback callback)
          CURRENTLY FOR INTERNAL USE ONLY, DO NOT CALL.
static void loadMessagesFromDatabase(com.servoy.j2db.persistence.Solution solution, String clientId, Properties settings, com.servoy.j2db.dataprocessing.IDataServer dataServer, com.servoy.j2db.persistence.IRepository repository, Properties properties, String language)
          CURRENTLY FOR INTERNAL USE ONLY, DO NOT CALL.
static void loadMessagesFromDatabase(com.servoy.j2db.persistence.Solution solution, String clientId, Properties settings, com.servoy.j2db.dataprocessing.IDataServer dataServer, com.servoy.j2db.persistence.IRepository repository, Properties properties, String language, int loadingType, String searchKey, String searchText)
          CURRENTLY FOR INTERNAL USE ONLY, DO NOT CALL.
static void loadMessagesFromDatabase(com.servoy.j2db.persistence.Solution solution, String clientId, Properties settings, com.servoy.j2db.dataprocessing.IDataServer dataServer, com.servoy.j2db.persistence.IRepository repository, Properties properties, String language, int loadingType, String searchKey, String searchText, String columnNameFilter, String columnValueFilter)
          CURRENTLY FOR INTERNAL USE ONLY, DO NOT CALL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL_LOCALES

public static final int ALL_LOCALES
See Also:
Constant Field Values

BUNDLE_NAME

public static final String BUNDLE_NAME
See Also:
Constant Field Values

changedTime

public static long changedTime

DEFAULT_LOCALE

public static final int DEFAULT_LOCALE
See Also:
Constant Field Values

invalidConnection

public static boolean invalidConnection

noConnection

public static boolean noConnection

SPECIFIED_LOCALE

public static final int SPECIFIED_LOCALE
See Also:
Constant Field Values
Constructor Detail

Messages

public Messages()
Method Detail

deleteKey

public static boolean deleteKey(String key,
                                com.servoy.j2db.persistence.Solution solution,
                                String clientId,
                                Properties settings,
                                com.servoy.j2db.dataprocessing.IDataServer dataServer)

getAsResourceBundle

public ResourceBundle getAsResourceBundle()
Can be usefull for coding agains servoy.

Returns:
the bundle for these messages
Since:
3.5.1

getString

public static String getString(String key)

getString

public static String getString(String key,
                               Object[] args)

getStringIfPrefix

public static String getStringIfPrefix(String key)

hasDefaultServerMessages

public static boolean hasDefaultServerMessages()
CURRENTLY FOR INTERNAL USE ONLY, DO NOT CALL.


load

public static void load(com.servoy.j2db.IMessagesCallback callback)
CURRENTLY FOR INTERNAL USE ONLY, DO NOT CALL.


loadMessagesFromDatabase

public static void loadMessagesFromDatabase(com.servoy.j2db.persistence.Solution solution,
                                            String clientId,
                                            Properties settings,
                                            com.servoy.j2db.dataprocessing.IDataServer dataServer,
                                            com.servoy.j2db.persistence.IRepository repository,
                                            Properties properties,
                                            String language)
CURRENTLY FOR INTERNAL USE ONLY, DO NOT CALL.


loadMessagesFromDatabase

public static void loadMessagesFromDatabase(com.servoy.j2db.persistence.Solution solution,
                                            String clientId,
                                            Properties settings,
                                            com.servoy.j2db.dataprocessing.IDataServer dataServer,
                                            com.servoy.j2db.persistence.IRepository repository,
                                            Properties properties,
                                            String language,
                                            int loadingType,
                                            String searchKey,
                                            String searchText)
CURRENTLY FOR INTERNAL USE ONLY, DO NOT CALL.


loadMessagesFromDatabase

public static void loadMessagesFromDatabase(com.servoy.j2db.persistence.Solution solution,
                                            String clientId,
                                            Properties settings,
                                            com.servoy.j2db.dataprocessing.IDataServer dataServer,
                                            com.servoy.j2db.persistence.IRepository repository,
                                            Properties properties,
                                            String language,
                                            int loadingType,
                                            String searchKey,
                                            String searchText,
                                            String columnNameFilter,
                                            String columnValueFilter)
CURRENTLY FOR INTERNAL USE ONLY, DO NOT CALL.


Copyright © 2009 Servoy B.V.