@Override public int doAction(final BwRequest request, final BwActionFormBase form) throws Throwable { final Client cl = request.getClient(); cl.setViewMode(Client.gridViewMode); gotoDateView(request, request.getDate(), request.getViewType()); return forwardSuccess; }
public AccessPrincipal getPrincipal() throws AccessException { try { return cl.getCurrentPrincipal(); } catch (CalFacadeException cfe) { throw new AccessException(cfe); } }
public AccessPrincipal getPrincipal(final String href) throws AccessException { try { return cl.getPrincipal(href); } catch (CalFacadeException cfe) { throw new AccessException(cfe); } }
public String makeHref(final String id, final int whoType) throws AccessException { try { return tagUtil.filter(cl.makePrincipalUri(id, whoType)); } catch (Throwable t) { throw new AccessException(t); } }