Project: stp
javax.wvcm

Interface Workspace

Parameters:
feedback - Specifies optional feedback to the caller.
Returns:
a proxy for the newly created workspace, whose properties are specified by feedback.
Throws:
WvcmException - ReasonCode:
  • WvcmException.ReasonCode.METHOD_NOT_SUPPORTED: If the provider does not support the creation of workspaces, this request MUST fail. A client can determine a valid location for this method with a Provider.rootLocation() request.
  • See Also:
    ControllableResource.doCreateResource(javax.wvcm.Feedback)
    Parameters:
    sourceList - a list of Resource objects that identifies the versions to be merged. If a member of sourceList is an activity but not a stream, each version in the Activity.ACTIVITY_VERSION_LIST is a source version. If a member of sourceList is a stream, each version in the Stream.VERSION_LIST 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 that version-controlled resource is a folder, all members of that folder are considered members of the sourceList.
    flags - Boolean flags for doMerge.
    feedback - Specifies optional feedback to the caller.
    Returns:
    a new proxy for this resource, whose properties are specified by feedback.
    Throws:
    WvcmException - An implementation may throw a single exception on the first error encountered, or may attempt to merge all of the source versions, with any errors accumulated in the WvcmException.getNestedExceptions() list.
    ReasonCode:
  • WvcmException.ReasonCode.BAD_ARGUMENT_TYPE: The resource identified by the activity argument must be an activity.
  • WvcmException.ReasonCode.MUST_BE_CHECKED_IN: A version-controlled resource in the sourceList must be checked in.
  • WvcmException.ReasonCode.CANNOT_MERGE_CHECKOUT_NOT_ALLOWED: If Workspace.MergeFlag.NO_CHECKOUT is specified in the request, it MUST be possible to perform the merge without checking out the merge target.
  • All reason codes of ControllableResource.doCheckout(javax.wvcm.ControllableResource.CheckoutFlag[], javax.wvcm.Feedback) apply to any checkout performed by the request.
  • Generated Tue 30-Aug-2016 10:48 AM

    Copyright © IBM 2016. All rights reserved.