Class RecordLock

java.lang.Object
io.goobi.viewer.model.security.recordlock.RecordLock

public class RecordLock extends Object
Instance of a limited view record being loaded by a user.
  • Constructor Details

    • RecordLock

      public RecordLock(String pi, String sessionId)
      Constructor.
      Parameters:
      pi - Record PI
      sessionId - HTTP session ID to set
  • Method Details

    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      Parameters:
      obj - the object to compare to this record lock
      Returns:
      true if the given object is equal to this instance, false otherwise
      See Also:
    • getPi

      public String getPi()
    • getSessionId

      public String getSessionId()
    • getTimeCreated

      public long getTimeCreated()
    • toString

      public String toString()
      Overrides:
      toString in class Object