org.apache.jetspeed.security.om.impl
Class InternalGroupPrincipalImpl

java.lang.Object
  extended by org.apache.jetspeed.security.om.impl.InternalPrincipalImpl
      extended by org.apache.jetspeed.security.om.impl.InternalGroupPrincipalImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, InternalGroupPrincipal, InternalPrincipal

public class InternalGroupPrincipalImpl
extends InternalPrincipalImpl
implements InternalGroupPrincipal

InternalGroupPrincipal interface implementation.

Author:
David Le Strat
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.jetspeed.security.om.impl.InternalPrincipalImpl
ojbConcreteClass
 
Constructor Summary
InternalGroupPrincipalImpl()
          Group principal implementation default constructor.
InternalGroupPrincipalImpl(java.lang.String fullPath)
          Constructor to create a new group principal.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compares this InternalGroupPrincipal to the provided group principal and check if they are equal.
 java.util.Collection getRolePrincipals()
          Getter for the role principals.
 java.util.Collection getUserPrincipals()
          Getter for the user principals.
 void setRolePrincipals(java.util.Collection rolePrincipals)
          Setter for the role principals.
 void setUserPrincipals(java.util.Collection userPrincipals)
          Setter for the user principals.
 
Methods inherited from class org.apache.jetspeed.security.om.impl.InternalPrincipalImpl
getClassname, getCreationDate, getFullPath, getModifiedDate, getPermissions, getPrincipalId, isEnabled, isMappingOnly, setClassname, setCreationDate, setEnabled, setFullPath, setMappingOnly, setModifiedDate, setPermissions, setPrincipalId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.security.om.InternalPrincipal
getClassname, getCreationDate, getFullPath, getModifiedDate, getPermissions, getPrincipalId, isEnabled, isMappingOnly, setClassname, setCreationDate, setEnabled, setFullPath, setMappingOnly, setModifiedDate, setPermissions, setPrincipalId
 

Constructor Detail

InternalGroupPrincipalImpl

public InternalGroupPrincipalImpl()

Group principal implementation default constructor.


InternalGroupPrincipalImpl

public InternalGroupPrincipalImpl(java.lang.String fullPath)

Constructor to create a new group principal.

Parameters:
fullPath - The group full path.
Method Detail

getUserPrincipals

public java.util.Collection getUserPrincipals()
Description copied from interface: InternalGroupPrincipal

Getter for the user principals.

Specified by:
getUserPrincipals in interface InternalGroupPrincipal
Returns:
The user principals.
See Also:
InternalGroupPrincipal.getUserPrincipals()

setUserPrincipals

public void setUserPrincipals(java.util.Collection userPrincipals)
Description copied from interface: InternalGroupPrincipal

Setter for the user principals.

Specified by:
setUserPrincipals in interface InternalGroupPrincipal
Parameters:
userPrincipals - The user principals.
See Also:
InternalGroupPrincipal.setUserPrincipals(java.util.Collection)

getRolePrincipals

public java.util.Collection getRolePrincipals()
Description copied from interface: InternalGroupPrincipal

Getter for the role principals.

Specified by:
getRolePrincipals in interface InternalGroupPrincipal
Returns:
The role principals.
See Also:
InternalGroupPrincipal.getRolePrincipals()

setRolePrincipals

public void setRolePrincipals(java.util.Collection rolePrincipals)
Description copied from interface: InternalGroupPrincipal

Setter for the role principals.

Specified by:
setRolePrincipals in interface InternalGroupPrincipal
Parameters:
rolePrincipals - The role principals.
See Also:
InternalGroupPrincipal.setRolePrincipals(java.util.Collection)

equals

public boolean equals(java.lang.Object object)

Compares this InternalGroupPrincipal to the provided group principal and check if they are equal.

return Whether the InternalGroupPrincipal are equal.

Overrides:
equals in class java.lang.Object


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