| Package | Description |
|---|---|
| org.alfresco.repo.lock | |
| org.alfresco.service.cmr.lock |
Provides the public interface for the lock service that is used
to lock nodes.
|
| Modifier and Type | Method and Description |
|---|---|
LockStatus |
LockServiceImpl.getLockStatus(org.alfresco.service.cmr.repository.NodeRef nodeRef) |
LockStatus |
LockServiceImpl.getLockStatus(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String userName)
Gets the lock status for a node and a user name
|
static LockStatus |
LockUtils.lockStatus(String userName,
String lockOwner,
Date expiryDate)
Given the lock owner and expiry date of a lock calculates the lock status with respect
to the user name supplied, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
LockStatus |
LockService.getLockStatus(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Gets the lock status for the node reference relative to the current user.
|
LockStatus |
LockService.getLockStatus(org.alfresco.service.cmr.repository.NodeRef nodeRef,
String userName)
Gets the lock status for the node reference for the specified user.
|
static LockStatus |
LockStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockStatus[] |
LockStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2005–2014 Alfresco Software. All rights reserved.