org.apache.wvcm
Class PrincipalImpl.GroupImpl

java.lang.Object
  extended by org.apache.wvcm.ResourceImpl
      extended by org.apache.wvcm.PrincipalImpl
          extended by org.apache.wvcm.PrincipalImpl.GroupImpl
All Implemented Interfaces:
Principal, Principal.Group, Resource
Direct Known Subclasses:
PrincipalImpl.RoleImpl
Enclosing class:
PrincipalImpl

public static class PrincipalImpl.GroupImpl
extends PrincipalImpl
implements Principal.Group

Implementation of a group


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.wvcm.PrincipalImpl
PrincipalImpl.GroupImpl, PrincipalImpl.RoleImpl
 
Nested classes/interfaces inherited from class org.apache.wvcm.ResourceImpl
ResourceImpl.LoadedProperties, ResourceImpl.XmlPropertyValue
 
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 class org.apache.wvcm.ResourceImpl
dnsp, MISSING_PROPERTY_VALUE
 
Fields inherited from interface javax.wvcm.Principal
ALL, AUTHENTICATED, OWNER, SELF, UNAUTHENTICATED
 
Constructor Summary
PrincipalImpl.GroupImpl(Location location)
          Constructor
 
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 class org.apache.wvcm.PrincipalImpl
doCreateResource, getGroupMembership
 
Methods inherited from class org.apache.wvcm.ResourceImpl
accessor, addLockToken, commit, doBind, doCopy, doLock, doLock, doReadAccessControlList, doReadContent, doReadProperties, doRebind, doSearch, doUnbind, doUnlock, doUnlock, doWriteAccessControlList, doWriteContent, doWriteProperties, equals, folderAccessor, folderAccessor, getActiveLockTokens, getAttribute, getClientHttpMethod, getComment, getContentCharacterSet, getContentIdentifier, getContentLanguage, getContentLength, getContentType, getCreationDate, getCreationUser, getCreatorDisplayName, getDisplayName, getHttpMethod, getLastModified, getLockTokens, getModificationDate, getModificationUser, getOwner, getParentBindingList, getPrincipalFolderList, getPrivilegeFolderList, getProperty, getPropertyContainer, getPropertyNameList, getProviderList, getResourceIdentifier, getSupportedPrivilegeList, getUpdatedPropertyList, getWorkspaceFolderList, hashCode, listOfRemovedAttributes, listOfSetProperties, loadedProperties, location, removeAttribute, removeLockToken, setAttribute, setComment, setContentCharacterSet, setContentLanguage, setContentType, setCreatorDisplayName, setDisplayName, setHttpMethod, setHttpMethod, setProperty, setPropertyContainer, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

PrincipalImpl.GroupImpl

public PrincipalImpl.GroupImpl(Location location)
Constructor

Method Detail

setGroupMemberList

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

Specified by:
setGroupMemberList in interface Principal.Group
Parameters:
members - a List
Throws:
WvcmException

getGroupMemberList

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

Specified by:
getGroupMemberList in interface Principal.Group
Returns:
a List
Throws:
WvcmException - if this principal was not created with PropertyNameList.PropertyName.GROUP_MEMBER_LIST as a wanted property


Copyright (c) 2003 - Apache Software Foundation