@Nonnull public static SimpleURL createUndeleteURL( @Nonnull final ILayoutExecutionContext aLEC, @Nonnull final IHasID<String> aCurObject) { return aLEC.getSelfHref() .add(CHCParam.PARAM_ACTION, ACTION_UNDELETE) .add(CHCParam.PARAM_OBJECT, aCurObject.getID()); }
@Nonnull public static HCA createNestedCreateLink( @Nonnull final ILayoutExecutionContext aLEC, @Nonnull final IHasID<String> aCurObject, @Nullable final String sTitle) { final ISimpleURL aURL = createCreateURL(aLEC).add(CHCParam.PARAM_OBJECT, aCurObject.getID()); return new HCA(aURL).setTitle(sTitle).addChild(getCreateImg()); }