Package | Description |
---|---|
org.alfresco.repo.lock | |
org.alfresco.repo.lock.mem | |
org.alfresco.repo.virtual.bundle | |
org.alfresco.rest.api.model | |
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 |
---|---|
void |
LockServiceImpl.lock(org.alfresco.service.cmr.repository.NodeRef nodeRef,
LockType lockType,
int timeToExpire,
Lifetime lifetime) |
void |
LockServiceImpl.lock(org.alfresco.service.cmr.repository.NodeRef nodeRef,
LockType lockType,
int timeToExpire,
Lifetime lifetime,
boolean lockChildren) |
void |
LockServiceImpl.lock(org.alfresco.service.cmr.repository.NodeRef nodeRef,
LockType lockType,
int timeToExpire,
Lifetime lifetime,
String additionalInfo) |
Modifier and Type | Method and Description |
---|---|
Lifetime |
LockState.getLifetime() |
static Lifetime |
Lifetime.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Lifetime[] |
Lifetime.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static LockState |
LockState.createLock(org.alfresco.service.cmr.repository.NodeRef nodeRef,
LockType lockType,
String owner,
Date expires,
Lifetime lifetime,
String additionalInfo) |
static LockState |
LockState.createWithLifetime(LockState lockState,
Lifetime lifetime) |
Modifier and Type | Method and Description |
---|---|
void |
VirtualLockServiceExtension.lock(org.alfresco.service.cmr.repository.NodeRef nodeRef,
LockType lockType,
int timeToExpire,
Lifetime lifetime) |
void |
VirtualLockServiceExtension.lock(org.alfresco.service.cmr.repository.NodeRef nodeRef,
LockType lockType,
int timeToExpire,
Lifetime lifetime,
boolean lockChildren) |
void |
VirtualLockServiceExtension.lock(org.alfresco.service.cmr.repository.NodeRef nodeRef,
LockType lockType,
int timeToExpire,
Lifetime lifetime,
String additionalInfo) |
Modifier and Type | Method and Description |
---|---|
Lifetime |
LockInfo.getLifetime() |
Modifier and Type | Method and Description |
---|---|
void |
LockService.lock(org.alfresco.service.cmr.repository.NodeRef nodeRef,
LockType lockType,
int timeToExpire,
Lifetime lifetime)
Places a lock on a node.
|
void |
LockService.lock(org.alfresco.service.cmr.repository.NodeRef nodeRef,
LockType lockType,
int timeToExpire,
Lifetime lifetime,
boolean lockChildren)
Places a lock on a node and optionally on all its children.
|
void |
LockService.lock(org.alfresco.service.cmr.repository.NodeRef nodeRef,
LockType lockType,
int timeToExpire,
Lifetime lifetime,
String additionalInfo)
Places a lock on a node.
|
Copyright © 2005–2017 Alfresco Software. All rights reserved.