|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use User | |
| org.davesag.generica.controller | Controllers are application specific business 'control' logic that the various
actions and forms call on. |
| org.davesag.generica.core | The core package contains well thought out JavaBeans useful for
most web applications. |
| org.davesag.generica.peer | The peer package contains various Peers,
static utility classes that consolidate
various common activities surrounding the core objects. |
| org.davesag.generica.servlet.form | The form package contains Form Beans that follow the Struts
standard form beans pattern. |
| Uses of User in org.davesag.generica.controller |
| Methods in org.davesag.generica.controller that return User | |
User |
UserRegistrationController.register()
Registers the user based on details in the form set above. |
User |
UserLoginController.login()
Logs in the user based on details in the form set above. |
User |
PasswordHelperController.getValidUser()
Checks if the username in the form provided is a valid username. |
| Methods in org.davesag.generica.controller with parameters of type User | |
void |
UserLoginController.populateUserSession(User user)
Inevitably there are things we wish to pre-populate into the user's session if they have logged in okay. |
boolean |
PasswordHelperController.isAnswerCorrect(User user)
Checks the user's answer against the answer in the form. |
void |
PasswordHelperController.resetPassword(User user)
Resets the user's password and does whatever else you need it to do. |
String |
HomepageChooser.chooseForward(User user)
Which homepage you are directed to will depend entirely on the class of the user provided. |
| Uses of User in org.davesag.generica.core |
| Fields in org.davesag.generica.core declared as User | |
protected User |
AbstractText.theAuthor
the AbstractText's author |
| Methods in org.davesag.generica.core that return User | |
User |
Authorable.getAuthor()
Gets the user who authored this thing. |
User |
AbstractText.getAuthor()
Get the author of this text. |
| Methods in org.davesag.generica.core with parameters of type User | |
int |
CreditCardAuthoriser.authorisePayment(ShoppingOrder order,
User user,
CreditCard card,
Merchant merchant)
authorise payment of the given money from the given card, to the given merchant ID and return a response code. |
void |
Authorable.setAuthor(User user)
Sets the user who authored this thing. |
void |
AbstractText.setAuthor(User author)
Set the AbstractText's author. |
| Constructors in org.davesag.generica.core with parameters of type User | |
Story(String title,
User author,
String text,
String lang)
Constructor that takes a title, author, text and iso language code. |
|
Story(String title,
User author,
String text,
Locale loc)
Constructor that takes a title, author, text and iso language code. |
|
SiteCopy(String title,
User author,
String text,
String lang)
Constructor that takes a title, author and text. |
|
SiteCopy(String title,
User author,
String text,
Locale loc)
Constructor that takes a title, author and text. |
|
Comment(String title,
User author,
String text,
String lang)
Constructor that takes a title, author and text. |
|
Comment(String title,
User author,
String text,
Locale loc)
Constructor that takes a title, author and text. |
|
AbstractText(String title,
User author,
String text,
String lang)
constructor takes a title, author, text and iso language code. |
|
AbstractText(String title,
User author,
String text,
Locale loc)
constructor takes a title, author, text and iso language code. |
|
| Uses of User in org.davesag.generica.peer |
| Methods in org.davesag.generica.peer that return User | |
static User |
UserPeer.load(Session sess,
String username,
String userclass)
Retrieve the User with the supplied username only, if valid, irrespecive of their active status. |
static User |
UserPeer.login(Session sess,
String username,
String password,
String userclass)
Retrieve the User with the supplied username and cleartext password, if valid and the user is active. |
static User |
UserPeer.ctLogin(Session sess,
String username,
String password,
String userclass)
Retrieve the User with the supplied username and cleartext password, if valid and the user is active. |
| Methods in org.davesag.generica.peer with parameters of type User | |
static Long |
UserPeer.save(Session sess,
User user)
Save this user. |
static void |
UserPeer.delete(Session sess,
User user)
Delete this user. |
static List |
TextPeer.loadAll(Session sess,
User author,
Locale loc,
String classname)
Loads all the texts by the given author, optionally using the locale and classname as qualifiers. |
static List |
SiteCopyPeer.loadAll(Session sess,
User author,
Locale loc)
Loads all the SiteCopy authored by the given otional
User, optionally using the locale as a qualifier. |
| Uses of User in org.davesag.generica.servlet.form |
| Fields in org.davesag.generica.servlet.form declared as User | |
protected User |
PasswordHelperForm.theUser
|
protected User |
LoginForm.theUser
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||