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

PermissionFinderImpl
public class PermissionFinderImpl implements PermissionFinder(Code)
View Source
author:
   Brian Wing Shun Chan


Field Summary
public static  StringCOUNT_BY_GROUPS_PERMISSIONS
    
public static  StringCOUNT_BY_GROUPS_ROLES
    
public static  StringCOUNT_BY_ROLES_PERMISSIONS
    
public static  StringCOUNT_BY_USERS_PERMISSIONS
    
public static  StringCOUNT_BY_USERS_ROLES
    
public static  StringCOUNT_BY_USER_GROUP_ROLE
    
public static  StringFIND_BY_A_R
    
public static  StringFIND_BY_G_C_N_S_P
    
public static  StringFIND_BY_G_R
    
public static  StringFIND_BY_O_G_R
    
public static  StringFIND_BY_R_R
    
public static  StringFIND_BY_U_A_R
    
public static  StringFIND_BY_U_C_N_S_P
    
public static  StringFIND_BY_U_R
    


Method Summary
public  booleancontainsPermissions_2(List permissions, long userId, List groups, long groupId)
    
public  booleancontainsPermissions_4(List permissions, long userId, List groups, List roles)
    
public  intcountByGroupsPermissions(List permissions, List groups)
    
public  intcountByGroupsRoles(List permissions, List groups)
    
public  intcountByRolesPermissions(List permissions, List roles)
    
public  intcountByUserGroupRole(List permissions, long userId, long groupId)
    
public  intcountByUsersPermissions(List permissions, long userId)
    
public  intcountByUsersRoles(List permissions, long userId)
    
public  ListfindByA_R(String actionId, long[] resourceIds)
    
public  ListfindByG_C_N_S_P(long groupId, long companyId, String name, int scope, String primKey)
    
public  ListfindByG_R(long groupId, long resourceId)
    
public  ListfindByO_G_R(long organizationId, long groupId, long resourceId)
    
public  ListfindByR_R(long roleId, long resourceId)
    
public  ListfindByU_A_R(long userId, String[] actionIds, long resourceId)
    
public  ListfindByU_C_N_S_P(long userId, long companyId, String name, int scope, String primKey)
    
public  ListfindByU_R(long userId, long resourceId)
    
protected  StringgetActionIds(String[] actionIds)
    
protected  StringgetGroupIds(List groups, String table)
    
protected  StringgetPermissionIds(List permissions, String table)
    
protected  StringgetResourceIds(long[] resourceIds)
    
protected  StringgetRoleIds(List roles, String table)
    
protected  voidsetGroupIds(QueryPos qPos, List groups)
    
protected  voidsetPermissionIds(QueryPos qPos, List permissions)
    
protected  voidsetResourceIds(QueryPos qPos, long[] resourceIds)
    
protected  voidsetRoleIds(QueryPos qPos, List roles)
    

Field Detail
COUNT_BY_GROUPS_PERMISSIONS
public static String COUNT_BY_GROUPS_PERMISSIONS(Code)



COUNT_BY_GROUPS_ROLES
public static String COUNT_BY_GROUPS_ROLES(Code)



COUNT_BY_ROLES_PERMISSIONS
public static String COUNT_BY_ROLES_PERMISSIONS(Code)



COUNT_BY_USERS_PERMISSIONS
public static String COUNT_BY_USERS_PERMISSIONS(Code)



COUNT_BY_USERS_ROLES
public static String COUNT_BY_USERS_ROLES(Code)



COUNT_BY_USER_GROUP_ROLE
public static String COUNT_BY_USER_GROUP_ROLE(Code)



FIND_BY_A_R
public static String FIND_BY_A_R(Code)



FIND_BY_G_C_N_S_P
public static String FIND_BY_G_C_N_S_P(Code)



FIND_BY_G_R
public static String FIND_BY_G_R(Code)



FIND_BY_O_G_R
public static String FIND_BY_O_G_R(Code)



FIND_BY_R_R
public static String FIND_BY_R_R(Code)



FIND_BY_U_A_R
public static String FIND_BY_U_A_R(Code)



FIND_BY_U_C_N_S_P
public static String FIND_BY_U_C_N_S_P(Code)



FIND_BY_U_R
public static String FIND_BY_U_R(Code)





Method Detail
containsPermissions_2
public boolean containsPermissions_2(List permissions, long userId, List groups, long groupId) throws SystemException(Code)



containsPermissions_4
public boolean containsPermissions_4(List permissions, long userId, List groups, List roles) throws SystemException(Code)



countByGroupsPermissions
public int countByGroupsPermissions(List permissions, List groups) throws SystemException(Code)



countByGroupsRoles
public int countByGroupsRoles(List permissions, List groups) throws SystemException(Code)



countByRolesPermissions
public int countByRolesPermissions(List permissions, List roles) throws SystemException(Code)



countByUserGroupRole
public int countByUserGroupRole(List permissions, long userId, long groupId) throws SystemException(Code)



countByUsersPermissions
public int countByUsersPermissions(List permissions, long userId) throws SystemException(Code)



countByUsersRoles
public int countByUsersRoles(List permissions, long userId) throws SystemException(Code)



findByA_R
public List findByA_R(String actionId, long[] resourceIds) throws SystemException(Code)



findByG_C_N_S_P
public List findByG_C_N_S_P(long groupId, long companyId, String name, int scope, String primKey) throws SystemException(Code)



findByG_R
public List findByG_R(long groupId, long resourceId) throws SystemException(Code)



findByO_G_R
public List findByO_G_R(long organizationId, long groupId, long resourceId) throws SystemException(Code)



findByR_R
public List findByR_R(long roleId, long resourceId) throws SystemException(Code)



findByU_A_R
public List findByU_A_R(long userId, String[] actionIds, long resourceId) throws SystemException(Code)



findByU_C_N_S_P
public List findByU_C_N_S_P(long userId, long companyId, String name, int scope, String primKey) throws SystemException(Code)



findByU_R
public List findByU_R(long userId, long resourceId) throws SystemException(Code)



getActionIds
protected String getActionIds(String[] actionIds)(Code)



getGroupIds
protected String getGroupIds(List groups, String table)(Code)



getPermissionIds
protected String getPermissionIds(List permissions, String table)(Code)



getResourceIds
protected String getResourceIds(long[] resourceIds)(Code)



getRoleIds
protected String getRoleIds(List roles, String table)(Code)



setGroupIds
protected void setGroupIds(QueryPos qPos, List groups)(Code)



setPermissionIds
protected void setPermissionIds(QueryPos qPos, List permissions)(Code)



setResourceIds
protected void setResourceIds(QueryPos qPos, long[] resourceIds)(Code)



setRoleIds
protected void setRoleIds(QueryPos qPos, List roles)(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.