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


java.lang.Object
   com.sourcetap.sfa.event.EventUtility

EventUtility
public class EventUtility (Code)
DOCUMENT ME!


Field Summary
final public static  intSTATUS_CANCEL
    
final public static  intSTATUS_CONTINUE
    
final public static  intSTATUS_ERROR
    
final public static  Stringmodule
    

Constructor Summary
public  EventUtility()
    

Method Summary
public static  voidaddOneRelationClause(GenericDelegator delegator, String relationTitle, String relatedAndFields, String relatedEntityName, String primaryEntityName, ModelEntity primaryME, boolean isOuterJoin, QueryInfo queryInfo)
     Add entity clauses for one related entity.
public static  EntityComparisonOperatorappendEntityClause(String searchEntityName, String searchAttribName, String searchAttribValue, QueryInfo queryInfo)
    
public static  EntityComparisonOperatorappendEntityClause(String searchEntityName, String searchAttribName, Collection searchAttribValue, EntityComparisonOperator entityOperator, QueryInfo queryInfo)
    
public static  EntityComparisonOperatorappendEntityClause(String searchEntityName, String searchAttribName, String searchAttribValue, EntityComparisonOperator entityOperator, QueryInfo queryInfo)
    
public static  voidappendEntityClauses(String searchEntityName, HashMap paramList, QueryInfo queryInfo)
    
public static  StringBufferconvertDateQueryValue(StringBuffer queryValue, long queryDateOffset)
    
public static  ArrayListdecodeSelectItem(HashMap queryParameterValueList, String itemString)
     This function returns an arraylist containing HashMaps representing the primary keys of records in a many-to-many relationship which are to be added to or removed from te data base after being selected or unselected on a SELECT screen section.
public static  HashMapgetAlphaSearchValues(GenericDelegator delegator, UIScreenSection uiScreenSection, String nameToSearchParam)
    
public static  StringgetDataType(GenericValue gV, String fieldName, GenericDelegator delegator)
    
public static  EntityComparisonOperatorgetEntityOperator(StringBuffer queryValue)
    
public static  NumberparseNumber(String value)
    
public static  voidstoreValue(GenericValue gV, String fieldName, String value, GenericDelegator delegator)
    
public static  voidstoreValue(GenericValue gV, String fieldName, String value, GenericDelegator delegator, String fieldType)
    

Field Detail
STATUS_CANCEL
final public static int STATUS_CANCEL(Code)



STATUS_CONTINUE
final public static int STATUS_CONTINUE(Code)



STATUS_ERROR
final public static int STATUS_ERROR(Code)



module
final public static String module(Code)




Constructor Detail
EventUtility
public EventUtility()(Code)




Method Detail
addOneRelationClause
public static void addOneRelationClause(GenericDelegator delegator, String relationTitle, String relatedAndFields, String relatedEntityName, String primaryEntityName, ModelEntity primaryME, boolean isOuterJoin, QueryInfo queryInfo) throws GenericEntityException(Code)
Add entity clauses for one related entity. This will join related tables to the query during a retrieve so query values can be entered that are in related entities.
author:
   John Nutting
Parameters:
  delegator - Reference to the OFBIZ delegator being used to connect to the data base
Parameters:
  relationTitle - Relation title
Parameters:
  relatedEntityName - Name of related entity
Parameters:
  primaryEntityName - Name of the primary entity
Parameters:
  primaryME - ModelEntity object for the primary entity
Parameters:
  queryInfo - criteria to be used in search



appendEntityClause
public static EntityComparisonOperator appendEntityClause(String searchEntityName, String searchAttribName, String searchAttribValue, QueryInfo queryInfo)(Code)
DOCUMENT ME!
Parameters:
  searchEntityName -
Parameters:
  searchAttribName -
Parameters:
  searchAttribValue -
Parameters:
  queryInfo -



appendEntityClause
public static EntityComparisonOperator appendEntityClause(String searchEntityName, String searchAttribName, Collection searchAttribValue, EntityComparisonOperator entityOperator, QueryInfo queryInfo)(Code)
DOCUMENT ME!
Parameters:
  searchEntityName -
Parameters:
  searchAttribName -
Parameters:
  searchAttribValue -
Parameters:
  entityOperator -
Parameters:
  queryInfo -



appendEntityClause
public static EntityComparisonOperator appendEntityClause(String searchEntityName, String searchAttribName, String searchAttribValue, EntityComparisonOperator entityOperator, QueryInfo queryInfo)(Code)
DOCUMENT ME!
Parameters:
  searchEntityName -
Parameters:
  searchAttribName -
Parameters:
  searchAttribValue -
Parameters:
  entityOperator -
Parameters:
  queryInfo -



appendEntityClauses
public static void appendEntityClauses(String searchEntityName, HashMap paramList, QueryInfo queryInfo)(Code)
DOCUMENT ME!
Parameters:
  searchEntityName -
Parameters:
  paramList -
Parameters:
  queryInfo - criteria to be used in search



convertDateQueryValue
public static StringBuffer convertDateQueryValue(StringBuffer queryValue, long queryDateOffset)(Code)
DOCUMENT ME!
Parameters:
  queryValue -
Parameters:
  queryDateOffset -



decodeSelectItem
public static ArrayList decodeSelectItem(HashMap queryParameterValueList, String itemString)(Code)
This function returns an arraylist containing HashMaps representing the primary keys of records in a many-to-many relationship which are to be added to or removed from te data base after being selected or unselected on a SELECT screen section.
author:
   John Nutting
author:
   version 1
Parameters:
  queryParameterValueList - A hash map containing the values being used to filter the screen section.\Example: key=dealId, value=10010
Parameters:
  itemString - String representation of the list of keys to be added or removed.Example representing 3 entities, each with 2 fields in the key:"displayObjectId:10021,displayTypeId:22320,displayAttribId:SIZE;displayObjectId:10021,displayTypeId:22320,displayAttribId:DISABLED" An ArrayList of HashMaps, each containing the primary key of a generic value to be added to or removed from the data base.



getAlphaSearchValues
public static HashMap getAlphaSearchValues(GenericDelegator delegator, UIScreenSection uiScreenSection, String nameToSearchParam) throws GenericEntityException(Code)
DOCUMENT ME!
Parameters:
  delegator -
Parameters:
  uiScreenSection -
Parameters:
  nameToSearchParam -
throws:
  GenericEntityException -



getDataType
public static String getDataType(GenericValue gV, String fieldName, GenericDelegator delegator)(Code)
DOCUMENT ME!
Parameters:
  gV -
Parameters:
  fieldName -
Parameters:
  delegator -



getEntityOperator
public static EntityComparisonOperator getEntityOperator(StringBuffer queryValue)(Code)
DOCUMENT ME!
Parameters:
  queryValue -



parseNumber
public static Number parseNumber(String value)(Code)



storeValue
public static void storeValue(GenericValue gV, String fieldName, String value, GenericDelegator delegator)(Code)
DOCUMENT ME!
Parameters:
  gV -
Parameters:
  fieldName -
Parameters:
  value -
Parameters:
  delegator -



storeValue
public static void storeValue(GenericValue gV, String fieldName, String value, GenericDelegator delegator, String fieldType)(Code)
DOCUMENT ME!
Parameters:
  gV -
Parameters:
  fieldName -
Parameters:
  value -
Parameters:
  delegator -
Parameters:
  fieldType -



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.