Package org.apache.tapestry5.http.internal.services

## Class DefaultSessionPersistedObjectAnalyzer

- java.lang.Object
- - org.apache.tapestry5.http.internal.services.DefaultSessionPersistedObjectAnalyzer

- All Implemented Interfaces:
    `SessionPersistedObjectAnalyzer<java.lang.Object>`

      public class DefaultSessionPersistedObjectAnalyzer
      extends java.lang.Object
      implements SessionPersistedObjectAnalyzer<java.lang.Object>

  Default catch-all implementation of `SessionPersistedObjectAnalyzer`.
  Since:
    5.1.0.0

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DefaultSessionPersistedObjectAnalyzer()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `checkAndResetDirtyState​(java.lang.Object sessionPersistedObject)` | An object is dirty unless it has the `ImmutableSessionPersistedObject` annotation.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultSessionPersistedObjectAnalyzer

          public DefaultSessionPersistedObjectAnalyzer()

  - ### Method Detail

    - #### checkAndResetDirtyState

          public boolean checkAndResetDirtyState​(java.lang.Object sessionPersistedObject)

      An object is dirty unless it has the `ImmutableSessionPersistedObject` annotation.
      Specified by:
        `checkAndResetDirtyState` in interface `SessionPersistedObjectAnalyzer<java.lang.Object>`
      Parameters:
        `sessionPersistedObject` - to analyze
      Returns:
        false if immutable, true otherwise