@Override
  public boolean isShow() {
    try {
      PermissionChecker permissionChecker = themeDisplay.getPermissionChecker();

      Organization organization = ActionUtil.getOrganization(portletRequest);

      if (OrganizationPermissionUtil.contains(permissionChecker, organization, ActionKeys.DELETE)) {

        return true;
      }
    } catch (Exception e) {
    }

    return false;
  }
  @Override
  public String getOnClick() {
    StringBundler sb = new StringBundler(4);

    try {
      PortletDisplay portletDisplay = themeDisplay.getPortletDisplay();

      sb.append(portletDisplay.getNamespace());

      sb.append("deleteOrganization('");

      Organization organization = ActionUtil.getOrganization(portletRequest);

      sb.append(organization.getOrganizationId());

      sb.append("');");
    } catch (Exception e) {
    }

    return sb.toString();
  }