public void invalidate() {
   portletSession.invalidate();
 }
 public void sessionInvalidate() {
   PortletSession session = portletRequest.getPortletSession(false);
   if (session != null) session.invalidate();
 }