Interface IStateful

All Known Implementing Classes:
ItemFilters.AttributeFilter, ItemFilters.AttributeValue, ItemFilters.Composite, ItemFilters.Contains, ItemFilters.HasAttribute, ItemFilters.Matches, ItemFilters.Not, ItemFilters.NotContains, ItemFilters.NotHasAttribute, ItemFilters.NotMatches, ItemFilters.Type, ItemFilters.TypeMatches, ItemFilters.Types, PersistableItemFilter, StatefulState

public interface IStateful
A class that can save its state into an IWritableState instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Saves the state for this object into a state object.
  • Method Details

    • saveTo

      void saveTo(IWritableState state)
      Saves the state for this object into a state object.
      Parameters:
      state - Object to save state to. Since there is no way to check for existing data in the state object an unused one should normally be used.