extends ServiceableGenerator {
public void generate()
throws IOException, SAXException, ProcessingException {
PortalManager portal = null;
try {
portal = (PortalManager) this.manager.lookup(PortalManager.ROLE);
this.xmlConsumer.startDocument();
Request request = ObjectModelHelper.getRequest(this.objectModel);
if (request.getSession(false) != null) {
if (this.source == null
|| this.source.equals("")
|| this.source.equals("user")) {
portal.showPortal(this.xmlConsumer, true, false);
} else {
portal.showAdminConf(this.xmlConsumer);
}
}
this.xmlConsumer.endDocument();
} catch (ServiceException ce) {