mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
javadoc update to lock service
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21330 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -39,9 +39,9 @@ public interface LockService
|
||||
* Places a lock on a node.
|
||||
* <p>
|
||||
* The lock prevents any other user or process from comitting updates
|
||||
* to the node untill the lock is released.
|
||||
* to the node until the lock is released.
|
||||
* <p>
|
||||
* The user reference passed indicates who the owner of the lock is.
|
||||
* The lock will be owned by the current user.
|
||||
* <p>
|
||||
* A lock made with this call will never expire.
|
||||
*
|
||||
@@ -59,9 +59,9 @@ public interface LockService
|
||||
* Places a lock on a node.
|
||||
* <p>
|
||||
* The lock prevents any other user or process from comitting updates
|
||||
* to the node untill the lock is released.
|
||||
* to the node until the lock is released.
|
||||
* <p>
|
||||
* The user reference passed indicates who the owner of the lock is.
|
||||
* The lock will be owned by the current user.
|
||||
* <p>
|
||||
* If the time to expire is 0 then the lock will never expire. Otherwise the
|
||||
* timeToExpire indicates the number of seconds before the lock expires. When
|
||||
@@ -71,7 +71,6 @@ public interface LockService
|
||||
* be renewed with the passed timeToExpire.
|
||||
*
|
||||
* @param nodeRef a reference to a node
|
||||
* @param userName a reference to the user that will own the lock
|
||||
* @param lockType the lock type
|
||||
* @param timeToExpire the number of seconds before the locks expires.
|
||||
* @throws UnableToAquireLockException
|
||||
@@ -85,9 +84,10 @@ public interface LockService
|
||||
* Places a lock on a node and optionally on all its children.
|
||||
* <p>
|
||||
* The lock prevents any other user or process from comitting updates
|
||||
* to the node untill the lock is released.
|
||||
* to the node until the lock is released.
|
||||
* <p>
|
||||
* The user reference passed indicates who the owner of the lock(s) is.
|
||||
* The lock will be owned by the current user.
|
||||
* <p>
|
||||
* If any one of the child locks can not be taken then an exception will
|
||||
* be raised and all locks canceled.
|
||||
* <p>
|
||||
@@ -99,7 +99,6 @@ public interface LockService
|
||||
* be renewed with the passed timeToExpire.
|
||||
*
|
||||
* @param nodeRef a reference to a node
|
||||
* @param userName a reference to the user that will own the lock(s)
|
||||
* @param lockType the lock type
|
||||
* @param timeToExpire the number of seconds before the locks expires.
|
||||
* @param lockChildren if true indicates that all the children (and
|
||||
@@ -117,21 +116,18 @@ public interface LockService
|
||||
* Places a lock on all the nodes referenced in the passed list.
|
||||
* <p>
|
||||
* The lock prevents any other user or process from comitting updates
|
||||
* to the node untill the lock is released.
|
||||
* to the node until the lock is released.
|
||||
* <p>
|
||||
* The user reference passed indicates who the owner of the lock(s) is.
|
||||
* If any one of the child locks can not be taken then an exception will
|
||||
* be raised and all locks canceled.
|
||||
* The lock will be owned by the current user.
|
||||
* <p>
|
||||
* If the time to expire is 0 then the lock will never expire. Otherwise the
|
||||
* timeToExpire indicates the number of seconds before the lock expires. When
|
||||
* a lock expires the lock is considered to have been released.
|
||||
* <p>
|
||||
* If the node is already locked and the user is the lock owner then the lock will
|
||||
* If the node is already locked and the current user is the lock owner then the lock will
|
||||
* be renewed with the passed timeToExpire.
|
||||
*
|
||||
* @param nodeRefs a list of node references
|
||||
* @param userName a reference to the user that will own the lock(s)
|
||||
* @param lockType the type of lock being created
|
||||
* @param timeToExpire the number of seconds before the locks expires.
|
||||
* @throws UnableToAquireLockException
|
||||
@@ -148,7 +144,6 @@ public interface LockService
|
||||
* owner of the lock or have admin rights) otherwise an exception will be raised.
|
||||
*
|
||||
* @param nodeRef a reference to a node
|
||||
* @param userName the user reference
|
||||
* @throws UnableToReleaseLockException
|
||||
* thrown if the lock could not be released
|
||||
*/
|
||||
@@ -170,7 +165,6 @@ public interface LockService
|
||||
* exception will be raised.
|
||||
*
|
||||
* @param nodeRef a node reference
|
||||
* @param userName the user reference
|
||||
* @param lockChildren if true then all the children (and grandchildren, etc)
|
||||
* of the node will also be unlocked, false otherwise
|
||||
* @throws UnableToReleaseLockException
|
||||
|
Reference in New Issue
Block a user