| java.lang.Object com.teamkonzept.field.TKBaseField com.teamkonzept.field.TKFragmentField
TKFragmentField | public class TKFragmentField extends TKBaseField (Code) | | The fragment field control.
author: $Author: uli $ version: $Revision: 1.27 $ |
Method Summary | |
public void | checkField(String thisShowName, String thisName) | public Object | compileData(String prefix, TKHashtable data, TKHashtable context) Interne Repraesentation der realen Daten des naechsten Feldes. | public Object | compileData(String prefix, TKMarkupNode data, TKHashtable context) | public boolean | equals(Object object) Checks wether this object and the specified object
may be treated as equal.
Parameters: object - the object to checked for equality. | public void | fillIntoDOM(Document doc, Element node, Object data) | public void | fillIntoPresentation(TKHTMLTemplate t, Object data, String scope) | public void | fillIntoTemplate(TKHTMLTemplate t, Object data, String prefix) | public Object | getDataFromDB(TKContentDBData db) | public TKFieldGroup | getDefGroup(TKFieldSwitch allSwitch, TKFieldSwitchList allSwitchList) Methode zur Definition eines Fragmenfeldes
Die Struktur eines Fragmen-Feldes besteht aus einer Gruppe von zwei Inputfeldern, mit
denen Name und Beschreibung festgelegt werden und eines Selectfeldes, welches die
aus der DB eingelesenen Forms beinhaltet. | public Object | getDefault() Es existiert keine interne Representation fuer ein Fragment. | public TKBaseField | getTarget(String fieldPath, String prefix) | public int | hashCode() Returns the hash code for this object. | public void | init(String fieldType, Object initData) | final public void | initFragmentField(String type, String name, String showName, int selectedFormId) | public void | initFromDB(String classId, TKFormDBData db, TKVector otherFields) | public int | insertDataIntoDB(TKContentDBData db, Object data, int contentId, int leftNr) | public Object | modify(String action, String fieldPath, Object data, String prefix, StringBuffer destination) | public int | realInsertIntoDB(TKFormDBData db, int formId) | public Object | toData() Die ausgewaehlte Form in der Struktur wird in einem Hash gespeichert. |
fragmentName | protected String fragmentName(Code) | | The name of the fragment.
|
fragmentShowName | protected String fragmentShowName(Code) | | The description of the fragment.
|
selectedFormId | int selectedFormId(Code) | | |
TKFragmentField | public TKFragmentField()(Code) | | Konstruktor 1
|
TKFragmentField | public TKFragmentField(String name)(Code) | | Konstruktor 2
Parameters: String - Name, ein beliebiger Name |
TKFragmentField | public TKFragmentField(String name, String showName)(Code) | | Konstruktor 3
Parameters: String - Name, ein beliebiger Name Parameters: String - showName, Name, den der Benuzer fuer das Feld gewaehlt hat |
TKFragmentField | public TKFragmentField(String name, String showName, int selectedFormId)(Code) | | Konstruktor 4
|
compileData | public Object compileData(String prefix, TKHashtable data, TKHashtable context)(Code) | | Interne Repraesentation der realen Daten des naechsten Feldes.
prefix, der prefix data, die realen Daten die das Fragment weitergibt fals ein field vorhanden result, die realen Daten |
equals | public boolean equals(Object object)(Code) | | Checks wether this object and the specified object
may be treated as equal.
Parameters: object - the object to checked for equality. true if this object and thespecified object may be treated as equal, otherwisefalse . |
getDefGroup | public TKFieldGroup getDefGroup(TKFieldSwitch allSwitch, TKFieldSwitchList allSwitchList)(Code) | | Methode zur Definition eines Fragmenfeldes
Die Struktur eines Fragmen-Feldes besteht aus einer Gruppe von zwei Inputfeldern, mit
denen Name und Beschreibung festgelegt werden und eines Selectfeldes, welches die
aus der DB eingelesenen Forms beinhaltet.
allSwich, wird hier nicht benoetigt allSwitchList, wird hier nicht benoetigt eine Gruppe die die Definition des Fragmenfeldes enthaelt |
getDefault | public Object getDefault()(Code) | | Es existiert keine interne Representation fuer ein Fragment.
und dem Ablageverzeichnis
den Default des naechsten fields oder die der mutter |
hashCode | public int hashCode()(Code) | | Returns the hash code for this object.
the hash code for this object. |
initFragmentField | final public void initFragmentField(String type, String name, String showName, int selectedFormId)(Code) | | Funktionalitaet eines Konstruktors
Parameters: String - type, CLASS_ID Parameters: String - Name, ein beliebiger Name Parameters: String - showName, Name, den der Benuzer fuer das Feld gewaehlt hat int selectedFormId, eine ausgeaehlte id einer Form (switch) |
modify | public Object modify(String action, String fieldPath, Object data, String prefix, StringBuffer destination)(Code) | | Der Event wird an das field weitergegeben
action, die aktuelle Aktion, MODIFY t, ein Template params, der Parameterhash fieldPath, sas zuletzt ausgewaehlte File im Pulldownmenue |
toData | public Object toData()(Code) | | Die ausgewaehlte Form in der Struktur wird in einem Hash gespeichert.
result, enhaelt die uebergabe aus der Struktur |
Methods inherited from com.teamkonzept.field.TKBaseField | public void addToContext(Object value, String key, TKHashtable context)(Code)(Java Doc) public void clearId()(Code)(Java Doc) abstract public Object compileData(String prefix, TKHashtable data, TKHashtable context)(Code)(Java Doc) abstract public Object compileData(String prefix, TKMarkupNode data, TKHashtable context)(Code)(Java Doc) public boolean equals(Object object)(Code)(Java Doc) public void fillAttributesIntoNode(Element node, Object data) throws DOMException(Code)(Java Doc) abstract public void fillIntoDOM(Document doc, Element node, Object value) throws DOMException(Code)(Java Doc) abstract public void fillIntoPresentation(TKHTMLTemplate t, Object value, String prefix)(Code)(Java Doc) public void fillIntoTemplate(TKHTMLTemplate t, Object value, String prefix)(Code)(Java Doc) public TKHashtable finishExtModify(String action, TKHashtable params)(Code)(Java Doc) public TKContentNodeTableData getContentNodeFromDB(TKContentDBData db)(Code)(Java Doc) public TKContentValueTableData getContentNodeValueFromDB(TKContentDBData db, TKContentNodeTableData node)(Code)(Java Doc) abstract public Object getDataFromDB(TKContentDBData db)(Code)(Java Doc) final public static TKFieldSwitchData getDataOfAlternative(TKBaseField field)(Code)(Java Doc) final public static TKFieldSwitchListData getDataOfAlternatives(TKVector fieldList)(Code)(Java Doc) abstract public TKFieldGroup getDefGroup(TKFieldSwitch allSwitch, TKFieldSwitchList allSwitchList)(Code)(Java Doc) public Object getDefault()(Code)(Java Doc) public TKBaseField getField(String fieldPath, String prefix)(Code)(Java Doc) public String getFieldAttribute(TKFormDBData db, String name, int idx)(Code)(Java Doc) final public static TKHashtable getFieldHashFromList(TKVector fieldList)(Code)(Java Doc) public Object getFromContext(String key, TKHashtable context)(Code)(Java Doc) public String getInternationalName()(Code)(Java Doc) final public static TKVector getListOfFields(TKFieldSwitchListData switchListData) throws TKUnregisteredClassException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)(Java Doc) final public String getName()(Code)(Java Doc) final public String getShowName()(Code)(Java Doc) public TKBaseField getSubField(TKFormDBData db, String name, int idx, TKVector otherFields) throws TKUnregisteredClassException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)(Java Doc) public TKVector getSubFieldList(TKFormDBData db, String name, TKVector otherFields) throws TKUnregisteredClassException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)(Java Doc) public TKBaseField getTarget(String fieldPath, String prefix)(Code)(Java Doc) final public String getType()(Code)(Java Doc) public boolean hasFieldAttribute(TKFormDBData db, String name, int idx)(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public void init(String fieldType, Object initData) throws TKUnregisteredClassException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)(Java Doc) final public void initBaseField(String fieldType, String fieldName, String showName)(Code)(Java Doc) public void initFromDB(String classId, TKFormDBData db, TKVector otherFields) throws TKUnregisteredClassException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)(Java Doc) abstract public int insertDataIntoDB(TKContentDBData db, Object data, int contentId, int leftNr)(Code)(Java Doc) final public void insertDataIntoDB(TKContentDBData db, Object data)(Code)(Java Doc) public void insertIntoDB(TKFormDBData db)(Code)(Java Doc) public TKContentNodeTableData insertNewContentNode(TKContentDBData db, int contentId, int leftNr)(Code)(Java Doc) public void insertNewContentValue(TKContentDBData db, int contentId, int contentNodeId, int idx, String value)(Code)(Java Doc) public void insertNewContentValue(TKContentDBData db, int contentId, int contentNodeId, int idx, String value, Integer mediaID)(Code)(Java Doc) public void insertNewFieldAttribute(TKFormDBData db, int formId, String name, int idx, String value)(Code)(Java Doc) public TKSubFieldTableData insertNewSubField(TKFormDBData db, int formId, String name, int idx)(Code)(Java Doc) public void insertNewSubFieldList(TKFormDBData db, int formId, String name, TKVector fieldList)(Code)(Java Doc) public Object modify(String action, String fieldPath, Object data, String prefix, StringBuffer destination)(Code)(Java Doc) public String modify(String action, String fieldPath, Object data)(Code)(Java Doc) final public static TKContentNodeTableData peekNextContentNode(TKContentDBData db)(Code)(Java Doc) public int realInsertIntoDB(TKFormDBData db, int formId)(Code)(Java Doc) final public static void removeNextContentNode(TKContentDBData db)(Code)(Java Doc) public void setName(String newShowName, String newFieldName)(Code)(Java Doc) public Object toData()(Code)(Java Doc)
|
|
|