| |
|
| 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 void | baseline() Baseline this Workspace to save the selected revisions. | public static Workspace | create(java.net.URL url) Create a Workspace at the given location. | public Enumeration | differencesWith(Baseline target) Return a list of differences in activities between this
workspace and the given workspace. | public Enumeration | getActivities() Get the activities for revisions that were changed in this workspace. | public Activity | getCurrentActivity() Get the current activity for this workspace. | public Enumeration | getMergeConflicts(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 Enumeration | getMergeConflicts(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 Enumeration | getMergeConflicts(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 Enumeration | mergeWith(Activity mergeSource) Merge the mergeSource with this workspace. | public Enumeration | mergeWith(Baseline mergeSource) Merge the mergeSource with this workspace. | public Enumeration | mergeWith(Resource mergeSource) Merge the mergeSource with this workspace. | public Enumeration | mergeWith(Workspace mergeSource) Merge the mergeSource with this workspace. | public void | setCurrentActivity(Activity currentActivity) Set the current activity for this workspace. |
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 - |
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)
|
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)
|
|
|
|