org.apache.wvcm
Class FolderImpl

java.lang.Object
  extended by org.apache.wvcm.ResourceImpl
      extended by org.apache.wvcm.FolderImpl
All Implemented Interfaces:
Folder, Resource

public class FolderImpl
extends ResourceImpl
implements Folder

Implementation of Folder.

Version:
$Revision: 1.1.1.1.2.4 $

Nested Class Summary
static class FolderImpl.BindingImpl
          Implementation of a Binding
 
Nested classes/interfaces inherited from class org.apache.wvcm.ResourceImpl
ResourceImpl.LoadedProperties, ResourceImpl.XmlPropertyValue
 
Nested classes/interfaces inherited from interface javax.wvcm.Folder
Folder.Binding
 
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
 
Constructor Summary
FolderImpl(Location location)
          Constructor
 
Method Summary
 java.util.Iterator doReadMemberList(PropertyNameList wantedPropertyList, boolean deep)
          Return an iterator of Resource objects that contain properties of the resources that are bound members of this Folder.
 java.util.List getBindingList()
          Return a list of Binding objects that identify the bound members of this Folder.
 
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.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

FolderImpl

public FolderImpl(Location location)
Constructor

Method Detail

doReadMemberList

public java.util.Iterator doReadMemberList(PropertyNameList wantedPropertyList,
                                           boolean deep)
                                    throws WvcmException
Return an iterator of Resource objects that contain properties of the resources that are bound members of this Folder. If deep is true, then all members of the folder (including this Folder) are included.

Specified by:
doReadMemberList in interface Folder
Parameters:
wantedPropertyList - The list of properties to be retrieved.
deep - Whether to retrieve properties for all members of this Folder.
Throws:
WvcmException - Postconditions:
(read-bound-members): The result contains a proxy for each bound member of the folder.
(read-all-members): If deep is true, the result contains a proxy for every member of the folder identified by this Folder.

getBindingList

public java.util.List getBindingList()
                              throws WvcmException
Return a list of Binding objects that identify the bound members of this Folder.

Specified by:
getBindingList in interface Folder
Throws:
WvcmException - if this Folder was not created with PropertyNameList.PropertyName.BINDING_LIST as a wanted property.


Copyright (c) 2003 - Apache Software Foundation