#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) Index
Skip navigation links
A C D E F G I J L M P R S U 

A

Admin - Class in controller.user
Controller to update User information.
Admin() - Constructor for class controller.user.Admin
 

C

ChangePassword - Class in controller.user
Controller for changing a user password with user and passwordConfirmation.
ChangePassword() - Constructor for class controller.user.ChangePassword
 
controller - package controller
Root controller package.
controller.user - package controller.user
Controllers for users and associated JSF pages.
COUNT_EMAIL - Static variable in class model.User
 

D

delete(Long) - Method in class service.UserSessionBean
Delete User by Database Id
demoteUser(Long) - Method in class controller.user.Admin
Demote a user, based on id, by removing ADMIN role.
demoteUser(Long) - Method in class service.UserSessionBean
Demote User to User by Database Id

E

encodeAndSave(User) - Method in class service.UserSessionBean
Register new users.

F

FIND_ALL - Static variable in class model.User
 
FIND_BY_EMAIL - Static variable in class model.User
 
findAll() - Method in class service.UserSessionBean
Get List of all Users
findByEmail(String) - Method in class service.UserSessionBean
return User for email.
findById(Long) - Method in class service.UserSessionBean
Find User by Database Id

G

getAdminRole() - Method in class service.RoleSingletonBean
Get the ADMIN Role
getEmail() - Method in class controller.user.Login
Email Field
getEmail() - Method in class model.User
Get Users E-Mail
getFirstName() - Method in class model.User
Get Users's First Name
getId() - Method in class model.Role
Get Role Database Id
getId() - Method in class model.User
Get User's Database Id
getLastName() - Method in class model.User
Get Users's Last Name
getNewUser() - Method in class controller.user.Register
New User Field
getPassword() - Method in class controller.user.Login
Password Field
getPassword() - Method in class model.User
Get User's Password
getPasswordConfirmation() - Method in class controller.user.ChangePassword
Password Confirmation Field
getRole() - Method in class model.Role
Get Role Name
getRoles() - Method in class model.User
Get Roles associated with User
getRootErrorMessage(Exception) - Static method in class util.Resources
Static method for determining the lowest level error message of an Exception chain.
getUser() - Method in class controller.user.Principal
Currently logged user or null.
getUserCountMessage() - Method in class controller.Index
UserCountMessage field
getUserRole() - Method in class service.RoleSingletonBean
Get the USER Role
getUsers() - Method in class controller.user.Admin
Return a list of users

I

Index - Class in controller
 
Index() - Constructor for class controller.Index
 
initNewUser() - Method in class controller.user.Register
 
isAdmin() - Method in class controller.user.Principal
True if a user has the ADMIN role.
isAdmin() - Method in class model.User
Check to see if the User is has Admin role
isLoggedIn() - Method in class controller.user.Principal
True if a user is logged in.
isValid(String) - Method in class controller.JsfUtil
Method to determine whether a component has a validation error condition.

J

JsfUtil - Class in controller
Class for utilities for JSF pages.
JsfUtil() - Constructor for class controller.JsfUtil
 

L

LIST_AVAILABLE - Static variable in class model.Role
 
Login - Class in controller.user
Controller for logging in a user from email and password fields.
Login() - Constructor for class controller.user.Login
 
login() - Method in class controller.user.Login
Login a user using the email and password fields.
Logout - Class in controller.user
 
Logout() - Constructor for class controller.user.Logout
 
logout() - Method in class controller.user.Logout
Logout current user

M

main(String[]) - Static method in class service.UserSessionBean
Manually encode a password.
merge(User) - Method in class service.UserSessionBean
Merge user with Database
model - package model
Database entities.

P

postConstruct() - Method in class controller.user.Principal
 
postConstruct() - Method in class service.RoleSingletonBean
load all roles
Principal - Class in controller.user
Support bean for views.
Principal() - Constructor for class controller.user.Principal
 
produceFacesContext() - Method in class util.Resources
Produce FacesContext
produceLog(InjectionPoint) - Method in class util.Resources
Produce Logger
promoteUser(Long) - Method in class controller.user.Admin
Promote user to administrator based on id
promoteUser(Long) - Method in class service.UserSessionBean
Promote User to Admin by Database Id

R

Register - Class in controller.user
 
Register() - Constructor for class controller.user.Register
 
register() - Method in class controller.user.Register
Register a new user
removeUser(Long) - Method in class controller.user.Admin
Remove a user based on id.
Resources - Class in util
This class uses CDI to alias Java EE resources, such as the persistence context, to CDI beans.
Resources() - Constructor for class util.Resources
 
Role - Class in model
Role Entity.
Role() - Constructor for class model.Role
 
RoleSingletonBean - Class in service
This class is a singleton that loads and holds all Role definitions from the database.
RoleSingletonBean() - Constructor for class service.RoleSingletonBean
 

S

service - package service
Beans for accessing persistence layer.
setEmail(String) - Method in class controller.user.Login
Email Field
setEmail(String) - Method in class model.User
Set User's E-Mail
setFirstName(String) - Method in class model.User
Set User's First Name
setLastName(String) - Method in class model.User
Set User's Last Name
setNewUser(User) - Method in class controller.user.Register
New User Field
setPassword(String) - Method in class controller.user.Login
Password Field
setPassword(String) - Method in class model.User
Set User's Password
setPasswordConfirmation(String) - Method in class controller.user.ChangePassword
Password Confirmation Field
setRole(String) - Method in class model.Role
Set Role Name
setRoles(List<Role>) - Method in class model.User
Set Roles associated with User
setUserCountMessage(String) - Method in class controller.Index
UserCountMessage Field

U

update() - Method in class controller.user.UserDetail
Update/merge user fields
updatePassword() - Method in class controller.user.ChangePassword
Check user.password against passwordConfirmation, encode password, and merge user.
updatePassword(User) - Method in class service.UserSessionBean
Update the User's password
updateUserCount() - Method in class controller.Index
Set UserCountMessage field with the number of registered users
User - Class in model
User Entity.
User() - Constructor for class model.User
 
USER_COUNT - Static variable in class model.User
 
userCount() - Method in class service.UserSessionBean
Return the number of registered Users
UserDetail - Class in controller.user
Controller to update User information.
UserDetail() - Constructor for class controller.user.UserDetail
 
UserSessionBean - Class in service
Session bean for accessing user functions.
UserSessionBean() - Constructor for class service.UserSessionBean
 
util - package util
Package of utils.
A C D E F G I J L M P R S U 
Skip navigation links