org.apache.jetspeed.om.security
Interface Role

All Known Implementing Classes:
BaseJetspeedRole, LDAPRole, TurbineRole

public interface Role

A Jetspeed basic Role.

Version:
$Id: Role.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 Role
 java.lang.String getName()
          Get the name of the Role
 void setId(java.lang.String id)
          Set the id of the Role
 void setName(java.lang.String roleName)
          Set the name of the Role
 

Method Detail

getName

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

Returns:
the name of the role.

setName

public void setName(java.lang.String roleName)
Set the name of the Role

Parameters:
roleName - the name of the Role.

getId

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

Returns:
the id of the role.

setId

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

Parameters:
id - the new id for the role


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