Namespace: |
|
Content: |
empty, 2 attributes |
Defined: |
globally in myDocuments.xsd; see XML source |
Includes: |
definitions of 2 attributes |
Used: |
at 1 location |
XML Representation Summary |
|||||||||
<... |
|||||||||
|
|||||||||
/> |
<xsd:annotation>
<xsd:documentation>
</xsd:annotation>
This element is used for document level locking.
</xsd:documentation>
Because locks must be taken in an atomic fashion, this method, rather than a standard update, is necessary . If the lock is successfully taken, then it can be released by calling the update <b>method</b>
and setting
the taken attribute to 0. If a lock has been taken but should be renewed, set the <b>Force</b>
flag to TRUE
when calling this method. The <b>Force</b>
flag should be used only to renew a lock that was previously successfully
taken. Parameters <li>
The query must result in a LOCK element for a specific document.
</li>
<li>
The single BOOL parameter
</li>
<b>Force</b>
which, if true, takes the lock and ignores the current state of the
<b>Taken</b>
attribute.
<li>
A
</li>
<b>datetime</b>
that specifies when the lock should automatically expire. To avoid holding locks when the client holding the lock crashes, this should be set to a reasonably
small delta from the time the lock is taken. It is best to periodically refresh the lock and have relatively small lock expirations times.
<xsd:annotation>
</xsd:attribute>
<xsd:documentation>
</xsd:annotation>
If 0, then no lock has been taken. If 1, then a lock is being held for the document.
</xsd:documentation>
<xsd:annotation>
</xsd:attribute>
<xsd:documentation>
</xsd:annotation>
If the lock has been taken, then this optional attribute specifies when the lock should be automatically released.
</xsd:documentation>
</xsd:complexType>
|
Type: |
xsd:dateTime, predefined |
Use: |
optional |
Defined: |
<xsd:annotation>
<xsd:documentation>
</xsd:annotation>
If the lock has been taken, then this optional attribute specifies when the lock should be automatically released.
</xsd:documentation>
</xsd:attribute>
|
Type: |
xsd:int, predefined |
Use: |
optional |
Defined: |
<xsd:annotation>
<xsd:documentation>
</xsd:annotation>
If 0, then no lock has been taken. If 1, then a lock is being held for the document.
</xsd:documentation>
</xsd:attribute>
|