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

PermissionPersistenceImpl
public class PermissionPersistenceImpl extends BasePersistence implements PermissionPersistence(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 ContainsRole extends MappingSqlQuery
Inner Class :protected class AddRole extends SqlUpdate
Inner Class :protected class ClearRoles extends SqlUpdate
Inner Class :protected class RemoveRole 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  AddRoleaddRole
    
protected  AddUseraddUser
    
protected  ClearGroupsclearGroups
    
protected  ClearRolesclearRoles
    
protected  ClearUsersclearUsers
    
protected  ContainsGroupcontainsGroup
    
protected  ContainsRolecontainsRole
    
protected  ContainsUsercontainsUser
    
protected  RemoveGroupremoveGroup
    
protected  RemoveRoleremoveRole
    
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  voidaddRole(long pk, long rolePK)
    
public  voidaddRole(long pk, com.liferay.portal.model.Role role)
    
public  voidaddRoles(long pk, long[] rolePKs)
    
public  voidaddRoles(long pk, List roles)
    
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  voidclearRoles(long pk)
    
public  voidclearUsers(long pk)
    
public  booleancontainsGroup(long pk, long groupPK)
    
public  booleancontainsGroups(long pk)
    
public  booleancontainsRole(long pk, long rolePK)
    
public  booleancontainsRoles(long pk)
    
public  booleancontainsUser(long pk, long userPK)
    
public  booleancontainsUsers(long pk)
    
public  intcountAll()
    
public  intcountByA_R(String actionId, long resourceId)
    
public  intcountByResourceId(long resourceId)
    
public  Permissioncreate(long permissionId)
    
public  PermissionfetchByA_R(String actionId, long resourceId)
    
public  PermissionfetchByPrimaryKey(long permissionId)
    
public  ListfindAll()
    
public  ListfindAll(int begin, int end)
    
public  ListfindAll(int begin, int end, OrderByComparator obc)
    
public  PermissionfindByA_R(String actionId, long resourceId)
    
public  PermissionfindByPrimaryKey(long permissionId)
    
public  ListfindByResourceId(long resourceId)
    
public  ListfindByResourceId(long resourceId, int begin, int end)
    
public  ListfindByResourceId(long resourceId, int begin, int end, OrderByComparator obc)
    
public  PermissionfindByResourceId_First(long resourceId, OrderByComparator obc)
    
public  PermissionfindByResourceId_Last(long resourceId, OrderByComparator obc)
    
public  Permission[]findByResourceId_PrevAndNext(long permissionId, long resourceId, OrderByComparator obc)
    
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  ListgetRoles(long pk)
    
public  ListgetRoles(long pk, int begin, int end)
    
public  ListgetRoles(long pk, int begin, int end, OrderByComparator obc)
    
public  intgetRolesSize(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  Permissionremove(long permissionId)
    
public  Permissionremove(Permission permission)
    
public  voidremoveAll()
    
public  voidremoveByA_R(String actionId, long resourceId)
    
public  voidremoveByResourceId(long resourceId)
    
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  PermissionremoveImpl(Permission permission)
    
public  voidremoveRole(long pk, long rolePK)
    
public  voidremoveRole(long pk, com.liferay.portal.model.Role role)
    
public  voidremoveRoles(long pk, long[] rolePKs)
    
public  voidremoveRoles(long pk, List roles)
    
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  voidsetRoles(long pk, long[] rolePKs)
    
public  voidsetRoles(long pk, List roles)
    
public  voidsetUsers(long pk, long[] userPKs)
    
public  voidsetUsers(long pk, List users)
    
public  Permissionupdate(Permission permission)
    
public  Permissionupdate(Permission permission, boolean merge)
    
public  PermissionupdateImpl(com.liferay.portal.model.Permission permission, boolean merge)
    

Field Detail
addGroup
protected AddGroup addGroup(Code)



addRole
protected AddRole addRole(Code)



addUser
protected AddUser addUser(Code)



clearGroups
protected ClearGroups clearGroups(Code)



clearRoles
protected ClearRoles clearRoles(Code)



clearUsers
protected ClearUsers clearUsers(Code)



containsGroup
protected ContainsGroup containsGroup(Code)



containsRole
protected ContainsRole containsRole(Code)



containsUser
protected ContainsUser containsUser(Code)



removeGroup
protected RemoveGroup removeGroup(Code)



removeRole
protected RemoveRole removeRole(Code)



removeUser
protected RemoveUser removeUser(Code)





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



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



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



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



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



addRole
public void addRole(long pk, com.liferay.portal.model.Role role) throws NoSuchPermissionException, com.liferay.portal.NoSuchRoleException, SystemException(Code)



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



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



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



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



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



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



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



clearRoles
public void clearRoles(long pk) throws NoSuchPermissionException, SystemException(Code)



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



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



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



containsRole
public boolean containsRole(long pk, long rolePK) throws SystemException(Code)



containsRoles
public boolean containsRoles(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)



countByA_R
public int countByA_R(String actionId, long resourceId) throws SystemException(Code)



countByResourceId
public int countByResourceId(long resourceId) throws SystemException(Code)



create
public Permission create(long permissionId)(Code)



fetchByA_R
public Permission fetchByA_R(String actionId, long resourceId) throws SystemException(Code)



fetchByPrimaryKey
public Permission fetchByPrimaryKey(long permissionId) 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)



findByA_R
public Permission findByA_R(String actionId, long resourceId) throws NoSuchPermissionException, SystemException(Code)



findByPrimaryKey
public Permission findByPrimaryKey(long permissionId) throws NoSuchPermissionException, SystemException(Code)



findByResourceId
public List findByResourceId(long resourceId) throws SystemException(Code)



findByResourceId
public List findByResourceId(long resourceId, int begin, int end) throws SystemException(Code)



findByResourceId
public List findByResourceId(long resourceId, int begin, int end, OrderByComparator obc) throws SystemException(Code)



findByResourceId_First
public Permission findByResourceId_First(long resourceId, OrderByComparator obc) throws NoSuchPermissionException, SystemException(Code)



findByResourceId_Last
public Permission findByResourceId_Last(long resourceId, OrderByComparator obc) throws NoSuchPermissionException, SystemException(Code)



findByResourceId_PrevAndNext
public Permission[] findByResourceId_PrevAndNext(long permissionId, long resourceId, OrderByComparator obc) throws NoSuchPermissionException, 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 NoSuchPermissionException, SystemException(Code)



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



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



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



getRoles
public List getRoles(long pk) throws NoSuchPermissionException, SystemException(Code)



getRoles
public List getRoles(long pk, int begin, int end) throws NoSuchPermissionException, SystemException(Code)



getRoles
public List getRoles(long pk, int begin, int end, OrderByComparator obc) throws NoSuchPermissionException, SystemException(Code)



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



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



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



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



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



initDao
protected void initDao()(Code)



remove
public Permission remove(long permissionId) throws NoSuchPermissionException, SystemException(Code)



remove
public Permission remove(Permission permission) throws SystemException(Code)



removeAll
public void removeAll() throws SystemException(Code)



removeByA_R
public void removeByA_R(String actionId, long resourceId) throws NoSuchPermissionException, SystemException(Code)



removeByResourceId
public void removeByResourceId(long resourceId) throws SystemException(Code)



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



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



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



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



removeImpl
protected Permission removeImpl(Permission permission) throws SystemException(Code)



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



removeRole
public void removeRole(long pk, com.liferay.portal.model.Role role) throws NoSuchPermissionException, com.liferay.portal.NoSuchRoleException, SystemException(Code)



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



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



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



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



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



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



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



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



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



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



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



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



update
public Permission update(Permission permission) throws SystemException(Code)



update
public Permission update(Permission permission, boolean merge) throws SystemException(Code)



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