LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.app.behaviorinterface
Interface LyImportTableBehaviorInterface

All Superinterfaces:
LyActionBehaviorInterface, LyBehaviorInterface, LyPanelBehaviorInterface, LyTableBehaviorInterface
All Known Implementing Classes:
LyImportTableBehavior

public interface LyImportTableBehaviorInterface
extends LyTableBehaviorInterface

This interface defines the methods to implement in order to modify the behavior of an import table action.

See Also:
LyImportTableController

Field Summary
static java.lang.String __VERSION
          File version
 
Method Summary
 java.lang.String checkFields(LyImportTableController controller, LyObjectList objects)
          Checks if the import can be done with the given list of selected fields.
 java.lang.String getErrorLinesMessage(LyImportTableController controller, java.util.BitSet errorLines)
          Returns the message to be displayed when some lines of the import file contain errors.
 
Methods inherited from interface leon.app.behaviorinterface.LyTableBehaviorInterface
buildRowItem, completeRow, dragFinished, dragStart, drop, enableGroupBy, getCellLabel, getCellLabel, getChooseColumnsFieldInfos, getColumnWidth, getContent, getDefaultCriterion, getDependsFieldInfos, getDisplayListFirstImage, getFields, getFooterLabel, getGroupColor, getGroupLabel, getHeaderLabel, getHeaderTooltip, getIndex, getLabel, getLoadedFieldInfos, getRowColor, getRowImage, getStatusImage, getStatusTooltip, selectionChanged, updateCell, updateRowItem, validateSort
 
Methods inherited from interface leon.app.behaviorinterface.LyPanelBehaviorInterface
completePopupMenu, getPopupMenuActions, needRefresh, validateFilter
 
Methods inherited from interface leon.app.behaviorinterface.LyActionBehaviorInterface
endAction, getClientContext, getContextTitle, getHelpFile, getImage, getImageTooltip, getKeyValue, getMenuItemImage, getTitle, reset, startAction
 
Methods inherited from interface leon.app.behaviorinterface.LyBehaviorInterface
free, handleDemand, init
 

Field Detail

__VERSION

static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Method Detail

checkFields

java.lang.String checkFields(LyImportTableController controller,
                             LyObjectList objects)
Checks if the import can be done with the given list of selected fields.

Parameters:
controller - the current import table controller
objects - the list of objects we want to check
Returns:
an error message if fields are not OK, null if everything is fine

getErrorLinesMessage

java.lang.String getErrorLinesMessage(LyImportTableController controller,
                                      java.util.BitSet errorLines)
Returns the message to be displayed when some lines of the import file contain errors.

Parameters:
controller - the current import table controller
errorLines - a bitset with the indexes of lines containing errors.
Returns:
the message to be displayed

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com