public class ArchivaVirtualDavResource extends Object implements org.apache.jackrabbit.webdav.DavResource
Constructor and Description |
---|
ArchivaVirtualDavResource(List<StorageAsset> localResources,
String logicalResource,
MimeTypes mimeTypes,
ArchivaDavResourceLocator locator,
org.apache.jackrabbit.webdav.DavResourceFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
addLockManager(org.apache.jackrabbit.webdav.lock.LockManager arg0) |
void |
addMember(org.apache.jackrabbit.webdav.DavResource arg0,
org.apache.jackrabbit.webdav.io.InputContext arg1) |
org.apache.jackrabbit.webdav.MultiStatusResponse |
alterProperties(org.apache.jackrabbit.webdav.property.DavPropertySet arg0,
org.apache.jackrabbit.webdav.property.DavPropertyNameSet arg1) |
org.apache.jackrabbit.webdav.MultiStatusResponse |
alterProperties(List arg0) |
void |
copy(org.apache.jackrabbit.webdav.DavResource arg0,
boolean arg1) |
boolean |
exists() |
org.apache.jackrabbit.webdav.DavResource |
getCollection() |
String |
getComplianceClass() |
String |
getDisplayName() |
org.apache.jackrabbit.webdav.DavResourceFactory |
getFactory() |
String |
getHref() |
org.apache.jackrabbit.webdav.DavResourceLocator |
getLocator() |
org.apache.jackrabbit.webdav.lock.ActiveLock |
getLock(org.apache.jackrabbit.webdav.lock.Type arg0,
org.apache.jackrabbit.webdav.lock.Scope arg1) |
org.apache.jackrabbit.webdav.lock.ActiveLock[] |
getLocks() |
String |
getLogicalResource() |
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() |
String |
getResourcePath() |
org.apache.jackrabbit.webdav.DavSession |
getSession() |
String |
getSupportedMethods() |
boolean |
hasLock(org.apache.jackrabbit.webdav.lock.Type arg0,
org.apache.jackrabbit.webdav.lock.Scope arg1) |
protected void |
initProperties()
Fill the set of properties
|
boolean |
isCollection() |
boolean |
isLockable(org.apache.jackrabbit.webdav.lock.Type arg0,
org.apache.jackrabbit.webdav.lock.Scope arg1) |
org.apache.jackrabbit.webdav.lock.ActiveLock |
lock(org.apache.jackrabbit.webdav.lock.LockInfo arg0) |
void |
move(org.apache.jackrabbit.webdav.DavResource arg0) |
org.apache.jackrabbit.webdav.lock.ActiveLock |
refreshLock(org.apache.jackrabbit.webdav.lock.LockInfo arg0,
String arg1) |
void |
removeMember(org.apache.jackrabbit.webdav.DavResource arg0) |
void |
removeProperty(org.apache.jackrabbit.webdav.property.DavPropertyName propertyName) |
void |
setLogicalResource(String logicalResource) |
void |
setProperty(org.apache.jackrabbit.webdav.property.DavProperty property) |
void |
spool(org.apache.jackrabbit.webdav.io.OutputContext outputContext) |
void |
unlock(String arg0) |
public ArchivaVirtualDavResource(List<StorageAsset> localResources, String logicalResource, MimeTypes mimeTypes, ArchivaDavResourceLocator locator, org.apache.jackrabbit.webdav.DavResourceFactory factory)
public void spool(org.apache.jackrabbit.webdav.io.OutputContext outputContext)
spool
in interface org.apache.jackrabbit.webdav.DavResource
public void addLockManager(org.apache.jackrabbit.webdav.lock.LockManager arg0)
addLockManager
in interface org.apache.jackrabbit.webdav.DavResource
public void addMember(org.apache.jackrabbit.webdav.DavResource arg0, org.apache.jackrabbit.webdav.io.InputContext arg1) throws org.apache.jackrabbit.webdav.DavException
addMember
in interface org.apache.jackrabbit.webdav.DavResource
org.apache.jackrabbit.webdav.DavException
public org.apache.jackrabbit.webdav.MultiStatusResponse alterProperties(List arg0) throws org.apache.jackrabbit.webdav.DavException
alterProperties
in interface org.apache.jackrabbit.webdav.DavResource
org.apache.jackrabbit.webdav.DavException
public org.apache.jackrabbit.webdav.MultiStatusResponse alterProperties(org.apache.jackrabbit.webdav.property.DavPropertySet arg0, org.apache.jackrabbit.webdav.property.DavPropertyNameSet arg1) throws org.apache.jackrabbit.webdav.DavException
org.apache.jackrabbit.webdav.DavException
public void copy(org.apache.jackrabbit.webdav.DavResource arg0, boolean arg1) throws org.apache.jackrabbit.webdav.DavException
copy
in interface org.apache.jackrabbit.webdav.DavResource
org.apache.jackrabbit.webdav.DavException
public boolean exists()
exists
in interface org.apache.jackrabbit.webdav.DavResource
public org.apache.jackrabbit.webdav.lock.ActiveLock getLock(org.apache.jackrabbit.webdav.lock.Type arg0, org.apache.jackrabbit.webdav.lock.Scope arg1)
getLock
in interface org.apache.jackrabbit.webdav.DavResource
public org.apache.jackrabbit.webdav.lock.ActiveLock[] getLocks()
getLocks
in interface org.apache.jackrabbit.webdav.DavResource
public org.apache.jackrabbit.webdav.DavResourceIterator getMembers()
getMembers
in interface org.apache.jackrabbit.webdav.DavResource
public String getSupportedMethods()
getSupportedMethods
in interface org.apache.jackrabbit.webdav.DavResource
public long getModificationTime()
getModificationTime
in interface org.apache.jackrabbit.webdav.DavResource
public boolean hasLock(org.apache.jackrabbit.webdav.lock.Type arg0, org.apache.jackrabbit.webdav.lock.Scope arg1)
hasLock
in interface org.apache.jackrabbit.webdav.DavResource
public boolean isCollection()
isCollection
in interface org.apache.jackrabbit.webdav.DavResource
public boolean isLockable(org.apache.jackrabbit.webdav.lock.Type arg0, org.apache.jackrabbit.webdav.lock.Scope arg1)
isLockable
in interface org.apache.jackrabbit.webdav.DavResource
public org.apache.jackrabbit.webdav.lock.ActiveLock lock(org.apache.jackrabbit.webdav.lock.LockInfo arg0) throws org.apache.jackrabbit.webdav.DavException
lock
in interface org.apache.jackrabbit.webdav.DavResource
org.apache.jackrabbit.webdav.DavException
public void move(org.apache.jackrabbit.webdav.DavResource arg0) throws org.apache.jackrabbit.webdav.DavException
move
in interface org.apache.jackrabbit.webdav.DavResource
org.apache.jackrabbit.webdav.DavException
public org.apache.jackrabbit.webdav.lock.ActiveLock refreshLock(org.apache.jackrabbit.webdav.lock.LockInfo arg0, String arg1) throws org.apache.jackrabbit.webdav.DavException
refreshLock
in interface org.apache.jackrabbit.webdav.DavResource
org.apache.jackrabbit.webdav.DavException
public void removeMember(org.apache.jackrabbit.webdav.DavResource arg0) throws org.apache.jackrabbit.webdav.DavException
removeMember
in interface org.apache.jackrabbit.webdav.DavResource
org.apache.jackrabbit.webdav.DavException
public void unlock(String arg0) throws org.apache.jackrabbit.webdav.DavException
unlock
in interface org.apache.jackrabbit.webdav.DavResource
org.apache.jackrabbit.webdav.DavException
public String getComplianceClass()
getComplianceClass
in interface org.apache.jackrabbit.webdav.DavResource
public org.apache.jackrabbit.webdav.DavResourceLocator getLocator()
getLocator
in interface org.apache.jackrabbit.webdav.DavResource
public String getResourcePath()
getResourcePath
in interface org.apache.jackrabbit.webdav.DavResource
public String getHref()
getHref
in interface org.apache.jackrabbit.webdav.DavResource
public org.apache.jackrabbit.webdav.DavResourceFactory getFactory()
getFactory
in interface org.apache.jackrabbit.webdav.DavResource
public String getDisplayName()
getDisplayName
in interface org.apache.jackrabbit.webdav.DavResource
public org.apache.jackrabbit.webdav.DavSession getSession()
getSession
in interface org.apache.jackrabbit.webdav.DavResource
public org.apache.jackrabbit.webdav.property.DavPropertyName[] getPropertyNames()
getPropertyNames
in interface org.apache.jackrabbit.webdav.DavResource
public org.apache.jackrabbit.webdav.property.DavProperty getProperty(org.apache.jackrabbit.webdav.property.DavPropertyName name)
getProperty
in interface org.apache.jackrabbit.webdav.DavResource
public org.apache.jackrabbit.webdav.property.DavPropertySet getProperties()
getProperties
in interface org.apache.jackrabbit.webdav.DavResource
public void setProperty(org.apache.jackrabbit.webdav.property.DavProperty property) throws org.apache.jackrabbit.webdav.DavException
setProperty
in interface org.apache.jackrabbit.webdav.DavResource
org.apache.jackrabbit.webdav.DavException
public void removeProperty(org.apache.jackrabbit.webdav.property.DavPropertyName propertyName) throws org.apache.jackrabbit.webdav.DavException
removeProperty
in interface org.apache.jackrabbit.webdav.DavResource
org.apache.jackrabbit.webdav.DavException
public org.apache.jackrabbit.webdav.DavResource getCollection()
getCollection
in interface org.apache.jackrabbit.webdav.DavResource
protected void initProperties()
public String getLogicalResource()
public void setLogicalResource(String logicalResource)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.