org.apache.jetspeed.security.impl
Class GroupImpl

java.lang.Object
  extended by org.apache.jetspeed.security.impl.GroupImpl
All Implemented Interfaces:
org.apache.jetspeed.security.Group

public class GroupImpl
extends Object
implements org.apache.jetspeed.security.Group

A group made of a GroupPrincipal and the user Preferences.

Author:
David Le Strat

Field Summary
private  Principal groupPrincipal
           
private  Preferences preferences
           
 
Constructor Summary
GroupImpl()
          Default constructor.
GroupImpl(Principal groupPrincipal, Preferences preferences)
          Group constructor given a group principal and preferences.
 
Method Summary
 Preferences getPreferences()
           
 Principal getPrincipal()
           
 void setPreferences(Preferences preferences)
           
 void setPrincipal(Principal groupPrincipal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

groupPrincipal

private Principal groupPrincipal

preferences

private Preferences preferences
Constructor Detail

GroupImpl

public GroupImpl()

Default constructor.


GroupImpl

public GroupImpl(Principal groupPrincipal,
                 Preferences preferences)

Group constructor given a group principal and preferences.

Parameters:
groupPrincipal - The group principal.
preferences - The preferences.
Method Detail

getPrincipal

public Principal getPrincipal()
Specified by:
getPrincipal in interface org.apache.jetspeed.security.Group
See Also:
Group.getPrincipal()

setPrincipal

public void setPrincipal(Principal groupPrincipal)
Specified by:
setPrincipal in interface org.apache.jetspeed.security.Group
See Also:
Group.setPrincipal(java.security.Principal)

getPreferences

public Preferences getPreferences()
Specified by:
getPreferences in interface org.apache.jetspeed.security.Group
See Also:
Group.getPreferences()

setPreferences

public void setPreferences(Preferences preferences)
Specified by:
setPreferences in interface org.apache.jetspeed.security.Group
See Also:
Group.setPreferences(java.util.prefs.Preferences)


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