link.addParameter(LAST_USED_MY_ID_KEY, getMyId());
link.addParameter(HEADER_FORM_LAST_USED_MY_ID_KEY, getMyId()); link.addParameter(All_ENTITIES_WERE_SHOWN, (new Boolean(showAllEntities)).toString());
  private Link getLinkInstanceWithMandatoryParameters(String text) {    Link link = new Link(text);    link.addParameter(LAST_USED_MY_ID_KEY, getMyId());    if (mandatoryParameters == null)  {       return link;    }    Iterator iterator = mandatoryParameters.iterator();    while (iterator.hasNext())  {      Parameter parameter = (Parameter) iterator.next();      link.addParameter(parameter);    }    return link;  }