javax.wvcm
Interface Principal.Group

All Superinterfaces:
Principal, Resource
All Known Subinterfaces:
Principal.Role
All Known Implementing Classes:
PrincipalImpl.GroupImpl, PrincipalImpl.RoleImpl
Enclosing interface:
Principal

public static interface Principal.Group
extends Principal

NOT YET STANDARD

A "group" is a principal that represents a set of other principals.


Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.wvcm.Principal
Principal.GenericPrincipalImpl, Principal.Group, Principal.Role
 
Nested classes/interfaces inherited from interface javax.wvcm.Resource
Resource.GenericResourceImpl
 
Field Summary
 
Fields inherited from interface javax.wvcm.Principal
ALL, AUTHENTICATED, OWNER, SELF, UNAUTHENTICATED
 
Method Summary
 java.util.List getGroupMemberList()
          Get the list of Principal objects which are direct members of this group.
 void setGroupMemberList(java.util.List members)
          Set the list of Principal objects which are direct members of this group.
 
Methods inherited from interface javax.wvcm.Principal
doCreateResource, getGroupMembership
 
Methods inherited from interface javax.wvcm.Resource
doBind, doCopy, doLock, doLock, doReadAccessControlList, doReadContent, doReadProperties, doRebind, doSearch, doUnbind, doUnlock, doUnlock, doWriteAccessControlList, doWriteContent, doWriteProperties, getAttribute, getComment, getContentCharacterSet, getContentIdentifier, getContentLanguage, getContentLength, getContentType, getCreationDate, getCreationUser, getCreatorDisplayName, getDisplayName, getLastModified, getLockTokens, getModificationDate, getModificationUser, getOwner, getParentBindingList, getPrincipalFolderList, getPrivilegeFolderList, getProperty, getPropertyNameList, getProviderList, getResourceIdentifier, getSupportedPrivilegeList, getUpdatedPropertyList, getWorkspaceFolderList, location, removeAttribute, setAttribute, setComment, setContentCharacterSet, setContentLanguage, setContentType, setCreatorDisplayName, setDisplayName, setProperty
 

Method Detail

getGroupMemberList

java.util.List getGroupMemberList()
                                  throws WvcmException
Get the list of Principal objects which are direct members of this group.

Returns:
a List
Throws:
WvcmException - if this principal was not created with PropertyNameList.PropertyName.GROUP_MEMBER_LIST as a wanted property

setGroupMemberList

void setGroupMemberList(java.util.List members)
                        throws WvcmException
Set the list of Principal objects which are direct members of this group.

Parameters:
members - a List
Throws:
WvcmException


Copyright (c) 2003 - Apache Software Foundation