Java Doc for ShoppingCartPersistenceImpl.java in  » Portal » liferay-portal-4.4.2 » com » liferay » portlet » shopping » service » persistence » 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 » Portal » liferay portal 4.4.2 » com.liferay.portlet.shopping.service.persistence 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.liferay.portal.service.persistence.BasePersistence
   com.liferay.portlet.shopping.service.persistence.ShoppingCartPersistenceImpl

ShoppingCartPersistenceImpl
public class ShoppingCartPersistenceImpl extends BasePersistence implements ShoppingCartPersistence(Code)
View Source
author:
   Brian Wing Shun Chan




Method Summary
public  intcountAll()
    
public  intcountByG_U(long groupId, long userId)
    
public  intcountByGroupId(long groupId)
    
public  intcountByUserId(long userId)
    
public  ShoppingCartcreate(long cartId)
    
public  ShoppingCartfetchByG_U(long groupId, long userId)
    
public  ShoppingCartfetchByPrimaryKey(long cartId)
    
public  ListfindAll()
    
public  ListfindAll(int begin, int end)
    
public  ListfindAll(int begin, int end, OrderByComparator obc)
    
public  ShoppingCartfindByG_U(long groupId, long userId)
    
public  ListfindByGroupId(long groupId)
    
public  ListfindByGroupId(long groupId, int begin, int end)
    
public  ListfindByGroupId(long groupId, int begin, int end, OrderByComparator obc)
    
public  ShoppingCartfindByGroupId_First(long groupId, OrderByComparator obc)
    
public  ShoppingCartfindByGroupId_Last(long groupId, OrderByComparator obc)
    
public  ShoppingCart[]findByGroupId_PrevAndNext(long cartId, long groupId, OrderByComparator obc)
    
public  ShoppingCartfindByPrimaryKey(long cartId)
    
public  ListfindByUserId(long userId)
    
public  ListfindByUserId(long userId, int begin, int end)
    
public  ListfindByUserId(long userId, int begin, int end, OrderByComparator obc)
    
public  ShoppingCartfindByUserId_First(long userId, OrderByComparator obc)
    
public  ShoppingCartfindByUserId_Last(long userId, OrderByComparator obc)
    
public  ShoppingCart[]findByUserId_PrevAndNext(long cartId, long userId, OrderByComparator obc)
    
public  ListfindWithDynamicQuery(DynamicQueryInitializer queryInitializer)
    
public  ListfindWithDynamicQuery(DynamicQueryInitializer queryInitializer, int begin, int end)
    
protected  voidinitDao()
    
public  ShoppingCartremove(long cartId)
    
public  ShoppingCartremove(ShoppingCart shoppingCart)
    
public  voidremoveAll()
    
public  voidremoveByG_U(long groupId, long userId)
    
public  voidremoveByGroupId(long groupId)
    
public  voidremoveByUserId(long userId)
    
protected  ShoppingCartremoveImpl(ShoppingCart shoppingCart)
    
public  ShoppingCartupdate(ShoppingCart shoppingCart)
    
public  ShoppingCartupdate(ShoppingCart shoppingCart, boolean merge)
    
public  ShoppingCartupdateImpl(com.liferay.portlet.shopping.model.ShoppingCart shoppingCart, boolean merge)
    



Method Detail
countAll
public int countAll() throws SystemException(Code)



countByG_U
public int countByG_U(long groupId, long userId) throws SystemException(Code)



countByGroupId
public int countByGroupId(long groupId) throws SystemException(Code)



countByUserId
public int countByUserId(long userId) throws SystemException(Code)



create
public ShoppingCart create(long cartId)(Code)



fetchByG_U
public ShoppingCart fetchByG_U(long groupId, long userId) throws SystemException(Code)



fetchByPrimaryKey
public ShoppingCart fetchByPrimaryKey(long cartId) throws SystemException(Code)



findAll
public List findAll() throws SystemException(Code)



findAll
public List findAll(int begin, int end) throws SystemException(Code)



findAll
public List findAll(int begin, int end, OrderByComparator obc) throws SystemException(Code)



findByG_U
public ShoppingCart findByG_U(long groupId, long userId) throws NoSuchCartException, SystemException(Code)



findByGroupId
public List findByGroupId(long groupId) throws SystemException(Code)



findByGroupId
public List findByGroupId(long groupId, int begin, int end) throws SystemException(Code)



findByGroupId
public List findByGroupId(long groupId, int begin, int end, OrderByComparator obc) throws SystemException(Code)



findByGroupId_First
public ShoppingCart findByGroupId_First(long groupId, OrderByComparator obc) throws NoSuchCartException, SystemException(Code)



findByGroupId_Last
public ShoppingCart findByGroupId_Last(long groupId, OrderByComparator obc) throws NoSuchCartException, SystemException(Code)



findByGroupId_PrevAndNext
public ShoppingCart[] findByGroupId_PrevAndNext(long cartId, long groupId, OrderByComparator obc) throws NoSuchCartException, SystemException(Code)



findByPrimaryKey
public ShoppingCart findByPrimaryKey(long cartId) throws NoSuchCartException, SystemException(Code)



findByUserId
public List findByUserId(long userId) throws SystemException(Code)



findByUserId
public List findByUserId(long userId, int begin, int end) throws SystemException(Code)



findByUserId
public List findByUserId(long userId, int begin, int end, OrderByComparator obc) throws SystemException(Code)



findByUserId_First
public ShoppingCart findByUserId_First(long userId, OrderByComparator obc) throws NoSuchCartException, SystemException(Code)



findByUserId_Last
public ShoppingCart findByUserId_Last(long userId, OrderByComparator obc) throws NoSuchCartException, SystemException(Code)



findByUserId_PrevAndNext
public ShoppingCart[] findByUserId_PrevAndNext(long cartId, long userId, OrderByComparator obc) throws NoSuchCartException, SystemException(Code)



findWithDynamicQuery
public List findWithDynamicQuery(DynamicQueryInitializer queryInitializer) throws SystemException(Code)



findWithDynamicQuery
public List findWithDynamicQuery(DynamicQueryInitializer queryInitializer, int begin, int end) throws SystemException(Code)



initDao
protected void initDao()(Code)



remove
public ShoppingCart remove(long cartId) throws NoSuchCartException, SystemException(Code)



remove
public ShoppingCart remove(ShoppingCart shoppingCart) throws SystemException(Code)



removeAll
public void removeAll() throws SystemException(Code)



removeByG_U
public void removeByG_U(long groupId, long userId) throws NoSuchCartException, SystemException(Code)



removeByGroupId
public void removeByGroupId(long groupId) throws SystemException(Code)



removeByUserId
public void removeByUserId(long userId) throws SystemException(Code)



removeImpl
protected ShoppingCart removeImpl(ShoppingCart shoppingCart) throws SystemException(Code)



update
public ShoppingCart update(ShoppingCart shoppingCart) throws SystemException(Code)



update
public ShoppingCart update(ShoppingCart shoppingCart, boolean merge) throws SystemException(Code)



updateImpl
public ShoppingCart updateImpl(com.liferay.portlet.shopping.model.ShoppingCart shoppingCart, boolean merge) throws SystemException(Code)



Methods inherited from com.liferay.portal.service.persistence.BasePersistence
public void closeSession(Session session)(Code)(Java Doc)
protected Dialect getDialect()(Code)(Java Doc)
public SessionFactory getSessionFactory()(Code)(Java Doc)
protected Session openSession() throws HibernateException(Code)(Java Doc)
protected Session openSession(SessionFactory sessionFactory) throws HibernateException(Code)(Java Doc)
public void setSessionFactory(SessionFactory sessionFactory)(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.