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

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

Inner Class :protected class ContainsGroup extends MappingSqlQuery
Inner Class :protected class AddGroup extends SqlUpdate
Inner Class :protected class ClearGroups extends SqlUpdate
Inner Class :protected class RemoveGroup extends SqlUpdate
Inner Class :protected class ContainsPermission extends MappingSqlQuery
Inner Class :protected class AddPermission extends SqlUpdate
Inner Class :protected class ClearPermissions extends SqlUpdate
Inner Class :protected class RemovePermission extends SqlUpdate
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  AddGroupaddGroup
    
protected  AddPermissionaddPermission
    
protected  AddUseraddUser
    
protected  ClearGroupsclearGroups
    
protected  ClearPermissionsclearPermissions
    
protected  ClearUsersclearUsers
    
protected  ContainsGroupcontainsGroup
    
protected  ContainsPermissioncontainsPermission
    
protected  ContainsUsercontainsUser
    
protected  RemoveGroupremoveGroup
    
protected  RemovePermissionremovePermission
    
protected  RemoveUserremoveUser
    


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

Field Detail
addGroup
protected AddGroup addGroup(Code)



addPermission
protected AddPermission addPermission(Code)



addUser
protected AddUser addUser(Code)



clearGroups
protected ClearGroups clearGroups(Code)



clearPermissions
protected ClearPermissions clearPermissions(Code)



clearUsers
protected ClearUsers clearUsers(Code)



containsGroup
protected ContainsGroup containsGroup(Code)



containsPermission
protected ContainsPermission containsPermission(Code)



containsUser
protected ContainsUser containsUser(Code)



removeGroup
protected RemoveGroup removeGroup(Code)



removePermission
protected RemovePermission removePermission(Code)



removeUser
protected RemoveUser removeUser(Code)





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



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



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



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



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



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



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



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



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



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



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



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



clearGroups
public void clearGroups(long pk) throws NoSuchRoleException, SystemException(Code)



clearPermissions
public void clearPermissions(long pk) throws NoSuchRoleException, SystemException(Code)



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



containsGroup
public boolean containsGroup(long pk, long groupPK) throws SystemException(Code)



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



containsPermission
public boolean containsPermission(long pk, long permissionPK) throws SystemException(Code)



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



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



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



create
public Role create(long roleId)(Code)



fetchByC_C_C
public Role fetchByC_C_C(long companyId, long classNameId, long classPK) throws SystemException(Code)



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



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



findByC_N
public Role findByC_N(long companyId, String name) throws NoSuchRoleException, 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 Role findByCompanyId_First(long companyId, OrderByComparator obc) throws NoSuchRoleException, SystemException(Code)



findByCompanyId_Last
public Role findByCompanyId_Last(long companyId, OrderByComparator obc) throws NoSuchRoleException, SystemException(Code)



findByCompanyId_PrevAndNext
public Role[] findByCompanyId_PrevAndNext(long roleId, long companyId, OrderByComparator obc) throws NoSuchRoleException, SystemException(Code)



findByPrimaryKey
public Role findByPrimaryKey(long roleId) throws NoSuchRoleException, SystemException(Code)



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



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



getGroups
public List getGroups(long pk) throws NoSuchRoleException, SystemException(Code)



getGroups
public List getGroups(long pk, int begin, int end) throws NoSuchRoleException, SystemException(Code)



getGroups
public List getGroups(long pk, int begin, int end, OrderByComparator obc) throws NoSuchRoleException, SystemException(Code)



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



getPermissions
public List getPermissions(long pk) throws NoSuchRoleException, SystemException(Code)



getPermissions
public List getPermissions(long pk, int begin, int end) throws NoSuchRoleException, SystemException(Code)



getPermissions
public List getPermissions(long pk, int begin, int end, OrderByComparator obc) throws NoSuchRoleException, SystemException(Code)



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



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



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



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



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



initDao
protected void initDao()(Code)



remove
public Role remove(long roleId) throws NoSuchRoleException, SystemException(Code)



remove
public Role remove(Role role) throws SystemException(Code)



removeAll
public void removeAll() throws SystemException(Code)



removeByC_C_C
public void removeByC_C_C(long companyId, long classNameId, long classPK) throws NoSuchRoleException, SystemException(Code)



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



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



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



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



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



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



removeImpl
protected Role removeImpl(Role role) throws SystemException(Code)



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



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



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



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



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



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



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



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



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



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



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



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



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



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



update
public Role update(Role role) throws SystemException(Code)



update
public Role update(Role role, boolean merge) throws SystemException(Code)



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