Java Doc for LookupResultsService.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » core » lookup » 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 » Kuali Financial System » org.kuali.core.lookup 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.kuali.core.lookup.LookupResultsService

All known Subclasses:   org.kuali.core.lookup.LookupResultsServiceImpl,
LookupResultsService
public interface LookupResultsService extends Serializable(Code)




Method Summary
public  voidclearPersistedLookupResults(String lookupResultsSequenceNumber)
    
public  voidclearPersistedSelectedObjectIds(String lookupResultsSequenceNumber)
    
public  voiddeleteOldLookupResults(Timestamp expirationDate)
    
public  voiddeleteOldSelectedObjectIds(Timestamp expirationDate)
    
public  booleanisAuthorizedToAccessLookupResults(String lookupResultsSequenceNumber, String universalUserId)
     Returns whether a user is allowed to view the lookup results of the given sequence number
Parameters:
  lookupResultsSequenceNumber - the lookup sequence number that was used to persist the results table
Parameters:
  universalUserId - the user id that was used to persist the results table.
public  booleanisAuthorizedToAccessSelectedObjectIds(String lookupResultsSequenceNumber, String universalUserId)
    
public  voidpersistResultsTable(String lookupResultsSequenceNumber, List<ResultRow> resultTable, String universalUserId)
     Persists a list of result row objects into a database.
public  voidpersistSelectedObjectIds(String lookupResultsSequenceNumber, Set<String> selectedObjectIds, String universalUserId)
     Persists a list of BO object IDs that have been selected for return to the calling document (the back location in lookup terminology). The lookup results sequence number acts like a key identifying the selected object IDs.
public  List<ResultRow>retrieveResultsTable(String lookupResultsSequenceNumber, String universalUserId)
     Returns the list of result rows that was persisted under the passed in sequence number
Parameters:
  lookupResultsSequenceNumber - the lookup sequence number that was used to persist
Parameters:
  universalUserId - the user id that was used to persist the results table.
public  Collection<PersistableBusinessObject>retrieveSelectedResultBOs(String lookupResultsSequenceNumber, Class boClass, String universalUserId)
     Returns the BOs that correspond to the selected objected IDs that were persisted under the given lookup results number DB data may have changed since the time the user clicked the "search" button (e.g.



Method Detail
clearPersistedLookupResults
public void clearPersistedLookupResults(String lookupResultsSequenceNumber) throws Exception(Code)
Removes the lookup results that were persisted under this lookup results sequence number
Parameters:
  lookupResultsSequenceNumber -
throws:
  Exception -



clearPersistedSelectedObjectIds
public void clearPersistedSelectedObjectIds(String lookupResultsSequenceNumber) throws Exception(Code)
Removes the lookup results that were persisted under this selected object IDs
Parameters:
  lookupResultsSequenceNumber -
throws:
  Exception -



deleteOldLookupResults
public void deleteOldLookupResults(Timestamp expirationDate)(Code)
removes all LookupResults BO where the lookup date attribute is older than the parameter
Parameters:
  expirationDate - all LookupResults having a lookup date before this date will be removed



deleteOldSelectedObjectIds
public void deleteOldSelectedObjectIds(Timestamp expirationDate)(Code)
removes all LookupResults BO where the lookup date attribute is older than the parameter
Parameters:
  expirationDate - all LookupResults having a lookup date before this date will be removed



isAuthorizedToAccessLookupResults
public boolean isAuthorizedToAccessLookupResults(String lookupResultsSequenceNumber, String universalUserId)(Code)
Returns whether a user is allowed to view the lookup results of the given sequence number
Parameters:
  lookupResultsSequenceNumber - the lookup sequence number that was used to persist the results table
Parameters:
  universalUserId - the user id that was used to persist the results table. if the user ID used to persist the lookup results is the same user ID as the parameter



isAuthorizedToAccessSelectedObjectIds
public boolean isAuthorizedToAccessSelectedObjectIds(String lookupResultsSequenceNumber, String universalUserId)(Code)
Returns whether a user is allowed to view the selected object IDs of the given sequence number
Parameters:
  lookupResultsSequenceNumber - the lookup sequence number that was used to persist the selected object IDs
Parameters:
  universalUserId - the user id that was used to persist the selected object IDs if the user ID used to persist the selected object IDs is the same user ID as the parameter



persistResultsTable
public void persistResultsTable(String lookupResultsSequenceNumber, List<ResultRow> resultTable, String universalUserId) throws Exception(Code)
Persists a list of result row objects into a database. The lookup results sequence number acts like a key identifying the lookup results set. If results are persisted under the same sequence number, then the previously persisted list will be overwritten.
Parameters:
  lookupResultsSequenceNumber - the lookup sequence number. Every time a user clicks "search", a new sequence number should be generated
Parameters:
  resultTable - A list of result rows. Note that this list does not contain BOs, but the data necessary to render a lookup results screen
Parameters:
  universalUserId - the user that is performing the search. This prevents a malicious user from passing someone else's sequence number (which he can guess) and eventually retrieving it, possibly exposing sensitive data
throws:
  Exception -



persistSelectedObjectIds
public void persistSelectedObjectIds(String lookupResultsSequenceNumber, Set<String> selectedObjectIds, String universalUserId) throws Exception(Code)
Persists a list of BO object IDs that have been selected for return to the calling document (the back location in lookup terminology). The lookup results sequence number acts like a key identifying the selected object IDs. If results are persisted under the same sequence number, then the previously persisted list will be overwritten.
Parameters:
  lookupResultsSequenceNumber - the lookup sequence number. Every time a user clicks "search", a new sequence number should be generated
Parameters:
  selectedObjectIds - A set of the object IDs of the selected rows.
Parameters:
  universalUserId - the user that is performing the search. This prevents a malicious user from passing someone else's sequence number (which he can guess) and eventually retrieving it, possibly exposing sensitive data
throws:
  Exception -



retrieveResultsTable
public List<ResultRow> retrieveResultsTable(String lookupResultsSequenceNumber, String universalUserId) throws Exception(Code)
Returns the list of result rows that was persisted under the passed in sequence number
Parameters:
  lookupResultsSequenceNumber - the lookup sequence number that was used to persist
Parameters:
  universalUserId - the user id that was used to persist the results table. This prevents a malicious user from passing someone else's sequence number (which he can guess) and eventually retrieving it, possibly exposing sensitive data
throws:
  Exception - many reasons, including if the user id parameter does not match the user used to persist the results



retrieveSelectedResultBOs
public Collection<PersistableBusinessObject> retrieveSelectedResultBOs(String lookupResultsSequenceNumber, Class boClass, String universalUserId) throws Exception(Code)
Returns the BOs that correspond to the selected objected IDs that were persisted under the given lookup results number DB data may have changed since the time the user clicked the "search" button (e.g. someone may have changed a value that was used as a query criterion). If so, implementations may or may not choose to handle this situation.
Parameters:
  lookupResultsSequenceNumber - the lookup sequence number that was used to persist
Parameters:
  boClass - The class of BO being retrieved from the lookup
Parameters:
  universalUserId - the user id that was used to persist the results table. This prevents a malicious user from passing someone else's sequence number (which he can guess) and eventually retrieving it, possibly exposing sensitive data A list of BOs corresponding to the
throws:
  Exception - many reasons, including if the user id parameter does not match the user used to persist the results



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