Java Doc for Workspace.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.Collection
         com.ibm.webdav.Workspace

All known Subclasses:   com.ibm.webdav.Baseline,
Workspace
public class Workspace extends Collection (Code)
A workspace is a resource that provides a means to map versioned resources to particular versions. The members of a workspace are version selectors and unversioned resources. The targets of the version selectors identifies the version contained in the workspace. A workspace may contain a set of activitys that encapsulate changes made to resources in that workspace.




Method Summary
public  voidbaseline()
     Baseline this Workspace to save the selected revisions.
public static  Workspacecreate(java.net.URL url)
     Create a Workspace at the given location.
public  EnumerationdifferencesWith(Baseline target)
     Return a list of differences in activities between this workspace and the given workspace.
public  EnumerationgetActivities()
     Get the activities for revisions that were changed in this workspace.
public  ActivitygetCurrentActivity()
     Get the current activity for this workspace.
public  EnumerationgetMergeConflicts(Activity mergeSource)
     Return an XML document containing the merge conflicts that would result if the mergeSource was merged into this Workspace. Merge conflicts arrise when a revision selected by one revision selector is on a different line of descent than that selected by some other revision selector in the workspace.
public  EnumerationgetMergeConflicts(Baseline mergeSource)
     Return an XML document containing the merge conflicts that would result if the mergeSource was merged into this Workspace. Merge conflicts arrise when a revision selected by one revision selector is on a different line of descent than that selected by some other revision selector in the workspace.
public  EnumerationgetMergeConflicts(Workspace mergeSource)
     Return an XML document containing the merge conflicts that would result if the mergeSource was merged into this Workspace. Merge conflicts arrise when a revision selected by one revision selector is on a different line of descent than that selected by some other revision selector in the workspace.
public  EnumerationmergeWith(Activity mergeSource)
     Merge the mergeSource with this workspace.
public  EnumerationmergeWith(Baseline mergeSource)
     Merge the mergeSource with this workspace.
public  EnumerationmergeWith(Resource mergeSource)
     Merge the mergeSource with this workspace.
public  EnumerationmergeWith(Workspace mergeSource)
     Merge the mergeSource with this workspace.
public  voidsetCurrentActivity(Activity currentActivity)
     Set the current activity for this workspace.



Method Detail
baseline
public void baseline() throws WebDAVException(Code)
Baseline this Workspace to save the selected revisions. a Baseline containing all the revisions selectable throughthis workspace
exception:
  com.ibm.webdav.WebDAVException -



create
public static Workspace create(java.net.URL url) throws WebDAVException(Code)
Create a Workspace at the given location. Servers may require workspaces to be created in a designated portion of the URL namespace. the newly created Workspace
exception:
  com.ibm.webdav.WebDAVException -



differencesWith
public Enumeration differencesWith(Baseline target) throws WebDAVException(Code)
Return a list of differences in activities between this workspace and the given workspace. The differences in activities between a workspace and a baseline gives a high level view of their differences.
Parameters:
  target - the baseline to compare withthis workspace an Enumeration of the Activities that are differentbetween the given baseline and this workspace
exception:
  com.ibm.webdav.WebDAVException -



getActivities
public Enumeration getActivities() throws WebDAVException(Code)
Get the activities for revisions that were changed in this workspace. These activities are candidates for merging into some integration Workspace. an Enumeration ofthe Activities for revisions modified in this workspace
exception:
  com.ibm.webdav.WebDAVException -



getCurrentActivity
public Activity getCurrentActivity() throws WebDAVException(Code)
Get the current activity for this workspace. Checkouts are done in the context of the current activity if any. A workspace can only have one current activity at a time. If this activity is in the revision selection rule of the workspace used to create the revision, the updates to the revision will remain visible after the working resource is checked in. The current label may also be used to perform this function if activities are not supported or used. the current Activity associated with changes made inthis workspace
exception:
  com.ibm.webdav.WebDAVException -



getMergeConflicts
public Enumeration getMergeConflicts(Activity mergeSource) throws WebDAVException(Code)
Return an XML document containing the merge conflicts that would result if the mergeSource was merged into this Workspace. Merge conflicts arrise when a revision selected by one revision selector is on a different line of descent than that selected by some other revision selector in the workspace. Merge conflicts can be resolved by merging the mergeSource into the workspace and updating any working resources that result from merge conflicts. an Enumeration of the Resources that would be in conflictresulting from merging the mergeSource into this Workspace
exception:
  com.ibm.webdav.WebDAVException -



getMergeConflicts
public Enumeration getMergeConflicts(Baseline mergeSource) throws WebDAVException(Code)
Return an XML document containing the merge conflicts that would result if the mergeSource was merged into this Workspace. Merge conflicts arrise when a revision selected by one revision selector is on a different line of descent than that selected by some other revision selector in the workspace. Merge conflicts can be resolved by merging the mergeSource into the workspace and updating any working resources that result from merge conflicts. an Enumeration of the Resources that would be in conflictresulting from merging the mergeSource into this Workspace
exception:
  com.ibm.webdav.WebDAVException -



getMergeConflicts
public Enumeration getMergeConflicts(Workspace mergeSource) throws WebDAVException(Code)
Return an XML document containing the merge conflicts that would result if the mergeSource was merged into this Workspace. Merge conflicts arrise when a revision selected by one revision selector is on a different line of descent than that selected by some other revision selector in the workspace. Merge conflicts can be resolved by merging the mergeSource into the workspace and updating any working resources that result from merge conflicts. an Enumeration of the Resources that would be in conflictresulting from merging the mergeSource into this Workspace
exception:
  com.ibm.webdav.WebDAVException -



mergeWith
public Enumeration mergeWith(Activity mergeSource) throws WebDAVException(Code)
Merge the mergeSource with this workspace. This results in potentially selecting different revisions, and the creation of working resources resulting from merge conflicts. If the mergeSource includes mutable revisions, the merge conflicts are not reliable.
Parameters:
  mergeSource - the Workspace to merge into this workspace an Enumeration of the Resources that were in conflict as a result of the merge.
exception:
  com.ibm.webdav.WebDAVException -
See Also:   com.ibm.webdav.Resource.mergeWith



mergeWith
public Enumeration mergeWith(Baseline mergeSource) throws WebDAVException(Code)
Merge the mergeSource with this workspace. This results in potentially selecting different revisions, and the creation of working resources resulting from merge conflicts. If the mergeSource includes mutable revisions, the merge conflicts are not reliable.
Parameters:
  mergeSource - the Workspace to merge into this workspace an Enumeration of the Resources that were in conflict as a result of the merge.
exception:
  com.ibm.webdav.WebDAVException -
See Also:   com.ibm.webdav.Resource.mergeWith



mergeWith
public Enumeration mergeWith(Resource mergeSource) throws WebDAVException(Code)
Merge the mergeSource with this workspace. This results in potentially selecting different revisions, and the creation of working resources resulting from merge conflicts. If the mergeSource includes mutable revisions, the merge conflicts are not reliable.
Parameters:
  mergeSource - the Workspace to merge into this workspace an Enumeration of the Resources that were in conflict as a result of the merge.
exception:
  com.ibm.webdav.WebDAVException -
See Also:   com.ibm.webdav.Resource.mergeWith



mergeWith
public Enumeration mergeWith(Workspace mergeSource) throws WebDAVException(Code)
Merge the mergeSource with this workspace. This results in potentially selecting different revisions, and the creation of working resources resulting from merge conflicts. If the mergeSource includes mutable revisions, the merge conflicts are not reliable.
Parameters:
  mergeSource - the Workspace to merge into this workspace an Enumeration of the Resources that were in conflict as a result of the merge.
exception:
  com.ibm.webdav.WebDAVException -
See Also:   com.ibm.webdav.Resource.mergeWith



setCurrentActivity
public void setCurrentActivity(Activity currentActivity) throws WebDAVException(Code)
Set the current activity for this workspace. Checkouts are done in the context of the current activity if any. A workspace can only have one current activity at a time. If this activity is in the revision selection rule of the workspace used to create the revision, the updates to the revision will remain visible after the working resource is checked in. The current label may also be used to perform this function if activities are not supported or used.
Parameters:
  value - the current Activity associated with changes made inthis workspace
exception:
  com.ibm.webdav.WebDAVException -



Fields inherited from com.ibm.webdav.Collection
final public static String allMembers(Code)(Java Doc)
final public static String deep(Code)(Java Doc)
final public static String immediateMembers(Code)(Java Doc)
final public static String shallow(Code)(Java Doc)
final public static String thisResource(Code)(Java Doc)

Methods inherited from com.ibm.webdav.Collection
public void baseline() 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 copy(String destinationURL, boolean overwrite, Vector propertiesToCopy, String depth) throws WebDAVException(Code)(Java Doc)
public void createCollection() throws WebDAVException(Code)(Java Doc)
public MultiStatus createCollection(Document contents) throws WebDAVException(Code)(Java Doc)
public Collection createSubCollection(String collectionName) throws WebDAVException(Code)(Java Doc)
public void flushCaches() throws WebDAVException(Code)(Java Doc)
public Vector getMembers() throws WebDAVException(Code)(Java Doc)
public MultiStatus getProperties(PropertyName names, String depth) throws WebDAVException(Code)(Java Doc)
public MultiStatus getProperties(String depth) throws WebDAVException(Code)(Java Doc)
public MultiStatus getProperty(PropertyName name, String depth) throws WebDAVException(Code)(Java Doc)
public MultiStatus getPropertyNames(String depth) throws WebDAVException(Code)(Java Doc)
protected void initialize(URL url, TargetSelector targetSelector) throws WebDAVException(Code)(Java Doc)
public MultiStatus lock(String scope, String type, int timeout, Element owner) throws WebDAVException(Code)(Java Doc)
public MultiStatus lock(String scope, String type, int timeout, Element owner, String depth) throws WebDAVException(Code)(Java Doc)

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.