Package org.alfresco.rest.api.model
Class LockInfo
- java.lang.Object
-
- org.alfresco.rest.api.model.LockInfo
-
public class LockInfo extends java.lang.ObjectRepresentation 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()java.lang.IntegergetTimeToExpire()LockInfo.LockType2getType()voidsetLifetime(java.lang.String lifetimeStr)voidsetTimeToExpire(java.lang.Integer timeToExpire)voidsetType(java.lang.String type)java.lang.StringtoString()
-
-
-
Method Detail
-
setTimeToExpire
public void setTimeToExpire(java.lang.Integer timeToExpire)
-
getTimeToExpire
public java.lang.Integer getTimeToExpire()
-
getMappedType
public org.alfresco.service.cmr.lock.LockType getMappedType()
-
getType
public LockInfo.LockType2 getType()
-
setType
public void setType(java.lang.String type)
-
getLifetime
public org.alfresco.repo.lock.mem.Lifetime getLifetime()
-
setLifetime
public void setLifetime(java.lang.String lifetimeStr)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-