Chapter 1. Package org.kaiwitte.workbench.data

Table of Contents

Class BackupDataScheme
Synopsis
getAutoLoadCondition()
getColumns()
getLength()
getMailCondition()
getName()
Interface Condition
Synopsis
toSQLString()
Interface ConditionCreator
Synopsis
Class ConditionFactory
Synopsis
and(Condition, Condition)
any(DataColumn)
columnEqual(DataColumn, Boolean)
columnEqual(DataColumn, Date)
columnEqual(DataColumn, long)
columnEqual(DataColumn, String)
rawSQLCondition(String)
textFieldsStartWith(Record)
Interface DataColumn
Synopsis
getAssociatedDataScheme()
getName()
getNameInAssociatedDataScheme()
getType()
isRequiredForUpdate()
Interface DataManager
Synopsis
delete(long)
find(Condition)
insert(Record)
update(Record)
Interface DataManagerFactory
Synopsis
getDataManager(DataScheme)
Class DataManagerFactoryImpl
Synopsis
DataManagerFactoryImpl(String, String)
getDataManager(DataScheme)
Interface DataScheme
Synopsis
getAutoLoadCondition()
getColumns()
getLength()
getMailCondition()
getName()
Interface DataSchemeFactory
Synopsis
createDataScheme(InputStream)
Class DataSchemeFactoryImpl
Synopsis
createDataScheme(InputStream)
Interface MetaDataManager
Synopsis
connect()
delete(long)
find(Condition)
insert(MetaRecord)
isConnected()
update(MetaRecord)
Interface MetaDataManagerFactory
Synopsis
getMetaDataManager(MetaScheme)
Class MetaDataManagerFactoryImpl
Synopsis
MetaDataManagerFactoryImpl(String, String)
getMetaDataManager(MetaScheme)
Interface MetaRecord
Synopsis
getColumnName(int)
getRecords()
getValue(int)
Class MetaRecordImpl
Synopsis
MetaRecordImpl(MetaScheme, Object[])
MetaRecordImpl(Record[])
getColumnName(int)
getRecords()
getValue(int)
Interface MetaScheme
Synopsis
getColumns()
getDataSchemes()
getLength()
getName()
Class MetaSchemeFactory
Synopsis
Interface MutableMetaRecord
Synopsis
Class MutableMetaRecordImpl
Synopsis
MutableMetaRecordImpl(MetaScheme, Object[])
MutableMetaRecordImpl(Record[])
Interface MutableRecord
Synopsis
Class MutableRecordImpl
Synopsis
MutableRecordImpl(DataScheme, Object[])
MutableRecordImpl(long, DataScheme, Object[])
Interface Record
Synopsis
getID()
getScheme()
getValue(int)

Class BackupDataScheme

Synopsis

 public class BackupDataSchemeimplements DataScheme {
  public BackupDataScheme(DataScheme scheme);
  public int getLength();
  public Sequence getColumns();
  public String getName();
  public String getMailCondition();
  public DataScheme getBackupScheme();
  public String getAutoLoadCondition();
  public Iterator printTemplates();
}

Methods inherited from java.lang.Object: clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait

Inheritance Path. java.lang.Object-> org.kaiwitte.workbench.data.BackupDataScheme

getAutoLoadCondition()

Synopsis: public String getAutoLoadCondition();

Specified by: Method getAutoLoadCondition in interface DataScheme

Parameters

return

condition for when the record requires special attention

Description copied from interface: getAutoLoadCondition

Returns the condition for records that are build according to this DataScheme when they shall be automatically loaded to a visible table on program start. Strict SQL syntax. String types ARE quoted. E. g.:

  • status='nicht erledigt'

  • age<27

  • status='nicht erledigt' AND age<27

getColumns()

Synopsis: public Sequence getColumns();

Specified by: Method getColumns in interface DataScheme

Parameters

return

the DataColumns

Description copied from interface: getColumns

Returns the DataColumns.

getLength()

Synopsis: public int getLength();

Specified by: Method getLength in interface DataScheme

Parameters

return

the number of DataColumns

Description copied from interface: getLength

Returns the number of DataColumns.

getMailCondition()

Synopsis: public String getMailCondition();

Specified by: Method getMailCondition in interface DataScheme

Parameters

return

condition when a mail is to be sent

Description copied from interface: getMailCondition

Returns the condition for records that are build according to this DataScheme when a mail is to be sent. String types are NOT quoted. E. g.: status=erledigt.

getName()

Synopsis: public String getName();

Specified by: Method getName in interface DataScheme

Parameters

return

the name of this column

Description copied from interface: getName

Returns the name of this column.