Java Doc for WebDAVFileSystem.java in  » Content-Management-System » harmonise » org » openharmonise » webdav » client » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Content Management System » harmonise » org.openharmonise.webdav.client 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openharmonise.vfs.AbstractVirtualFileSystem
      org.openharmonise.vfs.AbstractVersioningVFS
         org.openharmonise.webdav.client.WebDAVFileSystem

WebDAVFileSystem
public class WebDAVFileSystem extends AbstractVersioningVFS implements AuthorizationHandler(Code)
WebDAV implementation of the VirtualFileSystem.
author:
   Matthew Large
version:
   $Revision: 1.4 $



Constructor Summary
public  WebDAVFileSystem(URI uri)
     Constructs new WebDAV virtual file system.
public  WebDAVFileSystem(URI uri, AuthInfo authInfo)
     Constructs new WebDAV virtual file system.
public  WebDAVFileSystem(URI uri, AbstractAuthenticationStore authStore)
     Constructs new WebDAV virtual file system.

Method Summary
public  ResourceStatusWrapperaddVirtualFile(String sPath, VirtualFile content)
    
public  voidchangeLoginDetails(String sUsername, String sPassword)
     Changes the authentication information being used by this virtual file system.
public  booleancheckLoginDetails(String sPath, String sUsername, String sPassword)
     Attempts to use a username and password to check if they are valid.
public  StatusDatacheckinVirtualFile(String sFullPath)
    
public  StatusDatacheckoutVirtualFile(String sFullPath)
    
public  StatusDatacopyVirtualFile(String sFromPath, String sToPath)
    
public  StatusDatacreateShortcut(String sPath, String sToPath)
    
public  StatusDatacreateVirtualDirectory(String sPath)
    
public  StringcurrentUserResourcePath(AuthInfo authInfo)
    
public  StatusDatadeleteVirtualFile(String sPath)
    
public  booleanexists(String sFullPath)
    
public  AuthorizationInfofixupAuthInfo(AuthorizationInfo arg0, RoRequest arg1, AuthorizationInfo arg2, RoResponse arg3)
    
protected  voidfullyPopulateFileAllowedMethods(VirtualFile vfFile)
    
protected  voidfullyPopulateFileChildren(VirtualFile vfFile)
    
protected  voidfullyPopulateFileHistory(VersionedVirtualFile vfFile)
    
protected  voidfullyPopulateFileMetadata(VirtualFile vfFile)
    
public  StringgetAuthHeaderValue()
     Creates a HTTP authentication header value from the authentication information for this virtual file system.
public  AuthorizationInfogetAuthorization(AuthorizationInfo arg0, RoRequest arg1, RoResponse arg2)
    
public  ListgetChangedVirtualFiles()
    
public  ValueInstancegetNewValueInstance(PropertyInstance propInst)
    
public  ListgetOptions()
    
public  VirtualFilegetPropertyVirtualFile(String sPropPath)
    
public  ResourceStatusWrappergetVirtualFile(String sPath)
    
public  ResourceStatusWrappergetVirtualFile(String sPath, List aProps)
     This method will return either the Virtual File that was requested by the path or a new blank file initialised to that path.
public  byte[]getVirtualFileContent(String sFullPath)
    
public  VirtualFileSystemViewgetVirtualFileSystemView()
    
public  voidhandleAuthHeaders(Response arg0, RoRequest arg1, AuthorizationInfo arg2, AuthorizationInfo arg3)
    
public  voidhandleAuthTrailers(Response arg0, RoRequest arg1, AuthorizationInfo arg2, AuthorizationInfo arg3)
    
public  StatusDatalockVirtualFile(String sPath)
    
public  StatusDatamoveVirtualFile(String sFromPath, String sToPath)
    
public  StatusDataorderVirtualFileChildren(List aPaths, VirtualFile vfDir)
    
protected  voidpopulateLock(Element elLock, VirtualFile vfFile)
     Fully populates the lock information from a XML element.
public  voidpopulatePropertyInstance(VirtualFile vfFile, Element elProp, PropertyInstance prop, boolean bAddToFile)
     Populates a property instance from a XML element.
protected  voidpopulateVirtualFile(Element elRoot, VirtualFile vfFile)
     Populates a virtual file from the given XML.
public  StatusDatareactivateVersion(String sFullPath)
    
protected  voidrefreshChildren(VirtualFile vfFile)
    
public  booleanrejectAllChanges()
    
public  ResourceListStatusWrappersearch(Query query)
    
public  StatusDatasynchroniseAllFiles()
    
public  StatusDatasynchroniseFile(VirtualFile vfFile)
    
public  StatusDatatagVirtualFile(String sPath, String sTag)
    
public  StatusDatauncheckoutVirtualFile(String sPath)
    
public  StatusDataunlockVirtualFile(String sPath)
    


Constructor Detail
WebDAVFileSystem
public WebDAVFileSystem(URI uri)(Code)
Constructs new WebDAV virtual file system.
Parameters:
  uri - Location for virtual file system



WebDAVFileSystem
public WebDAVFileSystem(URI uri, AuthInfo authInfo)(Code)
Constructs new WebDAV virtual file system.
Parameters:
  uri - Location for virtual file system
Parameters:
  authInfo - Authentication information for accessing virtual file system



WebDAVFileSystem
public WebDAVFileSystem(URI uri, AbstractAuthenticationStore authStore)(Code)
Constructs new WebDAV virtual file system.
Parameters:
  uri - Location for virtual file system
Parameters:
  authStore - Authentication store containing information for accessing virtual file system




Method Detail
addVirtualFile
public ResourceStatusWrapper addVirtualFile(String sPath, VirtualFile content)(Code)



changeLoginDetails
public void changeLoginDetails(String sUsername, String sPassword)(Code)
Changes the authentication information being used by this virtual file system.
Parameters:
  sUsername - New username
Parameters:
  sPassword - New password



checkLoginDetails
public boolean checkLoginDetails(String sPath, String sUsername, String sPassword)(Code)
Attempts to use a username and password to check if they are valid.
Parameters:
  sPath - Path to use to check authentication information
Parameters:
  sUsername - Username
Parameters:
  sPassword - Password true if the authentication information was okay



checkinVirtualFile
public StatusData checkinVirtualFile(String sFullPath)(Code)



checkoutVirtualFile
public StatusData checkoutVirtualFile(String sFullPath)(Code)



copyVirtualFile
public StatusData copyVirtualFile(String sFromPath, String sToPath)(Code)



createShortcut
public StatusData createShortcut(String sPath, String sToPath)(Code)



createVirtualDirectory
public StatusData createVirtualDirectory(String sPath)(Code)



currentUserResourcePath
public String currentUserResourcePath(AuthInfo authInfo)(Code)



deleteVirtualFile
public StatusData deleteVirtualFile(String sPath)(Code)



exists
public boolean exists(String sFullPath)(Code)



fixupAuthInfo
public AuthorizationInfo fixupAuthInfo(AuthorizationInfo arg0, RoRequest arg1, AuthorizationInfo arg2, RoResponse arg3) throws AuthSchemeNotImplException, IOException(Code)



fullyPopulateFileAllowedMethods
protected void fullyPopulateFileAllowedMethods(VirtualFile vfFile)(Code)



fullyPopulateFileChildren
protected void fullyPopulateFileChildren(VirtualFile vfFile)(Code)



fullyPopulateFileHistory
protected void fullyPopulateFileHistory(VersionedVirtualFile vfFile)(Code)



fullyPopulateFileMetadata
protected void fullyPopulateFileMetadata(VirtualFile vfFile)(Code)



getAuthHeaderValue
public String getAuthHeaderValue()(Code)
Creates a HTTP authentication header value from the authentication information for this virtual file system. HTTP authentication header value



getAuthorization
public AuthorizationInfo getAuthorization(AuthorizationInfo arg0, RoRequest arg1, RoResponse arg2) throws AuthSchemeNotImplException, IOException(Code)



getChangedVirtualFiles
public List getChangedVirtualFiles()(Code)



getNewValueInstance
public ValueInstance getNewValueInstance(PropertyInstance propInst)(Code)



getOptions
public List getOptions()(Code)



getPropertyVirtualFile
public VirtualFile getPropertyVirtualFile(String sPropPath)(Code)



getVirtualFile
public ResourceStatusWrapper getVirtualFile(String sPath)(Code)



getVirtualFile
public ResourceStatusWrapper getVirtualFile(String sPath, List aProps)(Code)
This method will return either the Virtual File that was requested by the path or a new blank file initialised to that path.
Parameters:
  sPath - Full path to the requested file
Parameters:
  aProps - Properties to be populated in the file



getVirtualFileContent
public byte[] getVirtualFileContent(String sFullPath)(Code)



getVirtualFileSystemView
public VirtualFileSystemView getVirtualFileSystemView()(Code)



handleAuthHeaders
public void handleAuthHeaders(Response arg0, RoRequest arg1, AuthorizationInfo arg2, AuthorizationInfo arg3) throws IOException(Code)



handleAuthTrailers
public void handleAuthTrailers(Response arg0, RoRequest arg1, AuthorizationInfo arg2, AuthorizationInfo arg3) throws IOException(Code)



lockVirtualFile
public StatusData lockVirtualFile(String sPath)(Code)



moveVirtualFile
public StatusData moveVirtualFile(String sFromPath, String sToPath)(Code)



orderVirtualFileChildren
public StatusData orderVirtualFileChildren(List aPaths, VirtualFile vfDir)(Code)



populateLock
protected void populateLock(Element elLock, VirtualFile vfFile)(Code)
Fully populates the lock information from a XML element.
Parameters:
  elLock - Root element of lock information
Parameters:
  vfFile - Virtual file to be populated



populatePropertyInstance
public void populatePropertyInstance(VirtualFile vfFile, Element elProp, PropertyInstance prop, boolean bAddToFile)(Code)
Populates a property instance from a XML element.
Parameters:
  vfFile - Virtual file to add property instance to
Parameters:
  elProp - Root element of property instance XML
Parameters:
  prop - Property instance to be populated
Parameters:
  bAddToFile - true if property instance is to be added to virtual file, false if it is part of a compound property instance



populateVirtualFile
protected void populateVirtualFile(Element elRoot, VirtualFile vfFile)(Code)
Populates a virtual file from the given XML.
Parameters:
  elRoot - Root element of result from WebDAV server
Parameters:
  vfFile - Virtual file to be populated



reactivateVersion
public StatusData reactivateVersion(String sFullPath)(Code)



refreshChildren
protected void refreshChildren(VirtualFile vfFile)(Code)



rejectAllChanges
public boolean rejectAllChanges()(Code)



search
public ResourceListStatusWrapper search(Query query)(Code)



synchroniseAllFiles
public StatusData synchroniseAllFiles()(Code)



synchroniseFile
public StatusData synchroniseFile(VirtualFile vfFile)(Code)



tagVirtualFile
public StatusData tagVirtualFile(String sPath, String sTag)(Code)



uncheckoutVirtualFile
public StatusData uncheckoutVirtualFile(String sPath)(Code)



unlockVirtualFile
public StatusData unlockVirtualFile(String sPath)(Code)



Methods inherited from org.openharmonise.vfs.AbstractVersioningVFS
protected void addHistoricalVersionPath(VersionedVirtualFile vfFile, String sPath)(Code)(Java Doc)
abstract public StatusData checkinVirtualFile(String sFullPath)(Code)(Java Doc)
abstract public StatusData checkoutVirtualFile(String sFullPath)(Code)(Java Doc)
abstract protected void fullyPopulateFileHistory(VersionedVirtualFile vfFile)(Code)(Java Doc)
abstract public StatusData reactivateVersion(String sFullPath)(Code)(Java Doc)
protected void setFileHistoryPopulated(VersionedVirtualFile vfFile, boolean bHistoryPopulated)(Code)(Java Doc)
protected void setFileLiveVersionPath(VersionedVirtualFile vfFile, String sPath)(Code)(Java Doc)
protected void setFilePendingVersionPath(VersionedVirtualFile vfFile, String sPath)(Code)(Java Doc)
abstract public StatusData tagVirtualFile(String sFullPath, String sTag)(Code)(Java Doc)
abstract public StatusData uncheckoutVirtualFile(String sFullPath)(Code)(Java Doc)

Fields inherited from org.openharmonise.vfs.AbstractVirtualFileSystem
protected String m_sInitialPath(Code)(Java Doc)
protected String m_sRootPathSegment(Code)(Java Doc)

Methods inherited from org.openharmonise.vfs.AbstractVirtualFileSystem
public void addErrorListener(VirtualFileSystemErrorListener listener)(Code)(Java Doc)
protected void addFileAllowedMethod(VirtualFile vfFile, String sMethod)(Code)(Java Doc)
abstract public ResourceStatusWrapper addVirtualFile(String sPath, VirtualFile vfFile)(Code)(Java Doc)
protected void clearAllFileProperties(VirtualFile vfFile)(Code)(Java Doc)
protected void clearFileAllowedMethods(VirtualFile vfFile)(Code)(Java Doc)
protected void clearVirtualFileChildren(VirtualFile vfFile)(Code)(Java Doc)
abstract public StatusData copyVirtualFile(String sFromFullPath, String sToFullPath)(Code)(Java Doc)
abstract public StatusData createShortcut(String sFullPath, String sToFullPath)(Code)(Java Doc)
abstract public StatusData createVirtualDirectory(String sFullPath)(Code)(Java Doc)
abstract public String currentUserResourcePath(AuthInfo authInfo)(Code)(Java Doc)
abstract public StatusData deleteVirtualFile(String sFullPath)(Code)(Java Doc)
public void discardFileChanges(String sPath)(Code)(Java Doc)
abstract public boolean exists(String sFullPath)(Code)(Java Doc)
protected void fireErrorEvent(String sMessage, String sDetails)(Code)(Java Doc)
abstract protected void fullyPopulateFileAllowedMethods(VirtualFile vfFile)(Code)(Java Doc)
abstract protected void fullyPopulateFileChildren(VirtualFile vfFile)(Code)(Java Doc)
abstract protected void fullyPopulateFileMetadata(VirtualFile vfFile)(Code)(Java Doc)
public AuthInfo getAuthentication()(Code)(Java Doc)
abstract public List getChangedVirtualFiles()(Code)(Java Doc)
public String getInitialPath()(Code)(Java Doc)
abstract public ValueInstance getNewValueInstance(PropertyInstance propInst)(Code)(Java Doc)
abstract public List getOptions()(Code)(Java Doc)
protected String getParentPath(String sFullPath)(Code)(Java Doc)
public static List getPathSegments(String sPath, String sPathSeparator)(Code)(Java Doc)
abstract public VirtualFile getPropertyVirtualFile(String sPropPath)(Code)(Java Doc)
public String getRootPathSegment()(Code)(Java Doc)
public URI getURI()(Code)(Java Doc)
abstract public ResourceStatusWrapper getVirtualFile(String sFullPath)(Code)(Java Doc)
abstract public byte[] getVirtualFileContent(String sFullPath)(Code)(Java Doc)
abstract public VirtualFileSystemView getVirtualFileSystemView()(Code)(Java Doc)
protected boolean isFileChildrenPopulated(VirtualFile vfFile)(Code)(Java Doc)
protected boolean isFileContentPopulated(VirtualFile vfFile)(Code)(Java Doc)
protected boolean isFileMetadataPopulated(VirtualFile vfFile)(Code)(Java Doc)
abstract public StatusData lockVirtualFile(String sFullPath)(Code)(Java Doc)
abstract public StatusData moveVirtualFile(String sFromFullPath, String sToFullPath)(Code)(Java Doc)
abstract public StatusData orderVirtualFileChildren(List aPaths, VirtualFile vfDir)(Code)(Java Doc)
abstract protected void refreshChildren(VirtualFile vfFile)(Code)(Java Doc)
abstract public boolean rejectAllChanges()(Code)(Java Doc)
abstract public ResourceListStatusWrapper search(Query query)(Code)(Java Doc)
protected void setFileChildrenPopulated(VirtualFile vfFile, boolean bChildrenPopulated)(Code)(Java Doc)
protected void setFileContentPopulated(VirtualFile vfFile, boolean bContentPopulated)(Code)(Java Doc)
protected void setFileIsVersionable(VirtualFile vfFile, boolean bVersionable)(Code)(Java Doc)
protected void setFileMetadataPopulated(VirtualFile vfFile, boolean bMetadataPopulated)(Code)(Java Doc)
protected void setFileState(VirtualFile vfFile, String sState)(Code)(Java Doc)
protected void setOrderableDirectory(VirtualFile vfFile, boolean bOrderableDirectory)(Code)(Java Doc)
abstract public StatusData synchroniseAllFiles()(Code)(Java Doc)
abstract public StatusData synchroniseFile(VirtualFile vfFile)(Code)(Java Doc)
abstract public StatusData unlockVirtualFile(String sFullPath)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.