org.apache.jetspeed.security
Interface Role


public interface Role

A role made of a RolePrincipal and the role Preferences.

Author:
David Le Strat

Method Summary
 Preferences getPreferences()
          Getter for the role Preferences node, providing access to the role preferences properties.
 Principal getPrincipal()
          Getter for the role Principal.
 void setPreferences(Preferences preferences)
          Setter for the role Preferences node, providing access to the role preferences properties.
 void setPrincipal(Principal rolePrincipal)
          Setter for the role RolePrincipal.
 

Method Detail

getPrincipal

Principal getPrincipal()

Getter for the role Principal.

Returns:
The Principal.

setPrincipal

void setPrincipal(Principal rolePrincipal)

Setter for the role RolePrincipal.

Parameters:
rolePrincipal - The Principal.

getPreferences

Preferences getPreferences()

Getter for the role Preferences node, providing access to the role preferences properties.

Returns:
The Preferences.

setPreferences

void setPreferences(Preferences preferences)

Setter for the role Preferences node, providing access to the role preferences properties.

Parameters:
preferences - The Preferences.


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.