com.tekann.codegen.pda
Interface ITableForm

All Superinterfaces:
IForm, Internacionalizable
All Known Subinterfaces:
IEditForm, ILoginForm, IStepForm, IViewForm

public interface ITableForm
extends IForm

Interface represents a form based on a table.

Author:
Evandro Rathke

Method Summary
 java.lang.Object displayFK(java.lang.String tableName, java.lang.String columnName, IDTO dto)
          Defines how a foreign key will be showed.
 void showDatabaseMessage(int messageCode, java.lang.String title, java.lang.String message)
          Method to show messages for database operations.
 
Methods inherited from interface com.tekann.codegen.pda.IForm
getFont, getMenuBar, getTitle, loadForm, loadMenuBar, onSwap, setTitle, showMessage
 
Methods inherited from interface com.tekann.i18n.Internacionalizable
getID, getResourceDir, getResourcePrefix
 

Method Detail

displayFK

java.lang.Object displayFK(java.lang.String tableName,
                           java.lang.String columnName,
                           IDTO dto)
Defines how a foreign key will be showed.

Parameters:
tableName -
columnName - FK column name.
dto - In order to create the where.
Returns:
An Object

showDatabaseMessage

void showDatabaseMessage(int messageCode,
                         java.lang.String title,
                         java.lang.String message)
Method to show messages for database operations.

Parameters:
messageCode - Code of a message.
title - The title text.
message - Message text.