public interface BasicClientContextI extends java.io.Serializable, TransactionProviderI, BasicDialogI, StrukturParameterDefaultApplierI, AutomatikStrukturLoaderI
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
$0 |
CANCELED, CONFIRMED, DENIED, TYPE_ERROR, TYPE_INFO, TYPE_PLAIN, TYPE_QUESTION, TYPE_WARNING
Modifier and Type | Method and Description |
---|---|
byte[] |
getBLOB(java.lang.Long id) |
byte[] |
getBLOB(java.lang.Long id,
java.lang.String suffix) |
BO |
getBO(java.lang.Long id,
java.lang.Class classtip) |
BOLoaderI |
getBOLoader() |
Benutzer |
getCurrentUser() |
java.awt.Component |
getDialogParent() |
DBManEventProviderI |
getEventProvider() |
java.lang.Object |
getGlobalVar(java.lang.String name) |
java.util.HashMap |
getGlobalVars() |
byte[] |
getLocalFile(java.io.File infile) |
java.lang.String |
getProjectPackage()
Returns the project package of the current project.
|
SchemaI |
getSchema() |
BeanShellScript |
getScript() |
boolean |
isServerAuthoritativeSyncServer() |
void |
putLocalFile(java.io.File outfile,
byte[] data) |
void |
putLocalFile(java.io.File outfile,
java.io.InputStream is) |
java.util.List |
queryBO(java.lang.String s) |
java.util.List |
queryBO(java.lang.String s,
java.lang.Object[] os) |
void |
setGlobalVar(java.lang.String name,
java.lang.Object value) |
void |
setScript(BeanShellScript b) |
default java.lang.Object |
showListChoiceDialog(java.lang.String title,
java.lang.Object[] options)
Shows a dialog window that allows the user to select a single option from the provided options.
|
default java.lang.Object |
showListChoiceDialog(java.lang.String title,
java.lang.Object[] options,
int defaultIndex)
Shows a dialog window that allows the user to select a single option from the provided options.
|
default java.lang.Object |
showListChoiceDialog(java.lang.String title,
java.lang.Object[] options,
int defaultIndex,
java.lang.String cboFormat)
Shows a dialog window that allows the user to select a single option from the provided options.
|
java.lang.Object |
showListChoiceDialog(java.lang.String title,
java.lang.Object[] options,
int defaultIndex,
java.lang.String cboFormat,
boolean multiple)
Shows a dialog window that allows the user to select one or more from the provided options.
|
default java.lang.Object |
showListChoiceDialog(java.lang.String title,
java.lang.Object[] options,
java.lang.Object defaultChoice)
Shows a dialog window that allows the user to select a single option from the provided options.
|
default java.lang.Object |
showListChoiceDialog(java.lang.String title,
java.lang.Object[] options,
java.lang.Object defaultChoice,
java.lang.String cboFormat)
Shows a dialog window that allows the user to select a single option from the provided options.
|
java.lang.Object |
showListChoiceDialog(java.lang.String title,
java.lang.Object[] options,
java.lang.Object defaultChoice,
java.lang.String cboFormat,
boolean multiple)
Shows a dialog window that allows the user to select one or more from the provided options.
|
default java.lang.Object[] |
showMultiListChoiceDialog(java.lang.String title,
java.lang.Object[] options)
Shows a dialog window that allows the user to select one or more from the provided options.
|
default java.lang.Object[] |
showMultiListChoiceDialog(java.lang.String title,
java.lang.Object[] options,
java.lang.Object[] defaultChoices)
Shows a dialog window that allows the user to select one or more from the provided options.
|
java.lang.Object[] |
showMultiListChoiceDialog(java.lang.String title,
java.lang.Object[] options,
java.lang.Object[] defaultChoices,
java.lang.String cboFormat)
Shows a dialog window that allows the user to select one or more from the provided options.
|
saveBO, saveBO, saveWithRetries, saveWithRetries
getNewTransaction, getNewTransaction, getNewTransaction, getNewTransaction, getNewTransactionWithInstrumentedSchema, getNewTransactionWithInstrumentedSchema, getNewTransactionWithInstrumentedSchema, getNewTransactionWithInstrumentedSchema
showBigDecimalInputDialog, showBigDecimalInputDialog, showBigDecimalInputDialog, showBigDecimalInputDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showDateInputDialog, showDateInputDialog, showDateInputDialog, showDateInputDialog, showDateInputDialog, showError, showError, showError, showError, showError, showError, showError, showError, showException, showException, showException, showFileChooser, showFileChooser, showFileChooser, showFileChooser, showFileChooser, showFileChooser, showFileChooser, showFilesChooser, showFilesChooser, showFilesChooser, showFilesChooser, showFilesChooser, showIntegerInputDialog, showIntegerInputDialog, showIntegerInputDialog, showIntegerInputDialog, showLongInputDialog, showLongInputDialog, showLongInputDialog, showLongInputDialog, showMessageDialog, showMessageDialog, showMessageDialog, showMessageDialogNonModal, showMessageDialogNonModal, showMessageDialogNonModal, showMultipleChoiceDialog, showMultipleChoiceDialog, showPasswordInputDialog, showPasswordInputDialog, showStringInputDialog, showStringInputDialog, showStringInputDialog, showStringInputDialog, showStringInputDialog, showTimespanInputDialog, showTimespanInputDialog, showTimespanInputDialog, showTimespanInputDialog, showTimespanInputDialog, showTimespanInputDialog, showTimespanInputDialog, showUserLoginDialog, showUserLoginDialog, showYesNoDialog
applyDefaults
getAutomatikStrukturForPath, getAutomatikStrukturForPath, getAutomatikStrukturForPath, getAutomatikStrukturForPath
static final java.lang.String $0
java.lang.String getProjectPackage()
Benutzer getCurrentUser()
java.util.HashMap getGlobalVars()
void setGlobalVar(java.lang.String name, java.lang.Object value)
java.lang.Object getGlobalVar(java.lang.String name)
SchemaI getSchema()
BeanShellScript getScript()
void setScript(BeanShellScript b)
BOLoaderI getBOLoader()
boolean isServerAuthoritativeSyncServer()
java.util.List queryBO(java.lang.String s, java.lang.Object[] os)
java.util.List queryBO(java.lang.String s)
BO getBO(java.lang.Long id, java.lang.Class classtip)
byte[] getBLOB(java.lang.Long id, java.lang.String suffix)
byte[] getBLOB(java.lang.Long id)
byte[] getLocalFile(java.io.File infile)
void putLocalFile(java.io.File outfile, byte[] data)
void putLocalFile(java.io.File outfile, java.io.InputStream is)
DBManEventProviderI getEventProvider()
java.awt.Component getDialogParent()
java.lang.Object showListChoiceDialog(java.lang.String title, java.lang.Object[] options, java.lang.Object defaultChoice, java.lang.String cboFormat, boolean multiple)
title
- The title of the dialog window, should describe the context of the provided options.options
- A non-empty array of options. Elements of type BO will be formatted with the given
cboFormat
or their default format. Other elements will use their default
toString
representation.defaultChoice
- The object to select by default. If not null, then it needs to be contained in the
given options
.cboFormat
- An optional explicit formatting string to use for Business Objects (BOs). If null,
the default formatting for BOs will be used.multiple
- If true
, then the user is allowed to select multiple options. If false
,
only a single option can be selected.null
if either nothing was selected or the user cancelled the dialog.DialogTools.showListChoiceDialog(String, Object[], int, java.awt.Component, boolean, boolean)
default java.lang.Object showListChoiceDialog(java.lang.String title, java.lang.Object[] options, java.lang.Object defaultChoice, java.lang.String cboFormat)
title
- The title of the dialog window, should describe the context of the provided options.options
- A non-empty array of options. Elements of type BO will be formatted with the given
cboFormat
or their default format. Other elements will use their default
toString
representation.defaultChoice
- The object to select by default. If not null, then it needs to be contained in the
given options
.cboFormat
- An optional explicit formatting string to use for Business Objects (BOs). If null,
the default formatting for BOs will be used.null
if either nothing was selected or the user cancelled
the dialog.DialogTools.showListChoiceDialog(String, Object[], int, java.awt.Component, boolean, boolean)
default java.lang.Object showListChoiceDialog(java.lang.String title, java.lang.Object[] options, java.lang.Object defaultChoice)
showListChoiceDialog
in interface BasicDialogI
title
- The title of the dialog window, should describe the context of the provided options.options
- A non-empty array of options. Elements of type BO will be formatted with their default
format. Other elements will use their default toString
representation.defaultChoice
- The object to select by default. If not null, then it needs to be contained in the
given options
.null
if either nothing was selected or the user cancelled
the dialog.DialogTools.showListChoiceDialog(String, Object[], int, java.awt.Component, boolean, boolean)
java.lang.Object[] showMultiListChoiceDialog(java.lang.String title, java.lang.Object[] options, java.lang.Object[] defaultChoices, java.lang.String cboFormat)
title
- The title of the dialog window, should describe the context of the provided options.options
- A non-empty array of options. Elements of type BO will be formatted with the given
cboFormat
or their default format. Other elements will use their default
toString
representation.defaultChoices
- An array of objects to select by default. If not null, then they need to be contained
in the given options
. For single selection dialogs, only the first element
of this array (if any) will be used.cboFormat
- An optional explicit formatting string to use for Business Objects (BOs). If null,
the default formatting for BOs will be used.null
if either nothing was selected or the user cancelled
the dialog.DialogTools.showListChoiceDialog(String, Object[], int, java.awt.Component, boolean, boolean)
default java.lang.Object[] showMultiListChoiceDialog(java.lang.String title, java.lang.Object[] options, java.lang.Object[] defaultChoices)
title
- The title of the dialog window, should describe the context of the provided options.options
- A non-empty array of options. Elements of type BO will be formatted with their default
format. Other elements will use their default toString
representation.defaultChoices
- An array of objects to select by default. If not null, then they need to be contained
in the given options
. For single selection dialogs, only the first element
of this array (if any) will be used.null
if either nothing was selected or the user cancelled
the dialog.DialogTools.showListChoiceDialog(String, Object[], int, java.awt.Component, boolean, boolean)
default java.lang.Object[] showMultiListChoiceDialog(java.lang.String title, java.lang.Object[] options)
title
- The title of the dialog window, should describe the context of the provided options.options
- A non-empty array of options. Elements of type BO will be formatted with their default
format. Other elements will use their default toString
representation.null
if either nothing was selected or the user cancelled
the dialog.DialogTools.showListChoiceDialog(String, Object[], int, java.awt.Component, boolean, boolean)
java.lang.Object showListChoiceDialog(java.lang.String title, java.lang.Object[] options, int defaultIndex, java.lang.String cboFormat, boolean multiple)
title
- The title of the dialog window, should describe the context of the provided options.options
- A non-empty array of options. Elements of type BO will be formatted with the given
cboFormat
or their default format. Other elements will use their default
toString
representation.defaultIndex
- The index of the object to be selected by default within the options
array.
Use -1 if no default selection is needed.cboFormat
- An optional explicit formatting string to use for Business Objects (BOs). If null,
the default formatting for BOs will be used.multiple
- If true
, then the user is allowed to select multiple options. If false
,
only a single option can be selected.null
if either nothing was selected or the user cancelled the dialog.DialogTools.showListChoiceDialog(String, Object[], int, java.awt.Component, boolean, boolean)
default java.lang.Object showListChoiceDialog(java.lang.String title, java.lang.Object[] options, int defaultIndex, java.lang.String cboFormat)
title
- The title of the dialog window, should describe the context of the provided options.options
- A non-empty array of options. Elements of type BO will be formatted with the given
cboFormat
or their default format. Other elements will use their default
toString
representation.defaultIndex
- The index of the object to be selected by default within the options
array.
Use -1 if no default selection is needed.cboFormat
- An optional explicit formatting string to use for Business Objects (BOs). If null,
the default formatting for BOs will be used.null
if either nothing was selected or the user cancelled
the dialog.(multiple=false)
default java.lang.Object showListChoiceDialog(java.lang.String title, java.lang.Object[] options, int defaultIndex)
showListChoiceDialog
in interface BasicDialogI
title
- The title of the dialog window, should describe the context of the provided options.options
- A non-empty array of options. Elements of type BO will be formatted with their default
format. Other elements will use their default toString
representation.defaultIndex
- The index of the object to be selected by default within the options
array.
Use -1 if no default selection is needed.null
if either nothing was selected or the user cancelled
the dialog.(multiple=false)
default java.lang.Object showListChoiceDialog(java.lang.String title, java.lang.Object[] options)
showListChoiceDialog
in interface BasicDialogI
title
- The title of the dialog window, should describe the context of the provided options.options
- A non-empty array of options. Elements of type BO will be formatted with their default
format. Other elements will use their default toString
representation.null
if either nothing was selected or the user cancelled
the dialog.(multiple=false)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.