Class Lock

java.lang.Object
ru.bgcrm.model.Lock

public class Lock extends Object
Lock edited resource for a editor used.
  • Field Details

    • LOCK_TIME

      public static final long LOCK_TIME
      Default time - 20 seconds.
      See Also:
  • Constructor Details

    • Lock

      public Lock(String id, int userId)
  • Method Details

    • getId

      public String getId()
    • getUserId

      public int getUserId()
    • getToTime

      public long getToTime()
    • continueTime

      public void continueTime()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object