jrunx.ide.persistence
Interface CmpManager

All Known Implementing Classes:
AbstractCmpManager

public interface CmpManager


Field Summary
static java.lang.String DELETE
           
static java.lang.String FROM
           
static java.lang.String INSERT
           
static java.lang.String SELECT
           
static java.lang.String SET
           
static java.lang.String UPDATE
           
static java.lang.String VALUES
           
static java.lang.String WHERE
           
 
Method Summary
 void addDataSource(DBConnection dbc)
           
 void addDataSourceListener(DataSourceListener dsl)
           
 CmpMethod[] generateCoreCmpMethods(JRunEntityBean currentBean)
           
 CmpDBField[] getCmpDBFields(JRunEntityBean currentBean)
           
 CmpDBSource getCmpDBSource(JRunEntityBean currentBean)
           
 CmpMethod[] getCmpMethods(JRunEntityBean currentBean)
           
 boolean isCmpFieldChanged()
           
 boolean isCoreCmpMethod(CmpMethod method)
           
 DBConnection[] listDataSources()
           
 void removeDataSource(DBConnection dbc)
           
 void removeDataSourceListener(DataSourceListener dsl)
           
 void saveAllDataSources()
           
 void saveDataSource(DBConnection dbc)
           
 void setCmpDBFields(JRunEntityBean currentBean, CmpDBSource dbsource, CmpDBField[] fields)
           
 void setCmpFieldChanged(boolean b)
           
 void setCmpMethods(JRunEntityBean currentBean, CmpMethod[] cmpMethods)
           
 

Field Detail

INSERT

public static final java.lang.String INSERT

WHERE

public static final java.lang.String WHERE

UPDATE

public static final java.lang.String UPDATE

SET

public static final java.lang.String SET

DELETE

public static final java.lang.String DELETE

VALUES

public static final java.lang.String VALUES

SELECT

public static final java.lang.String SELECT

FROM

public static final java.lang.String FROM
Method Detail

getCmpDBSource

public CmpDBSource getCmpDBSource(JRunEntityBean currentBean)

getCmpDBFields

public CmpDBField[] getCmpDBFields(JRunEntityBean currentBean)

setCmpDBFields

public void setCmpDBFields(JRunEntityBean currentBean,
                           CmpDBSource dbsource,
                           CmpDBField[] fields)

isCmpFieldChanged

public boolean isCmpFieldChanged()

setCmpFieldChanged

public void setCmpFieldChanged(boolean b)

listDataSources

public DBConnection[] listDataSources()
                               throws java.lang.Exception

addDataSource

public void addDataSource(DBConnection dbc)
                   throws java.lang.Exception

removeDataSource

public void removeDataSource(DBConnection dbc)
                      throws java.lang.Exception

saveAllDataSources

public void saveAllDataSources()
                        throws java.lang.Exception

saveDataSource

public void saveDataSource(DBConnection dbc)
                    throws java.lang.Exception

addDataSourceListener

public void addDataSourceListener(DataSourceListener dsl)

removeDataSourceListener

public void removeDataSourceListener(DataSourceListener dsl)

generateCoreCmpMethods

public CmpMethod[] generateCoreCmpMethods(JRunEntityBean currentBean)
                                   throws java.lang.Exception

setCmpMethods

public void setCmpMethods(JRunEntityBean currentBean,
                          CmpMethod[] cmpMethods)

getCmpMethods

public CmpMethod[] getCmpMethods(JRunEntityBean currentBean)
                          throws java.lang.Exception

isCoreCmpMethod

public boolean isCoreCmpMethod(CmpMethod method)


Copyright � 2002 Macromedia Corporation. All Rights Reserved.