org.apache.jetspeed.security.om
Interface InternalRolePrincipal

All Superinterfaces:
java.lang.Cloneable, InternalPrincipal, java.io.Serializable
All Known Implementing Classes:
InternalRolePrincipalImpl

public interface InternalRolePrincipal
extends InternalPrincipal

Interface representing Jetspeed security role principal object model.

Author:
David Le Strat

Method Summary
 java.util.Collection getGroupPrincipals()
          Getter for the group principals.
 java.util.Collection getUserPrincipals()
          Getter for the user principals.
 void setGroupPrincipals(java.util.Collection groupPrincipals)
          Setter for the group principals.
 void setUserPrincipals(java.util.Collection userPrincipals)
          Setter for the user principals.
 
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
 

Method Detail

getUserPrincipals

java.util.Collection getUserPrincipals()

Getter for the user principals.

Returns:
The user principals.

setUserPrincipals

void setUserPrincipals(java.util.Collection userPrincipals)

Setter for the user principals.

Parameters:
userPrincipals - The user principals.

getGroupPrincipals

java.util.Collection getGroupPrincipals()

Getter for the group principals.

Returns:
The group principals.

setGroupPrincipals

void setGroupPrincipals(java.util.Collection groupPrincipals)

Setter for the group principals.

Parameters:
groupPrincipals - The group principals.


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