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


java.lang.Object
   com.liferay.portal.service.persistence.UserGroupUtil

UserGroupUtil
public class UserGroupUtil (Code)
View Source
author:
   Brian Wing Shun Chan




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



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



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



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



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



clearUsers
public static void clearUsers(long pk) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchUserGroupException(Code)



containsUser
public static boolean containsUser(long pk, long userPK) throws com.liferay.portal.SystemException(Code)



containsUsers
public static boolean containsUsers(long pk) throws com.liferay.portal.SystemException(Code)



countAll
public static int countAll() throws com.liferay.portal.SystemException(Code)



countByC_N
public static int countByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException(Code)



countByC_P
public static int countByC_P(long companyId, long parentUserGroupId) throws com.liferay.portal.SystemException(Code)



countByCompanyId
public static int countByCompanyId(long companyId) throws com.liferay.portal.SystemException(Code)



create
public static com.liferay.portal.model.UserGroup create(long userGroupId)(Code)



fetchByC_N
public static com.liferay.portal.model.UserGroup fetchByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException(Code)



fetchByPrimaryKey
public static com.liferay.portal.model.UserGroup fetchByPrimaryKey(long userGroupId) throws com.liferay.portal.SystemException(Code)



findAll
public static java.util.List findAll() throws com.liferay.portal.SystemException(Code)



findAll
public static java.util.List findAll(int begin, int end) throws com.liferay.portal.SystemException(Code)



findAll
public static java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException(Code)



findByC_N
public static com.liferay.portal.model.UserGroup findByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchUserGroupException(Code)



findByC_P
public static java.util.List findByC_P(long companyId, long parentUserGroupId) throws com.liferay.portal.SystemException(Code)



findByC_P
public static java.util.List findByC_P(long companyId, long parentUserGroupId, int begin, int end) throws com.liferay.portal.SystemException(Code)



findByC_P
public static java.util.List findByC_P(long companyId, long parentUserGroupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException(Code)



findByC_P_First
public static com.liferay.portal.model.UserGroup findByC_P_First(long companyId, long parentUserGroupId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchUserGroupException(Code)



findByC_P_Last
public static com.liferay.portal.model.UserGroup findByC_P_Last(long companyId, long parentUserGroupId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchUserGroupException(Code)



findByC_P_PrevAndNext
public static com.liferay.portal.model.UserGroup[] findByC_P_PrevAndNext(long userGroupId, long companyId, long parentUserGroupId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchUserGroupException(Code)



findByCompanyId
public static java.util.List findByCompanyId(long companyId) throws com.liferay.portal.SystemException(Code)



findByCompanyId
public static java.util.List findByCompanyId(long companyId, int begin, int end) throws com.liferay.portal.SystemException(Code)



findByCompanyId
public static java.util.List findByCompanyId(long companyId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException(Code)



findByCompanyId_First
public static com.liferay.portal.model.UserGroup findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchUserGroupException(Code)



findByCompanyId_Last
public static com.liferay.portal.model.UserGroup findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchUserGroupException(Code)



findByCompanyId_PrevAndNext
public static com.liferay.portal.model.UserGroup[] findByCompanyId_PrevAndNext(long userGroupId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchUserGroupException(Code)



findByPrimaryKey
public static com.liferay.portal.model.UserGroup findByPrimaryKey(long userGroupId) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchUserGroupException(Code)



findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer) throws com.liferay.portal.SystemException(Code)



findWithDynamicQuery
public static java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end) throws com.liferay.portal.SystemException(Code)



getPersistence
public static UserGroupPersistence getPersistence()(Code)



getUsers
public static java.util.List getUsers(long pk) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchUserGroupException(Code)



getUsers
public static java.util.List getUsers(long pk, int begin, int end) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchUserGroupException(Code)



getUsers
public static java.util.List getUsers(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchUserGroupException(Code)



getUsersSize
public static int getUsersSize(long pk) throws com.liferay.portal.SystemException(Code)



remove
public static com.liferay.portal.model.UserGroup remove(long userGroupId) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchUserGroupException(Code)



remove
public static com.liferay.portal.model.UserGroup remove(com.liferay.portal.model.UserGroup userGroup) throws com.liferay.portal.SystemException(Code)



removeAll
public static void removeAll() throws com.liferay.portal.SystemException(Code)



removeByC_N
public static void removeByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchUserGroupException(Code)



removeByC_P
public static void removeByC_P(long companyId, long parentUserGroupId) throws com.liferay.portal.SystemException(Code)



removeByCompanyId
public static void removeByCompanyId(long companyId) throws com.liferay.portal.SystemException(Code)



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



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



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



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



setPersistence
public void setPersistence(UserGroupPersistence persistence)(Code)



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



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



update
public static com.liferay.portal.model.UserGroup update(com.liferay.portal.model.UserGroup userGroup) throws com.liferay.portal.SystemException(Code)



update
public static com.liferay.portal.model.UserGroup update(com.liferay.portal.model.UserGroup userGroup, boolean merge) throws com.liferay.portal.SystemException(Code)



updateImpl
public static com.liferay.portal.model.UserGroup updateImpl(com.liferay.portal.model.UserGroup userGroup, boolean merge) throws com.liferay.portal.SystemException(Code)



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.