wt.epm
Class ReviseOptions

java.lang.Object
  extended by wt.epm.ReviseOptions
All Implemented Interfaces:
Externalizable, Serializable

public class ReviseOptions
extends Object
implements Externalizable

Holds a set of properties to assign to newly created versions. An instance of this class are passed as an argument to the revise methods defined on the EPMDocumentManager. The original object to be revised may be a part of the options.



Supported API: true

Extendable: false

See Also:
Serialized Form

Nested Class Summary
static class ReviseOptions.ObjectOptions
           Holds a set of properties to assign to newly created versions.
 
Field Summary
 ReviseOptions.ObjectOptions document
          Holds the folder and life cycle template to assign newly created versions of EPMDocuments.
 Workable objectToRevise
          Holds the object to revise -- EPMDocument or WTPart

B>Supported API: true
 ReviseOptions.ObjectOptions part
          Holds the folder and life cycle template to assign newly created versions of WTParts.
 wt.team.TeamTemplate teamTemplate
          The team template to assign the newly created versions to.
 
Constructor Summary
ReviseOptions()
          Default constructor for this class.
ReviseOptions(EPMWorkspace workspace)
          Constructs an instance of the ReviseOptions class.
ReviseOptions(Workable toRevise)
          Constructor given the object to revise.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectToRevise

public Workable objectToRevise
Holds the object to revise -- EPMDocument or WTPart

B>Supported API: true


teamTemplate

public wt.team.TeamTemplate teamTemplate
The team template to assign the newly created versions to. If null, the newly created version will belong to the same team template as the original version.

Supported API: true


document

public ReviseOptions.ObjectOptions document
Holds the folder and life cycle template to assign newly created versions of EPMDocuments.

Supported API: true


part

public ReviseOptions.ObjectOptions part
Holds the folder and life cycle template to assign newly created versions of WTParts.

Supported API: true

Constructor Detail

ReviseOptions

public ReviseOptions(EPMWorkspace workspace)
Constructs an instance of the ReviseOptions class. Initializes it with the default team template, folders and life cycle templates associated with the given workspace.

Supported API: true

Parameters:
workspace -

ReviseOptions

public ReviseOptions()
Default constructor for this class.

Supported API: true


ReviseOptions

public ReviseOptions(Workable toRevise)
Constructor given the object to revise.

Supported API: true