Uses of Class
com.sas.services.webdav.DAVException

Packages that use DAVException
Package
Description
Provides a client API for accessing WebDAV servers.
  • Uses of DAVException in com.sas.services.webdav

    Modifier and Type
    Method
    Description
    static ResourceInterface
    ResourceFactory.bindResource(ConnectionInfo cInfo)
    Bind the URL to a resource with authentication, and set the logger on the resource
    static ResourceInterface
    ResourceFactory.bindResource(ResourceInterface model, String path)
    Bind to a resource using the model resource and path.
    static ResourceInterface
    ResourceFactory.bindResource(ResourceInterface model, String path, PropertyMap p)
    Bind to a resource using the model resource and path.
    static ResourceInterface
    ResourceFactory.bindResource(SharedResourceInterface sr, String path)
    Bind to a resource using the shared resource and path.
    static ResourceInterface
    ResourceFactory.bindResource(SharedResourceInterface sr, String path, PropertyMap p)
    Bind to a resource using the shared resource and path.
    static ResourceInterface
    ResourceFactory.bindResource(String url)
    Bind the URL to a resource
    static ResourceInterface
    ResourceFactory.bindResource(String url, String user, String password)
    Bind the URL to a resource with authentication
    void
    RemoteResource.close()
    Close the underlying DAVResource
    void
    Resource.close()
    Close the underlying DAVResource
    void
    ResourceInterface.close()
    Close the underlying DAVResource
    org.apache.http.entity.ContentType
    DAVResourceInterface.contentType()
    Gets the Apache HTTP entity content type of the content for this DAV resource.
    DAVResource.copy(String targetPath)
    Copies resource to the target destination.
    DAVResourceInterface.copy(String targetUrl)
    Copies resource to the target destination.
    ResourceInterface
    RemoteResource.copy(String destination)
    Copy the item to destination
    ResourceInterface
    Resource.copy(String destination)
    Copy the item to destination
    ResourceInterface
    ResourceInterface.copy(String destination)
    Copy the item to destination
    static CollectionInterface
    Collection.createCollection(CollectionInterface model, String name)
    Create a new collection in an existing collection.
    static CollectionInterface
    Collection.createCollection(SharedResourceInterface sr, CollectionInterface model, String name)
     
    CollectionInterface
    Collection.createCollection(String collName)
    Create a new collection in an existing collection
    CollectionInterface
    Collection.createCollection(String collName, String userName, String pwd)
    Create a new collection in the existing collection
    CollectionInterface
    CollectionInterface.createCollection(String relpath)
    Creates a new collection in the existing collection.
    CollectionInterface
    CollectionInterface.createCollection(String relpath, String userName, String pwd)
    Creates a new collection in the existing collection.
    static CollectionInterface
    RemoteCollection.createCollection(RemoteCollection model, String name)
    Create a new collection in an existing collection.
    CollectionInterface
    RemoteCollection.createCollection(String collName)
    Create a new collection in an existing collection
    CollectionInterface
    RemoteCollection.createCollection(String collName, String userName, String pwd)
    Create a new collection in the existing collection
    static CollectionInterface
    ResourceFactory.createCollection(ConnectionInfo cInfo)
    Create a new collection with authentication and set the logger
    static CollectionInterface
    ResourceFactory.createCollection(ResourceInterface model, String urlString)
    Create a new collection using a model resource and a new path.
    static CollectionInterface
    ResourceFactory.createCollection(SharedResourceInterface sr, String urlString)
    Create a new collection using a shared resource and a new path.
    static CollectionInterface
    ResourceFactory.createCollection(String url)
    Create a new collection
    static CollectionInterface
    ResourceFactory.createCollection(String url, String user, String password)
    Create a new collection with authentication
    static ResourceInterface
    Collection.createResource(CollectionInterface model, String name)
    Bind to a new resource in the existing model collection.
    static ResourceInterface
    Collection.createResource(SharedResourceInterface sr, CollectionInterface model, String name)
    Bind to a new resource in the existing model collection.
    ResourceInterface
    Collection.createResource(String resName)
    Create a new resource in the existing collection
    ResourceInterface
    Collection.createResource(String resName, String userName, String pwd)
    Create a new resource in the existing collection
    ResourceInterface
    CollectionInterface.createResource(String relpath)
    Creates a new resource in the existing collection.
    ResourceInterface
    CollectionInterface.createResource(String relpath, String userName, String pwd)
    Creates a new resource in the existing collection.
    static ResourceInterface
    RemoteCollection.createResource(RemoteCollection model, String name)
    Bind to a new resource in the existing model collection.
    ResourceInterface
    RemoteCollection.createResource(String resName)
    Create a new resource in the existing collection
    ResourceInterface
    RemoteCollection.createResource(String resName, String userName, String pwd)
    Create a new resource in the existing collection
    void
    DAVResource.delete()
    Deletes this DAV resource.
    void
    DAVResourceInterface.delete()
    Deletes this DAV resource.
    void
    RemoteResource.delete()
    Delete the item
    void
    Resource.delete()
    Delete the item
    void
    ResourceInterface.delete()
    Delete the item
    void
    DAVResource.doCheckin()
    Check in this DAV resource.
    void
    DAVResourceInterface.doCheckin()
    Check in this DAV resource.
    void
    DAVResource.doCheckout()
    Checks out this DAV resource.
    void
    DAVResourceInterface.doCheckout()
    Checks out this DAV resource.
    void
    DAVResource.doControl()
    Puts the resource under version control.
    void
    DAVResourceInterface.doControl()
    Puts the resource under version control.
    static void
    WebDAVRestore.doDavResourceSource(File file)
     
    void
    DAVResource.doLabel(int labelAction, String label)
    Modifies the version label on the resource (if this is supported by the server).
    void
    DAVResource.doLabel(int labelAction, String label, int depth)
    Modifies the label on the version resource (if this is supported by the server).
    void
    DAVResourceInterface.doLabel(int labelAction, String label)
    Modifies the version label on the resource (if this is supported by the server).
    void
    DAVResourceInterface.doLabel(int labelAction, String label, int depth)
    Modifies the label on the version resource (if this is supported by the server).
    Properties
    DAVResource.doOptions()
    Gets the options as Properties representing the header name/value pairs.
    DAVResource.doReport(org.apache.jackrabbit.webdav.version.report.ReportInfo reportInfo)
    Gets a report on the current DAV resource.
    DAVResourceInterface.doReport(org.apache.jackrabbit.webdav.version.report.ReportInfo reportInfo)
    Gets a report on the current DAV resource.
    DAVResource.doSearch(org.apache.jackrabbit.webdav.search.SearchInfo searchInfo)
    The SEARCH method invokes one of the implemented search grammars on the server to evaluate the query.
    DAVResourceInterface.doSearch(org.apache.jackrabbit.webdav.search.SearchInfo searchInfo)
    The SEARCH method invokes one of the implemented search grammars on the server to evaluate the query.
    ResourceFactory.doSearch(ConnectionInfo cInfo, String searchString)
    Search for content satisfying the search filter on item metadata.
    void
    DAVResource.doUncheckout()
    Uncheckout this DAV resource, canceling a previous checkout.
    void
    DAVResourceInterface.doUncheckout()
    Uncheckout this DAV resource, canceling a previous checkout.
    static void
    WebDAVDump.dumpContentToZip(File zipFile, String url, String user, String password)
     
    static void
    WebDAVDump.dumpResource(DAVResource rsc, File dir)
     
    boolean
    RemoteResource.equals(ResourceInterface r)
    Compare two items - are they equal
    boolean
    Resource.equals(ResourceInterface r)
    Compare two items - are they equal
    boolean
    ResourceInterface.equals(ResourceInterface e2)
    Compare two items - are they equal
    boolean
    RemoteResource.exists()
    Checks whether the WebDAV resource exists.
    boolean
    Resource.exists()
    Checks whether the WebDAV resource exists.
    boolean
    ResourceInterface.exists()
    Returns whether the resource exists or not
    Acl
    DAVResource.getAcl()
    Gets the access control list for this DAV resource.
    Acl
    DAVResourceInterface.getAcl()
    Gets the access control list for this DAV resource.
    String
    DAVResource.getACL()
    Gets the access control list (ACL) for this DAV resource.
    String
    DAVResourceInterface.getACL()
    Gets the access control list (ACL) for this DAV resource.
    Version
    DAVResource.getCheckedIn()
    Retrieves the currently checked in resource.
    Version
    DAVResourceInterface.getCheckedIn()
    Retrieves the currently checked in resource.
    Version
    DAVResource.getCheckedOut()
    Retrieves the currently checked out resource.
    Version
    DAVResourceInterface.getCheckedOut()
    Retrieves the currently checked out resource.
    List
    Collection.getChildren()
    Gets a list of the immediate items (depth=1) in the collection.
    List
    CollectionInterface.getChildren()
    Gets a list of the immediate items (depth=1) in the collection.
    List
    RemoteCollection.getChildren()
    Get a list of the immediate items (depth=1) in the collection
    List
    DAVResourceInterface.getChildrenList(String path)
    Gets the list of children.
    Map<String,PropertyMap>
    DAVResource.getChildrenProperties(PropertyName[] properties)
    Get all the properties of a collection's members (depth=1) in as single server request.
    InputStream
    Collection.getContents()
    Returns null for the contents of a collection
    byte[]
    DAVResource.getContents()
    Gets the contents of this DAV resource as a byte array.
    void
    DAVResource.getContents(File fileData)
    Gets the content of this DAV resource into a file specified as the parameter.
    byte[]
    DAVResourceInterface.getContents()
    Gets the contents of this DAV resource as a byte array.
    void
    DAVResourceInterface.getContents(File fileData)
    Gets the content of this DAV resource into a file specified as the parameter.
    InputStream
    RemoteCollection.getContents()
    Returns null for the contents of a collection
    InputStream
    RemoteResource.getContents()
    Get the contents of the item.
    InputStream
    Resource.getContents()
    Get the contents of the item.
    InputStream
    ResourceInterface.getContents()
    Get the contents of the element
    String
    DAVResource.getContentsAsString()
    Gets the contents of this DAV resource as a String.
    String
    DAVResourceInterface.getContentsAsString()
    Gets the contents of this DAV resource as a String.
    InputStream
    Gets the content of this DAV resource as a stream.
    InputStream
    DAVResourceInterface.getContentsInputStream()
    Gets the content of this DAV resource as a stream.
    String
    DAVResourceInterface.getContentType()
    Gets the content type of the content for this DAV resource.
    Map<String,PropertyMap>
    Collection.getDavChildrenProperties()
    Gets all the properties of a collection and its members in as few server requests as possible.
    Map<String,PropertyMap>
    CollectionInterface.getDavChildrenProperties()
    Gets all the properties of a collection and its members in as few server requests as possible.
    Map<String,PropertyMap>
    RemoteCollection.getDavChildrenProperties()
    Gets all the properties of a collection and its members in as few server requests as possible.
    DAVResource.getDavProperties()
    Gets all of the DAV resource's properties using the resource's depth.
    DAVResource.getDavProperties(int depth)
    Gets all of the DAV resource's properties for the specified depth.
    DAVResource.getDavProperties(PropertyName[] propertyNames)
    Gets all the properties for the specified property names on the DAV resource.
    DAVResource.getDavProperties(PropertyName[] propertyNames, int depth)
    Gets all the properties for the specified property names on the DAV resource.
    DAVResource.getDavProperties(org.apache.jackrabbit.webdav.property.DavPropertyNameSet davPropertyNameSet, int depth)
    Gets the properties for the specified DAV property names and search depth.
    DAVResourceInterface.getDavProperties()
    Gets all of the DAV resource's properties using the resource's depth.
    DAVResourceInterface.getDavProperties(int depth)
    Gets all of the DAV resource's properties for the specified depth.
    DAVResourceInterface.getDavProperties(PropertyName[] propertyNames)
    Gets all the properties for the specified property names on the DAV resource.
    DAVResourceInterface.getDavProperties(PropertyName[] propertyNames, int depth)
    Gets all the properties for the specified property names on the DAV resource.
    DAVResourceInterface.getDavProperties(org.apache.jackrabbit.webdav.property.DavPropertyNameSet davPropertyNameSet, int depth)
    Gets the properties for the specified DAV property names and search depth.
    DAVResource.getDavPropertyNames()
    Gets DAV properties for all of a DAV resource's property names.
    DAVResource.getDavPropertyNames(int depth)
    Gets DAV properties for all of a DAV resource's property names for the specified depth.
    DAVResourceInterface.getDavPropertyNames()
    Gets DAV properties for all of a DAV resource's property names.
    DAVResourceInterface.getDavPropertyNames(int depth)
    Gets DAV properties for all of a DAV resource's property names for the specified depth.
    int
    DAVResourceInterface.getDepth()
    Gets the value for depth.
    String
    DAVResource.getLock(String userName)
    Gets this DAV resource's lock token for the specified user.
    String
    RemoteResource.getName()
    Get the name for this resource
    String
    Resource.getName()
    Get the name for this resource
    String
    ResourceInterface.getName()
    Get the name for this resource
    boolean
    DAVResourceInterface.getOverwrite()
    Gets the overwrite flag which specifies whether this DAV resource can be overwritten.
    List
    Gets a list of previous version names for this DAV resource.
    List
    DAVResourceInterface.getPreviousVersionNames()
    Gets a list of previous version names for this DAV resource.
    RemoteResource.getProperties()
    Get the properties of a resource.
    Resource.getProperties()
    Get the properties of a resource.
    ResourceInterface.getProperties()
    Get the properties of an item in a property map
    DAVResource.getPropertyMap()
    Returns a property map of the resources properties.
    SharedResourceInterface
    ResourceInterface.getSharedResource()
    Retrieves the shared resource
    int
    DAVResource.getStatusCode()
    Gets the HTTP status code for the last operation/method.
    int
    DAVResourceInterface.getStatusCode()
    Gets the HTTP status code for the last operation/method.
    String
    DAVResourceInterface.getStatusMessage()
    Gets the message associated with the status code for the last operation/method.
    URL
    DAVResource.getURL()
    Gets the URL that this DAV resource represents.
    URL
    DAVResourceInterface.getURL()
    Gets the URL that this DAV resource represents.
    String
    RemoteResource.getURL()
    Get the URL for this resource
    String
    Resource.getURL()
    Get the URL for this resource
    String
    ResourceInterface.getURL()
    Get the URL for this resource
    Version
    DAVResource.getVersion(String versionName)
    Gets a particular version of this DAV resource.
    Version
    DAVResourceInterface.getVersion(String versionName)
    Gets a particular version of this DAV resource.
    boolean
    DAVResource.isCollection()
    Is this DAV resource a collection?
    boolean
    DAVResourceInterface.isCollection()
    Is this DAV resource a collection?
    boolean
    DAVResource.isLocked()
    Is this DAV resource locked?
    boolean
    DAVResourceInterface.isLocked()
    Is this DAV resource locked?
    boolean
    ResourceInterface.isSharedResource()
    Returns whether this Resource object encapsulates a shared resource
    String
    DAVResource.lock()
    Locks this DAV resource.
    String
    DAVResourceInterface.lock()
    Locks this DAV resource.
    void
    RemoteResource.lock()
    Lock the item
    void
    Resource.lock()
    Lock the item
    void
    ResourceInterface.lock()
    Lock the item
    boolean
    DAVResource.makeCollection()
    Makes a collection.
    boolean
    DAVResourceInterface.makeCollection()
    Makes a collection.
    DAVResource.move(String targetPath)
    Moves this DAV resource to the location given in the parameter.
    DAVResourceInterface.move(String targetUrl)
    Moves this DAV resource to the location given in the parameter.
    ResourceInterface
    RemoteResource.move(String destination)
    Move an item to destination
    ResourceInterface
    Resource.move(String destination)
    Move an item to destination
    ResourceInterface
    ResourceInterface.move(String destination)
    Move an item to destination
    void
    DAVResource.removeProperties(PropertyName[] propertyNames)
    Removes the properties specified in the parameter.
    void
    DAVResource.removeProperties(Element[] propNames)
    Removes the properties specified in the parameter.
    void
    DAVResourceInterface.removeProperties(PropertyName[] propNames)
    Removes the properties specified in the parameter.
    void
    DAVResourceInterface.removeProperties(Element[] propNames)
    Removes the properties specified in the parameter.
    void
    RemoteResource.removeProperties(PropertyMap pMap)
    Remove properties from an item
    void
    Resource.removeProperties(PropertyMap pMap)
    Remove properties from an item
    void
    ResourceInterface.removeProperties(PropertyMap pMap)
    Remove properties from an item
    void
    DAVResource.removeProperty(PropertyName propName)
    Removes the property specified in the parameter.
    void
    DAVResource.removeProperty(String propName)
    Removes the property specified in the parameter.
    void
    DAVResource.removeProperty(Element propName)
    Removes the property specified in the parameter.
    void
    DAVResourceInterface.removeProperty(PropertyName propName)
    Removes the property specified in the parameter.
    void
    DAVResourceInterface.removeProperty(String propName)
    Removes the property specified in the parameter.
    void
    DAVResourceInterface.removeProperty(Element propName)
    Removes the property specified in the parameter.
    static void
    WebDAVRestore.restore(DAVResource rsc, File file)
     
    String
    DAVResource.setAcl(Acl acl)
    Sets the access control list for this DAV resource.
    String
    DAVResourceInterface.setAcl(Acl acl)
    Sets the access control list for this DAV resource.
    String
    DAVResource.setACL(String acl)
    Set/Update the Access Control List for this DAV resource.
    String
    DAVResourceInterface.setACL(String acl)
    Set/Update the Access Control List for this DAV resource.
    void
    DAVResource.setContents(byte[] contents)
    Sets the contents of the resource, passing in a byte array.
    void
    DAVResource.setContents(InputStream is)
    Sets the contents of the resource from an input stream.
    void
    DAVResource.setContents(String content)
    Sets the contents of the resource, passing in a URL.
    void
    DAVResource.setContents(URL url)
    Sets the contents of the resource, passing in a URL.
    void
    DAVResourceInterface.setContents(byte[] contents)
    Sets the contents of the resource, passing in a byte array.
    void
    DAVResourceInterface.setContents(InputStream is)
    Sets the contents of the resource from an input stream.
    void
    DAVResourceInterface.setContents(String content)
    Sets the contents of the resource, passing in a URL.
    void
    DAVResourceInterface.setContents(URL url)
    Sets the contents of the resource, passing in a URL.
    void
    RemoteResource.setContents(byte[] input)
    Set the contents of the item.
    void
    RemoteResource.setContents(InputStream is)
    Set the contents of the item from an input stream.
    void
    RemoteResource.setContents(URL url)
    Set the contents of the item.
    void
    Resource.setContents(byte[] input)
    Set the contents of the item.
    void
    Resource.setContents(InputStream is)
    Set the contents of the item from an input stream.
    void
    Resource.setContents(URL url)
    Set the contents of the item.
    void
    ResourceInterface.setContents(byte[] input)
    Set the contents of the element
    void
    ResourceInterface.setContents(InputStream is)
    Set the contents of the element from an input stream.
    void
    ResourceInterface.setContents(URL url)
    Set the contents of the element
    void
    DAVResource.setContentType(String contentType)
    Sets the contents type for the content of the resource.
    void
    DAVResourceInterface.setContentType(String contentType)
    Sets the contents type for the content of the resource.
    void
    DAVResource.setDepth(int depth)
    Set the value for depth.
    void
    DAVResourceInterface.setDepth(int depth)
    Set the value for depth.
    void
    DAVResourceInterface.setOverwrite(boolean overwrite)
    Sets the overwrite flag which specifies whether this DAV resource can be overwritten.
    void
    DAVResource.setProperties(PropertyName[] propNames, String[] propValues)
    Sets the values of properties, as given in the parameter.
    void
    DAVResource.setProperties(DocumentFragment props)
    Sets the values of properties, as given in the parameter.
    void
    DAVResource.setProperties(Element[] elems)
    Sets the values of properties, as given in the parameter.
    void
    DAVResourceInterface.setProperties(PropertyName[] propNames, String[] propValues)
    Sets the values of properties, as given in the parameter.
    void
    DAVResourceInterface.setProperties(DocumentFragment props)
    Sets the values of properties, as given in the parameter.
    void
    DAVResourceInterface.setProperties(Element[] props)
    Sets the values of properties, as given in the parameter.
    void
    RemoteResource.setProperties(PropertyMap pMap)
    Set the properties of an item
    void
    Resource.setProperties(PropertyMap pMap)
    Set the properties of an item
    void
    ResourceInterface.setProperties(PropertyMap pMap)
    Set the properties of an item
    void
    DAVResource.setProperty(PropertyName propName, String propValue)
    Sets the value of a property, as given in the parameter.
    void
    DAVResource.setProperty(Element prop)
    Sets the value of a property, as given in the parameter.
    void
    DAVResourceInterface.setProperty(PropertyName propName, String propValue)
    Sets the value of a property, as given in the parameter.
    void
    DAVResourceInterface.setProperty(Element prop)
    Sets the value of a property, as given in the parameter.
    static Map
    Utils.transformDavProperties(String url, List<DavPropertyItem> davPropertyItems, int key)
     
    static String
    Utils.transformURL(String targetUrl, String originUrl)
     
    void
    DAVResource.unlock()
    Unlocks the resource, if previously locked by the same principal.
    void
    DAVResource.unlock(String lockToken)
    Unlocks the resource, with the correct locktoken.
    void
    DAVResourceInterface.unlock()
    Unlocks the resource, if previously locked by the same principal.
    void
    DAVResourceInterface.unlock(String lockToken)
    Unlocks the resource, with the correct locktoken.
    void
    RemoteResource.unlock()
    Unlock the item
    void
    Resource.unlock()
    Unlock the item
    void
    ResourceInterface.unlock()
    Unlock the item
    Constructors in com.sas.services.webdav that throw DAVException
    Modifier
    Constructor
    Description
     
    Collection(DAVResource r)
    Create a new collection in an existing collection
     
    Collection(SharedResourceInterface sr)
    Create a new collection using the shared resource provided
     
    Creates a DAVResource using the connection information.
     
    DAVResource(ConnectionInfo cInfo, boolean createCollection)
     
     
    DAVResource(String url)
    Creates a DAVResource using a string URL.
     
    DAVResource(String url, boolean createCollection)
    Creates a DAVResource using a string URL and boolean flag to indicate whether a collection should be created.
     
    DAVResource(String url, String userName, String password)
    Creates a DAVResource using a string URL, userName and password.
     
    DAVResource(URL url)
    Creates a DAVResource using a Java URL.
     
    RemoteCollection(Collection c)
     
     
    RemoteCollection(SharedResourceInterface sr)
     
     
    RemoteCollection(SharedResourceInterface sr, String urlStr)
     
     
    RemoteResource(DAVResource r)
    Creates a RemoteResource given a DAVResource.
     
    RemoteResource(SharedResourceInterface sr)
    Creates a RemoteResource given a SharedResource.
     
    RemoteResource(SharedResourceInterface sr, String urlStr)
    Creates a RemoteResource given a SharedResource and a URL.
     
    RemoteResource(String url)
    Creates a RemoteResource given a URL
     
    RemoteResource(String url, String userid, String pw)
    Creates a RemoteResource given a URL, userid and password.
     
    Resource(DAVResource r)
    Creates a DAV resource.
     
    Resource(SharedResourceInterface sr)
    Creates a DAV resource that uses a shared resource.
     
    Resource(String url)
    Creates a DAV resource.
     
    Resource(String url, String userid, String pw)
    Creates a DAV resource.