public class UserFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static boolean |
DEBUG |
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
UserFactory() |
Modifier and Type | Method and Description |
---|---|
BSAccountUser |
getNewUser() |
BSAccountUserWebSession |
getNewUserWebSession(BSAccountUser user) |
BSAccountUser |
getUser(BSAccount account) |
void |
setBsAccountMan(BSAccountMan bsAccountMan)
Set the reference to BSAccountMan
|
void |
setDatabase(DatabaseFacade dbf) |
protected static final boolean DEBUG
protected final org.apache.commons.logging.Log logger
public void setDatabase(DatabaseFacade dbf)
dbf
- the db to setpublic void setBsAccountMan(BSAccountMan bsAccountMan)
bsAccountMan
- the BSAccountMan to setpublic BSAccountUser getNewUser()
public BSAccountUserWebSession getNewUserWebSession(BSAccountUser user)
public BSAccountUser getUser(BSAccount account)