Java Doc for TKContentReferenceField.java in  » Content-Management-System » webman » com » teamkonzept » webman » field » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Content Management System » webman » com.teamkonzept.webman.field 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.teamkonzept.field.TKBaseField
      com.teamkonzept.field.TKAtomField
         com.teamkonzept.webman.field.TKContentReferenceField

TKContentReferenceField
public class TKContentReferenceField extends TKAtomField (Code)
The content reference field control.
author:
   $Author: uli $
version:
   $Revision: 1.57 $


Field Summary
final public static  StringCLASS_ID
     The class identifier.
final public static  StringMULTIPLE_KEY
    
final public static  StringNAME_ONLY_KEY
    
final public static  StringNODE_KEY
    
final public static  StringNO_VALUE
    
final public static  StringYES_VALUE
    
protected  intcontentNodeId
    
protected  booleandeliverOnlyNames
    
protected  booleanmultipleSelection
    

Constructor Summary
public  TKContentReferenceField()
     Creates an empty content reference field control.
public  TKContentReferenceField(String name, int contentNodeId)
    
public  TKContentReferenceField(String name, int contentNodeId, String showName)
    
public  TKContentReferenceField(String name, int contentNodeId, boolean deliverOnlyNames, String showName)
    
public  TKContentReferenceField(String name, int contentNodeId, boolean deliverOnlyNames, boolean multipeSelection, String showName)
    

Method Summary
public  ObjectcompileData(String prefix, TKMarkupNode data, TKHashtable context)
    
public  booleanequals(Object object)
     Checks wether this object and the specified object may be treated as equal.
Parameters:
  object - the object to checked for equality.
protected  voidfillDataIntoNode(Document doc, Element node, Object data)
    
public  voidfillIntoPresentation(TKHTMLTemplate t, Object data, String scope)
    
public  voidfillIntoTemplate(TKHTMLTemplate template, Object value, String prefix)
     Fills the data held by this field into the specified template.
public  TKFieldGroupgetDefGroup(TKFieldSwitch allSwitch, TKFieldSwitchList allSwitchList)
    
public  TKVectorgetSelectedContents(Object data, GeneratorContext context)
    
public  inthashCode()
     Returns the hash code for this object.
public  voidinit(String classId, Object initData)
    
final public  voidinitContentReferenceField(String type, String name, int contentNodeId, boolean deliverOnlyNames, boolean multipleSelection, String showName)
    
public  voidinitFromDB(String classId, TKFormDBData db, TKVector otherFields)
    
public  intinsertDataIntoDB(TKContentDBData db, Object data, int contentId, int leftNr)
    
public  intrealInsertIntoDB(TKFormDBData db, int formId)
    
public  ObjecttoData()
     Returns the internal representation of this field.

Field Detail
CLASS_ID
final public static String CLASS_ID(Code)
The class identifier.



MULTIPLE_KEY
final public static String MULTIPLE_KEY(Code)
key for multiple key



NAME_ONLY_KEY
final public static String NAME_ONLY_KEY(Code)
Key fuer nur Namen holen



NODE_KEY
final public static String NODE_KEY(Code)
key for nodes



NO_VALUE
final public static String NO_VALUE(Code)



YES_VALUE
final public static String YES_VALUE(Code)



contentNodeId
protected int contentNodeId(Code)



deliverOnlyNames
protected boolean deliverOnlyNames(Code)



multipleSelection
protected boolean multipleSelection(Code)




Constructor Detail
TKContentReferenceField
public TKContentReferenceField()(Code)
Creates an empty content reference field control.



TKContentReferenceField
public TKContentReferenceField(String name, int contentNodeId)(Code)



TKContentReferenceField
public TKContentReferenceField(String name, int contentNodeId, String showName)(Code)



TKContentReferenceField
public TKContentReferenceField(String name, int contentNodeId, boolean deliverOnlyNames, String showName)(Code)



TKContentReferenceField
public TKContentReferenceField(String name, int contentNodeId, boolean deliverOnlyNames, boolean multipeSelection, String showName)(Code)




Method Detail
compileData
public Object compileData(String prefix, TKMarkupNode data, TKHashtable context)(Code)



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.



fillDataIntoNode
protected void fillDataIntoNode(Document doc, Element node, Object data) throws DOMException(Code)



fillIntoPresentation
public void fillIntoPresentation(TKHTMLTemplate t, Object data, String scope)(Code)



fillIntoTemplate
public void fillIntoTemplate(TKHTMLTemplate template, Object value, String prefix)(Code)
Fills the data held by this field into the specified template.
Parameters:
  template - the template.
Parameters:
  value - a value ?
Parameters:
  prefix - a prefix ?



getDefGroup
public TKFieldGroup getDefGroup(TKFieldSwitch allSwitch, TKFieldSwitchList allSwitchList)(Code)
Methode zur Definition eines Eingabefeldes



getSelectedContents
public TKVector getSelectedContents(Object data, GeneratorContext context)(Code)
fuehrt die eigentliche Ermittlung der ContentReferenzen bei der Generierung durch
Parameters:
  data - entweder einzelner Shortname oder Liste von Namen
Parameters:
  context - der Generierungscontext



hashCode
public int hashCode()(Code)
Returns the hash code for this object. the hash code for this object.



init
public void init(String classId, Object initData) throws TKUnregisteredClassException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)
initialisiert das feld basierend auf den daten, die die feldgruppe von getDefGroup zurueckliefert



initContentReferenceField
final public void initContentReferenceField(String type, String name, int contentNodeId, boolean deliverOnlyNames, boolean multipleSelection, String showName)(Code)
tja, irgendne intitialisierung halt oder?
Parameters:
  type - ...
Parameters:
  name - ...
Parameters:
  contentNodeId - ...
Parameters:
  deliverOnlyNames - ...
Parameters:
  multipleSelection - ...
Parameters:
  showName - ...



initFromDB
public void initFromDB(String classId, TKFormDBData db, TKVector otherFields) throws TKUnregisteredClassException, ClassNotFoundException, InstantiationException, IllegalAccessException(Code)



insertDataIntoDB
public int insertDataIntoDB(TKContentDBData db, Object data, int contentId, int leftNr)(Code)
ueberschrieben, um ContentRelationen anlegen zu können



realInsertIntoDB
public int realInsertIntoDB(TKFormDBData db, int formId)(Code)



toData
public Object toData()(Code)
Returns the internal representation of this field. the internal representation of this field.



Fields inherited from com.teamkonzept.field.TKAtomField
protected StringBuffer paramClasses(Code)(Java Doc)

Methods inherited from com.teamkonzept.field.TKAtomField
public void addClass(String newClass)(Code)(Java Doc)
public Object compileData(String prefix, TKHashtable data, TKHashtable context)(Code)(Java Doc)
public Object compileData(String prefix, TKMarkupNode data, TKHashtable context)(Code)(Java Doc)
protected void createValueNode(Document doc, Element node, String data) throws DOMException(Code)(Java Doc)
protected void fillDataIntoNode(Document doc, Element node, Object data) throws DOMException(Code)(Java Doc)
public void fillIntoDOM(Document doc, Element node, Object data) throws DOMException(Code)(Java Doc)
public void fillIntoPresentation(TKHTMLTemplate t, Object data, String scope)(Code)(Java Doc)
public void fillIntoTemplate(TKHTMLTemplate t, Object value, String prefix)(Code)(Java Doc)
public Object getDataFromDB(TKContentDBData db)(Code)(Java Doc)
final public void initAtomField(String fieldType, String fieldName, String showName)(Code)(Java Doc)
public int insertDataIntoDB(TKContentDBData db, Object data, int contentId, int leftNr)(Code)(Java Doc)

Fields inherited from com.teamkonzept.field.TKBaseField
final public static String BASEPATH_PAR(Code)(Java Doc)
final public static String DIAGS_KEY(Code)(Java Doc)
final public static String LANGUAGE_CONTEXT(Code)(Java Doc)
final public static String NAME_KEY(Code)(Java Doc)
final public static String NEWFILENAME(Code)(Java Doc)
final public static String OLDFILENAME(Code)(Java Doc)
final public static String SHOW_NAME_KEY(Code)(Java Doc)
final public static String SUB_LIST_KEY(Code)(Java Doc)
final public static String SUB_TYPE_KEY(Code)(Java Doc)
protected int fieldId(Code)(Java Doc)
public String fieldName(Code)(Java Doc)
public String fieldType(Code)(Java Doc)
public String showName(Code)(Java Doc)

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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.