/** {@inheritDoc} */ protected DataResult getDataResult(User u, ActionForm formIn, HttpServletRequest request) { RequestContext ctx = new RequestContext(request); ConfigChannel cc = ConfigActionHelper.getChannel(ctx.getRequest()); DataResult dr = ConfigurationManager.getInstance().listSystemInfoForChannel(u, cc, null); return dr; }
/** {@inheritDoc} */ public List getResult(RequestContext context) { ConfigurationManager cm = ConfigurationManager.getInstance(); return cm.listGlobalChannelsForActivationKey( context.lookupAndBindActivationKey(), context.getCurrentUser()); }