Interface Subject

All Known Implementing Classes:
Anonymous, Group, KnownUser, Person, UnknownUser, User

public interface Subject
Serves as a common ancestor between Group and Person so that we may use a type that denotes either of them.
Since:
5.7
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a name that is suitable for display to identify the user / group.
     
  • Method Details

    • getDisplayName

      String getDisplayName()
      Returns a name that is suitable for display to identify the user / group. Will never return null.
    • getSubjectType

      SubjectType getSubjectType()
      Returns:
      SubjectType corresponding to this Subject
      See Also: