コード例 #1
0
  protected String getCleanupLink(String actionIdentifier, String SolutionString, URL imageUrl)
      throws DbException {
    String operationLink = "";

    operationLink = links.createActionLink(actionIdentifier, SolutionString, imageUrl).toString();

    return operationLink;
  }
コード例 #2
0
  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;
  }
コード例 #3
0
  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;
  }