This project has retired. For details please refer to its Attic page.
ArchivaDavResource

org.apache.maven.archiva.webdav
Class ArchivaDavResource

Package class diagram package ArchivaDavResource
java.lang.Object
  extended by org.apache.maven.archiva.webdav.ArchivaDavResource
All Implemented Interfaces:
org.apache.jackrabbit.webdav.DavResource

public class ArchivaDavResource
extends java.lang.Object
implements org.apache.jackrabbit.webdav.DavResource


Field Summary
static java.lang.String COMPLIANCE_CLASS
           
static java.lang.String HIDDEN_PATH_PREFIX
           
 
Fields inherited from interface org.apache.jackrabbit.webdav.DavResource
METHODS
 
Constructor Summary
ArchivaDavResource(java.lang.String localResource, java.lang.String logicalResource, org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration repository, org.apache.jackrabbit.webdav.DavSession session, ArchivaDavResourceLocator locator, org.apache.jackrabbit.webdav.DavResourceFactory factory, MimeTypes mimeTypes, java.util.List<AuditListener> auditListeners, ArchivaTaskScheduler scheduler, ArchivaAuditLogsDao auditLogsDao)
           
ArchivaDavResource(java.lang.String localResource, java.lang.String logicalResource, org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration repository, java.lang.String remoteAddr, java.lang.String principal, org.apache.jackrabbit.webdav.DavSession session, ArchivaDavResourceLocator locator, org.apache.jackrabbit.webdav.DavResourceFactory factory, MimeTypes mimeTypes, java.util.List<AuditListener> auditListeners, ArchivaTaskScheduler scheduler, ArchivaAuditLogsDao auditLogsDao)
           
 
Method Summary
 void addLockManager(org.apache.jackrabbit.webdav.lock.LockManager lockManager)
           
 void addMember(org.apache.jackrabbit.webdav.DavResource resource, 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(java.util.List changeList)
           
 void copy(org.apache.jackrabbit.webdav.DavResource destination, boolean shallow)
           
 boolean exists()
           
 org.apache.jackrabbit.webdav.DavResource getCollection()
           
 java.lang.String getComplianceClass()
           
 java.lang.String getDisplayName()
           
 org.apache.jackrabbit.webdav.DavResourceFactory getFactory()
           
 java.lang.String getHref()
           
 java.io.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()
           
 org.apache.jackrabbit.webdav.DavResourceIterator getMembers()
           
 long getModificationTime()
           
 org.apache.jackrabbit.webdav.property.DavPropertySet getProperties()
           
 org.apache.jackrabbit.webdav.property.DavProperty getProperty(org.apache.jackrabbit.webdav.property.DavPropertyName name)
           
 org.apache.jackrabbit.webdav.property.DavPropertyName[] getPropertyNames()
           
 java.lang.String getResourcePath()
           
 org.apache.jackrabbit.webdav.DavSession getSession()
           
 java.lang.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, java.lang.String lockToken)
           
 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(java.lang.String lockToken)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HIDDEN_PATH_PREFIX

public static final java.lang.String HIDDEN_PATH_PREFIX
See Also:
Constant Field Values

COMPLIANCE_CLASS

public static final java.lang.String COMPLIANCE_CLASS
See Also:
Constant Field Values
Constructor Detail

ArchivaDavResource

public ArchivaDavResource(java.lang.String localResource,
                          java.lang.String logicalResource,
                          org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration repository,
                          org.apache.jackrabbit.webdav.DavSession session,
                          ArchivaDavResourceLocator locator,
                          org.apache.jackrabbit.webdav.DavResourceFactory factory,
                          MimeTypes mimeTypes,
                          java.util.List<AuditListener> auditListeners,
                          ArchivaTaskScheduler scheduler,
                          ArchivaAuditLogsDao auditLogsDao)

ArchivaDavResource

public ArchivaDavResource(java.lang.String localResource,
                          java.lang.String logicalResource,
                          org.apache.maven.archiva.configuration.ManagedRepositoryConfiguration repository,
                          java.lang.String remoteAddr,
                          java.lang.String principal,
                          org.apache.jackrabbit.webdav.DavSession session,
                          ArchivaDavResourceLocator locator,
                          org.apache.jackrabbit.webdav.DavResourceFactory factory,
                          MimeTypes mimeTypes,
                          java.util.List<AuditListener> auditListeners,
                          ArchivaTaskScheduler scheduler,
                          ArchivaAuditLogsDao auditLogsDao)
Method Detail

getComplianceClass

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

getSupportedMethods

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

exists

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

isCollection

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

getDisplayName

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

getLocator

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

getLocalResource

public java.io.File getLocalResource()

getResourcePath

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

getHref

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

getModificationTime

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

spool

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

getPropertyNames

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

getProperty

public org.apache.jackrabbit.webdav.property.DavProperty getProperty(org.apache.jackrabbit.webdav.property.DavPropertyName name)
Specified by:
getProperty 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

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

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

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
Specified by:
alterProperties in interface org.apache.jackrabbit.webdav.DavResource
Throws:
org.apache.jackrabbit.webdav.DavException

alterProperties

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

getCollection

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

addMember

public void addMember(org.apache.jackrabbit.webdav.DavResource resource,
                      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

getMembers

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

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

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

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

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

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

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

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

refreshLock

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

unlock

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

addLockManager

public void addLockManager(org.apache.jackrabbit.webdav.lock.LockManager lockManager)
Specified by:
addLockManager 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

getSession

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

initProperties

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