|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecte4s.util.E4Object
e4s.html.editing.E4EditingDataDescriptor
public class E4EditingDataDescriptor
Definitions about how data can be modified. Including e.g. default values, E4Method for editing, adding, deleting records.
If not defined differently, then the functions from module e4s.html.application.sysmodule.E4ModuleEditingHandling02 are used.
A detailed description can be found at E4EditingElement.
E4EditingElement,
AEP_EditingDataDescriptor_Intf,
e4s.html.editing.E4ModuleEditingHandling01,
e4s.html.editing.E4ModuleEditingHandling02| Nested Class Summary | |
|---|---|
static class |
E4EditingDataDescriptor.Descriptor
|
static class |
E4EditingDataDescriptor.e4sHashDescriptors
|
static class |
E4EditingDataDescriptor.SimpleFieldName
|
class |
E4EditingDataDescriptor.USERFUNCTION
|
| Field Summary | |
|---|---|
static char |
INP_STAT_DISPLAY_ONLY
Field is display only. |
static char |
INP_STAT_HIDE
Field is hidden. |
static char |
INP_STAT_NORMAL
Field is an input field (default). |
| Fields inherited from class e4s.util.E4Object |
|---|
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET |
| Constructor Summary | |
|---|---|
E4EditingDataDescriptor()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
_getSVNVersionString()
Get version info string from subversion. |
void |
collectTranslationsForEditing(E4TranslationsVec vec,
E4ServletImplementation_Intf servlet)
|
void |
defineIndexField(E4InputFieldName_Intf column)
|
void |
definePickupList(E4InputFieldName_Intf column,
E4MethodPickup mref)
|
void |
enableDuplicate()
Enable Duplication of Records. |
AEP_EditingDataDescriptor_Intf |
getAEP_EditingDataDescriptor()
Get the data-descriptor which describes behavior (not layout) of data. |
boolean |
getCheckReferencesOnDelete()
|
E4InputFieldName_Intf[] |
getColumns()
|
E4InputFieldName_Intf[] |
getColumnsHavingValueOnUpdate()
|
java.lang.String |
getE4JavaScript_Action_Forwarding()
|
char |
getInputStatOnInsert(E4InputFieldName_Intf column)
|
char |
getInputStatOnUpdate(E4InputFieldName_Intf column)
|
E4JavaScript |
getJsCancel()
|
E4JavaScript |
getJsSave()
|
long |
getMaxRecords()
Get the limitation for the number of records that can be inserted into the database table. |
E4Method |
getMethodAdd()
|
E4Method |
getMethodDelete()
|
E4Method |
getMethodDuplicate()
|
E4Method |
getMethodEdit()
|
E4MethodPickup |
getPickupList(E4InputFieldName_Intf column)
|
java.lang.String |
getRootPath(E4InputFieldName_Intf column)
|
boolean |
getUppercase(E4InputFieldName_Intf column)
|
java.util.Vector |
getUserDefMethods()
Get a Vector of user defined methods. |
AEP_ValidationObject_Intf |
getValidator(E4InputFieldName_Intf column)
Gets the validator for a specified input field. |
java.lang.Object |
getValueOnInsert(E4InputFieldName_Intf column)
|
java.lang.Object |
getValueOnUpdate(E4InputFieldName_Intf column)
|
boolean |
isIndexField(E4InputFieldName_Intf column)
|
void |
refreshRepository(E4Client client)
|
void |
removeClientObjectAfterEdit(java.lang.String id)
Defined an ID of a client object that will be removed after editing (delete, update or save). |
void |
removeClientObjects(E4ServletImplementation_Intf servlet)
This function is called internal in the editing sequence. |
void |
removeSessionObjectAfterEdit(java.lang.String id)
Defined an ID of a session object that will be removed after editing (delete, update or save). |
void |
removeSessionObjects(E4ServletImplementation_Intf servlet)
This function is called internal in the editing sequence. |
void |
setAEP_EditingDataDescriptor(AEP_EditingDataDescriptor_Intf aep)
Set the data-descriptor which describes behavior (not layout) of data. |
void |
setCheckReferencesOnDelete(boolean mode)
|
void |
setE4JavaScript_Action_Forwarding(java.lang.String scriptname)
Java Script method for forwarding the action url to a frame - do not use this function unless you want to replace E4ModuleEditingHandling01. |
void |
setE4SRootPath(E4InputFieldName_Intf column,
java.lang.String path)
Set's the root path for images for the specified column. |
void |
setInputStat_add(E4InputFieldName_Intf column,
char stat_add)
Deprecated. Use setInputStatOnInsert(E4InputFieldName_Intf,char) instead |
void |
setInputStat_edit(E4InputFieldName_Intf column,
char stat_edit)
Deprecated. Use setInputStatOnUpdate(E4InputFieldName_Intf,char) instead |
void |
setInputStat(E4InputFieldName_Intf column,
char stat_both)
Set the input state of a column while inserting a new record or editing an existing record. |
void |
setInputStat(E4InputFieldName_Intf column,
char stat_add,
char stat_edit)
Set the input state of a column individually for inserting a new record or editing an existing record. |
void |
setInputStatOnInsert(E4InputFieldName_Intf column,
char stat_add)
Set the input state of a column while inserting a new record. |
void |
setInputStatOnUpdate(E4InputFieldName_Intf column,
char stat_edit)
Set the input state of a column while updateing an existing record. |
void |
setJsCancel(E4JavaScript js)
|
void |
setJsSave(E4JavaScript js)
|
void |
setMaxRecords(long max_records)
Limit the number of records that can be inserted into the database table. |
void |
setMethodAdd(E4Method mref)
|
void |
setMethodDelete(E4Method mref)
|
void |
setMethodDuplicate(E4Method mref)
Set a method for duplication of records. |
void |
setMethodEdit(E4Method mref)
|
void |
setReloadRepository(E4DBTableName tablename)
|
void |
setRootPath(java.lang.String path)
Set's the general root path for images for the specified column. |
void |
setToUppercase(E4InputFieldName_Intf column)
|
void |
setUserDefMethod(E4Method mref,
AEP_UserDefFunction_Intf aep)
|
void |
setUserDefMethod(E4Method mref,
IMG img,
AEP_UserDefFunction_Intf aep)
Define a user defined method, which will apear as a small image in the E4SortedList
element. |
void |
setUserDefMethod(E4Method mref,
IMG img,
E4Label_Intf alt)
Define a user defined method, which will apear as a small image in the E4SortedList
element. |
void |
setUserDefMethod(E4Method mref,
IMG img,
java.lang.String alt)
Define a user defined method, which will apear as a small image in the E4SortedList
element. |
void |
setValidator(E4InputFieldName_Intf column,
AEP_ValidationObject_Intf validationObj)
Sets the validator for a specified input field. |
void |
setValueOnInsert(E4InputFieldName_Intf column,
boolean value)
|
void |
setValueOnInsert(E4InputFieldName_Intf column,
java.util.Date value)
|
void |
setValueOnInsert(E4InputFieldName_Intf column,
E4Long value)
|
void |
setValueOnInsert(E4InputFieldName_Intf column,
E4String value)
|
void |
setValueOnInsert(E4InputFieldName_Intf column,
float value)
|
void |
setValueOnInsert(E4InputFieldName_Intf column,
long value)
|
void |
setValueOnInsert(E4InputFieldName_Intf column,
java.lang.String value)
|
void |
setValueOnUpdate(E4InputFieldName_Intf column,
boolean value)
|
void |
setValueOnUpdate(E4InputFieldName_Intf column,
java.util.Date value)
|
void |
setValueOnUpdate(E4InputFieldName_Intf column,
E4Long value)
|
void |
setValueOnUpdate(E4InputFieldName_Intf column,
E4String value)
|
void |
setValueOnUpdate(E4InputFieldName_Intf column,
float value)
|
void |
setValueOnUpdate(E4InputFieldName_Intf column,
long value)
|
void |
setValueOnUpdate(E4InputFieldName_Intf column,
java.lang.String value)
|
java.lang.String |
toString()
|
| Methods inherited from class e4s.util.E4Object |
|---|
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final char INP_STAT_NORMAL
setInputStat(e4s.html.input.extended.E4InputFieldName_Intf, char),
INP_STAT_DISPLAY_ONLY,
INP_STAT_HIDE,
Constant Field Valuespublic static final char INP_STAT_DISPLAY_ONLY
setInputStat(e4s.html.input.extended.E4InputFieldName_Intf, char),
INP_STAT_NORMAL,
INP_STAT_HIDE,
Constant Field Valuespublic static final char INP_STAT_HIDE
setInputStat(e4s.html.input.extended.E4InputFieldName_Intf, char),
INP_STAT_DISPLAY_ONLY,
INP_STAT_NORMAL,
Constant Field Values| Constructor Detail |
|---|
public E4EditingDataDescriptor()
| Method Detail |
|---|
public java.lang.String getE4JavaScript_Action_Forwarding()
public void setE4JavaScript_Action_Forwarding(java.lang.String scriptname)
E4ModuleEditingHandling01.
getE4JavaScript_Action_Forwarding(),
E4ModuleEditingHandling01.JS_NAME_DO_ACTION
public void definePickupList(E4InputFieldName_Intf column,
E4MethodPickup mref)
public E4MethodPickup getPickupList(E4InputFieldName_Intf column)
public void setValueOnInsert(E4InputFieldName_Intf column,
java.lang.String value)
public void setValueOnInsert(E4InputFieldName_Intf column,
E4String value)
public void setValueOnInsert(E4InputFieldName_Intf column,
long value)
public void setValueOnInsert(E4InputFieldName_Intf column,
float value)
public void setValueOnInsert(E4InputFieldName_Intf column,
E4Long value)
public void setValueOnInsert(E4InputFieldName_Intf column,
boolean value)
public void setValueOnInsert(E4InputFieldName_Intf column,
java.util.Date value)
public void setValueOnUpdate(E4InputFieldName_Intf column,
java.lang.String value)
public void setValueOnUpdate(E4InputFieldName_Intf column,
E4String value)
public void setValueOnUpdate(E4InputFieldName_Intf column,
long value)
public void setValueOnUpdate(E4InputFieldName_Intf column,
float value)
public void setValueOnUpdate(E4InputFieldName_Intf column,
E4Long value)
public void setValueOnUpdate(E4InputFieldName_Intf column,
boolean value)
public void setValueOnUpdate(E4InputFieldName_Intf column,
java.util.Date value)
public java.lang.Object getValueOnInsert(E4InputFieldName_Intf column)
public java.lang.Object getValueOnUpdate(E4InputFieldName_Intf column)
public void defineIndexField(E4InputFieldName_Intf column)
public boolean isIndexField(E4InputFieldName_Intf column)
public void setToUppercase(E4InputFieldName_Intf column)
public boolean getUppercase(E4InputFieldName_Intf column)
public void setInputStat(E4InputFieldName_Intf column,
char stat_both)
column - the columnstat_both - one of INP_STAT_DISPLAY_ONLY, INP_STAT_HIDE or INP_STAT_NORMALsetInputStatOnUpdate(e4s.html.input.extended.E4InputFieldName_Intf, char),
setInputStatOnInsert(e4s.html.input.extended.E4InputFieldName_Intf, char)
public void setInputStat(E4InputFieldName_Intf column,
char stat_add,
char stat_edit)
column - the columnstat_add - status for insert, one of INP_STAT_DISPLAY_ONLY, INP_STAT_HIDE or INP_STAT_NORMALstat_edit - status for editing, one of INP_STAT_DISPLAY_ONLY, INP_STAT_HIDE or INP_STAT_NORMALsetInputStat(e4s.html.input.extended.E4InputFieldName_Intf, char),
setInputStatOnUpdate(e4s.html.input.extended.E4InputFieldName_Intf, char),
setInputStatOnInsert(e4s.html.input.extended.E4InputFieldName_Intf, char)
public void setInputStat_add(E4InputFieldName_Intf column,
char stat_add)
setInputStatOnInsert(E4InputFieldName_Intf,char) instead
public void setInputStatOnInsert(E4InputFieldName_Intf column,
char stat_add)
column - the columnstat_add - one of INP_STAT_DISPLAY_ONLY, INP_STAT_HIDE or INP_STAT_NORMALsetInputStatOnUpdate(e4s.html.input.extended.E4InputFieldName_Intf, char),
setInputStat(e4s.html.input.extended.E4InputFieldName_Intf, char)
public void setInputStat_edit(E4InputFieldName_Intf column,
char stat_edit)
setInputStatOnUpdate(E4InputFieldName_Intf,char) instead
public void setInputStatOnUpdate(E4InputFieldName_Intf column,
char stat_edit)
column - the columnstat_add - one of INP_STAT_DISPLAY_ONLY, INP_STAT_HIDE or INP_STAT_NORMALsetInputStatOnInsert(e4s.html.input.extended.E4InputFieldName_Intf, char),
setInputStat(e4s.html.input.extended.E4InputFieldName_Intf, char)public char getInputStatOnInsert(E4InputFieldName_Intf column)
public char getInputStatOnUpdate(E4InputFieldName_Intf column)
public void setValidator(E4InputFieldName_Intf column,
AEP_ValidationObject_Intf validationObj)
column - the input fieldvalidationObj - the validatorgetValidator(e4s.html.input.extended.E4InputFieldName_Intf),
E4InputField_Intf.setValidator(e4s.html.input.extended.AEP_ValidationObject_Intf)public AEP_ValidationObject_Intf getValidator(E4InputFieldName_Intf column)
column - the input field
setValidator(e4s.html.input.extended.E4InputFieldName_Intf, e4s.html.input.extended.AEP_ValidationObject_Intf)
public void setE4SRootPath(E4InputFieldName_Intf column,
java.lang.String path)
column - the associated columnpath - the path for this columnIMAGEFIELD,
#getRootPath()public void setRootPath(java.lang.String path)
column - the associated columnpath - the path for this columnIMAGEFIELD,
#getRootPath()public java.lang.String getRootPath(E4InputFieldName_Intf column)
public void setMethodEdit(E4Method mref)
public void setMethodDuplicate(E4Method mref)
E4Images.duplicate_1
will be displayed. When the user clicks on that image,
Same functionality as calling {@link #setMethodDuplicate(e4s.application.sysmodule.editing.E4ModuleEditingHandling02#duplicateRecord).
enableDuplicate(),
AEP_EditingDataDescriptor_Intf.afterDuplicate(e4s.html.BODY, e4s.html.input.extended.HIDDENFIELD[], e4s.html.input.extended.E4Fieldset, e4s.db.E4DBConnection_Intf),
AEP_EditingDataDescriptor_Intf.beforeDuplicate(e4s.html.input.extended.E4Fieldset),
AEP_EditingDataDescriptor_Intf.canDuplicate(e4s.db.E4DBSelect_Intf),
E4ModuleEditingHandling02.duplicateRecord,
E4Images.duplicate_1,
getMethodDuplicate(),
AEP_EditingDataDescriptor_Intf.MODE_DUPLICATE,
setMethodDelete(e4s.html.E4Method),
setMethodEdit(e4s.html.E4Method)public void enableDuplicate()
E4Images.duplicate_1
will be displayed. When the user clicks on that image,
Same functionality as calling {@link #setMethodDuplicate(e4s.application.sysmodule.editing.E4ModuleEditingHandling02#duplicateRecord).
setMethodDuplicate(e4s.html.E4Method),
AEP_EditingDataDescriptor_Intf.afterDuplicate(e4s.html.BODY, e4s.html.input.extended.HIDDENFIELD[], e4s.html.input.extended.E4Fieldset, e4s.db.E4DBConnection_Intf),
AEP_EditingDataDescriptor_Intf.beforeDuplicate(e4s.html.input.extended.E4Fieldset),
AEP_EditingDataDescriptor_Intf.canDuplicate(e4s.db.E4DBSelect_Intf),
E4ModuleEditingHandling02.duplicateRecord,
E4Images.duplicate_1,
getMethodDuplicate(),
AEP_EditingDataDescriptor_Intf.MODE_DUPLICATEpublic void setMethodDelete(E4Method mref)
public void setMethodAdd(E4Method mref)
public void setJsSave(E4JavaScript js)
public void setJsCancel(E4JavaScript js)
public E4Method getMethodAdd()
public E4JavaScript getJsSave()
public E4JavaScript getJsCancel()
public E4Method getMethodEdit()
public E4Method getMethodDuplicate()
public E4Method getMethodDelete()
public AEP_EditingDataDescriptor_Intf getAEP_EditingDataDescriptor()
setAEP_EditingDataDescriptor(e4s.html.editing.AEP_EditingDataDescriptor_Intf)public void setAEP_EditingDataDescriptor(AEP_EditingDataDescriptor_Intf aep)
aep - the data descriptor to be associated with this editing framesetgetAEP_EditingDataDescriptor()public long getMaxRecords()
setMaxRecords(long)public void setMaxRecords(long max_records)
setMethodAdd(e4s.html.E4Method) using null as parameter.
max_records - a value of -1 indicates that there is no limit, which is also the defaultgetMaxRecords(),
setMethodAdd(e4s.html.E4Method)public void setCheckReferencesOnDelete(boolean mode)
public boolean getCheckReferencesOnDelete()
public E4InputFieldName_Intf[] getColumns()
public E4InputFieldName_Intf[] getColumnsHavingValueOnUpdate()
public java.lang.String toString()
toString in class E4Object
public void setUserDefMethod(E4Method mref,
IMG img,
java.lang.String alt)
throws java.lang.Exception
E4SortedList
element. There might be more than one functions additionally.
mref - the function to be executedimg - the image to be displayed (choose a small image)alt - any alternate text for the image which is combined and visible together
with some parameters
java.lang.ExceptiongetUserDefMethods(),
E4EditingElement.JS_NAME_USERDEF
public void setUserDefMethod(E4Method mref,
IMG img,
E4Label_Intf alt)
throws java.lang.Exception
E4SortedList
element. There might be more than one functions additionally.
mref - the function to be executedimg - the image to be displayed (choose a small image)alt - any alternate text for the image which is combined and visible together
with some parameters
java.lang.ExceptiongetUserDefMethods(),
E4EditingElement.JS_NAME_USERDEF
public void setUserDefMethod(E4Method mref,
IMG img,
AEP_UserDefFunction_Intf aep)
throws java.lang.Exception
E4SortedList
element. There might be more than one functions additionally. This is the more sophisticated form
which defines an AEP that can handle special functionality based on the record retrieving.
mref - the function to be executedimg - the image to be displayed (choose a small image)aep - an application-exit-point object
java.lang.ExceptiongetUserDefMethods(),
setUserDefMethod(e4s.html.E4Method,e4s.html.IMG,e4s.translate.E4Label_Intf),
E4EditingElement.JS_NAME_USERDEF
public void setUserDefMethod(E4Method mref,
AEP_UserDefFunction_Intf aep)
throws java.lang.Exception
java.lang.Exceptionpublic java.util.Vector getUserDefMethods()
#setUserDefMethods(),
E4EditingElement.JS_NAME_USERDEF
public void collectTranslationsForEditing(E4TranslationsVec vec,
E4ServletImplementation_Intf servlet)
public void removeClientObjectAfterEdit(java.lang.String id)
id - the id of the client objectE4ServletImplementation_Intf.removeClientObject(java.lang.String),
#removeClientObjects(e4s.servlet.E4ServletImplementation_Intf)),
removeSessionObjectAfterEdit(String)public void removeClientObjects(E4ServletImplementation_Intf servlet)
removeClientObjectAfterEdit(String).
servlet - removeClientObjectAfterEdit(String)public void removeSessionObjectAfterEdit(java.lang.String id)
id - the id of the client objectE4ServletImplementation_Intf.removeSessionObject(java.lang.String),
#removeSessionObjects(e4s.servlet.E4ServletImplementation_Intf)),
removeClientObjectAfterEdit(String)public void removeSessionObjects(E4ServletImplementation_Intf servlet)
removeSessionObjectAfterEdit(String).
servlet - removeSessionObjectAfterEdit(String)public void setReloadRepository(E4DBTableName tablename)
public void refreshRepository(E4Client client)
public static java.lang.String _getSVNVersionString()
E4Util.getRevisionCodeFromSVN(Class)
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||