|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.useradmin.impl.RoleImpl
public class RoleImpl
This RoleImplclass represents Role. Act as base class for different types of roles User,Group.
Role
,
Serialized FormField Summary | |
---|---|
protected String |
name
role name. |
protected UserAdminServiceImpl |
userAdmin
UserAdmin service instance. |
Fields inherited from interface org.osgi.service.useradmin.Role |
---|
GROUP, ROLE, USER, USER_ANYONE |
Constructor Summary | |
---|---|
RoleImpl()
Construct new Role. |
Method Summary | |
---|---|
String |
getName()
|
Dictionary |
getProperties()
|
int |
getType()
|
long |
getVersion()
This method getting version of a role. |
protected boolean |
impliedBy(AuthorizationImpl authorization)
Checks if this role is implied by provided Authorization object. |
void |
increaseVersion()
This method increasing version of a role. |
void |
setName(String name)
Setting role name. |
void |
setUserAdmin(UserAdminServiceImpl userAdmin)
Setting UserAdmin. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String name
protected transient UserAdminServiceImpl userAdmin
Constructor Detail |
---|
public RoleImpl()
Method Detail |
---|
public String getName()
getName
in interface Role
Role.getName()
public Dictionary getProperties()
getProperties
in interface Role
Role.getProperties()
public int getType()
getType
in interface Role
Role.getType()
public long getVersion()
Version
getVersion
in interface Version
Version.getVersion()
public void increaseVersion()
Version
increaseVersion
in interface Version
Version.increaseVersion()
protected boolean impliedBy(AuthorizationImpl authorization)
authorization
- Authorization instance.
Autorization
public void setUserAdmin(UserAdminServiceImpl userAdmin)
userAdmin
- UserAdmin isntance.public void setName(String name)
name
- role name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |