Package org.alfresco.rest.api.model
Class LockInfo
- java.lang.Object
-
- org.alfresco.rest.api.model.LockInfo
-
public class LockInfo extends Object
Representation of a lock info- Author:
- Ancuta Morarasu
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LockInfo.LockType2
Lock Type enum that maps to the current values inLockType
.
-
Constructor Summary
Constructors Constructor Description LockInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.alfresco.repo.lock.mem.Lifetime
getLifetime()
org.alfresco.service.cmr.lock.LockType
getMappedType()
Integer
getTimeToExpire()
LockInfo.LockType2
getType()
void
setLifetime(String lifetimeStr)
void
setTimeToExpire(Integer timeToExpire)
void
setType(String type)
String
toString()
-
-
-
Method Detail
-
setTimeToExpire
public void setTimeToExpire(Integer timeToExpire)
-
getTimeToExpire
public Integer getTimeToExpire()
-
getMappedType
public org.alfresco.service.cmr.lock.LockType getMappedType()
-
getType
public LockInfo.LockType2 getType()
-
setType
public void setType(String type)
-
getLifetime
public org.alfresco.repo.lock.mem.Lifetime getLifetime()
-
setLifetime
public void setLifetime(String lifetimeStr)
-
-