コード例 #1
0
  protected boolean isFormPublished() throws PortalException {
    DDLRecordSet recordSet = getRecordSet();

    if (recordSet == null) {
      return false;
    }

    DDLRecordSetSettings recordSetSettings = recordSet.getSettingsModel();

    return recordSetSettings.published();
  }
コード例 #2
0
  public String getRedirectURL() throws PortalException {
    DDLRecordSet recordSet = getRecordSet();

    if (recordSet == null) {
      return null;
    }

    DDLRecordSetSettings recordSetSettings = recordSet.getSettingsModel();

    return recordSetSettings.redirectURL();
  }
コード例 #3
0
  protected boolean isCaptchaRequired(DDLRecordSet recordSet) throws PortalException {

    DDLRecordSetSettings recordSetSettings = recordSet.getSettingsModel();

    return recordSetSettings.requireCaptcha();
  }