protected String getSolutionLink( DbObject dbo, String actionIdentifier, String SolutionString, URL imageUrl) throws DbException { String solutionLink = ""; solutionLink = links.createInternalLink(dbo, actionIdentifier, SolutionString, imageUrl).toString(); return solutionLink; }
public String getLinksForDbObject(DbObject dbo, boolean withComposite, boolean includeProperties) throws DbException { String link = ""; String name = ""; if (withComposite) { String compositeName = this.getCompositeName(dbo); name = compositeName + getDisplayName(dbo); } else name = getDisplayName(dbo); InternalLink linkExplorer = links.createInternalLink(dbo, InternalLinkAdapter.DBO_FIND, name); InternalLink linkProp = null; if (includeProperties) linkProp = links.createInternalLink( dbo, InternalLinkAdapter.DBO_SHOW_PROPERTIES, kShowProperties, showPropertyImageURL); link = linkExplorer + (linkProp == null ? "" : SPACE + linkProp.toString()); return link; }