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


com.liferay.portal.service.persistence.BasePersistence
   com.liferay.portal.service.persistence.UserGroupPersistenceImpl

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

Inner Class :protected class ContainsUser extends MappingSqlQuery
Inner Class :protected class AddUser extends SqlUpdate
Inner Class :protected class ClearUsers extends SqlUpdate
Inner Class :protected class RemoveUser extends SqlUpdate

Field Summary
protected  AddUseraddUser
    
protected  ClearUsersclearUsers
    
protected  ContainsUsercontainsUser
    
protected  RemoveUserremoveUser
    


Method Summary
public  voidaddUser(long pk, long userPK)
    
public  voidaddUser(long pk, com.liferay.portal.model.User user)
    
public  voidaddUsers(long pk, long[] userPKs)
    
public  voidaddUsers(long pk, List users)
    
public  voidclearUsers(long pk)
    
public  booleancontainsUser(long pk, long userPK)
    
public  booleancontainsUsers(long pk)
    
public  intcountAll()
    
public  intcountByC_N(long companyId, String name)
    
public  intcountByC_P(long companyId, long parentUserGroupId)
    
public  intcountByCompanyId(long companyId)
    
public  UserGroupcreate(long userGroupId)
    
public  UserGroupfetchByC_N(long companyId, String name)
    
public  UserGroupfetchByPrimaryKey(long userGroupId)
    
public  ListfindAll()
    
public  ListfindAll(int begin, int end)
    
public  ListfindAll(int begin, int end, OrderByComparator obc)
    
public  UserGroupfindByC_N(long companyId, String name)
    
public  ListfindByC_P(long companyId, long parentUserGroupId)
    
public  ListfindByC_P(long companyId, long parentUserGroupId, int begin, int end)
    
public  ListfindByC_P(long companyId, long parentUserGroupId, int begin, int end, OrderByComparator obc)
    
public  UserGroupfindByC_P_First(long companyId, long parentUserGroupId, OrderByComparator obc)
    
public  UserGroupfindByC_P_Last(long companyId, long parentUserGroupId, OrderByComparator obc)
    
public  UserGroup[]findByC_P_PrevAndNext(long userGroupId, long companyId, long parentUserGroupId, OrderByComparator obc)
    
public  ListfindByCompanyId(long companyId)
    
public  ListfindByCompanyId(long companyId, int begin, int end)
    
public  ListfindByCompanyId(long companyId, int begin, int end, OrderByComparator obc)
    
public  UserGroupfindByCompanyId_First(long companyId, OrderByComparator obc)
    
public  UserGroupfindByCompanyId_Last(long companyId, OrderByComparator obc)
    
public  UserGroup[]findByCompanyId_PrevAndNext(long userGroupId, long companyId, OrderByComparator obc)
    
public  UserGroupfindByPrimaryKey(long userGroupId)
    
public  ListfindWithDynamicQuery(DynamicQueryInitializer queryInitializer)
    
public  ListfindWithDynamicQuery(DynamicQueryInitializer queryInitializer, int begin, int end)
    
public  ListgetUsers(long pk)
    
public  ListgetUsers(long pk, int begin, int end)
    
public  ListgetUsers(long pk, int begin, int end, OrderByComparator obc)
    
public  intgetUsersSize(long pk)
    
protected  voidinitDao()
    
public  UserGroupremove(long userGroupId)
    
public  UserGroupremove(UserGroup userGroup)
    
public  voidremoveAll()
    
public  voidremoveByC_N(long companyId, String name)
    
public  voidremoveByC_P(long companyId, long parentUserGroupId)
    
public  voidremoveByCompanyId(long companyId)
    
protected  UserGroupremoveImpl(UserGroup userGroup)
    
public  voidremoveUser(long pk, long userPK)
    
public  voidremoveUser(long pk, com.liferay.portal.model.User user)
    
public  voidremoveUsers(long pk, long[] userPKs)
    
public  voidremoveUsers(long pk, List users)
    
public  voidsetUsers(long pk, long[] userPKs)
    
public  voidsetUsers(long pk, List users)
    
public  UserGroupupdate(UserGroup userGroup)
    
public  UserGroupupdate(UserGroup userGroup, boolean merge)
    
public  UserGroupupdateImpl(com.liferay.portal.model.UserGroup userGroup, boolean merge)
    

Field Detail
addUser
protected AddUser addUser(Code)



clearUsers
protected ClearUsers clearUsers(Code)



containsUser
protected ContainsUser containsUser(Code)



removeUser
protected RemoveUser removeUser(Code)





Method Detail
addUser
public void addUser(long pk, long userPK) throws NoSuchUserGroupException, com.liferay.portal.NoSuchUserException, SystemException(Code)



addUser
public void addUser(long pk, com.liferay.portal.model.User user) throws NoSuchUserGroupException, com.liferay.portal.NoSuchUserException, SystemException(Code)



addUsers
public void addUsers(long pk, long[] userPKs) throws NoSuchUserGroupException, com.liferay.portal.NoSuchUserException, SystemException(Code)



addUsers
public void addUsers(long pk, List users) throws NoSuchUserGroupException, com.liferay.portal.NoSuchUserException, SystemException(Code)



clearUsers
public void clearUsers(long pk) throws NoSuchUserGroupException, SystemException(Code)



containsUser
public boolean containsUser(long pk, long userPK) throws SystemException(Code)



containsUsers
public boolean containsUsers(long pk) throws SystemException(Code)



countAll
public int countAll() throws SystemException(Code)



countByC_N
public int countByC_N(long companyId, String name) throws SystemException(Code)



countByC_P
public int countByC_P(long companyId, long parentUserGroupId) throws SystemException(Code)



countByCompanyId
public int countByCompanyId(long companyId) throws SystemException(Code)



create
public UserGroup create(long userGroupId)(Code)



fetchByC_N
public UserGroup fetchByC_N(long companyId, String name) throws SystemException(Code)



fetchByPrimaryKey
public UserGroup fetchByPrimaryKey(long userGroupId) 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)



findByC_N
public UserGroup findByC_N(long companyId, String name) throws NoSuchUserGroupException, SystemException(Code)



findByC_P
public List findByC_P(long companyId, long parentUserGroupId) throws SystemException(Code)



findByC_P
public List findByC_P(long companyId, long parentUserGroupId, int begin, int end) throws SystemException(Code)



findByC_P
public List findByC_P(long companyId, long parentUserGroupId, int begin, int end, OrderByComparator obc) throws SystemException(Code)



findByC_P_First
public UserGroup findByC_P_First(long companyId, long parentUserGroupId, OrderByComparator obc) throws NoSuchUserGroupException, SystemException(Code)



findByC_P_Last
public UserGroup findByC_P_Last(long companyId, long parentUserGroupId, OrderByComparator obc) throws NoSuchUserGroupException, SystemException(Code)



findByC_P_PrevAndNext
public UserGroup[] findByC_P_PrevAndNext(long userGroupId, long companyId, long parentUserGroupId, OrderByComparator obc) throws NoSuchUserGroupException, SystemException(Code)



findByCompanyId
public List findByCompanyId(long companyId) throws SystemException(Code)



findByCompanyId
public List findByCompanyId(long companyId, int begin, int end) throws SystemException(Code)



findByCompanyId
public List findByCompanyId(long companyId, int begin, int end, OrderByComparator obc) throws SystemException(Code)



findByCompanyId_First
public UserGroup findByCompanyId_First(long companyId, OrderByComparator obc) throws NoSuchUserGroupException, SystemException(Code)



findByCompanyId_Last
public UserGroup findByCompanyId_Last(long companyId, OrderByComparator obc) throws NoSuchUserGroupException, SystemException(Code)



findByCompanyId_PrevAndNext
public UserGroup[] findByCompanyId_PrevAndNext(long userGroupId, long companyId, OrderByComparator obc) throws NoSuchUserGroupException, SystemException(Code)



findByPrimaryKey
public UserGroup findByPrimaryKey(long userGroupId) throws NoSuchUserGroupException, SystemException(Code)



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



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



getUsers
public List getUsers(long pk) throws NoSuchUserGroupException, SystemException(Code)



getUsers
public List getUsers(long pk, int begin, int end) throws NoSuchUserGroupException, SystemException(Code)



getUsers
public List getUsers(long pk, int begin, int end, OrderByComparator obc) throws NoSuchUserGroupException, SystemException(Code)



getUsersSize
public int getUsersSize(long pk) throws SystemException(Code)



initDao
protected void initDao()(Code)



remove
public UserGroup remove(long userGroupId) throws NoSuchUserGroupException, SystemException(Code)



remove
public UserGroup remove(UserGroup userGroup) throws SystemException(Code)



removeAll
public void removeAll() throws SystemException(Code)



removeByC_N
public void removeByC_N(long companyId, String name) throws NoSuchUserGroupException, SystemException(Code)



removeByC_P
public void removeByC_P(long companyId, long parentUserGroupId) throws SystemException(Code)



removeByCompanyId
public void removeByCompanyId(long companyId) throws SystemException(Code)



removeImpl
protected UserGroup removeImpl(UserGroup userGroup) throws SystemException(Code)



removeUser
public void removeUser(long pk, long userPK) throws NoSuchUserGroupException, com.liferay.portal.NoSuchUserException, SystemException(Code)



removeUser
public void removeUser(long pk, com.liferay.portal.model.User user) throws NoSuchUserGroupException, com.liferay.portal.NoSuchUserException, SystemException(Code)



removeUsers
public void removeUsers(long pk, long[] userPKs) throws NoSuchUserGroupException, com.liferay.portal.NoSuchUserException, SystemException(Code)



removeUsers
public void removeUsers(long pk, List users) throws NoSuchUserGroupException, com.liferay.portal.NoSuchUserException, SystemException(Code)



setUsers
public void setUsers(long pk, long[] userPKs) throws NoSuchUserGroupException, com.liferay.portal.NoSuchUserException, SystemException(Code)



setUsers
public void setUsers(long pk, List users) throws NoSuchUserGroupException, com.liferay.portal.NoSuchUserException, SystemException(Code)



update
public UserGroup update(UserGroup userGroup) throws SystemException(Code)



update
public UserGroup update(UserGroup userGroup, boolean merge) throws SystemException(Code)



updateImpl
public UserGroup updateImpl(com.liferay.portal.model.UserGroup userGroup, 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.