System.Object
ActionType
LockAction
- Client Declaration
public class LockAction
Represents a pending action for setting a new lock
or updating an existing lock on a containable
Content Engine object. For more information,
see the Java™ API
Lock class and
lock method topics.
Element Structure
- Attributes
String owner: [request] Optional expression that
specifies a new value for the object's LockOwner property.
If this attribute is not specified, a value is generated.
UInt32 timeout: [request] Required expression that
specifies a new value for the object's LockTimeout property.
Code Example
LockAction objLock = new LockAction();
objLock.owner = "Administrator";
objLock.timeout = 10;
XML Schema
<xsd:complexType name="LockAction">
<xsd:complexContent>
<xsd:extension base="ActionType">
<xsd:attribute name="timeout" type="xsd:unsignedInt" use="required"/>
<xsd:attribute name="owner" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>