Java Doc for UIWebUtility.java in  » ERP-CRM-Financial » SourceTap-CRM » com » sourcetap » sfa » ui » 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 » ERP CRM Financial » SourceTap CRM » com.sourcetap.sfa.ui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sourcetap.sfa.ui.UIUtility
      com.sourcetap.sfa.ui.UIWebUtility

UIWebUtility
public class UIWebUtility extends UIUtility (Code)
DOCUMENT ME!


Field Summary
final public static  StringHTML_COMPOSITE_FORM_NAME
    
final public static  StringHTML_NAME_PREFIX_CURRENT
    
final public static  StringHTML_NAME_PREFIX_ORIGINAL
    
final public static  Stringmodule
    

Constructor Summary
public  UIWebUtility()
    

Method Summary
public static  booleancheckReservedParameterName(String paramName)
    
public static  StringconvertButtonAction(String action, HttpServletRequest request)
    
public static  StringdisplayFieldReadOnly(UIDisplayObject uiDisplayObject, String htmlName, String dataValue, String displayValue, Vector entityDetailsVector)
    
public static  StringdisplayFieldReadOnly(UIDisplayObject uiDisplayObject, String htmlName, String dataValue, String displayValue, String anchorHref, String anchorTarget)
    
public static  StringgetAttribFromParamName(String paramName)
    
public static  StringgetDbNameFromParamName(String reportName, String paramName)
     Converts a parameter variable name to a database name.
public static  StringgetEntityFromParamName(String paramName)
    
public static  StringgetHiddenArgs(HashMap keyMap, Vector entityDetailsVector, String spaces)
    
public static  StringgetHiddenArgs(HashMap keyMap, String spaces)
    
public static  StringgetHtmlName(String sectionName, UIFieldInfo fieldInfo, int row)
    
public static  StringgetHtmlName(String sectionName, String entityName, String attributeName, int row)
    
public static  StringgetHtmlNameOriginal(String sectionName, UIFieldInfo fieldInfo, int row)
    
public static  StringgetParamName(String htmlNamePrefix, String sectionName, String entityName, String attributeName, int row)
    
public static  StringgetPrefixFromParamName(String paramName)
    
public static  StringgetRowFromParamName(String paramName)
    
public static  StringgetSectionNameFromParamName(String paramName)
    
public static  StringgetUrlArgs(HashMap keyMap, Vector entityDetailsVector)
    
public static  StringjavaNameToDbName(String javaName)
     Converts a Java variable name to a database name.
public static  StringtranslateAttribAlign(String attribAlign)
    
public static  StringtranslateAttribAnchorHrefDef(String attribAnchorHrefDef, Vector genericValueVector, String currentFieldName)
    
public static  StringtranslateAttribAnchorTarget(String attribAnchorTarget)
    
public static  StringtranslateAttribClass(String attribClass)
    
public static  StringtranslateAttribCols(String attribCols)
    
public static  StringtranslateAttribDisabled(String attribDisabled)
    
public static  StringtranslateAttribEntityName(String attribEntityName)
    
public static  StringtranslateAttribEventHandling(String attribEventHandling)
    
public static  StringtranslateAttribFieldName(String attribFieldName)
    
public static  StringtranslateAttribFindClass(String attribFindClass)
    
public static  StringtranslateAttribIdName(String attribIdName)
    
public static  StringtranslateAttribMaxLength(String attribMaxLength, String defaultMaxLength)
    
public static  StringtranslateAttribReadOnly(String attribReadOnly)
    
public static  StringtranslateAttribRows(String attribRows)
    
public static  StringtranslateAttribSize(String attribSize)
    
public static  StringtranslateAttribWrap(String attribWrap)
    
public static  StringwriteConfirmDeleteScript()
    
public static  StringwriteVerifyRequiredScript(String sectionName, ArrayList requiredFields)
    

Field Detail
HTML_COMPOSITE_FORM_NAME
final public static String HTML_COMPOSITE_FORM_NAME(Code)



HTML_NAME_PREFIX_CURRENT
final public static String HTML_NAME_PREFIX_CURRENT(Code)



HTML_NAME_PREFIX_ORIGINAL
final public static String HTML_NAME_PREFIX_ORIGINAL(Code)



module
final public static String module(Code)




Constructor Detail
UIWebUtility
public UIWebUtility()(Code)




Method Detail
checkReservedParameterName
public static boolean checkReservedParameterName(String paramName)(Code)
DOCUMENT ME!
Parameters:
  paramName -



convertButtonAction
public static String convertButtonAction(String action, HttpServletRequest request) throws GenericEntityException(Code)
DOCUMENT ME!
Parameters:
  action -
Parameters:
  request -
throws:
  GenericEntityException -



displayFieldReadOnly
public static String displayFieldReadOnly(UIDisplayObject uiDisplayObject, String htmlName, String dataValue, String displayValue, Vector entityDetailsVector)(Code)
DOCUMENT ME!
Parameters:
  uiDisplayObject -
Parameters:
  htmlName -
Parameters:
  dataValue -
Parameters:
  displayValue -
Parameters:
  entityDetailsVector -



displayFieldReadOnly
public static String displayFieldReadOnly(UIDisplayObject uiDisplayObject, String htmlName, String dataValue, String displayValue, String anchorHref, String anchorTarget)(Code)
DOCUMENT ME!
Parameters:
  uiDisplayObject -
Parameters:
  htmlName -
Parameters:
  dataValue -
Parameters:
  displayValue -
Parameters:
  anchorHref -
Parameters:
  anchorTarget -



getAttribFromParamName
public static String getAttribFromParamName(String paramName)(Code)
DOCUMENT ME!
Parameters:
  paramName -



getDbNameFromParamName
public static String getDbNameFromParamName(String reportName, String paramName)(Code)
Converts a parameter variable name to a database name. The naming conventions used to allow for this are as follows: a database name (table or column) is in all capital letters, and the words are separated by an underscore (for example: NEAT_ENTITY_NAME or RANDOM_FIELD_NAME); a parameter name or screens section name is a mix of upper and lowercase with underscores mixed in. The parameter name follows the format: [original value][screensection][entity][attribute][number] For example "AccountListReportQuery_Account_accountName_0" [][AccountListReportQuery][Account][accountName][0] will return ACCOUNT.ACCOUNT_NAME
Parameters:
  reportName - the screen section used for the report
Parameters:
  paramName - the parameter name on the form generated by the ui screen builder The database name



getEntityFromParamName
public static String getEntityFromParamName(String paramName)(Code)
DOCUMENT ME!
Parameters:
  paramName -



getHiddenArgs
public static String getHiddenArgs(HashMap keyMap, Vector entityDetailsVector, String spaces)(Code)
DOCUMENT ME!
Parameters:
  keyMap -
Parameters:
  entityDetailsVector -
Parameters:
  spaces -



getHiddenArgs
public static String getHiddenArgs(HashMap keyMap, String spaces)(Code)
DOCUMENT ME!
Parameters:
  keyMap -
Parameters:
  spaces -



getHtmlName
public static String getHtmlName(String sectionName, UIFieldInfo fieldInfo, int row)(Code)
DOCUMENT ME!
Parameters:
  sectionName -
Parameters:
  fieldInfo -
Parameters:
  row -



getHtmlName
public static String getHtmlName(String sectionName, String entityName, String attributeName, int row)(Code)



getHtmlNameOriginal
public static String getHtmlNameOriginal(String sectionName, UIFieldInfo fieldInfo, int row)(Code)
DOCUMENT ME!
Parameters:
  sectionName -
Parameters:
  fieldInfo -
Parameters:
  row -



getParamName
public static String getParamName(String htmlNamePrefix, String sectionName, String entityName, String attributeName, int row)(Code)
DOCUMENT ME!
Parameters:
  htmlNamePrefix -
Parameters:
  sectionName -
Parameters:
  entityName -
Parameters:
  attributeName -
Parameters:
  row -



getPrefixFromParamName
public static String getPrefixFromParamName(String paramName)(Code)
DOCUMENT ME!
Parameters:
  paramName -



getRowFromParamName
public static String getRowFromParamName(String paramName)(Code)
DOCUMENT ME!
Parameters:
  paramName -



getSectionNameFromParamName
public static String getSectionNameFromParamName(String paramName)(Code)
DOCUMENT ME!
Parameters:
  paramName -



getUrlArgs
public static String getUrlArgs(HashMap keyMap, Vector entityDetailsVector)(Code)
DOCUMENT ME!
Parameters:
  keyMap -
Parameters:
  entityDetailsVector -



javaNameToDbName
public static String javaNameToDbName(String javaName)(Code)
Converts a Java variable name to a database name. The naming conventions used to allow for this are as follows: a database name (table or column) is in all capital letters, and the words are separated by an underscore (for example: NEAT_ENTITY_NAME or RANDOM_FIELD_NAME); a Java name (ejb or field) is in all lower case letters, except the letter at the beginning of each word (for example: NeatEntityName or RandomFieldName). The convention of using a capital letter at the beginning of a class name in Java, or a lower-case letter for the beginning of a variable name in Java is also used along with the Java name convention above.
Parameters:
  javaName - The Java variable name The database name



translateAttribAlign
public static String translateAttribAlign(String attribAlign)(Code)
DOCUMENT ME!
Parameters:
  attribAlign -



translateAttribAnchorHrefDef
public static String translateAttribAnchorHrefDef(String attribAnchorHrefDef, Vector genericValueVector, String currentFieldName)(Code)
DOCUMENT ME!
Parameters:
  attribAnchorHrefDef -
Parameters:
  genericValueVector -
Parameters:
  currentFieldName -



translateAttribAnchorTarget
public static String translateAttribAnchorTarget(String attribAnchorTarget)(Code)
DOCUMENT ME!
Parameters:
  attribAnchorTarget -



translateAttribClass
public static String translateAttribClass(String attribClass)(Code)
DOCUMENT ME!
Parameters:
  attribClass -



translateAttribCols
public static String translateAttribCols(String attribCols)(Code)
DOCUMENT ME!
Parameters:
  attribCols -



translateAttribDisabled
public static String translateAttribDisabled(String attribDisabled)(Code)
DOCUMENT ME!
Parameters:
  attribDisabled -



translateAttribEntityName
public static String translateAttribEntityName(String attribEntityName)(Code)
DOCUMENT ME!
Parameters:
  attribEntityName -



translateAttribEventHandling
public static String translateAttribEventHandling(String attribEventHandling)(Code)
DOCUMENT ME!
Parameters:
  attribEventHandling -



translateAttribFieldName
public static String translateAttribFieldName(String attribFieldName)(Code)
DOCUMENT ME!
Parameters:
  attribFieldName -



translateAttribFindClass
public static String translateAttribFindClass(String attribFindClass)(Code)
DOCUMENT ME!
Parameters:
  attribFindClass -



translateAttribIdName
public static String translateAttribIdName(String attribIdName)(Code)
DOCUMENT ME!
Parameters:
  attribIdName -



translateAttribMaxLength
public static String translateAttribMaxLength(String attribMaxLength, String defaultMaxLength)(Code)
DOCUMENT ME!
Parameters:
  attribMaxLength -
Parameters:
  defaultMaxLength -



translateAttribReadOnly
public static String translateAttribReadOnly(String attribReadOnly)(Code)
DOCUMENT ME!
Parameters:
  attribReadOnly -



translateAttribRows
public static String translateAttribRows(String attribRows)(Code)
DOCUMENT ME!
Parameters:
  attribRows -



translateAttribSize
public static String translateAttribSize(String attribSize)(Code)
DOCUMENT ME!
Parameters:
  attribSize -



translateAttribWrap
public static String translateAttribWrap(String attribWrap)(Code)
DOCUMENT ME!
Parameters:
  attribWrap -



writeConfirmDeleteScript
public static String writeConfirmDeleteScript()(Code)
DOCUMENT ME!



writeVerifyRequiredScript
public static String writeVerifyRequiredScript(String sectionName, ArrayList requiredFields)(Code)
DOCUMENT ME!
Parameters:
  sectionName -
Parameters:
  requiredFields -



Fields inherited from com.sourcetap.sfa.ui.UIUtility
final public static String module(Code)(Java Doc)

Methods inherited from com.sourcetap.sfa.ui.UIUtility
public static boolean addSelectSearch(QueryInfo queryInfo, String displayObjectId, String entityName, String attributeName, String aliasName, EntityComparisonOperator searchOperator, Object searchValue)(Code)(Java Doc)
public static String decodeAttributeValue(String attributeValueSource, Vector entityDetailsVector, String currentAttibuteName) throws GenericEntityException(Code)(Java Doc)
public static String decodeEntityDisplayDef(String entityDisplayDef, Vector genericValueVector, String currentAttibuteName)(Code)(Java Doc)
public static HashMap decodeEntityFindDef(String entityFindDef, Vector entityDetailsVector, String currentAttributeName)(Code)(Java Doc)
public static String getAttributeId(GenericDelegator delegator, String searchAttribName, String searchEntityName) throws GenericEntityException(Code)(Java Doc)
public static String getAttributeValue(Vector entityDetailsVector, String entityName, String attributeName)(Code)(Java Doc)
public static GenericValue getEntityValue(Vector entityDetailsVector, String entityName)(Code)(Java Doc)
public static GenericEventProcessor getEventProcessor(String className)(Code)(Java Doc)
public static boolean getIsCopiedPrimaryKey(String action, UIFieldInfo fieldInfo)(Code)(Java Doc)
public static GenericValue getReadOnlyValue(String fieldValue, String attributeName, UIDisplayObject uiDisplayObject, Vector entityDetailsVector, GenericDelegator delegator)(Code)(Java Doc)
public static UIDropDown getUIDropDown(String className)(Code)(Java Doc)
public static UISearchField getUISearchField(String className)(Code)(Java Doc)
public static List removeSelectedEligibleEntities(List selectedEntityPKL, List eligibleEntityL)(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.