Interface UserParentProvider

All Known Implementing Classes:
UserParentProviderImpl

public sealed interface UserParentProvider permits UserParentProviderImpl
Represents a user-parent relationship in the MurmelAPI.

This interface is used to define the operations that can be performed on user-parent relationships. It is a marker interface and does not contain any methods.

The UserParentProviderImpl interface extends this interface to provide additional functionality.

  • Method Details

    • closeCache

      void closeCache()
    • refreshCache

      void refreshCache()
    • getParent

      UserParent getParent(int userId, int parentId)
    • getParents

      List<UserParent> getParents(int userId)
    • add

      UserParent add(int userId, int parentId, long duration, int createdBy)
    • remove

      int remove(int userId, int parentId)
    • clear

      int clear(int userId)
    • update

      UserParent update(int userId, int parentId, long duration, int changedBy)
    • loadExpired

      int loadExpired()