catalog.view.builder
Class UserBuilder

java.lang.Object
  extended bycatalog.view.builder.UserBuilder

public class UserBuilder
extends java.lang.Object

The builder class for UserBean.

The backing beans are used view objects in the presentation tier, and the business objects are used in the business logic tier. This builder class is used to convert in between the backing beans and business objects.

Commons BeanUtils is used.

Author:
Derek Y. Shen
See Also:
Commons BeanUtils

Constructor Summary
UserBuilder()
           
 
Method Summary
static UserBean createUserBean(User user)
          Create a new UserBean based on a User business object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserBuilder

public UserBuilder()
Method Detail

createUserBean

public static UserBean createUserBean(User user)
                               throws CatalogException
Create a new UserBean based on a User business object.

Parameters:
user - the user business object
Returns:
the new user backing bean
Throws:
CatalogException


Copyright (c) 2004 The JCatalog Project.