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

public Principal getPrincipal()

Getter for the role Principal.

Returns:
The Principal.

setPrincipal

public void setPrincipal(Principal rolePrincipal)

Setter for the role RolePrincipal.

Parameters:
rolePrincipal - The Principal.

getPreferences

public Preferences getPreferences()

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

Returns:
The Preferences.

setPreferences

public void setPreferences(Preferences preferences)

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

Parameters:
preferences - The Preferences.


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