public class ModifiedAttributeHASession extends BaseHASession
persistentFlag, userName_sessionLock, attributes, authType, containerEventMethod, context, creationTime, debug, EMPTY_ARRAY, expiring, facade, id, info, isNew, isValid, lastAccessedTime, listeners, manager, maxInactiveInterval, NOT_SERIALIZED, notes, principal, SEPARATE_BUFFER_SERIALIZATION, sessionContext, sessionLockMonitor, ssoId, ssoVersion, SYNC_STRING, thisAccessedTime, threadContextManager, versionSESSION_CREATED_EVENT, SESSION_DESTROYED_EVENT| Constructor and Description |
|---|
ModifiedAttributeHASession(Manager manager)
Creates a new instance of ModifiedAttributeHASession
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAddedAttributes()
return an ArrayList of Strings
whose elements are the names of the added attributes
|
List<String> |
getAddedAttributesPrevious()
return an ArrayList of Strings
whose elements are the names of the added attributes
|
List<String> |
getDeletedAttributes()
return an ArrayList of Strings
whose elements are the names of the deleted attributes
|
List<String> |
getModifiedAttributes()
return an ArrayList of Strings
whose elements are the names of the modified attributes
attributes must dirty, persistent and not deleted
|
boolean |
isDirty()
return isDirty
|
void |
privateResetAttributeState() |
void |
removeAttribute(String name)
remove the attribute name
and update the attribute state accordingly
|
void |
setAttribute(String name,
Object value)
set the attribute name to the value value
and update the attribute state accordingly
|
void |
setDirty(boolean isDirty)
set isDirty
|
getUserName, isPersistent, isPersistentFlag, recycle, save, setId, setPersistent, setPrincipal, setUserName, superToString, sync, toStringaccess, activate, addSessionListener, endAccess, evaluateIfValid, exclude, expire, expire, expire, fireContainerEvent, fireSessionEvent, getAttribute, getAttributeInternal, getAttributeNames, getAttributes, getAuthType, getBeKey, getCreationTime, getId, getIdInternal, getInfo, getIsValid, getLastAccessedTime, getLastAccessedTimeInternal, getManager, getMaxInactiveInterval, getNote, getNoteNames, getPrincipal, getServletContext, getSession, getSessionContext, getSessionLock, getSessionLockForForeground, getSipApplicationSessionId, getSsoId, getSsoVersion, getValue, getValueNames, getVersion, hasExpired, hasNonHttpLockOccurred, incrementVersion, invalidate, isForegroundLocked, isNew, isValid, keys, lockBackground, lockForeground, log, log, log, passivate, putValue, removeAttribute, removeNote, removeSessionListener, removeValue, setAuthType, setBeKey, setCreationTime, setLastAccessedTime, setManager, setMaxInactiveInterval, setNew, setNote, setSessionLock, setSipApplicationSessionId, setSsoId, setSsoVersion, setValid, setVersion, tellNew, unlockBackground, unlockForeground, unlockForegroundCompletelyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSsoId, incrementVersion, setSsoId, setVersionaccess, addSessionListener, endAccess, expire, getAttributes, getAuthType, getCreationTime, getId, getIdInternal, getInfo, getIsValid, getLastAccessedTime, getManager, getMaxInactiveInterval, getNote, getNoteNames, getPrincipal, getSession, getSsoVersion, getVersion, hasExpired, isValid, lockForeground, removeNote, removeSessionListener, setAuthType, setCreationTime, setManager, setMaxInactiveInterval, setNew, setNote, setSsoVersion, setValid, unlockForegroundpublic ModifiedAttributeHASession(Manager manager)
public List<String> getDeletedAttributes()
public List<String> getModifiedAttributes()
public List<String> getAddedAttributes()
public List<String> getAddedAttributesPrevious()
public void privateResetAttributeState()
public void setAttribute(String name, Object value)
setAttribute in interface javax.servlet.http.HttpSessionsetAttribute in class StandardSessionname - value - public void removeAttribute(String name)
removeAttribute in interface javax.servlet.http.HttpSessionremoveAttribute in class StandardSessionname - public boolean isDirty()
isDirty in interface HASessionisDirty in class BaseHASessionpublic void setDirty(boolean isDirty)
setDirty in interface HASessionsetDirty in class BaseHASessionisDirty - Copyright © 2019. All rights reserved.