Class CopyOptions
- java.lang.Object
-
- com.opentext.livelink.service.core.ServiceDataObject
-
- com.opentext.livelink.service.docman.CopyOptions
-
- All Implemented Interfaces:
IServiceDataObject,java.io.Serializable
public class CopyOptions extends ServiceDataObject implements java.io.Serializable
CopyOptions is used to specify the options to copy an object with using CopyNode of the document management service.- Version:
- 2013-08-26
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CopyOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAddVersion()Gets whether the current version of the node to copy is copied as the latest version.AttributeSourceTypegetAttrSourceType()Gets whether the copied node gets the original or destination parent categories or both (merge).booleangetCopyCurrent()Gets whether to copy only the current version of the node.booleangetCurrentUserAsOwner()Gets whether to use the currently authenticated user as the creator of the node created by the copy operation.booleangetKeepReservedState()Gets whether the copied node will keep its reserved state.booleangetKeepVersionLocks()Gets whether all copied versions will keep their Locked state.voidload(com.opentext.api.LLValue value)Deserialize an ServiceDataObject from an LLValue that is received from Livelink.voidsetAddVersion(boolean value)Sets whether the current version of the node to copy is copied as the latest version.voidsetAttrSourceType(AttributeSourceType value)Sets whether the copied node gets the original or destination parent categories or both (merge).voidsetCopyCurrent(boolean value)Sets whether to copy only the current version of the node.voidsetCurrentUserAsOwner(boolean value)Sets whether to use the currently authenticated user as the creator of the node created by the copy operation.voidsetKeepReservedState(boolean value)Sets whether the copied node will keep its reserved state.voidsetKeepVersionLocks(boolean value)Sets whether all copied versions will keep their Locked state.com.opentext.api.LLValuetoLLValue()Serialize an SDO object to an LLValue that can be sent to Livelink.java.lang.StringtoString()Returns a string representation of the object consisting of the object name and any features and their values within square brackets.
-
-
-
Method Detail
-
setAddVersion
public void setAddVersion(boolean value)
Sets whether the current version of the node to copy is copied as the latest version.
-
getAddVersion
public boolean getAddVersion()
Gets whether the current version of the node to copy is copied as the latest version.
-
setAttrSourceType
public void setAttrSourceType(AttributeSourceType value)
Sets whether the copied node gets the original or destination parent categories or both (merge).
-
getAttrSourceType
public AttributeSourceType getAttrSourceType()
Gets whether the copied node gets the original or destination parent categories or both (merge).
-
setCopyCurrent
public void setCopyCurrent(boolean value)
Sets whether to copy only the current version of the node.
-
getCopyCurrent
public boolean getCopyCurrent()
Gets whether to copy only the current version of the node.
-
setCurrentUserAsOwner
public void setCurrentUserAsOwner(boolean value)
Sets whether to use the currently authenticated user as the creator of the node created by the copy operation.
-
getCurrentUserAsOwner
public boolean getCurrentUserAsOwner()
Gets whether to use the currently authenticated user as the creator of the node created by the copy operation.
-
setKeepReservedState
public void setKeepReservedState(boolean value)
Sets whether the copied node will keep its reserved state.
-
getKeepReservedState
public boolean getKeepReservedState()
Gets whether the copied node will keep its reserved state.
-
setKeepVersionLocks
public void setKeepVersionLocks(boolean value)
Sets whether all copied versions will keep their Locked state.
-
getKeepVersionLocks
public boolean getKeepVersionLocks()
Gets whether all copied versions will keep their Locked state.
-
load
public void load(com.opentext.api.LLValue value)
Description copied from interface:IServiceDataObjectDeserialize an ServiceDataObject from an LLValue that is received from Livelink. The LLValue is an Assoc that contains all of the features of this SDO. These features may refer to other SDOs and contain arrays of primitive values or SDOs. Each referenced SDO, will have its load() method called as well. Note: this is an internal method not meant to be called by clients.- Specified by:
loadin interfaceIServiceDataObject- Overrides:
loadin classServiceDataObject- Parameters:
value- the LLValue containing the data to be loaded
-
toLLValue
public com.opentext.api.LLValue toLLValue()
Description copied from interface:IServiceDataObjectSerialize an SDO object to an LLValue that can be sent to Livelink. Each feature of the SDO is stored in a key of the LLValue Assoc. Any references to other SDOs cause their toLLValue() method to be called. Note: this is an internal method not meant to be called by clients.- Specified by:
toLLValuein interfaceIServiceDataObject- Overrides:
toLLValuein classServiceDataObject- Returns:
- Returns the LLValue object that represents this SDO
-
toString
public java.lang.String toString()
Description copied from class:ServiceDataObjectReturns a string representation of the object consisting of the object name and any features and their values within square brackets. Intended for simple debugging or logging of an SDO.- Overrides:
toStringin classServiceDataObject
-
-