com.hack23.cia.model.api.application
Interface UserData

Package class diagram package UserData
All Superinterfaces:
ModelObject, PersistedModelObject, Role, Serializable, org.springframework.security.core.userdetails.UserDetails, UserRole
All Known Implementing Classes:
RegisteredUser, User

public interface UserData
extends UserRole, org.springframework.security.core.userdetails.UserDetails

The Interface UserData.


Method Summary
 UserRoleType getUserRole()
          Gets the user role.
 void setCreatedDate(Date date)
          Sets the created date.
 void setUsername(String string)
          Sets the username.
 void setUserRole(UserRoleType userRole)
          Sets the user role.
 
Methods inherited from interface com.hack23.cia.model.api.common.Role
getActor, setActor
 
Methods inherited from interface com.hack23.cia.model.api.common.PersistedModelObject
getId, getTypeContext, getVersion, isNew, setId, setVersion
 
Methods inherited from interface org.springframework.security.core.userdetails.UserDetails
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
 

Method Detail

getUserRole

UserRoleType getUserRole()
Gets the user role.

Returns:
the user role

setCreatedDate

void setCreatedDate(Date date)
Sets the created date.

Parameters:
date - the new created date

setUsername

void setUsername(String string)
Sets the username.

Parameters:
string - the new username

setUserRole

void setUserRole(UserRoleType userRole)
Sets the user role.

Parameters:
userRole - the new user role


Copyright © 2008-2009 www.hack23.com. All Rights Reserved.