RecordLockingConflict methods syntax: Difference between revisions
m (Automatically generated page update) |
m (Automatically generated page update) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
replaced, so any manual edits will be lost. You've been warned. --> | replaced, so any manual edits will be lost. You've been warned. --> | ||
{{Template:Syntax list header|class=RecordLockingConflict}} | {{Template:Syntax list header|class=RecordLockingConflict}} | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">recordLockingConflict</span><span class="literal">:[[Filename (RecordLockingConflict property)|Filename]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">recordLockingConflict</span><span class="literal">:[[ConflictTimeMilliseconds (RecordLockingConflict property)|ConflictTimeMilliseconds]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%lockStrength</span><span class="literal"> =</span> <span class="term">recordLockingConflict</span><span class="literal">:[[ConflictingLockStrength (RecordLockingConflict property)|ConflictingLockStrength]]</span></p> | |||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%recordLockType</span><span class="literal"> =</span> <span class="term">recordLockingConflict</span><span class="literal">:[[ConflictingRecordLockType (RecordLockingConflict property)|ConflictingRecordLockType]]</span></p> | |||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%outRecordLockingConflict</span><span class="literal"> =</span> <span class="term">recordLockingConflict</span><span class="literal">:[[Copy (RecordLockingConflict function)|Copy]]</span></p> | |||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%outRecordLockingConflict</span><span class="literal"> =</span> <span class="term">recordLockingConflict</span><span class="literal">:[[DeepCopy (RecordLockingConflict function)|DeepCopy]]</span></p> | |||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">recordLockingConflict</span><span class="literal">:[[Filename (RecordLockingConflict property)|Filename]]</span></p> | |||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">recordLockingConflict</span><span class="literal">:[[LockTimeMilliseconds (RecordLockingConflict property)|LockTimeMilliseconds]]</span></p> | |||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">recordLockingConflict</span><span class="literal">:[[LockingUserNumber (RecordLockingConflict property)|LockingUserNumber]]</span></p> | |||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%recordLockingConflict</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(RecordLockingConflict):</span><span class="squareb">]</span><span class="literal">[[New (RecordLockingConflict constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="String">Filename=</span> <span class="term" title="String">string</span><span class="comma">,</span> - | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%recordLockingConflict</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(RecordLockingConflict):</span><span class="squareb">]</span><span class="literal">[[New (RecordLockingConflict constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="String">Filename=</span> <span class="term" title="String">string</span><span class="comma">,</span> - | ||
<span class="literal" title="Number">RecordNumber=</span> <span class="term" title="Number">number</span><span class="comma">,</span> - | <span class="literal" title="Number">RecordNumber=</span> <span class="term" title="Number">number</span><span class="comma">,</span> - | ||
<span class="literal" title="Number">UserNumber=</span> <span class="term" title="Number">number</span><span class="comma">,</span> - | <span class="literal" title="Number">UserNumber=</span> <span class="term" title="Number">number</span><span class="comma">,</span> - | ||
<span class="literal" title="String">UserID=</span> <span class="term" title="String">string</span><span class="literal">)</span></p> | <span class="literal" title="String">UserID=</span> <span class="term" title="String">string</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal" title="Number">LockingUserNumber=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> - | |||
<span class="squareb">[</span><span class="literal" title="Number">LockTimeMilliseconds=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> - | |||
<span class="squareb">[</span><span class="literal" title="Number">ConflictTimeMilliseconds=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> - | |||
<span class="squareb">[</span><span class="literal" title="LockStrength">ConflictingLockStrength=</span> <span class="term" title="LockStrength">lockStrength</span><span class="squareb">]</span><span class="comma">,</span> - | |||
<span class="squareb">[</span><span class="literal" title="RecordLockType">ConflictingRecordLockType=</span> <span class="term" title="RecordLockType">recordLockType</span><span class="squareb">]</span><span class="literal">)</span></p> | |||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%reclockInfo</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(RecordLockingConflict):</span><span class="squareb">]</span><span class="literal">[[NewFromLastConflict (RecordLockingConflict function)|NewFromLastConflict]]</span></p> | |||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">recordLockingConflict</span><span class="literal">:[[RecordNumber (RecordLockingConflict property)|RecordNumber]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">recordLockingConflict</span><span class="literal">:[[RecordNumber (RecordLockingConflict property)|RecordNumber]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">recordLockingConflict</span><span class="literal">:[[UserID (RecordLockingConflict property)|UserID]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">recordLockingConflict</span><span class="literal">:[[UserID (RecordLockingConflict property)|UserID]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">recordLockingConflict</span><span class="literal">:[[UserNumber (RecordLockingConflict property)|UserNumber]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%number</span><span class="literal"> =</span> <span class="term">recordLockingConflict</span><span class="literal">:[[UserNumber (RecordLockingConflict property)|UserNumber]]</span></p> |
Latest revision as of 19:14, 30 August 2012
The syntax for each of the RecordLockingConflict class methods is shown below.
Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of RecordLockingConflict methods.
%number = recordLockingConflict:ConflictTimeMilliseconds
%lockStrength = recordLockingConflict:ConflictingLockStrength
%recordLockType = recordLockingConflict:ConflictingRecordLockType
%outRecordLockingConflict = recordLockingConflict:Copy
%outRecordLockingConflict = recordLockingConflict:DeepCopy
%string = recordLockingConflict:Filename
%number = recordLockingConflict:LockTimeMilliseconds
%number = recordLockingConflict:LockingUserNumber
%recordLockingConflict = [%(RecordLockingConflict):]New( Filename= string, - RecordNumber= number, - UserNumber= number, - UserID= string, - [LockingUserNumber= number], - [LockTimeMilliseconds= number], - [ConflictTimeMilliseconds= number], - [ConflictingLockStrength= lockStrength], - [ConflictingRecordLockType= recordLockType])
%reclockInfo = [%(RecordLockingConflict):]NewFromLastConflict
%number = recordLockingConflict:RecordNumber
%string = recordLockingConflict:UserID
%number = recordLockingConflict:UserNumber