Interface PermissionEvent

All Superinterfaces:
DataEvent

public interface PermissionEvent extends DataEvent

Provides information about a change to permission data.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns the boolean that indicates whether all permission keys for this subject have been deleted.
    boolean
    Returns the boolean that indicates whether the permission key within this update has been deleted.
    Returns the collection of fields relating to this PermissionEvent.
    Returns the permission key relating to this event.

    Methods inherited from interface com.caplin.streamlink.DataEvent

    getSubject, isImage
  • Method Details

    • getFields

      Map<String,String> getFields()

      Returns the collection of fields relating to this PermissionEvent.

      For example, if this event is not an image, the fields are the ones that have been updated.

      Returns:
      A collection of name-value pairs.
    • getKey

      String getKey()

      Returns the permission key relating to this event.

      Returns:
      The value of the permission key.
    • deleteKey

      boolean deleteKey()

      Returns the boolean that indicates whether the permission key within this update has been deleted.

      Returns:
      Whether the specified key should be deleted from your cache.
    • deleteAllKeys

      boolean deleteAllKeys()

      Returns the boolean that indicates whether all permission keys for this subject have been deleted.

      Returns:
      If true, all permission data for this subject should be removed from your cache.