Project: stp
javax.wvcm

Interface Resource

Parameters:
destination - the location of the new resource created by doCopy.
flags - Array of boolean flags (may be null):
  • Resource.CopyFlag.OVERWRITE: Indicates whether an existing destination resource will be overwritten rather than the request failing.
  • feedback - Specifies optional feedback to the caller.
    Returns:
    a new proxy for this resource, whose properties are specified by feedback.
    Throws:
    WvcmException - ReasonCode:
  • WvcmException.ReasonCode.CANNOT_OVERWRITE: If there already is a resource at the destination, and the overwrite is false, the request MUST fail.
  • WvcmException.ReasonCode.METHOD_NOT_SUPPORTED: This proxy MUST NOT identify a folder version or a version history. In order to create another version history whose versions have the same content, the appropriate sequence of doVersionControl, doCheckout, doWriteContent, and doCheckin requests must be made.
  • Parameters:
    feedback - the properties to be available in the returned resources.
    Returns:
    a proxy for a persistent resource that matches this Resource. If none found, null is returned.
    Throws:
    WvcmException - if problems encountered communicating with server or if the request could not be executed.
    Generated Tue 30-Aug-2016 10:48 AM

    Copyright © IBM 2016. All rights reserved.