Java Doc for Permission.java in » Portal » jboss-portal-2.6.4 » org » jboss » portal » cms » 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
»
Portal
»
jboss portal 2.6.4
»
org.jboss.portal.cms.security
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.jboss.portal.cms.security
.Permission
java.security
.BasicPermission
org.jboss.portal.cms.security
.Permission
Permission
public
class Permission extends
BasicPermission
(Code)
author:
Sohil Shah - sohil.shah@jboss.com - Nov 28, 2006
Constructor Summary
public
Permission
()
public
Permission
(
String
service)
public
Permission
(
String
service,
String
actions)
Method Summary
public
void
addCriteria
(
Criteria
criteria)
public
void
addRoleAssoc
(
PermRoleAssoc
roleAssoc)
public
void
addUserAssoc
(
PermUserAssoc
userAssoc)
public
boolean
equals
(
Object
obj)
public
String
findCriteriaValue
(
String
criteriaId)
public
String
getAction
()
public
Set
getCriteria
()
public
long
getId
()
public
Set
getRoleAssoc
()
public
Set
getRoleAssocIds
()
public
Set
getRoles
()
public
String
getService
()
public
Set
getUserAssoc
()
public
Set
getUserAssocIds
()
public
Set
getUsers
()
public
boolean
isNegated
()
public
void
setAction
(
String
action)
public
void
setCriteria
(
Set
criteria)
public
void
setId
(long id)
public
void
setNegated
(boolean isNegated)
public
void
setRoleAssoc
(
Set
roleAssoc)
public
void
setRoles
(
Set
roles)
public
void
setService
(
String
service)
public
void
setUserAssoc
(
Set
userAssoc)
public
void
setUsers
(
Set
users)
public
String
toString
()
Constructor Detail
Permission
public
Permission()
(Code)
Permission
public
Permission(
String
service)
(Code)
Parameters:
name -
Permission
public
Permission(
String
service,
String
actions)
(Code)
Parameters:
name -
Parameters:
actions -
Method Detail
addCriteria
public
void addCriteria(
Criteria
criteria)
(Code)
Parameters:
criteria -
addRoleAssoc
public
void addRoleAssoc(
PermRoleAssoc
roleAssoc)
(Code)
Parameters:
roleAssoc -
addUserAssoc
public
void addUserAssoc(
PermUserAssoc
userAssoc)
(Code)
Parameters:
userAssoc -
equals
public
boolean equals(
Object
obj)
(Code)
findCriteriaValue
public
String
findCriteriaValue(
String
criteriaId)
(Code)
Finds the specified criteria value for the criteriaId
Parameters:
criteriaId - value of the criteria
getAction
public
String
getAction()
(Code)
getCriteria
public
Set
getCriteria()
(Code)
getId
public
long getId()
(Code)
getRoleAssoc
public
Set
getRoleAssoc()
(Code)
getRoleAssocIds
public
Set
getRoleAssocIds()
(Code)
getRoles
public
Set
getRoles()
(Code)
getService
public
String
getService()
(Code)
getUserAssoc
public
Set
getUserAssoc()
(Code)
getUserAssocIds
public
Set
getUserAssocIds()
(Code)
getUsers
public
Set
getUsers()
(Code)
isNegated
public
boolean isNegated()
(Code)
setAction
public
void setAction(
String
action)
(Code)
Parameters:
action -
setCriteria
public
void setCriteria(
Set
criteria)
(Code)
Parameters:
criteria -
setId
public
void setId(long id)
(Code)
Parameters:
id -
setNegated
public
void setNegated(boolean isNegated)
(Code)
Parameters:
isNegated -
setRoleAssoc
public
void setRoleAssoc(
Set
roleAssoc)
(Code)
Parameters:
roleAssoc -
setRoles
public
void setRoles(
Set
roles)
(Code)
Parameters:
roles -
setService
public
void setService(
String
service)
(Code)
Parameters:
name -
setUserAssoc
public
void setUserAssoc(
Set
userAssoc)
(Code)
Parameters:
userAssoc -
setUsers
public
void setUsers(
Set
users)
(Code)
Parameters:
users -
toString
public
String
toString()
(Code)
Methods inherited from
java.security.BasicPermission
public
boolean equals(
Object
obj)
(Code)
(Java Doc)
public
String
getActions()
(Code)
(Java Doc)
public
int hashCode()
(Code)
(Java Doc)
public
boolean implies(
Permission
p)
(Code)
(Java Doc)
public
PermissionCollection
newPermissionCollection()
(Code)
(Java Doc)
Methods inherited from
org.jboss.portal.cms.security.Permission
public
void addCriteria(
Criteria
criteria)
(Code)
(Java Doc)
public
void addRoleAssoc(
PermRoleAssoc
roleAssoc)
(Code)
(Java Doc)
public
void addUserAssoc(
PermUserAssoc
userAssoc)
(Code)
(Java Doc)
public
boolean equals(
Object
obj)
(Code)
(Java Doc)
public
String
findCriteriaValue(
String
criteriaId)
(Code)
(Java Doc)
public
String
getAction()
(Code)
(Java Doc)
public
Set
getCriteria()
(Code)
(Java Doc)
public
long getId()
(Code)
(Java Doc)
public
Set
getRoleAssoc()
(Code)
(Java Doc)
public
Set
getRoleAssocIds()
(Code)
(Java Doc)
public
Set
getRoles()
(Code)
(Java Doc)
public
String
getService()
(Code)
(Java Doc)
public
Set
getUserAssoc()
(Code)
(Java Doc)
public
Set
getUserAssocIds()
(Code)
(Java Doc)
public
Set
getUsers()
(Code)
(Java Doc)
public
boolean isNegated()
(Code)
(Java Doc)
public
void setAction(
String
action)
(Code)
(Java Doc)
public
void setCriteria(
Set
criteria)
(Code)
(Java Doc)
public
void setId(long id)
(Code)
(Java Doc)
public
void setNegated(boolean isNegated)
(Code)
(Java Doc)
public
void setRoleAssoc(
Set
roleAssoc)
(Code)
(Java Doc)
public
void setRoles(
Set
roles)
(Code)
(Java Doc)
public
void setService(
String
service)
(Code)
(Java Doc)
public
void setUserAssoc(
Set
userAssoc)
(Code)
(Java Doc)
public
void setUsers(
Set
users)
(Code)
(Java Doc)
public
String
toString()
(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.