org.apache.blur.console.model
Class User

java.lang.Object
  extended by org.apache.blur.console.model.User

public class User
extends Object


Field Summary
static String ADMIN_ROLE
           
static String MANAGER_ROLE
           
static String SEARCHER_ROLE
           
 
Constructor Summary
User()
           
 
Method Summary
 String getEmail()
           
 String getName()
           
 Collection<String> getRoles()
           
 boolean hasRole(String role)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ADMIN_ROLE

public static final String ADMIN_ROLE
See Also:
Constant Field Values

SEARCHER_ROLE

public static final String SEARCHER_ROLE
See Also:
Constant Field Values

MANAGER_ROLE

public static final String MANAGER_ROLE
See Also:
Constant Field Values
Constructor Detail

User

public User()
Method Detail

getName

public String getName()

getEmail

public String getEmail()

getRoles

public Collection<String> getRoles()

hasRole

public boolean hasRole(String role)


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.