public long getLastAccessedTime() { checkValid(); // TODO fix accessing time return 0; }
public long getLastAccessedTime() { checkValid(); // TODO fix accessing time return 0; }
public long getCreationTime() { checkValid(); return creationTime; }
public boolean isNew() { checkValid(); return false; }
public boolean isNew() { checkValid(); return false; }
public long getCreationTime() { checkValid(); return creationTime; }
public Object getAttribute(String name) { checkValid(); return attributes.get(name); }
@SuppressWarnings("unchecked") public Enumeration getAttributeNames() { checkValid(); return Collections.enumeration(attributes.keySet()); }
public Object getAttribute(String name) { checkValid(); return attributes.get(name); }
@SuppressWarnings("unchecked") public Enumeration getAttributeNames() { checkValid(); return Collections.enumeration(attributes.keySet()); }
public String[] getValueNames() { checkValid(); ArrayList<String> names = new ArrayList<String>(attributes.keySet()); return names.toArray(new String[names.size()]); }
public String[] getValueNames() { checkValid(); ArrayList<String> names = new ArrayList<String>(attributes.keySet()); return names.toArray(new String[names.size()]); }
public void removeAttribute(String name) { checkValid(); Object removed = this.attributes.remove(name); if (null != removed) { removedFromSession(name, removed); } }
public void invalidate() { checkValid(); destroy(); this.valid=false; }
public void invalidate() { checkValid(); destroy(); this.valid=false; }
public void removeAttribute(String name) { checkValid(); Object removed = this.attributes.remove(name); if (null != removed) { removedFromSession(name, removed); } }
public void setAttribute(String name, Object value) { checkValid(); if (null == value) { removeAttribute(name); } else { Object oldValue = attributes.put(name, value); if (null != oldValue) { replacedInSession(name, oldValue, value); } else { boundToSession(name, value); } } }
public void setAttribute(String name, Object value) { checkValid(); if (null == value) { removeAttribute(name); } else { Object oldValue = attributes.put(name, value); if (null != oldValue) { replacedInSession(name, oldValue, value); } else { boundToSession(name, value); } } }