Java Doc for Privilege.java in  » 6.0-JDK-Modules » jsr-283 » javax » jcr » security » 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 » 6.0 JDK Modules » jsr 283 » javax.jcr.security 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.jcr.security.Privilege

Privilege
public interface Privilege (Code)
A privilege represents the capability of performing a particular set of operations on items in the JCR repository. Each privilege is identified by a NAME that is unique across the set of privileges supported by a repository. JCR defines a set of standard privileges in the jcr namespace. Implementations may add additional privileges in namespaces other than jcr.

A privilege may be an aggregate privilege. Aggregate privileges are sets of other privileges. Granting, denying, or testing an aggregate privilege is equivalent to individually granting, denying, or testing each privilege it contains. The privileges contained by an aggregate privilege may themselves be aggregate privileges if the resulting privilege graph is acyclic.

A privilege may be an abstract privilege. Abstract privileges cannot themselves be granted or denied, but can be composed into aggregate privileges which are granted or denied.

A privilege can be both aggregate and abstract.
since:
   JCR 2.0



Field Summary
final public static  StringADD_CHILD_NODES
     A constant representing ADD_CHILD_NODES, the privilege to create child nodes of a node.
final public static  StringALL
    
final public static  StringGET_ACCESS_CONTROL_POLICY
     A constant representing GET_ACCESS_CONTROL_POLICY, the privilege to get the access control policy of a node.
final public static  StringMODIFY_ACCESS_CONTROL_POLICY
     A constant representing MODIFY_ACCESS_CONTROL_POLICY, the privilege to modify the access control policies of a node.
final public static  StringMODIFY_PROPERTIES
     A constant representing MODIFY_PROPERTIES, the privilege to create, remove and modify the values of the properties of a node.
final public static  StringREAD
     A constant representing READ, the privilege to retrieve a node and get its properties and their values.
final public static  StringREMOVE_CHILD_NODES
     A constant representing REMOVE_CHILD_NODES, the privilege to remove child nodes of a node.
final public static  StringWRITE
    


Method Summary
 Privilege[]getAggregatePrivileges()
     If this privilege is an aggregate privilege, returns the privileges it contains, the privileges contained by any aggregate privileges among those, and so on (the transitive closure of privileges contained by this privilege).
 Privilege[]getDeclaredAggregatePrivileges()
     If this privilege is an aggregate privilege, returns the privileges directly contained by the aggregate privilege.
 StringgetDescription()
     Returns a description of this privilege.
 StringgetName()
     Returns the name of this privilege.
 booleanisAbstract()
     Returns whether this privilege is an abstract privilege.
 booleanisAggregate()
     Returns whether this privilege is an aggregate privilege.

Field Detail
ADD_CHILD_NODES
final public static String ADD_CHILD_NODES(Code)
A constant representing ADD_CHILD_NODES, the privilege to create child nodes of a node.



ALL
final public static String ALL(Code)
A constant representing ALL, an aggregate privilege that contains:
  • READ
  • WRITE
  • GET_ACCESS_CONTROL
  • MODIFY_ACCESS_CONTROL



GET_ACCESS_CONTROL_POLICY
final public static String GET_ACCESS_CONTROL_POLICY(Code)
A constant representing GET_ACCESS_CONTROL_POLICY, the privilege to get the access control policy of a node.



MODIFY_ACCESS_CONTROL_POLICY
final public static String MODIFY_ACCESS_CONTROL_POLICY(Code)
A constant representing MODIFY_ACCESS_CONTROL_POLICY, the privilege to modify the access control policies of a node.



MODIFY_PROPERTIES
final public static String MODIFY_PROPERTIES(Code)
A constant representing MODIFY_PROPERTIES, the privilege to create, remove and modify the values of the properties of a node.



READ
final public static String READ(Code)
A constant representing READ, the privilege to retrieve a node and get its properties and their values.



REMOVE_CHILD_NODES
final public static String REMOVE_CHILD_NODES(Code)
A constant representing REMOVE_CHILD_NODES, the privilege to remove child nodes of a node.



WRITE
final public static String WRITE(Code)
A constant representing WRITE, an aggregate privilege that contains:
  • MODIFY_PROPERTIES
  • ADD_CHILD_NODES
  • REMOVE_CHILD_NODES





Method Detail
getAggregatePrivileges
Privilege[] getAggregatePrivileges()(Code)
If this privilege is an aggregate privilege, returns the privileges it contains, the privileges contained by any aggregate privileges among those, and so on (the transitive closure of privileges contained by this privilege). Otherwise returns an empty array. an array of Privileges



getDeclaredAggregatePrivileges
Privilege[] getDeclaredAggregatePrivileges()(Code)
If this privilege is an aggregate privilege, returns the privileges directly contained by the aggregate privilege. Otherwise returns an empty array. an array of Privileges



getDescription
String getDescription()(Code)
Returns a description of this privilege. a description of this privilege.



getName
String getName()(Code)
Returns the name of this privilege. the name of this privilege.



isAbstract
boolean isAbstract()(Code)
Returns whether this privilege is an abstract privilege. true if this privilege is an abstract privilege;false otherwise.



isAggregate
boolean isAggregate()(Code)
Returns whether this privilege is an aggregate privilege. true if this privilege is an aggregate privilege;false otherwise.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.