org.smartcomps.twister.util.user.priv
Class UserConverter

java.lang.Object
  |
  +--org.smartcomps.twister.util.user.priv.UserConverter

public class UserConverter
extends java.lang.Object


Constructor Summary
UserConverter()
           
 
Method Summary
static java.util.Collection fetchRolesPO(java.util.Collection roles)
           
static org.smartcomps.twister.util.user.Role rolePO2roleVO(org.smartcomps.twister.util.user.priv.RoleImpl roleImpl)
           
static java.util.Collection rolePOs2roleVOs(java.util.Collection rolePOs, org.smartcomps.twister.util.user.User user)
           
static org.smartcomps.twister.util.user.priv.RoleImpl roleVO2rolePO(org.smartcomps.twister.util.user.Role role)
           
static org.smartcomps.twister.util.user.User userPO2userVO(org.smartcomps.twister.util.user.priv.UserImpl userImpl)
           
static java.util.Collection userPOs2userVOs(java.util.Collection userPOs)
           
static org.smartcomps.twister.util.user.priv.UserImpl userVO2userPO(org.smartcomps.twister.util.user.User user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserConverter

public UserConverter()
Method Detail

userPO2userVO

public static org.smartcomps.twister.util.user.User userPO2userVO(org.smartcomps.twister.util.user.priv.UserImpl userImpl)

rolePOs2roleVOs

public static java.util.Collection rolePOs2roleVOs(java.util.Collection rolePOs,
                                                   org.smartcomps.twister.util.user.User user)

userPOs2userVOs

public static java.util.Collection userPOs2userVOs(java.util.Collection userPOs)

rolePO2roleVO

public static org.smartcomps.twister.util.user.Role rolePO2roleVO(org.smartcomps.twister.util.user.priv.RoleImpl roleImpl)

roleVO2rolePO

public static org.smartcomps.twister.util.user.priv.RoleImpl roleVO2rolePO(org.smartcomps.twister.util.user.Role role)

userVO2userPO

public static org.smartcomps.twister.util.user.priv.UserImpl userVO2userPO(org.smartcomps.twister.util.user.User user)
                                                                    throws FinderException,
                                                                           DBSessionException
FinderException
DBSessionException

fetchRolesPO

public static java.util.Collection fetchRolesPO(java.util.Collection roles)
                                         throws FinderException,
                                                DBSessionException
FinderException
DBSessionException


Copyright © 2003 SmartComps. All Rights Reserved.