Java Doc for VersionedResource.java in  » Content-Management-System » harmonise » com » ibm » webdav » 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 » com.ibm.webdav 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.ibm.webdav.Resource
      com.ibm.webdav.VersionedResource

VersionedResource
public class VersionedResource extends Resource (Code)
A versioned resource represents all revisions of a particular resource. A versioned resource corresponds to the root or initial version of all the revisions of a resource.



Constructor Summary
public  VersionedResource()
     VersionedResource constructor comment.
public  VersionedResource(Resource resource)
     VersionedResource constructor comment.
public  VersionedResource(String url)
     VersionedResource constructor comment.
public  VersionedResource(String protocol, String host, int port, String file)
     VersionedResource constructor comment.
public  VersionedResource(String protocol, String host, String file)
     VersionedResource constructor comment.
public  VersionedResource(java.net.URL url)
     VersionedResource constructor comment.
public  VersionedResource(java.net.URL context, String spec)
     VersionedResource constructor comment.

Method Summary
public  MultiStatusdelete()
     Delete this versioned resource.
public  TargetSelectorgetDefaultTarget()
     Get the default target for this versioned resource.
public  EnumerationgetMutableProperties()
     A resource may have a number of mutable properties.
public  DocumentgetRevisionHistory()
     Get the revision history for a versioned resource.
public  EnumerationgetRevisions()
     Get the revisions of this versioned resource.
public  ElementgetVersioningOptions()
     Get the versioning options for this resource.
public  EnumerationgetWorkingResources()
     Get the current working resources of this versioned resource.
public  booleanisAutomaticallyVersioned()
     A resource can be automatically versioned on each method that updates its state (content or properties).
public  booleanisLinear()
     When the DAV:linear property of a versioned resource is true, only one working resource can be checked out from that versioned resource at any time, and only the revision that has no successors can be checked out.
public  voidsetDefaultTarget(TargetSelector targetSelector)
     Set the default target for this versioned resource.


Constructor Detail
VersionedResource
public VersionedResource()(Code)
VersionedResource constructor comment.



VersionedResource
public VersionedResource(Resource resource) throws WebDAVException(Code)
VersionedResource constructor comment.
Parameters:
  resource - com.ibm.webdav.Resource
exception:
  com.ibm.webdav.WebDAVException -



VersionedResource
public VersionedResource(String url) throws WebDAVException(Code)
VersionedResource constructor comment.
Parameters:
  url - java.lang.String
exception:
  com.ibm.webdav.WebDAVException -



VersionedResource
public VersionedResource(String protocol, String host, int port, String file) throws WebDAVException(Code)
VersionedResource constructor comment.
Parameters:
  protocol - java.lang.String
Parameters:
  host - java.lang.String
Parameters:
  port - int
Parameters:
  file - java.lang.String
exception:
  com.ibm.webdav.WebDAVException -



VersionedResource
public VersionedResource(String protocol, String host, String file) throws WebDAVException(Code)
VersionedResource constructor comment.
Parameters:
  protocol - java.lang.String
Parameters:
  host - java.lang.String
Parameters:
  file - java.lang.String
exception:
  com.ibm.webdav.WebDAVException -



VersionedResource
public VersionedResource(java.net.URL url) throws WebDAVException(Code)
VersionedResource constructor comment.
Parameters:
  url - java.net.URL
exception:
  com.ibm.webdav.WebDAVException -



VersionedResource
public VersionedResource(java.net.URL context, String spec) throws WebDAVException(Code)
VersionedResource constructor comment.
Parameters:
  context - java.net.URL
Parameters:
  spec - java.lang.String
exception:
  com.ibm.webdav.WebDAVException -




Method Detail
delete
public MultiStatus delete() throws WebDAVException(Code)
Delete this versioned resource. The versioned resource and all its revisions are removed from the repository. Any workspaces resolving to a revision of this versioned resource will return resource not found status. When used in the revision selection rule for a workspace, configurations containing a revision of this resource will result in a resource not found status. a MultiStatus containing the status of the delete method on eacheffected resource.
exception:
  com.ibm.webdav.WebDAVException -
exception:
  RemoteException -
exception:
  IOException -
exception:
  java.rmi.NotBoundException -



getDefaultTarget
public TargetSelector getDefaultTarget() throws WebDAVException(Code)
Get the default target for this versioned resource. The default target specifies the revision selected when no TargetSelector is specified. the TargetSelector for the default revision. Must be eithera LabelSelector, a RevisionSelector, or null. Null means the versioned resourcehas no default revision.
exception:
  com.ibm.webdav.WebDAVException -



getMutableProperties
public Enumeration getMutableProperties() throws WebDAVException(Code)
A resource may have a number of mutable properties. These are properties that may change even when the resource is checked in. Changes to these properties does not require a new revision. an Enumeration of the mutable properties of this resource
exception:
  com.ibm.webdav.WebDAVException -



getRevisionHistory
public Document getRevisionHistory() throws WebDAVException(Code)
Get the revision history for a versioned resource. The revision history lists the revisions of a resource and their predecessors and successors. The format of the document is given in section Revision History. The document will not contain any revisions if the resource is not versioned. an XML document containing the revision history of theassociated versioned resource.
exception:
  com.ibm.webdav.WebDAVException -



getRevisions
public Enumeration getRevisions() throws WebDAVException(Code)
Get the revisions of this versioned resource. The first revision is always the initial revision of the versioned resource, but subsequent entries are not in any particular order. An Enumeration of revisions of this VersionedResource
exception:
  com.ibm.webdav.WebDAVException -



getVersioningOptions
public Element getVersioningOptions() throws WebDAVException(Code)
Get the versioning options for this resource. Versioning options are established by the server and include:
  • Mutable/immutable revisions
  • Supports multiple activities
  • Can be a member of a configuration
  • Is automatically versioned
an XML Element containing the versioning options forthis resource
exception:
  com.ibm.webdav.WebDAVException -



getWorkingResources
public Enumeration getWorkingResources() throws WebDAVException(Code)
Get the current working resources of this versioned resource. An Enumeration of current working resources of this VersionedResource
exception:
  com.ibm.webdav.WebDAVException -



isAutomaticallyVersioned
public boolean isAutomaticallyVersioned() throws WebDAVException(Code)
A resource can be automatically versioned on each method that updates its state (content or properties). Non-versioning aware clients use automatic versioning to support updates. If a resource is not automatically versioned, attempts to update the revision without explicitly checking it out first will fail. true if this resource is automatically versioned,false if not.
exception:
  com.ibm.webdav.WebDAVException -



isLinear
public boolean isLinear() throws WebDAVException(Code)
When the DAV:linear property of a versioned resource is true, only one working resource can be checked out from that versioned resource at any time, and only the revision that has no successors can be checked out. true if this resource is constrained to have a linear revision history,false if not.
exception:
  com.ibm.webdav.WebDAVException -



setDefaultTarget
public void setDefaultTarget(TargetSelector targetSelector) throws WebDAVException(Code)
Set the default target for this versioned resource. The default target specifies the revision selected when no TargetSelector is specified.
Parameters:
  targetSelector - the TargetSelector for the default revision. Must be eithera LabelSelector, a RevisionSelector, or null. Null means the versioned resourcehas no default revision.
exception:
  com.ibm.webdav.WebDAVException -



Fields inherited from com.ibm.webdav.Resource
public static String DAV4JVersion(Code)(Java Doc)
public static String XMLVersion(Code)(Java Doc)
protected byte[] cachedContents(Code)(Java Doc)
protected ResourceContext context(Code)(Java Doc)
public static String defaultCharEncoding(Code)(Java Doc)
public static String defaultXMLEncoding(Code)(Java Doc)
protected IRResource impl(Code)(Java Doc)
protected TargetSelector targetSelector(Code)(Java Doc)
protected URL url(Code)(Java Doc)

Methods inherited from com.ibm.webdav.Resource
public void addLabel(String label) throws WebDAVException(Code)(Java Doc)
public MultiStatus addProperties(PropertyName[] names, Element[] values) throws WebDAVException(Code)(Java Doc)
public void addProperty(PropertyName name, Element value) throws WebDAVException(Code)(Java Doc)
public void cancelCheckOut() throws WebDAVException(Code)(Java Doc)
public TargetSelector checkOut() throws WebDAVException(Code)(Java Doc)
public TargetSelector checkOut(Workspace workspace) throws WebDAVException(Code)(Java Doc)
public void checkPoint(boolean makeCurrentTarget, boolean overwrite) throws WebDAVException(Code)(Java Doc)
public void checkin() throws WebDAVException(Code)(Java Doc)
public void checkin(Activity activity, boolean makeCurrentTarget, boolean overwrite) throws WebDAVException(Code)(Java Doc)
public void checkin(boolean makeCurrentTarget, boolean overwrite) throws WebDAVException(Code)(Java Doc)
public void closeContentsOutputStream() throws WebDAVException(Code)(Java Doc)
public void closeContentsOutputStream(String sContentType) throws WebDAVException(Code)(Java Doc)
public MultiStatus copy(String destinationURL) throws WebDAVException(Code)(Java Doc)
public MultiStatus copy(String destinationURL, boolean overwrite, Vector propertiesToCopy) throws WebDAVException(Code)(Java Doc)
public MultiStatus delete() throws WebDAVException(Code)(Java Doc)
public Document differencesWith(Resource resource) throws WebDAVException(Code)(Java Doc)
public boolean equals(Resource resource) throws WebDAVException(Code)(Java Doc)
public boolean exists() throws WebDAVException(Code)(Java Doc)
public void flushCaches() throws WebDAVException(Code)(Java Doc)
public ActiveLock getActiveLockFor(String principal) throws WebDAVException(Code)(Java Doc)
public Activity getActivity() throws WebDAVException(Code)(Java Doc)
public byte[] getContents() throws WebDAVException(Code)(Java Doc)
public InputStream getContentsInputStream() throws WebDAVException(Code)(Java Doc)
public OutputStream getContentsOutputStream() throws WebDAVException(Code)(Java Doc)
public ResourceContext getContext()(Code)(Java Doc)
public Enumeration getLabels() throws WebDAVException(Code)(Java Doc)
public Vector getLocks() throws WebDAVException(Code)(Java Doc)
public Enumeration getMergeCandidates() throws WebDAVException(Code)(Java Doc)
public Enumeration getMergePredecessors() throws WebDAVException(Code)(Java Doc)
public void getMetaInformation() throws WebDAVException(Code)(Java Doc)
public Enumeration getMutableProperties() throws WebDAVException(Code)(Java Doc)
public Element getOptions() throws WebDAVException(Code)(Java Doc)
public Collection getParentCollection() throws WebDAVException(Code)(Java Doc)
public Resource getPredecessor() throws WebDAVException(Code)(Java Doc)
public MultiStatus getProperties() throws WebDAVException(Code)(Java Doc)
public MultiStatus getProperties(PropertyName names) throws WebDAVException(Code)(Java Doc)
public PropertyValue getProperty(PropertyName name) throws WebDAVException(Code)(Java Doc)
public MultiStatus getPropertyNames() throws WebDAVException(Code)(Java Doc)
public HTTPHeaders getRequestContext() throws WebDAVException(Code)(Java Doc)
public HTTPHeaders getResponseContext() throws WebDAVException(Code)(Java Doc)
public Document getRevisionHistory() throws WebDAVException(Code)(Java Doc)
public String getRevisionId() throws WebDAVException(Code)(Java Doc)
public int getStatusCode() throws WebDAVException(Code)(Java Doc)
public String getStatusMessage() throws WebDAVException(Code)(Java Doc)
public Enumeration getSuccessors() throws WebDAVException(Code)(Java Doc)
public TargetSelector getTargetSelector() throws WebDAVException(Code)(Java Doc)
public URL getURL() throws WebDAVException(Code)(Java Doc)
public String getWorkingResourceId() throws WebDAVException(Code)(Java Doc)
public Enumeration getWorkingResources() throws WebDAVException(Code)(Java Doc)
protected void initialize(URL url, TargetSelector targetSelector) throws WebDAVException(Code)(Java Doc)
public boolean isAutomaticallyVersioned() throws WebDAVException(Code)(Java Doc)
public boolean isCheckedOut(Activity activity) throws WebDAVException(Code)(Java Doc)
public boolean isCollection() throws WebDAVException(Code)(Java Doc)
public boolean isLabeledWith(String label) throws WebDAVException(Code)(Java Doc)
public boolean isLocked() throws WebDAVException(Code)(Java Doc)
public boolean isLockedByMe() throws WebDAVException(Code)(Java Doc)
public boolean isMutable() throws WebDAVException(Code)(Java Doc)
boolean isVersioned() throws WebDAVException(Code)(Java Doc)
public MultiStatus lock(Document document) throws WebDAVException(Code)(Java Doc)
public MultiStatus lock(String scope, String type, int timeout, Element owner) throws WebDAVException(Code)(Java Doc)
public MultiStatus move(String destinationURL) throws WebDAVException(Code)(Java Doc)
public MultiStatus move(String destinationURL, boolean overwrite, Vector propertiesToMove) throws WebDAVException(Code)(Java Doc)
public byte[] performWith(String args) throws WebDAVException(Code)(Java Doc)
public MultiStatus refreshLock(String lockToken, int timeout) throws WebDAVException(Code)(Java Doc)
public void removeLabel(String label) throws WebDAVException(Code)(Java Doc)
public MultiStatus removeProperties(PropertyName[] names) throws WebDAVException(Code)(Java Doc)
public void removeProperty(PropertyName name) throws WebDAVException(Code)(Java Doc)
public void setContents(byte[] value) throws WebDAVException(Code)(Java Doc)
public void setContents(byte[] value, String mimetype) throws WebDAVException(Code)(Java Doc)
public MultiStatus setProperties(PropertyName[] names, Element[] values) throws WebDAVException(Code)(Java Doc)
public MultiStatus setProperties(Document updates) throws WebDAVException(Code)(Java Doc)
public void setProperty(PropertyName name, Element value) throws WebDAVException(Code)(Java Doc)
public void setRequestContext(HTTPHeaders value) throws WebDAVException(Code)(Java Doc)
public void setResponseContext(HTTPHeaders value) throws WebDAVException(Code)(Java Doc)
public void setStatusCode(int value) throws WebDAVException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public MultiStatus unlock(String lockToken) throws WebDAVException(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.