Class EditablePropertiesHistoryHolder

java.lang.Object
org.kuali.rice.kns.web.EditablePropertiesHistoryHolder
All Implemented Interfaces:
Serializable

@Deprecated public class EditablePropertiesHistoryHolder extends Object implements Serializable
Deprecated.
KNS Struts deprecated, use KRAD and the Spring MVC framework.
A class which will hold a Map of editable properties, dropping editable properties when too many are filled in.
Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
  • Constructor Details

    • EditablePropertiesHistoryHolder

      public EditablePropertiesHistoryHolder()
      Deprecated.
      Constructs the EditablePropertiesHistoryHolder
  • Method Details

    • getMaxHistoryLength

      public int getMaxHistoryLength()
      Deprecated.
      Returns:
      the maximum length of the history that this will hold
    • addEditablePropertiesToHistory

      public String addEditablePropertiesToHistory(Set<String> editableProperties)
      Deprecated.
      Adds a Set of editable property names to the history, keyed with the given guid String. If the editable properties exceeds the buffer size, the earliest editable properties will be bumped
      Parameters:
      editableProperties - the Set of editable property names to save in the history
      Returns:
      a String to act as a key (or guid) to the editable properties
    • generateNewGuid

      public String generateNewGuid()
      Deprecated.
      Returns:
      a newly generated Guid to act as a key to an editable properties Set
    • getEditableProperties

      public Set<String> getEditableProperties(String guid)
      Deprecated.
      Returns the editable properties registered with the current guid
      Parameters:
      guid - the guid to find editable properties for
      Returns:
      a Set<String> of editable properties
    • clearEditableProperties

      public void clearEditableProperties(String guid)
      Deprecated.
      Clears out the editable properties associated with the given guid
      Parameters:
      guid - the guid to clear out editable properties for
    • getHistoryOrder

      protected Queue<String> getHistoryOrder()
      Deprecated.
      Returns:
      the order of the entries as they chronologically were created
    • getEditablePropertiesMap

      protected Map<String,Set<String>> getEditablePropertiesMap()
      Deprecated.
      Returns:
      the Map which associates editable property guids with Sets of editable property names
    • createNewEditablePropertiesEntry

      protected Set<String> createNewEditablePropertiesEntry()
      Deprecated.
      Returns:
      a new Entry to hold the names of editable properties
    • getConfigurationService

      protected ConfigurationService getConfigurationService()
      Deprecated.
      Returns:
      an implementation of the ConfigurationService