org.apache.jetspeed.om.security
Interface Permission

All Known Implementing Classes:
BaseJetspeedPermission, LDAPPermission, TurbinePermission

public interface Permission

A Jetspeed basic Permission.

Version:
$Id: Permission.java,v 1.3 2004/02/23 03:14:12 jford Exp $
Author:
David Sean Taylor

Method Summary
 java.lang.String getId()
          Get the id of the Permission
 java.lang.String getName()
          Get the name of the Permission
 void setId(java.lang.String id)
          Set the id of the Permission
 void setName(java.lang.String permissionName)
          Set the name of the Permission
 

Method Detail

getName

public java.lang.String getName()
Get the name of the Permission

Returns:
the name of the permission.

setName

public void setName(java.lang.String permissionName)
Set the name of the Permission

Parameters:
permissionName - the name of the Permission.

getId

public java.lang.String getId()
Get the id of the Permission

Returns:
the id of the permission.

setId

public void setId(java.lang.String id)
Set the id of the Permission

Parameters:
id - the new id for the permission


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.