com.sybase.afx.ulj
Class DBManager

java.lang.Object
  extended by com.sybase.afx.ulj.DBManager

public class DBManager
extends java.lang.Object


Constructor Summary
DBManager()
           
 
Method Summary
protected static ianywhere.ultralitej.Connection createLocalDatabase(ianywhere.ultralitej.Connection conn)
           
 void deleteProfile(Profile profile)
           
 java.lang.String getDBName(Profile profile)
           
protected  ianywhere.ultralitej.Connection getLocalConnection()
           
 java.lang.String getProperty(Profile profile, java.lang.String name)
           
 void saveActiveProfile(Profile profile)
           
 void saveProfile(Profile profile)
          Saves profile/resources related data to database
 void setProperty(Profile profile, java.lang.String name, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBManager

public DBManager()
Method Detail

getLocalConnection

protected ianywhere.ultralitej.Connection getLocalConnection()
                                                      throws ianywhere.ultralitej.ULjException
Throws:
ianywhere.ultralitej.ULjException

getDBName

public java.lang.String getDBName(Profile profile)

createLocalDatabase

protected static ianywhere.ultralitej.Connection createLocalDatabase(ianywhere.ultralitej.Connection conn)
                                                              throws ianywhere.ultralitej.ULjException
Throws:
ianywhere.ultralitej.ULjException

deleteProfile

public void deleteProfile(Profile profile)

saveActiveProfile

public void saveActiveProfile(Profile profile)

saveProfile

public void saveProfile(Profile profile)
                 throws java.lang.Exception
Saves profile/resources related data to database

Throws:
java.lang.Exception

setProperty

public void setProperty(Profile profile,
                        java.lang.String name,
                        java.lang.String value)

getProperty

public java.lang.String getProperty(Profile profile,
                                    java.lang.String name)