Class ModifiedAttributeHASession

    • Constructor Detail

      • ModifiedAttributeHASession

        public ModifiedAttributeHASession​(Manager manager)
        Creates a new instance of ModifiedAttributeHASession
    • Method Detail

      • getDeletedAttributes

        public List<String> getDeletedAttributes()
        return an ArrayList of Strings whose elements are the names of the deleted attributes
      • getModifiedAttributes

        public List<String> getModifiedAttributes()
        return an ArrayList of Strings whose elements are the names of the modified attributes attributes must dirty, persistent and not deleted
      • getAddedAttributes

        public List<String> getAddedAttributes()
        return an ArrayList of Strings whose elements are the names of the added attributes
      • getAddedAttributesPrevious

        public List<String> getAddedAttributesPrevious()
        return an ArrayList of Strings whose elements are the names of the added attributes
      • privateResetAttributeState

        public void privateResetAttributeState()
      • setAttribute

        public void setAttribute​(String name,
                                 Object value)
        set the attribute name to the value value and update the attribute state accordingly
        Specified by:
        setAttribute in interface jakarta.servlet.http.HttpSession
        Overrides:
        setAttribute in class StandardSession
        Parameters:
        name -
        value -
      • removeAttribute

        public void removeAttribute​(String name)
        remove the attribute name and update the attribute state accordingly
        Specified by:
        removeAttribute in interface jakarta.servlet.http.HttpSession
        Overrides:
        removeAttribute in class StandardSession
        Parameters:
        name -