org.apache.turbine.om.security
Interface Permission
- All Superinterfaces:
- SecurityEntity
- All Known Implementing Classes:
- TurbinePermission
- public interface Permission
- extends SecurityEntity
This class represents the permissions that a Role has to access
certain pages/functions within the system. The class implements
Comparable so that when Permissions are added to a Set, they will
be in alphabetical order by name.
- Version:
- $Id$
- Author:
- Frank Y. Kim, John D. McNally, Brett McLaughlin
Method Summary |
void |
remove()
Removes a permission from the system. |
void |
rename(java.lang.String name)
Renames the permission. |
void |
save()
Makes changes made to the Permission attributes permanent. |
save
public void save()
throws TurbineSecurityException
- Makes changes made to the Permission attributes permanent.
- Throws:
TurbineSecurityException
- if there is a problem while
saving data.
remove
public void remove()
throws TurbineSecurityException
- Removes a permission from the system.
- Throws:
TurbineSecurityException
- if the Permission could not be removed.
rename
public void rename(java.lang.String name)
throws TurbineSecurityException
- Renames the permission.
- Parameters:
name
- The new Permission name.- Throws:
TurbineSecurityException
- if the Permission could not be renamed.
Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.