| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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.
| 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. | 
| Methods inherited from interface org.apache.turbine.om.security.SecurityEntity | 
| getId, getIdAsObj, getName, setId, setName | 
| Method Detail | 
public void save()
          throws TurbineSecurityException
TurbineSecurityException - if there is a problem while
  saving data.
public void remove()
            throws TurbineSecurityException
TurbineSecurityException - if the Permission could not be removed.
public void rename(java.lang.String name)
            throws TurbineSecurityException
name - The new Permission name.
TurbineSecurityException - if the Permission could not be renamed.| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||