wt.epm
Class ReviseOptions.ObjectOptions

java.lang.Object
  extended bywt.epm.ReviseOptions.ObjectOptions
All Implemented Interfaces:
Externalizable, Serializable
Enclosing class:
ReviseOptions

public static class ReviseOptions.ObjectOptions
extends Object
implements Externalizable

Holds a set of properties to assign to newly created versions.



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
 Folder folder
          The folder to assign the newly created versions to.
 LifeCycleTemplateMaster lifeCycle
          The life cycle template to assign the newly created versions to.
 VersionIdentifier versionId
          The version identifier to assign to the newly created version.
 
Constructor Summary
ReviseOptions.ObjectOptions()
          Default constructor for this class.
ReviseOptions.ObjectOptions(Folder folder, LifeCycleTemplateMaster lifeCycle)
          Constructor for the ObjectOptions class.
 
Method Summary
 void readExternal(ObjectInput input)
          Reads the non-transient fields of this class from an external source.
 void writeExternal(ObjectOutput output)
          Writes the non-transient fields of this class to an external source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

folder

public Folder folder
The folder to assign the newly created versions to. If null, the newly created version will belong to the same folder as the original version.

Supported API: true


lifeCycle

public LifeCycleTemplateMaster lifeCycle
The life cycle template to assign the newly created versions to. If null, the newly created version will have the same life cycle template as the original version.

Supported API: true


versionId

public VersionIdentifier versionId
The version identifier to assign to the newly created version. If null, the newly created version will be assigned the next version identifier in the series.

Supported API: true

Constructor Detail

ReviseOptions.ObjectOptions

public ReviseOptions.ObjectOptions(Folder folder,
                                   LifeCycleTemplateMaster lifeCycle)
Constructor for the ObjectOptions class. This class holds a set of properties to assign newly created versions.

Supported API: true

Parameters:
folder - folder to assign newly created versions
lifeCycle - life cycle template to assign newly created versions

ReviseOptions.ObjectOptions

public ReviseOptions.ObjectOptions()
Default constructor for this class.

Supported API: true

Method Detail

writeExternal

public void writeExternal(ObjectOutput output)
                   throws IOException
Writes the non-transient fields of this class to an external source.

Supported API: false

Specified by:
writeExternal in interface Externalizable
Parameters:
output -
Throws:
IOException

readExternal

public void readExternal(ObjectInput input)
                  throws IOException,
                         ClassNotFoundException
Reads the non-transient fields of this class from an external source.

Supported API: false

Specified by:
readExternal in interface Externalizable
Parameters:
input -
Throws:
IOException
ClassNotFoundException