|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Workspace
Represents workspace resource. See section 6 of RFC 3253.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface javax.wvcm.ControllableResource |
---|
ControllableResource.Conflict, ControllableResource.Ignore, ControllableResource.MergePreviewReport, ControllableResource.Update |
Nested classes/interfaces inherited from interface javax.wvcm.Folder |
---|
Folder.Binding |
Nested classes/interfaces inherited from interface javax.wvcm.Resource |
---|
Resource.GenericResourceImpl |
Method Summary | |
---|---|
java.util.List |
doLocateByHistoryReport(java.util.List versionHistoryList,
PropertyNameList wantedPropertyList)
Return a list of ControllableResource objects
that identify the controllable resources that are members of
this Workspace and whose versionHistory property identifies
a member of the versionHistoryList parameter. |
java.util.Iterator |
doMerge(java.util.List sourceList,
boolean checkinActivity,
boolean noAutoMerge,
boolean noCheckout,
boolean forkOK,
boolean unreserved,
java.util.List activityList,
boolean newActivity,
PropertyNameList wantedPropertyList)
Merge the versions specified in the sourceList into
this ControllableResource . |
java.util.Iterator |
doMergePreviewReport(java.util.List sourceList)
Return an iterator of MergePreviewReport objects, indicating what resources would be modified by a doMerge . |
java.util.List |
getActivityFolderList()
Return a list of Folder objects that identify folders that
can contain activities for this Workspace . |
java.util.List |
getBaselineControlledFolderList()
Return a list of ControllableFolder objects that identify the folders
that are the roots of the baseline-controlled
configurations in that workspace. |
java.util.List |
getCurrentActivityList()
Return a list of Activity objects that identify
the activities that will initialize the ActivityList property
of a version-controlled member of this Workspace when that member
is checked out and no explicit ActivityList is
specified in the checkout request. |
java.util.List |
getVersionHistoryFolderList()
Return a list of Folder objects that identify folders that
can contain version histories for this Workspace . |
java.util.List |
getWorkspaceCheckoutList()
Return a list of ControllableResource objects
that identify the members of this Workspace that are checked-out
version-controlled resources. |
void |
setCurrentActivityList(java.util.List activityList)
Set the CurrentActivityList property. |
void |
setServerState(Workspace workspace)
When this Workspace is located on the client,
this routine is used to specify the Workspace
on the server that maintains the server state for
this Workspace
This property must be set before creating a workspace that
is located on the client. |
Methods inherited from interface javax.wvcm.ControllableFolder |
---|
doBaselineControl, doBaselineControl, getBaselineControllable, getEclipsedList, readMemberList |
Methods inherited from interface javax.wvcm.Folder |
---|
doReadMemberList, getBindingList |
Method Detail |
---|
void setServerState(Workspace workspace)
Workspace
is located on the client,
this routine is used to specify the Workspace
on the server that maintains the server state for
this Workspace
This property must be set before creating a workspace that
is located on the client.
workspace
- The Workspace
located
on the server that maintains the server state
for this Workspace
.ControllableResource.getServerState()
java.util.List getActivityFolderList() throws WvcmException
Folder
objects that identify folders that
can contain activities for this Workspace
.
This list is empty if this Workspace
does not provide activity support.
WvcmException
- if this Workspace
was not created with
ACTIVITY_FOLDER_LIST
as a wanted property.java.util.List getVersionHistoryFolderList() throws WvcmException
Folder
objects that identify folders that
can contain version histories for this Workspace
.
This list is empty if this Workspace
does not provide versioning support.
WvcmException
- if this Workspace
was not created with
VERSION_HISTORY_FOLDER_LIST
as a wanted property.java.util.List getBaselineControlledFolderList() throws WvcmException
ControllableFolder
objects that identify the folders
that are the roots of the baseline-controlled
configurations in that workspace.
WvcmException
- if this Workspace
was not created with
BASELINE_CONTROLLED_FOLDER_LIST
as a wanted property.java.util.List getCurrentActivityList() throws WvcmException
Activity
objects that identify
the activities that will initialize the ActivityList property
of a version-controlled member of this Workspace
when that member
is checked out and no explicit ActivityList is
specified in the checkout request.
This allows an activity-unaware client to update a workspace in which activity tracking is required.
The CurrentActivityList MAY be restricted to identify at most one activity.
WvcmException
- if this Workspace
was not created with
CURRENT_ACTIVITY_LIST
as a wanted property.void setCurrentActivityList(java.util.List activityList)
activityList
- The list of Activity
objects that
identify the new CurrentActivityList for this Workspace
.java.util.List getWorkspaceCheckoutList() throws WvcmException
ControllableResource
objects
that identify the members of this Workspace
that are checked-out
version-controlled resources.
WvcmException
- if this Workspace
was not created with
WORKSPACE_CHECKOUT_LIST
as a wanted property.java.util.List doLocateByHistoryReport(java.util.List versionHistoryList, PropertyNameList wantedPropertyList) throws WvcmException
ControllableResource
objects
that identify the controllable resources that are members of
this Workspace
and whose versionHistory property identifies
a member of the versionHistoryList
parameter.
doLocateByHistoryReport
in interface ControllableFolder
versionHistoryList
- A list of VersionHistory
objects that
are being located.wantedPropertyList
- The properties to be retrieved for the
returned version-controlled resources.
WvcmException
java.util.Iterator doMerge(java.util.List sourceList, boolean checkinActivity, boolean noAutoMerge, boolean noCheckout, boolean forkOK, boolean unreserved, java.util.List activityList, boolean newActivity, PropertyNameList wantedPropertyList) throws WvcmException
sourceList
into
this ControllableResource
.
The "target" of a particular source version is the version-controlled
member of the workspace identified by this Workspace
that is associated with the version history for that version.
sourceList
- A list of Resource
objects that
identifies the versions to be merged.
If a member of sourceList is an activity,
each version in the ActivityVersionList is a source version.
If a member of sourceList is a version-controlled resource,
the checked-in version of the member is a source version.
If a member of sourceList is a folder, all members of the configuration
rooted at that folder are considered members of the sourceList.checkinActivity
- If a member of the sourceList is an activity,
apply doCheckin to that activity before performing the merge.noAutoMerge
- See ControllableResource#doMerge.noCheckout
- See ControllableResource#doMerge.forkOK
- See ControllableResource#doMerge.unreserved
- See ControllableResource#doMerge.activityList
- See ControllableResource#doMerge.newActivity
- See ControllableResource#doMerge.wantedPropertyList
- See ControllableResource#doMerge.
ControllableResource
objects that
identifies the resources modified by the merge.
WvcmException
- Preconditions:
WvcmException
- Postconditions:
java.util.Iterator doMergePreviewReport(java.util.List sourceList) throws WvcmException
doMerge
.
sourceList
- A list of Resource
objects that identify
the versions to be merged.
WvcmException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |