<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Domino Document Locking Class</title>
	<atom:link href="http://chadsmiley.com/chadsmiley/2005/11/domino-document-locking-class/feed/" rel="self" type="application/rss+xml" />
	<link>http://chadsmiley.com/chadsmiley/2005/11/domino-document-locking-class/</link>
	<description>Things about family, life, coding, and more</description>
	<lastBuildDate>Wed, 04 Apr 2012 15:06:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Chad Schelfhout</title>
		<link>http://chadsmiley.com/chadsmiley/2005/11/domino-document-locking-class/comment-page-/#comment-2482</link>
		<dc:creator>Chad Schelfhout</dc:creator>
		<pubDate>Sun, 22 Oct 2006 22:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1350#comment-2482</guid>
		<description>There are examples out there on how to do this, try { &lt;a href=&quot;http://www.eview.com&quot; rel=&quot;nofollow&quot; target =&quot;blank&quot;&gt;Link&lt;/a&gt; } My objective is to make the R6 document locking better and easier to use.</description>
		<content:encoded><![CDATA[<p>There are examples out there on how to do this, try { <a href="http://www.eview.com" rel="nofollow" target ="blank">Link</a> } My objective is to make the R6 document locking better and easier to use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suryanarayana</title>
		<link>http://chadsmiley.com/chadsmiley/2005/11/domino-document-locking-class/comment-page-/#comment-2486</link>
		<dc:creator>suryanarayana</dc:creator>
		<pubDate>Sun, 22 Oct 2006 22:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1350#comment-2486</guid>
		<description>How to give document locking in Lotusnotes R5</description>
		<content:encoded><![CDATA[<p>How to give document locking in Lotusnotes R5</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IKram</title>
		<link>http://chadsmiley.com/chadsmiley/2005/11/domino-document-locking-class/comment-page-/#comment-2484</link>
		<dc:creator>IKram</dc:creator>
		<pubDate>Sat, 06 May 2006 21:39:00 +0000</pubDate>
		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1350#comment-2484</guid>
		<description>Chad &lt;br /&gt; &lt;br /&gt;Sorry for one more question &lt;br /&gt; &lt;br /&gt;I used the class in the webquery open like &lt;br /&gt;flag = DocLock.IsDocumentLocked (wdoc) &lt;br /&gt; &lt;br /&gt;it is giving &quot;False&quot; if the document is opened in web by user and is  not locked &lt;br /&gt;I am locking it by &quot;Call DocLock.LockDocument(wdoc)&quot; in the same webqueryopen agent &lt;br /&gt; &lt;br /&gt;if is save i can unlock it like &quot;call DocLock.UnLockDocument(wdoc)  in webquerysave but how can i unlock if i just close the document without saving &lt;br /&gt; &lt;br /&gt;Please help &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt;</description>
		<content:encoded><![CDATA[<p>Chad </p>
<p>Sorry for one more question </p>
<p>I used the class in the webquery open like <br />flag = DocLock.IsDocumentLocked (wdoc) </p>
<p>it is giving &#8220;False&#8221; if the document is opened in web by user and is  not locked <br />I am locking it by &#8220;Call DocLock.LockDocument(wdoc)&#8221; in the same webqueryopen agent </p>
<p>if is save i can unlock it like &#8220;call DocLock.UnLockDocument(wdoc)  in webquerysave but how can i unlock if i just close the document without saving </p>
<p>Please help </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IKram</title>
		<link>http://chadsmiley.com/chadsmiley/2005/11/domino-document-locking-class/comment-page-/#comment-2483</link>
		<dc:creator>IKram</dc:creator>
		<pubDate>Sat, 06 May 2006 16:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1350#comment-2483</guid>
		<description> &lt;br /&gt;Chad, &lt;br /&gt; &lt;br /&gt;  Can we implement this on web, if yes can u please help in how to use this code for the wen</description>
		<content:encoded><![CDATA[<p>Chad, </p>
<p>  Can we implement this on web, if yes can u please help in how to use this code for the wen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chad Schelfhout</title>
		<link>http://chadsmiley.com/chadsmiley/2005/11/domino-document-locking-class/comment-page-/#comment-2481</link>
		<dc:creator>Chad Schelfhout</dc:creator>
		<pubDate>Mon, 21 Nov 2005 00:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1350#comment-2481</guid>
		<description>Johan - Thanks for your suggestions,  I usually shy away from using Variants but in this case I see the advantage. I will incorporate these changes also.</description>
		<content:encoded><![CDATA[<p>Johan &#8211; Thanks for your suggestions,  I usually shy away from using Variants but in this case I see the advantage. I will incorporate these changes also.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johan Känngård</title>
		<link>http://chadsmiley.com/chadsmiley/2005/11/domino-document-locking-class/comment-page-/#comment-2485</link>
		<dc:creator>Johan Känngård</dc:creator>
		<pubDate>Fri, 18 Nov 2005 00:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://chadsmiley.com.previewdns.com/chadsmiley/?p=1350#comment-2485</guid>
		<description>Nice stuff, Chad, but why &quot;static&quot; functions, instead of using it as a real locking wrapper class, like this:&lt;br /&gt;Dim docLock As New DocumentLock(doc)&lt;br /&gt;If docLock.isLocked() Then&lt;br /&gt;   &#039; Do something... perhaps unlock it:&lt;br /&gt;   Call docLock.unlock()   &#039; Throws an &quot;exception&quot; if wrong user&lt;br /&gt;Else&lt;br /&gt;   &#039; Do something else...perhaps lock it:&lt;br /&gt;   Call docLock.lock()   &#039; Throws an &quot;exception&quot; if doc locking is disabled&lt;br /&gt;End If&lt;br /&gt;The methods you have, would be rewritten as:&lt;br /&gt;Public Sub new(doc As Variant) &#039; To be able to send both NotesDocument and NotesUIDocument&lt;br /&gt;Public Function isLockingEnabled() As Boolean&lt;br /&gt;Public Function isLockedByCurrentUser () As Boolean&lt;br /&gt;Public Function lock() As Boolean&lt;br /&gt;Public Function unlock() As Boolean&lt;br /&gt;Public Function toString() As String &#039; Returns something like &quot;Document XYZ locked by ABC&quot;, to get simple debug logging and such.&lt;br /&gt;&lt;br /&gt;The reason I bug you with this, is that I have my own DocumentLock class, that contains the same methods, but with support for R5 (using specific lock documents) &lt;img src=&quot;http://www.chadsmiley.com/chadsmiley/home.nsf/emoticons/DLYH-5N3GJN/$FILE/cool.gif&quot;&gt; &lt;img src=&quot;http://www.chadsmiley.com/chadsmiley/home.nsf/emoticons/DLYH-5N3GJG/$FILE/cheesy.gif&quot;&gt; </description>
		<content:encoded><![CDATA[<p>Nice stuff, Chad, but why &#8220;static&#8221; functions, instead of using it as a real locking wrapper class, like this:<br />Dim docLock As New DocumentLock(doc)<br />If docLock.isLocked() Then<br />   &#8216; Do something&#8230; perhaps unlock it:<br />   Call docLock.unlock()   &#8216; Throws an &#8220;exception&#8221; if wrong user<br />Else<br />   &#8216; Do something else&#8230;perhaps lock it:<br />   Call docLock.lock()   &#8216; Throws an &#8220;exception&#8221; if doc locking is disabled<br />End If<br />The methods you have, would be rewritten as:<br />Public Sub new(doc As Variant) &#8216; To be able to send both NotesDocument and NotesUIDocument<br />Public Function isLockingEnabled() As Boolean<br />Public Function isLockedByCurrentUser () As Boolean<br />Public Function lock() As Boolean<br />Public Function unlock() As Boolean<br />Public Function toString() As String &#8216; Returns something like &#8220;Document XYZ locked by ABC&#8221;, to get simple debug logging and such.</p>
<p>The reason I bug you with this, is that I have my own DocumentLock class, that contains the same methods, but with support for R5 (using specific lock documents) <img src="http://www.chadsmiley.com/chadsmiley/home.nsf/emoticons/DLYH-5N3GJN/$FILE/cool.gif"/> <img src="http://www.chadsmiley.com/chadsmiley/home.nsf/emoticons/DLYH-5N3GJG/$FILE/cheesy.gif"/></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: www.chadsmiley.com @ 2012-05-21 09:07:11 -->
