|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.safehaus.triplesec.guardian.PolicyChangeAdapter
public class PolicyChangeAdapter
An do nothing convenience adapter for a PolicyChangeListener.
| Constructor Summary | |
|---|---|
PolicyChangeAdapter()
|
|
| Method Summary | |
|---|---|
void |
permissionChanged(ApplicationPolicy policy,
Permission permission,
ChangeType changeType)
Notification method called when a permission is added, deleted, or modified. |
void |
permissionRenamed(ApplicationPolicy policy,
Permission permission,
java.lang.String oldName)
Notification method called when a permission is renamed. |
void |
profileChanged(ApplicationPolicy policy,
Profile profile,
ChangeType changeType)
Notification method called when a profile is added, deleted, or modified. |
void |
profileRenamed(ApplicationPolicy policy,
Profile profile,
java.lang.String oldName)
Notification method called when a policy is renamed. |
void |
roleChanged(ApplicationPolicy policy,
Role role,
ChangeType changeType)
Notification method called when a role is added, deleted, or modified. |
void |
roleRenamed(ApplicationPolicy policy,
Role role,
java.lang.String oldName)
Notification method called when a role is renamed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PolicyChangeAdapter()
| Method Detail |
|---|
public void roleChanged(ApplicationPolicy policy,
Role role,
ChangeType changeType)
PolicyChangeListener
roleChanged in interface PolicyChangeListenerpolicy - the application policy containing the rolerole - the role that is added, deleted or modifiedchangeType - the type of change: add, delete or modify.
public void roleRenamed(ApplicationPolicy policy,
Role role,
java.lang.String oldName)
PolicyChangeListener
roleRenamed in interface PolicyChangeListenerpolicy - the application policy containing the rolerole - the role that was renamed and whose getName() returns the new nameoldName - the old name of the role
public void permissionChanged(ApplicationPolicy policy,
Permission permission,
ChangeType changeType)
PolicyChangeListener
permissionChanged in interface PolicyChangeListenerpolicy - the application policy containing the permissionpermission - the permission that was changedchangeType - the type of change: add, delete or modify.
public void permissionRenamed(ApplicationPolicy policy,
Permission permission,
java.lang.String oldName)
PolicyChangeListener
permissionRenamed in interface PolicyChangeListenerpolicy - the application policy containing the permissionpermission - the permission that was renamedoldName - the old name of the permission
public void profileChanged(ApplicationPolicy policy,
Profile profile,
ChangeType changeType)
PolicyChangeListener
profileChanged in interface PolicyChangeListenerpolicy - the application policy containing the profileprofile - the profile that changedchangeType - the type of change: add, delete or modify.
public void profileRenamed(ApplicationPolicy policy,
Profile profile,
java.lang.String oldName)
PolicyChangeListener
profileRenamed in interface PolicyChangeListenerpolicy - the application policy containing the profileprofile - the profile that was renamedoldName - the old name of the profile
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||