Class User

java.lang.Object
sk.gursky.films.persist.users.User

public class User
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    User()  
  • Method Summary

    Modifier and Type Method Description
    void addGroup​(Group group)  
    java.lang.String getEmail()  
    java.util.List<Group> getGroups()  
    java.lang.Long getId()  
    java.time.LocalDateTime getLastLogin()  
    java.lang.String getName()  
    java.lang.String getPassword()  
    java.util.Set<java.lang.String> getPermissions()  
    boolean hasPermission​(java.lang.String permission)  
    boolean isActive()  
    void setActive​(boolean active)  
    void setEmail​(java.lang.String email)  
    void setGroups​(java.util.List<Group> groups)  
    void setId​(java.lang.Long id)  
    void setLastLogin​(java.time.LocalDateTime lastLogin)  
    void setName​(java.lang.String name)  
    void setPassword​(java.lang.String password)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • User

      public User()
  • Method Details

    • hasPermission

      public boolean hasPermission​(java.lang.String permission)
    • getPermissions

      public java.util.Set<java.lang.String> getPermissions()
    • getId

      public java.lang.Long getId()
    • setId

      public void setId​(java.lang.Long id)
    • getName

      public java.lang.String getName()
    • setName

      public void setName​(java.lang.String name)
    • getEmail

      public java.lang.String getEmail()
    • setEmail

      public void setEmail​(java.lang.String email)
    • getPassword

      public java.lang.String getPassword()
    • setPassword

      public void setPassword​(java.lang.String password)
    • getLastLogin

      public java.time.LocalDateTime getLastLogin()
    • setLastLogin

      public void setLastLogin​(java.time.LocalDateTime lastLogin)
    • isActive

      public boolean isActive()
    • setActive

      public void setActive​(boolean active)
    • getGroups

      public java.util.List<Group> getGroups()
    • setGroups

      public void setGroups​(java.util.List<Group> groups)
    • addGroup

      public void addGroup​(Group group)