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 classLockInfo.LockType2Lock 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.LifetimegetLifetime()org.alfresco.service.cmr.lock.LockTypegetMappedType()IntegergetTimeToExpire()LockInfo.LockType2getType()voidsetLifetime(String lifetimeStr)voidsetTimeToExpire(Integer timeToExpire)voidsetType(String type)StringtoString()
-
-
-
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)
-
-