public void setDefaultLayoutKey(String layoutKey) {
PortalService service = null;
try {
service = (PortalService)this.manager.lookup(PortalService.ROLE);
if ( layoutKey == null ) {
service.removeAttribute("default-layout-key");
} else {
service.setAttribute("default-layout-key", layoutKey);
}
} catch (ServiceException ce) {
// this should never happen