net.ontopia.topicmaps.webed.impl.utils
Class NamedLock

java.lang.Object
  extended by net.ontopia.topicmaps.webed.impl.utils.NamedLock

public class NamedLock
extends java.lang.Object

INTERNAL.


Field Summary
 java.lang.String name
           
 java.util.Collection objects
           
 long timestamp
           
 UserIF user
           
 
Constructor Summary
NamedLock(java.lang.String name, UserIF user, java.util.Collection objects)
           
 
Method Summary
 java.lang.String getTimeCreated()
           
 UserIF getUser()
           
 boolean hasExpired()
           
 void setExpiry(javax.servlet.http.HttpSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name

user

public UserIF user

objects

public java.util.Collection objects

timestamp

public long timestamp
Constructor Detail

NamedLock

public NamedLock(java.lang.String name,
                 UserIF user,
                 java.util.Collection objects)
Method Detail

setExpiry

public void setExpiry(javax.servlet.http.HttpSession session)

hasExpired

public boolean hasExpired()

getUser

public UserIF getUser()

getTimeCreated

public java.lang.String getTimeCreated()


Copyright © 2000-2012 Ontopia.