Java Doc for UIQuery.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.UIQuery

UIQuery
public class UIQuery (Code)
This class is used by the UI builder to store and retrieve queries so they can be reused.
author:
   John Nutting
See Also:   UIQuery.UIQueryValue


Field Summary
final public static  StringLAST_QUERY_NAME
    
final public static  StringLAST_QUERY_NAME_URL_ENCODED
    
final public static  Stringmodule
    
protected  StringpartyId
     Party ID - Identifies the user who created the query, and who can re-use it.
protected  StringqueryId
    
protected  StringqueryName
    
protected  StringsectionId
    
protected  ArrayListuiQueryValueList
    

Constructor Summary
public  UIQuery()
    
public  UIQuery(String queryId_, GenericDelegator delegator)
    
public  UIQuery(String queryId_, String sectionId_, String partyId_, String queryName_, ArrayList uiQueryValueList_)
    

Method Summary
public  voidaddUiQueryValue(String attributeId, EntityOperator entityOperator, String attributeValue, String displayTypeId, String displayObjectId, GenericDelegator delegator)
    
public  voidappendEntityClauses(GenericDelegator delegator, QueryInfo queryInfo)
    
public  StringgetPartyId()
    
public  StringgetQueryId()
    
public  StringgetQueryName()
    
public  StringgetSectionId()
    
public static  GenericValuegetUiQueryByName(GenericDelegator delegator, String partyId, String sectionName, String screenName, String savedQueryName)
    
public static  ListgetUiQueryList(GenericDelegator delegator, String partyId, String sectionName, String screenName)
    
public  UIQueryValuegetUiQueryValue(int queryValueNbr)
    
public  ArrayListgetUiQueryValueList()
    
public static  ListgetUiQueryValues(GenericDelegator delegator, String queryId)
    
public  Stringsave(GenericDelegator delegator)
    
public  voidsetPartyId(String partyId_)
    
public  voidsetQueryId(String queryId_)
    
public  voidsetQueryName(String queryName_)
    
public  voidsetSectionId(String sectionId_)
    
public  voidsetUiQueryValueList(ArrayList uiQueryValueList_)
    
public  GenericValuetoGenericValue(GenericDelegator delegator)
     Creates a generic value for this query.

Field Detail
LAST_QUERY_NAME
final public static String LAST_QUERY_NAME(Code)
Constant containing the name of the last query used



LAST_QUERY_NAME_URL_ENCODED
final public static String LAST_QUERY_NAME_URL_ENCODED(Code)



module
final public static String module(Code)



partyId
protected String partyId(Code)
Party ID - Identifies the user who created the query, and who can re-use it.



queryId
protected String queryId(Code)
Query ID - Uniquely identifies this query



queryName
protected String queryName(Code)
Query Name - Name of this query to appear on the screen in the drop list of available queries



sectionId
protected String sectionId(Code)
Section ID - Identifies the UI screen section on which this query can be used



uiQueryValueList
protected ArrayList uiQueryValueList(Code)
Query Value List - List of objects that contain the query values for this query
See Also:   UIQuery.UIQueryValue




Constructor Detail
UIQuery
public UIQuery()(Code)
Basic constructor
author:
   John Nutting



UIQuery
public UIQuery(String queryId_, GenericDelegator delegator)(Code)
Constructor to create a UI Query from the data base using the specified query ID
Parameters:
  queryId_ - Query ID - Uniquely identifies this query
Parameters:
  delegator - Generic delegator object required to attach to the correct data source
author:
   John Nutting



UIQuery
public UIQuery(String queryId_, String sectionId_, String partyId_, String queryName_, ArrayList uiQueryValueList_)(Code)
Constructor with initial values
Parameters:
  queryId_ - Query ID - Uniquely identifies this query
Parameters:
  sectionId_ - Section ID - Identifies the UI screen section on which this query can be used
Parameters:
  partyId_ - Party ID - Identifies the user who created the query, and who can re-use it.
Parameters:
  queryName_ - Query Name - Name of this query to appear on the screen in the drop list of available queries
author:
   John Nutting




Method Detail
addUiQueryValue
public void addUiQueryValue(String attributeId, EntityOperator entityOperator, String attributeValue, String displayTypeId, String displayObjectId, GenericDelegator delegator)(Code)
Adds an object of class UIQueryValue to the query value list
Parameters:
  attributeId_ - Attribute ID - Uniquely identifies an attribute defined in the UI data
Parameters:
  attributeValue_ - The value to be compared to the specified attribute on entities in the data basewhen the query is executed
Parameters:
  entityOperator_ - The operand to be used to compare the value to the specified attribute onentities in the data base when the query is executed
Parameters:
  delegator - Generic delegator object required to attach to the correct data source ID of new query value
author:
   John Nutting
See Also:   UIQuery.UIQueryValue



appendEntityClauses
public void appendEntityClauses(GenericDelegator delegator, QueryInfo queryInfo)(Code)
Create entity clauses for this query that can be used by the GenericDelegator.findByCondition method
Parameters:
  delegator - Generic delegator object required to attach to the correct data source
Parameters:
  queryInfo - criteria to be used in search
author:
   John Nutting



getPartyId
public String getPartyId()(Code)
Gets the Party ID Party ID - Identifies the user who created the query, and who can re-use it.
author:
   John Nutting



getQueryId
public String getQueryId()(Code)
Gets the Query ID Query ID - Uniquely identifies this query
author:
   John Nutting



getQueryName
public String getQueryName()(Code)
Gets the Query Name
Parameters:
  queryName_ - Query Name - Name of this query to appear on the screen in the drop list of available queries
author:
   John Nutting



getSectionId
public String getSectionId()(Code)
Gets the Section ID
Parameters:
  sectionId_ - Section ID - Identifies the UI screen section on which this query can be used
author:
   John Nutting



getUiQueryByName
public static GenericValue getUiQueryByName(GenericDelegator delegator, String partyId, String sectionName, String screenName, String savedQueryName) throws GenericEntityException(Code)
DOCUMENT ME!
Parameters:
  delegator -
Parameters:
  partyId -
Parameters:
  sectionName -
Parameters:
  screenName -
Parameters:
  savedQueryName -
throws:
  GenericEntityException -



getUiQueryList
public static List getUiQueryList(GenericDelegator delegator, String partyId, String sectionName, String screenName) throws GenericEntityException(Code)
DOCUMENT ME!
Parameters:
  delegator -
Parameters:
  partyId -
Parameters:
  sectionName -
Parameters:
  screenName -
throws:
  GenericEntityException -



getUiQueryValue
public UIQueryValue getUiQueryValue(int queryValueNbr)(Code)
Gets a reference to the UIQueryValue stored in the query value list at the position specified by the queryValueNbr parameter
Parameters:
  queryValueNbr - Position in the query value list from which to get the query value object Query value object from the specified position in the query value list
author:
   John Nutting
See Also:   UIQuery.UIQueryValue



getUiQueryValueList
public ArrayList getUiQueryValueList()(Code)
Gets a reference to the Query Value List
author:
   John Nutting
See Also:   UIQuery.UIQueryValue



getUiQueryValues
public static List getUiQueryValues(GenericDelegator delegator, String queryId) throws GenericEntityException(Code)
DOCUMENT ME!
Parameters:
  delegator -
Parameters:
  queryId -
throws:
  GenericEntityException -



save
public String save(GenericDelegator delegator)(Code)
Save the query to the data base
Parameters:
  delegator - Generic delegator object required to attach to the correct data source Query ID - Uniquely identifies this query
author:
   John Nutting



setPartyId
public void setPartyId(String partyId_)(Code)
Sets the Party ID
Parameters:
  partyId_ - Party ID - Identifies the user who created the query, and who can re-use it.
author:
   John Nutting



setQueryId
public void setQueryId(String queryId_)(Code)
Sets the Query ID
Parameters:
  queryId_ - Query ID - Uniquely identifies this query
author:
   John Nutting



setQueryName
public void setQueryName(String queryName_)(Code)
Sets the Query Name
author:
   John Nutting



setSectionId
public void setSectionId(String sectionId_)(Code)
Sets the Section ID Section ID - Identifies the UI screen section on which this query can be used
author:
   John Nutting



setUiQueryValueList
public void setUiQueryValueList(ArrayList uiQueryValueList_)(Code)
Stores an ArrayList containing values of type UIQueryValue into the Query Value List
Parameters:
  uiQueryValueList_ - Query Value List - List of objects that contain the query values for this query
author:
   John Nutting
See Also:   UIQuery.UIQueryValue



toGenericValue
public GenericValue toGenericValue(GenericDelegator delegator)(Code)
Creates a generic value for this query.
Parameters:
  delegator - Generic delegator object required to attach to the correct data source Generic value representing this query
author:
   John Nutting



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.