Class LockInfo


  • public class LockInfo
    extends java.lang.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 in LockType.
    • Constructor Summary

      Constructors 
      Constructor Description
      LockInfo()  
    • Constructor Detail

      • LockInfo

        public LockInfo()
    • 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()
      • 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:
        toString in class java.lang.Object