Interface MDDetailLogic

All Known Implementing Classes:
AppearanceSettingController, LocaleSettingController, PasswordSettingController, ProfileSettingController

public interface MDDetailLogic
Logic for a Detail view in MasterDetail settings view
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the setting item data of this detail view
    boolean
    Check if data changed in detail view
    boolean
    Check if need to refresh UI after save
    void
    Resets the detail view to the initial state
    boolean
    Perform save operation
  • Method Details

    • getSettingItem

      SettingItem getSettingItem()
      Returns the setting item data of this detail view
      Returns:
      a SettingItem data of detail view
    • save

      boolean save()
      Perform save operation
      Returns:
      true if save success, false if save failure
    • reset

      void reset()
      Resets the detail view to the initial state
    • isDataChanged

      boolean isDataChanged()
      Check if data changed in detail view
      Returns:
      true if data changed or false if not
    • needRefreshUI

      boolean needRefreshUI()
      Check if need to refresh UI after save
      Returns:
      true if need to refresh UI after save or false if not