org.apache.continuum.webdav
Class ContinuumBuildAgentDavResource

java.lang.Object
  extended by org.apache.continuum.webdav.ContinuumBuildAgentDavResource
All Implemented Interfaces:
org.apache.jackrabbit.webdav.DavResource

public class ContinuumBuildAgentDavResource
extends Object
implements org.apache.jackrabbit.webdav.DavResource


Field Summary
static String COMPLIANCE_CLASS
           
static String HIDDEN_PATH_PREFIX
           
static String SUPPORTED_METHODS
           
 
Fields inherited from interface org.apache.jackrabbit.webdav.DavResource
METHODS
 
Constructor Summary
ContinuumBuildAgentDavResource(String localResource, String logicalResource, org.apache.jackrabbit.webdav.DavSession session, ContinuumBuildAgentDavResourceLocator locator, org.apache.jackrabbit.webdav.DavResourceFactory factory, javax.activation.MimetypesFileTypeMap mimeTypes)
           
 
Method Summary
 void addLockManager(org.apache.jackrabbit.webdav.lock.LockManager lockManager)
           
 void addMember(org.apache.jackrabbit.webdav.DavResource davResource, org.apache.jackrabbit.webdav.io.InputContext inputContext)
           
 org.apache.jackrabbit.webdav.MultiStatusResponse alterProperties(org.apache.jackrabbit.webdav.property.DavPropertySet setProperties, org.apache.jackrabbit.webdav.property.DavPropertyNameSet removePropertyNames)
           
 org.apache.jackrabbit.webdav.MultiStatusResponse alterProperties(List changeList)
           
 void copy(org.apache.jackrabbit.webdav.DavResource destination, boolean shallow)
           
 boolean exists()
           
 org.apache.jackrabbit.webdav.DavResource getCollection()
           
 String getComplianceClass()
           
 String getDisplayName()
           
 org.apache.jackrabbit.webdav.DavResourceFactory getFactory()
           
 String getHref()
           
 File getLocalResource()
           
 org.apache.jackrabbit.webdav.DavResourceLocator getLocator()
           
 org.apache.jackrabbit.webdav.lock.ActiveLock getLock(org.apache.jackrabbit.webdav.lock.Type type, org.apache.jackrabbit.webdav.lock.Scope scope)
           
 org.apache.jackrabbit.webdav.lock.ActiveLock[] getLocks()
           
 String getLogicalResource()
           
 org.apache.jackrabbit.webdav.DavResourceIterator getMembers()
           
 javax.activation.MimetypesFileTypeMap getMimeTypes()
           
 long getModificationTime()
           
 org.apache.jackrabbit.webdav.property.DavPropertySet getProperties()
           
 org.apache.jackrabbit.webdav.property.DavProperty getProperty(org.apache.jackrabbit.webdav.property.DavPropertyName propertyName)
           
 org.apache.jackrabbit.webdav.property.DavPropertyName[] getPropertyNames()
           
 String getResourcePath()
           
 org.apache.jackrabbit.webdav.DavSession getSession()
           
 String getSupportedMethods()
           
 boolean hasLock(org.apache.jackrabbit.webdav.lock.Type type, org.apache.jackrabbit.webdav.lock.Scope scope)
           
protected  org.apache.jackrabbit.webdav.property.DavPropertySet initProperties()
          Fill the set of properties
 boolean isCollection()
           
 boolean isLockable(org.apache.jackrabbit.webdav.lock.Type type, org.apache.jackrabbit.webdav.lock.Scope scope)
           
 org.apache.jackrabbit.webdav.lock.ActiveLock lock(org.apache.jackrabbit.webdav.lock.LockInfo lockInfo)
           
 void move(org.apache.jackrabbit.webdav.DavResource destination)
           
 org.apache.jackrabbit.webdav.lock.ActiveLock refreshLock(org.apache.jackrabbit.webdav.lock.LockInfo lockInfo, String lockTocken)
           
 void removeMember(org.apache.jackrabbit.webdav.DavResource member)
           
 void removeProperty(org.apache.jackrabbit.webdav.property.DavPropertyName propertyName)
           
 void setProperty(org.apache.jackrabbit.webdav.property.DavProperty property)
           
 void spool(org.apache.jackrabbit.webdav.io.OutputContext outputContext)
           
 void unlock(String lockTocken)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPLIANCE_CLASS

public static final String COMPLIANCE_CLASS
See Also:
Constant Field Values

HIDDEN_PATH_PREFIX

public static final String HIDDEN_PATH_PREFIX
See Also:
Constant Field Values

SUPPORTED_METHODS

public static final String SUPPORTED_METHODS
See Also:
Constant Field Values
Constructor Detail

ContinuumBuildAgentDavResource

public ContinuumBuildAgentDavResource(String localResource,
                                      String logicalResource,
                                      org.apache.jackrabbit.webdav.DavSession session,
                                      ContinuumBuildAgentDavResourceLocator locator,
                                      org.apache.jackrabbit.webdav.DavResourceFactory factory,
                                      javax.activation.MimetypesFileTypeMap mimeTypes)
Method Detail

addLockManager

public void addLockManager(org.apache.jackrabbit.webdav.lock.LockManager lockManager)
Specified by:
addLockManager in interface org.apache.jackrabbit.webdav.DavResource

addMember

public void addMember(org.apache.jackrabbit.webdav.DavResource davResource,
                      org.apache.jackrabbit.webdav.io.InputContext inputContext)
               throws org.apache.jackrabbit.webdav.DavException
Specified by:
addMember in interface org.apache.jackrabbit.webdav.DavResource
Throws:
org.apache.jackrabbit.webdav.DavException

alterProperties

public org.apache.jackrabbit.webdav.MultiStatusResponse alterProperties(List changeList)
                                                                 throws org.apache.jackrabbit.webdav.DavException
Specified by:
alterProperties in interface org.apache.jackrabbit.webdav.DavResource
Throws:
org.apache.jackrabbit.webdav.DavException

alterProperties

public org.apache.jackrabbit.webdav.MultiStatusResponse alterProperties(org.apache.jackrabbit.webdav.property.DavPropertySet setProperties,
                                                                        org.apache.jackrabbit.webdav.property.DavPropertyNameSet removePropertyNames)
                                                                 throws org.apache.jackrabbit.webdav.DavException
Throws:
org.apache.jackrabbit.webdav.DavException

copy

public void copy(org.apache.jackrabbit.webdav.DavResource destination,
                 boolean shallow)
          throws org.apache.jackrabbit.webdav.DavException
Specified by:
copy in interface org.apache.jackrabbit.webdav.DavResource
Throws:
org.apache.jackrabbit.webdav.DavException

exists

public boolean exists()
Specified by:
exists in interface org.apache.jackrabbit.webdav.DavResource

getCollection

public org.apache.jackrabbit.webdav.DavResource getCollection()
Specified by:
getCollection in interface org.apache.jackrabbit.webdav.DavResource

getComplianceClass

public String getComplianceClass()
Specified by:
getComplianceClass in interface org.apache.jackrabbit.webdav.DavResource

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface org.apache.jackrabbit.webdav.DavResource

getFactory

public org.apache.jackrabbit.webdav.DavResourceFactory getFactory()
Specified by:
getFactory in interface org.apache.jackrabbit.webdav.DavResource

getHref

public String getHref()
Specified by:
getHref in interface org.apache.jackrabbit.webdav.DavResource

getLocalResource

public File getLocalResource()

getLocator

public org.apache.jackrabbit.webdav.DavResourceLocator getLocator()
Specified by:
getLocator in interface org.apache.jackrabbit.webdav.DavResource

getLock

public org.apache.jackrabbit.webdav.lock.ActiveLock getLock(org.apache.jackrabbit.webdav.lock.Type type,
                                                            org.apache.jackrabbit.webdav.lock.Scope scope)
Specified by:
getLock in interface org.apache.jackrabbit.webdav.DavResource

getLocks

public org.apache.jackrabbit.webdav.lock.ActiveLock[] getLocks()
Specified by:
getLocks in interface org.apache.jackrabbit.webdav.DavResource

getLogicalResource

public String getLogicalResource()

getMembers

public org.apache.jackrabbit.webdav.DavResourceIterator getMembers()
Specified by:
getMembers in interface org.apache.jackrabbit.webdav.DavResource

getMimeTypes

public javax.activation.MimetypesFileTypeMap getMimeTypes()

getModificationTime

public long getModificationTime()
Specified by:
getModificationTime in interface org.apache.jackrabbit.webdav.DavResource

getProperties

public org.apache.jackrabbit.webdav.property.DavPropertySet getProperties()
Specified by:
getProperties in interface org.apache.jackrabbit.webdav.DavResource

getProperty

public org.apache.jackrabbit.webdav.property.DavProperty getProperty(org.apache.jackrabbit.webdav.property.DavPropertyName propertyName)
Specified by:
getProperty in interface org.apache.jackrabbit.webdav.DavResource

getPropertyNames

public org.apache.jackrabbit.webdav.property.DavPropertyName[] getPropertyNames()
Specified by:
getPropertyNames in interface org.apache.jackrabbit.webdav.DavResource

getResourcePath

public String getResourcePath()
Specified by:
getResourcePath in interface org.apache.jackrabbit.webdav.DavResource

getSession

public org.apache.jackrabbit.webdav.DavSession getSession()
Specified by:
getSession in interface org.apache.jackrabbit.webdav.DavResource

getSupportedMethods

public String getSupportedMethods()
Specified by:
getSupportedMethods in interface org.apache.jackrabbit.webdav.DavResource

hasLock

public boolean hasLock(org.apache.jackrabbit.webdav.lock.Type type,
                       org.apache.jackrabbit.webdav.lock.Scope scope)
Specified by:
hasLock in interface org.apache.jackrabbit.webdav.DavResource

isCollection

public boolean isCollection()
Specified by:
isCollection in interface org.apache.jackrabbit.webdav.DavResource

isLockable

public boolean isLockable(org.apache.jackrabbit.webdav.lock.Type type,
                          org.apache.jackrabbit.webdav.lock.Scope scope)
Specified by:
isLockable in interface org.apache.jackrabbit.webdav.DavResource

lock

public org.apache.jackrabbit.webdav.lock.ActiveLock lock(org.apache.jackrabbit.webdav.lock.LockInfo lockInfo)
                                                  throws org.apache.jackrabbit.webdav.DavException
Specified by:
lock in interface org.apache.jackrabbit.webdav.DavResource
Throws:
org.apache.jackrabbit.webdav.DavException

move

public void move(org.apache.jackrabbit.webdav.DavResource destination)
          throws org.apache.jackrabbit.webdav.DavException
Specified by:
move in interface org.apache.jackrabbit.webdav.DavResource
Throws:
org.apache.jackrabbit.webdav.DavException

refreshLock

public org.apache.jackrabbit.webdav.lock.ActiveLock refreshLock(org.apache.jackrabbit.webdav.lock.LockInfo lockInfo,
                                                                String lockTocken)
                                                         throws org.apache.jackrabbit.webdav.DavException
Specified by:
refreshLock in interface org.apache.jackrabbit.webdav.DavResource
Throws:
org.apache.jackrabbit.webdav.DavException

removeMember

public void removeMember(org.apache.jackrabbit.webdav.DavResource member)
                  throws org.apache.jackrabbit.webdav.DavException
Specified by:
removeMember in interface org.apache.jackrabbit.webdav.DavResource
Throws:
org.apache.jackrabbit.webdav.DavException

removeProperty

public void removeProperty(org.apache.jackrabbit.webdav.property.DavPropertyName propertyName)
                    throws org.apache.jackrabbit.webdav.DavException
Specified by:
removeProperty in interface org.apache.jackrabbit.webdav.DavResource
Throws:
org.apache.jackrabbit.webdav.DavException

setProperty

public void setProperty(org.apache.jackrabbit.webdav.property.DavProperty property)
                 throws org.apache.jackrabbit.webdav.DavException
Specified by:
setProperty in interface org.apache.jackrabbit.webdav.DavResource
Throws:
org.apache.jackrabbit.webdav.DavException

spool

public void spool(org.apache.jackrabbit.webdav.io.OutputContext outputContext)
           throws IOException
Specified by:
spool in interface org.apache.jackrabbit.webdav.DavResource
Throws:
IOException

unlock

public void unlock(String lockTocken)
            throws org.apache.jackrabbit.webdav.DavException
Specified by:
unlock in interface org.apache.jackrabbit.webdav.DavResource
Throws:
org.apache.jackrabbit.webdav.DavException

initProperties

protected org.apache.jackrabbit.webdav.property.DavPropertySet initProperties()
Fill the set of properties



Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.