public class OrdnerImpl extends de.willuhn.datasource.db.AbstractDBObject implements Ordner
CREATE TABLE ordner (
id NUMERIC default UNIQUEKEY('ordner'),
title varchar(80) NOT NULL,
titleFont varchar(80),
titleColor int,
titleAlignmnet int,
content varchar(300),
contentFont varchar(80),
contentColor int,
contentAlignmnet int,
footer varchar(100),
footerFont varchar(80),
footerColor int,
footerAlignmnet int,
labelBackground int,
horizontalBarVisible boolean default true,
horizontalBarColor int,
idVisible boolean default true,
registerIndexFont varchar(80),
registerIndexColor int,
registerIndexBackground int,
registerContentFont varchar(80),
registerContentColor int,
registerContentBackground int,
width int,
lastSaveDate date,
UNIQUE (id),
PRIMARY KEY (id)
);
| Constructor and Description |
|---|
OrdnerImpl()
Standart Konstruktor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
deleteCheck() |
org.eclipse.swt.graphics.Color |
getBarColor() |
java.lang.String |
getContent() |
int |
getContentAlignment() |
org.eclipse.swt.graphics.Color |
getContentColor() |
org.eclipse.swt.graphics.Font |
getContentFont() |
java.util.Date |
getDate() |
java.lang.String |
getFooter() |
int |
getFooterAlignment() |
org.eclipse.swt.graphics.Color |
getFooterColor() |
org.eclipse.swt.graphics.Font |
getFooterFont() |
de.willuhn.datasource.rmi.DBIterator<Register> |
getInhaltsverzeichniss() |
org.eclipse.swt.graphics.Color |
getLabelBackground() |
java.lang.String |
getPrimaryAttribute() |
org.eclipse.swt.graphics.Color |
getRegisterContentBackground() |
org.eclipse.swt.graphics.Color |
getRegisterContentColor() |
org.eclipse.swt.graphics.Font |
getRegisterContentFont() |
org.eclipse.swt.graphics.Color |
getRegisterIndexBackground() |
org.eclipse.swt.graphics.Color |
getRegisterIndexColor() |
org.eclipse.swt.graphics.Font |
getRegisterIndexFont() |
protected java.lang.String |
getTableName() |
java.lang.String |
getTitel() |
int |
getTitelAlignment() |
org.eclipse.swt.graphics.Color |
getTitelColor() |
org.eclipse.swt.graphics.Font |
getTitelFont() |
java.lang.Integer |
getWidth() |
protected void |
insertCheck() |
boolean |
isBarVisible() |
boolean |
isIdVisible() |
void |
loadDefaults()
Läd die gespeicherten Defaultwerte aus
|
void |
setBarColor(org.eclipse.swt.graphics.Color color)
Setzt die Farbe der Linien
|
void |
setBarVisible(boolean visible)
Setzt die Sichbarkeit der Linien
|
void |
setContent(java.lang.String inhalt)
Setzt den Text des Hauptfeldes
|
void |
setContentAlignment(int alignment)
Setzt die Ausrichtung den Hauptfeldes (SWT.LEFT, SWT.CENTER, SWT.RIGHT)
|
void |
setContentColor(org.eclipse.swt.graphics.Color color)
Setzt die Textfarbe des Hauptfeldes
|
void |
setContentFont(org.eclipse.swt.graphics.Font font)
Setzt den Schrifttyp des Hauptfeldes
|
void |
setDate(java.util.Date datum)
Setzt das zuletzt geändert Datum
|
void |
setFooter(java.lang.String fussnote)
Setzt den Text des Fußbereiches
|
void |
setFooterAlignment(int alignment)
Setzt die Ausrichtung des Fußbereiches
|
void |
setFooterColor(org.eclipse.swt.graphics.Color color)
Setzt die Textfarbe des Fußbereiches
|
void |
setFooterFont(org.eclipse.swt.graphics.Font font)
Setzt den Schrifttyp des Fußbereiches
|
void |
setIdVisible(boolean visible)
Setzt die Sichbarkeit des ID-Feldes
|
void |
setLabelBackground(org.eclipse.swt.graphics.Color color)
Setzt die Hintergrundfarbe des Labels
|
void |
setRegisterContentBackground(org.eclipse.swt.graphics.Color color)
Setzt den Hintergrundfarbe der Registerbeschreibungsfelder
|
void |
setRegisterContentColor(org.eclipse.swt.graphics.Color color)
Setzt die Textfarbe der Registerbeschreibungsfelder
|
void |
setRegisterContentFont(org.eclipse.swt.graphics.Font font)
Setzt den Schrifttyp der Registerbeschreibungsfelder
|
void |
setRegisterIndexBackground(org.eclipse.swt.graphics.Color color)
Setzt den Hintergrundfarbe der Registerindexfelder
|
void |
setRegisterIndexColor(org.eclipse.swt.graphics.Color color)
Setzt die Textfarbe der Registerindexfelder
|
void |
setRegisterIndexFont(org.eclipse.swt.graphics.Font font)
Setzt den Schrifttyp der Registerindexfelder
|
void |
setTitel(java.lang.String titel)
Setzt den Text des Titelfeldes
|
void |
setTitelAlignment(int alignment)
Setzt die Ausrichtung des Titelfeldes
|
void |
setTitelColor(org.eclipse.swt.graphics.Color color)
Setzt die Textfarbe des Titelfeldes
|
void |
setTitelFont(org.eclipse.swt.graphics.Font font)
Setzt den Schirfttyp des Titelfeldes
|
void |
setWidth(java.lang.Integer width)
Setzt die Breite des Labels
|
protected void |
updateCheck() |
addDeleteListener, addStoreListener, clear, delete, equals, getAttribute, getAttributeNames, getAttributeType, getForeignObject, getID, getIDField, getInsertSQL, getList, getListQuery, getLoadQuery, getService, getUpdateSQL, hasChanged, hasChanged, init, insert, isNewObject, load, overwrite, removeDeleteListener, removeStoreListener, setAttribute, setID, setService, store, transactionBegin, transactionCommit, transactionRollbackclone, exportObject, exportObject, exportObject, unexportObjectequals, getRef, hashCode, toString, toStubfinalize, getClass, notify, notifyAll, wait, wait, waitaddDeleteListener, addStoreListener, equals, getAttribute, getAttributeType, getList, load, removeDeleteListener, removeStoreListenerpublic OrdnerImpl()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic org.eclipse.swt.graphics.Color getBarColor()
throws java.rmi.RemoteException
getBarColor in interface Ordnerjava.rmi.RemoteExceptionOrdner.getBarColor()public java.lang.String getContent()
throws java.rmi.RemoteException
getContent in interface Ordnerjava.rmi.RemoteExceptionOrdner.getContent()public int getContentAlignment()
throws java.rmi.RemoteException
getContentAlignment in interface Ordnerjava.rmi.RemoteExceptionOrdner.getContentAlignment()public org.eclipse.swt.graphics.Color getContentColor()
throws java.rmi.RemoteException
getContentColor in interface Ordnerjava.rmi.RemoteExceptionOrdner.getContentColor()public org.eclipse.swt.graphics.Font getContentFont()
throws java.rmi.RemoteException
getContentFont in interface Ordnerjava.rmi.RemoteExceptionOrdner.getContentFont()public java.util.Date getDate()
throws java.rmi.RemoteException
getDate in interface Ordnerjava.rmi.RemoteExceptionOrdner.getDate()public java.lang.String getFooter()
throws java.rmi.RemoteException
getFooter in interface Ordnerjava.rmi.RemoteExceptionOrdner.getFooter()public int getFooterAlignment()
throws java.rmi.RemoteException
getFooterAlignment in interface Ordnerjava.rmi.RemoteExceptionOrdner.getFooterAlignment()public org.eclipse.swt.graphics.Color getFooterColor()
throws java.rmi.RemoteException
getFooterColor in interface Ordnerjava.rmi.RemoteExceptionOrdner.getFooterColor()public org.eclipse.swt.graphics.Font getFooterFont()
throws java.rmi.RemoteException
getFooterFont in interface Ordnerjava.rmi.RemoteExceptionOrdner.getFooterFont()public de.willuhn.datasource.rmi.DBIterator<Register> getInhaltsverzeichniss() throws java.rmi.RemoteException
getInhaltsverzeichniss in interface Ordnerjava.rmi.RemoteExceptionOrdner.getInhaltsverzeichniss()public org.eclipse.swt.graphics.Color getLabelBackground()
throws java.rmi.RemoteException
getLabelBackground in interface Ordnerjava.rmi.RemoteExceptionOrdner.getLabelBackground()public java.lang.String getPrimaryAttribute()
throws java.rmi.RemoteException
getPrimaryAttribute in interface de.willuhn.datasource.GenericObjectgetPrimaryAttribute in interface de.willuhn.datasource.rmi.DBObjectgetPrimaryAttribute in class de.willuhn.datasource.db.AbstractDBObjectjava.rmi.RemoteExceptionAbstractDBObject.getPrimaryAttribute()public org.eclipse.swt.graphics.Color getRegisterContentBackground()
throws java.rmi.RemoteException
getRegisterContentBackground in interface Ordnerjava.rmi.RemoteExceptionOrdner.getRegisterContentBackground()public org.eclipse.swt.graphics.Color getRegisterContentColor()
throws java.rmi.RemoteException
getRegisterContentColor in interface Ordnerjava.rmi.RemoteExceptionOrdner.getRegisterContentColor()public org.eclipse.swt.graphics.Font getRegisterContentFont()
throws java.rmi.RemoteException
getRegisterContentFont in interface Ordnerjava.rmi.RemoteExceptionOrdner.getRegisterContentFont()public org.eclipse.swt.graphics.Color getRegisterIndexBackground()
throws java.rmi.RemoteException
getRegisterIndexBackground in interface Ordnerjava.rmi.RemoteExceptionOrdner.getRegisterIndexBackground()public org.eclipse.swt.graphics.Color getRegisterIndexColor()
throws java.rmi.RemoteException
getRegisterIndexColor in interface Ordnerjava.rmi.RemoteExceptionOrdner.getRegisterIndexColor()public org.eclipse.swt.graphics.Font getRegisterIndexFont()
throws java.rmi.RemoteException
getRegisterIndexFont in interface Ordnerjava.rmi.RemoteExceptionOrdner.getRegisterIndexFont()public java.lang.String getTitel()
throws java.rmi.RemoteException
getTitel in interface Ordnerjava.rmi.RemoteExceptionOrdner.getTitel()public int getTitelAlignment()
throws java.rmi.RemoteException
getTitelAlignment in interface Ordnerjava.rmi.RemoteExceptionOrdner.getTitelAlignment()public org.eclipse.swt.graphics.Color getTitelColor()
throws java.rmi.RemoteException
getTitelColor in interface Ordnerjava.rmi.RemoteExceptionOrdner.getTitelColor()public org.eclipse.swt.graphics.Font getTitelFont()
throws java.rmi.RemoteException
getTitelFont in interface Ordnerjava.rmi.RemoteExceptionOrdner.getTitelFont()public java.lang.Integer getWidth()
throws java.rmi.RemoteException
getWidth in interface Ordnerjava.rmi.RemoteExceptionOrdner.getWidth()public boolean isBarVisible()
throws java.rmi.RemoteException
isBarVisible in interface Ordnerjava.rmi.RemoteExceptionOrdner.isBarVisible()public boolean isIdVisible()
throws java.rmi.RemoteException
isIdVisible in interface Ordnerjava.rmi.RemoteExceptionOrdner.isIdVisible()public void loadDefaults()
throws java.rmi.RemoteException
OrdnerloadDefaults in interface Ordnerjava.rmi.RemoteExceptionOrdner.loadDefaults()public void setBarColor(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetBarColor in interface Ordnercolor - die Farbe der Linienjava.rmi.RemoteExceptionOrdner.setBarColor(org.eclipse.swt.graphics.Color)public void setBarVisible(boolean visible)
throws java.rmi.RemoteException
OrdnersetBarVisible in interface Ordnervisible - die Sichbarkeit der Linienjava.rmi.RemoteExceptionOrdner.setBarVisible(boolean)public void setContent(java.lang.String inhalt)
throws java.rmi.RemoteException
OrdnersetContent in interface Ordnerinhalt - den Text des Hauptfeldesjava.rmi.RemoteExceptionOrdner.setContent(java.lang.String)public void setContentAlignment(int alignment)
throws java.rmi.RemoteException
OrdnersetContentAlignment in interface Ordneralignment - die Ausrichtung den Hauptfeldesjava.rmi.RemoteExceptionOrdner.setContentAlignment(int)public void setContentColor(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetContentColor in interface Ordnercolor - die Textfarbe des Hauptfeldesjava.rmi.RemoteExceptionOrdner.setContentColor(org.eclipse.swt.graphics.Color)public void setContentFont(org.eclipse.swt.graphics.Font font)
throws java.rmi.RemoteException
OrdnersetContentFont in interface Ordnerfont - den Schrifttyp des Hauptfeldesjava.rmi.RemoteExceptionOrdner.setContentFont(org.eclipse.swt.graphics.Font)public void setDate(java.util.Date datum)
throws java.rmi.RemoteException
OrdnersetDate in interface Ordnerdatum - das zuletzt geändert Datumjava.rmi.RemoteExceptionOrdner.setDate(java.util.Date)public void setFooter(java.lang.String fussnote)
throws java.rmi.RemoteException
OrdnersetFooter in interface Ordnerfussnote - den Text des Fußbereichesjava.rmi.RemoteExceptionOrdner.setFooter(java.lang.String)public void setFooterAlignment(int alignment)
throws java.rmi.RemoteException
OrdnersetFooterAlignment in interface Ordneralignment - die Ausrichtung des Fußbereichesjava.rmi.RemoteExceptionOrdner.setFooterAlignment(int)public void setFooterColor(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetFooterColor in interface Ordnercolor - die Textfarbe des Fußbereichesjava.rmi.RemoteExceptionOrdner.setFooterColor(org.eclipse.swt.graphics.Color)public void setFooterFont(org.eclipse.swt.graphics.Font font)
throws java.rmi.RemoteException
OrdnersetFooterFont in interface Ordnerfont - den Schrifttyp des Fußbereichesjava.rmi.RemoteExceptionOrdner.setFooterFont(org.eclipse.swt.graphics.Font)public void setIdVisible(boolean visible)
throws java.rmi.RemoteException
OrdnersetIdVisible in interface Ordnervisible - die Sichbarkeit des ID-Feldesjava.rmi.RemoteExceptionOrdner.setIdVisible(boolean)public void setLabelBackground(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetLabelBackground in interface Ordnercolor - die Hintergrundfarbe des Labelsjava.rmi.RemoteExceptionOrdner.setLabelBackground(org.eclipse.swt.graphics.Color)public void setRegisterContentBackground(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetRegisterContentBackground in interface Ordnercolor - den Hintergrundfarbe der Registerbeschreibungsfelderjava.rmi.RemoteExceptionOrdner.setRegisterContentBackground(org.eclipse.swt.graphics.Color)public void setRegisterContentColor(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetRegisterContentColor in interface Ordnercolor - die Textfarbe der Registerbeschreibungsfelderjava.rmi.RemoteExceptionOrdner.setRegisterContentColor(org.eclipse.swt.graphics.Color)public void setRegisterContentFont(org.eclipse.swt.graphics.Font font)
throws java.rmi.RemoteException
OrdnersetRegisterContentFont in interface Ordnerfont - den Schrifttyp der Registerbeschreibungsfelderjava.rmi.RemoteExceptionOrdner.setRegisterContentFont(org.eclipse.swt.graphics.Font)public void setRegisterIndexBackground(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetRegisterIndexBackground in interface Ordnercolor - den Hintergrundfarbe der Registerindexfelderjava.rmi.RemoteExceptionOrdner.setRegisterIndexBackground(org.eclipse.swt.graphics.Color)public void setRegisterIndexColor(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetRegisterIndexColor in interface Ordnercolor - die Textfarbe der Registerindexfelderjava.rmi.RemoteExceptionOrdner.setRegisterIndexColor(org.eclipse.swt.graphics.Color)public void setRegisterIndexFont(org.eclipse.swt.graphics.Font font)
throws java.rmi.RemoteException
OrdnersetRegisterIndexFont in interface Ordnerfont - den Schrifttyp der Registerindexfelderjava.rmi.RemoteExceptionOrdner.setRegisterIndexFont(org.eclipse.swt.graphics.Font)public void setTitel(java.lang.String titel)
throws java.rmi.RemoteException
OrdnersetTitel in interface Ordnertitel - den Text des Titelfeldesjava.rmi.RemoteExceptionOrdner.setTitel(java.lang.String)public void setTitelAlignment(int alignment)
throws java.rmi.RemoteException
OrdnersetTitelAlignment in interface Ordneralignment - die Ausrichtung des Titelfeldesjava.rmi.RemoteExceptionOrdner.setTitelAlignment(int)public void setTitelColor(org.eclipse.swt.graphics.Color color)
throws java.rmi.RemoteException
OrdnersetTitelColor in interface Ordnercolor - die Textfarbe des Titelfeldesjava.rmi.RemoteExceptionOrdner.setTitelColor(org.eclipse.swt.graphics.Color)public void setTitelFont(org.eclipse.swt.graphics.Font font)
throws java.rmi.RemoteException
OrdnersetTitelFont in interface Ordnerfont - den Schrifttyp des Titelfeldesjava.rmi.RemoteExceptionOrdner.setTitelFont(org.eclipse.swt.graphics.Font)public void setWidth(java.lang.Integer width)
throws java.rmi.RemoteException
OrdnersetWidth in interface Ordnerwidth - die Breite des Labelsjava.rmi.RemoteExceptionOrdner.setWidth(java.lang.Integer)protected void deleteCheck()
throws de.willuhn.util.ApplicationException
deleteCheck in class de.willuhn.datasource.db.AbstractDBObjectde.willuhn.util.ApplicationExceptionAbstractDBObject.deleteCheck()protected java.lang.String getTableName()
getTableName in class de.willuhn.datasource.db.AbstractDBObjectAbstractDBObject.getTableName()protected void insertCheck()
throws de.willuhn.util.ApplicationException
insertCheck in class de.willuhn.datasource.db.AbstractDBObjectde.willuhn.util.ApplicationExceptionAbstractDBObject.insertCheck()protected void updateCheck()
throws de.willuhn.util.ApplicationException
updateCheck in class de.willuhn.datasource.db.AbstractDBObjectde.willuhn.util.ApplicationExceptionAbstractDBObject.updateCheck()