|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents workspace resource. See section 6 of RFC 3253.
| Nested Class Summary |
| Nested classes inherited from class ControllableResource |
ControllableResource.Conflict, ControllableResource.Ignore, ControllableResource.MergePreviewReport, ControllableResource.Update |
| Nested classes inherited from class Folder |
Folder.Binding |
| Method Summary | |
List |
doLocateByHistoryReport(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. |
Iterator |
doMerge(List sourceList,
boolean checkinActivity,
boolean noAutoMerge,
boolean noCheckout,
boolean forkOK,
boolean unreserved,
List activityList,
boolean newActivity,
PropertyNameList wantedPropertyList)
Merge the versions specified in the sourceList into
this ControllableResource. |
Iterator |
doMergePreviewReport(List sourceList)
Return an iterator of MergePreviewReport objects, indicating what resources would be modified by a doMerge. |
List |
getActivityFolderList()
Return a list of Folder objects that identify folders that
can contain activities for this Workspace. |
List |
getBaselineControlledFolderList()
Return a list of ControllableFolder objects that identify the folders
that are the roots of the baseline-controlled
configurations in that workspace. |
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. |
List |
getVersionHistoryFolderList()
Return a list of Folder objects that identify folders that
can contain version histories for this Workspace. |
List |
getWorkspaceCheckoutList()
Return a list of ControllableResource objects
that identify the members of this Workspace that are checked-out
version-controlled resources. |
void |
setCurrentActivityList(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 ControllableFolder |
doBaselineControl, doBaselineControl, getBaselineControllable, getEclipsedList, readMemberList |
| Methods inherited from interface Folder |
doReadMemberList, getBindingList |
| Method Detail |
public 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.
ControllableResource.getServerState()
public 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.
public 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.
public 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.
public 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.public void setCurrentActivityList(List activityList)
activityList - The list of Activity objects that
identify the new CurrentActivityList for this Workspace.
public 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.
public List doLocateByHistoryReport(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.
versionHistoryList - A list of VersionHistory objects that
are being located.wantedPropertyList - The properties to be retrieved for the
returned version-controlled resources.
WvcmException
public Iterator doMerge(List sourceList,
boolean checkinActivity,
boolean noAutoMerge,
boolean noCheckout,
boolean forkOK,
boolean unreserved,
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:
public Iterator doMergePreviewReport(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 | |||||||||