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

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




Method Summary
public static  voidaddGroup(long pk, long groupPK)
    
public static  voidaddGroup(long pk, com.liferay.portal.model.Group group)
    
public static  voidaddGroups(long pk, long[] groupPKs)
    
public static  voidaddGroups(long pk, java.util.List groups)
    
public static  voidaddPermission(long pk, long permissionPK)
    
public static  voidaddPermission(long pk, com.liferay.portal.model.Permission permission)
    
public static  voidaddPermissions(long pk, long[] permissionPKs)
    
public static  voidaddPermissions(long pk, java.util.List permissions)
    
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  voidclearGroups(long pk)
    
public static  voidclearPermissions(long pk)
    
public static  voidclearUsers(long pk)
    
public static  booleancontainsGroup(long pk, long groupPK)
    
public static  booleancontainsGroups(long pk)
    
public static  booleancontainsPermission(long pk, long permissionPK)
    
public static  booleancontainsPermissions(long pk)
    
public static  booleancontainsUser(long pk, long userPK)
    
public static  booleancontainsUsers(long pk)
    
public static  intcountAll()
    
public static  intcountByC_C_C(long companyId, long classNameId, long classPK)
    
public static  intcountByC_N(long companyId, java.lang.String name)
    
public static  intcountByCompanyId(long companyId)
    
public static  com.liferay.portal.model.Rolecreate(long roleId)
    
public static  com.liferay.portal.model.RolefetchByC_C_C(long companyId, long classNameId, long classPK)
    
public static  com.liferay.portal.model.RolefetchByC_N(long companyId, java.lang.String name)
    
public static  com.liferay.portal.model.RolefetchByPrimaryKey(long roleId)
    
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.RolefindByC_C_C(long companyId, long classNameId, long classPK)
    
public static  com.liferay.portal.model.RolefindByC_N(long companyId, java.lang.String name)
    
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.RolefindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  com.liferay.portal.model.RolefindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  com.liferay.portal.model.Role[]findByCompanyId_PrevAndNext(long roleId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  com.liferay.portal.model.RolefindByPrimaryKey(long roleId)
    
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  java.util.ListgetGroups(long pk)
    
public static  java.util.ListgetGroups(long pk, int begin, int end)
    
public static  java.util.ListgetGroups(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  intgetGroupsSize(long pk)
    
public static  java.util.ListgetPermissions(long pk)
    
public static  java.util.ListgetPermissions(long pk, int begin, int end)
    
public static  java.util.ListgetPermissions(long pk, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
    
public static  intgetPermissionsSize(long pk)
    
public static  RolePersistencegetPersistence()
    
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.Roleremove(long roleId)
    
public static  com.liferay.portal.model.Roleremove(com.liferay.portal.model.Role role)
    
public static  voidremoveAll()
    
public static  voidremoveByC_C_C(long companyId, long classNameId, long classPK)
    
public static  voidremoveByC_N(long companyId, java.lang.String name)
    
public static  voidremoveByCompanyId(long companyId)
    
public static  voidremoveGroup(long pk, long groupPK)
    
public static  voidremoveGroup(long pk, com.liferay.portal.model.Group group)
    
public static  voidremoveGroups(long pk, long[] groupPKs)
    
public static  voidremoveGroups(long pk, java.util.List groups)
    
public static  voidremovePermission(long pk, long permissionPK)
    
public static  voidremovePermission(long pk, com.liferay.portal.model.Permission permission)
    
public static  voidremovePermissions(long pk, long[] permissionPKs)
    
public static  voidremovePermissions(long pk, java.util.List permissions)
    
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 static  voidsetGroups(long pk, long[] groupPKs)
    
public static  voidsetGroups(long pk, java.util.List groups)
    
public static  voidsetPermissions(long pk, long[] permissionPKs)
    
public static  voidsetPermissions(long pk, java.util.List permissions)
    
public  voidsetPersistence(RolePersistence persistence)
    
public static  voidsetUsers(long pk, long[] userPKs)
    
public static  voidsetUsers(long pk, java.util.List users)
    
public static  com.liferay.portal.model.Roleupdate(com.liferay.portal.model.Role role)
    
public static  com.liferay.portal.model.Roleupdate(com.liferay.portal.model.Role role, boolean merge)
    
public static  com.liferay.portal.model.RoleupdateImpl(com.liferay.portal.model.Role role, boolean merge)
    



Method Detail
addGroup
public static void addGroup(long pk, long groupPK) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchRoleException(Code)



addGroup
public static void addGroup(long pk, com.liferay.portal.model.Group group) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchRoleException(Code)



addGroups
public static void addGroups(long pk, long[] groupPKs) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchRoleException(Code)



addGroups
public static void addGroups(long pk, java.util.List groups) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchRoleException(Code)



addPermission
public static void addPermission(long pk, long permissionPK) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchPermissionException, com.liferay.portal.NoSuchRoleException(Code)



addPermission
public static void addPermission(long pk, com.liferay.portal.model.Permission permission) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchPermissionException, com.liferay.portal.NoSuchRoleException(Code)



addPermissions
public static void addPermissions(long pk, long[] permissionPKs) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchPermissionException, com.liferay.portal.NoSuchRoleException(Code)



addPermissions
public static void addPermissions(long pk, java.util.List permissions) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchPermissionException, com.liferay.portal.NoSuchRoleException(Code)



addUser
public static void addUser(long pk, long userPK) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchRoleException, 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.NoSuchRoleException, com.liferay.portal.NoSuchUserException(Code)



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



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



clearGroups
public static void clearGroups(long pk) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchRoleException(Code)



clearPermissions
public static void clearPermissions(long pk) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchRoleException(Code)



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



containsGroup
public static boolean containsGroup(long pk, long groupPK) throws com.liferay.portal.SystemException(Code)



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



containsPermission
public static boolean containsPermission(long pk, long permissionPK) throws com.liferay.portal.SystemException(Code)



containsPermissions
public static boolean containsPermissions(long pk) throws com.liferay.portal.SystemException(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_C_C
public static int countByC_C_C(long companyId, long classNameId, long classPK) 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)



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



create
public static com.liferay.portal.model.Role create(long roleId)(Code)



fetchByC_C_C
public static com.liferay.portal.model.Role fetchByC_C_C(long companyId, long classNameId, long classPK) throws com.liferay.portal.SystemException(Code)



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



fetchByPrimaryKey
public static com.liferay.portal.model.Role fetchByPrimaryKey(long roleId) 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_C_C
public static com.liferay.portal.model.Role findByC_C_C(long companyId, long classNameId, long classPK) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchRoleException(Code)



findByC_N
public static com.liferay.portal.model.Role findByC_N(long companyId, java.lang.String name) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchRoleException(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.Role findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchRoleException(Code)



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



findByCompanyId_PrevAndNext
public static com.liferay.portal.model.Role[] findByCompanyId_PrevAndNext(long roleId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchRoleException(Code)



findByPrimaryKey
public static com.liferay.portal.model.Role findByPrimaryKey(long roleId) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchRoleException(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)



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



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



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



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



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



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



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



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



getPersistence
public static RolePersistence getPersistence()(Code)



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



getUsers
public static java.util.List getUsers(long pk, int begin, int end) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchRoleException(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.NoSuchRoleException(Code)



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



remove
public static com.liferay.portal.model.Role remove(long roleId) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchRoleException(Code)



remove
public static com.liferay.portal.model.Role remove(com.liferay.portal.model.Role role) throws com.liferay.portal.SystemException(Code)



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



removeByC_C_C
public static void removeByC_C_C(long companyId, long classNameId, long classPK) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchRoleException(Code)



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



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



removeGroup
public static void removeGroup(long pk, long groupPK) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchRoleException(Code)



removeGroup
public static void removeGroup(long pk, com.liferay.portal.model.Group group) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchRoleException(Code)



removeGroups
public static void removeGroups(long pk, long[] groupPKs) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchRoleException(Code)



removeGroups
public static void removeGroups(long pk, java.util.List groups) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchRoleException(Code)



removePermission
public static void removePermission(long pk, long permissionPK) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchPermissionException, com.liferay.portal.NoSuchRoleException(Code)



removePermission
public static void removePermission(long pk, com.liferay.portal.model.Permission permission) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchPermissionException, com.liferay.portal.NoSuchRoleException(Code)



removePermissions
public static void removePermissions(long pk, long[] permissionPKs) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchPermissionException, com.liferay.portal.NoSuchRoleException(Code)



removePermissions
public static void removePermissions(long pk, java.util.List permissions) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchPermissionException, com.liferay.portal.NoSuchRoleException(Code)



removeUser
public static void removeUser(long pk, long userPK) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchRoleException, 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.NoSuchRoleException, com.liferay.portal.NoSuchUserException(Code)



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



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



setGroups
public static void setGroups(long pk, long[] groupPKs) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchRoleException(Code)



setGroups
public static void setGroups(long pk, java.util.List groups) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchGroupException, com.liferay.portal.NoSuchRoleException(Code)



setPermissions
public static void setPermissions(long pk, long[] permissionPKs) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchPermissionException, com.liferay.portal.NoSuchRoleException(Code)



setPermissions
public static void setPermissions(long pk, java.util.List permissions) throws com.liferay.portal.SystemException, com.liferay.portal.NoSuchPermissionException, com.liferay.portal.NoSuchRoleException(Code)



setPersistence
public void setPersistence(RolePersistence persistence)(Code)



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



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



update
public static com.liferay.portal.model.Role update(com.liferay.portal.model.Role role) throws com.liferay.portal.SystemException(Code)



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



updateImpl
public static com.liferay.portal.model.Role updateImpl(com.liferay.portal.model.Role role, 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.