(DistributionGroupBD) BusinessDelegateFactory
.getInstance()
.getDelegate(
IConstants.CLASS_DIST_GROUP_BD);
HttpSession session = request.getSession();
SessionUserVO sessUser =
(SessionUserVO) session.getAttribute(
IConstants.SESSION_ATTR_USER_SESSION_INFO);
ArrayList list = null;
try {
list =
bd.findGroupsForDistribution(
sessUser.getDsName(),
sessUser.getDbType());
} catch (BusinessException be) {
// If some business error occured, will return to the input page
ActionMessage message = new ActionMessage(be.getMessageKey());
ActionMessages messages = new ActionMessages();
messages.add(IConstants.PAGE_ERROR_MSG_ERROR_MESSAGE, message);