Package com.citrix.netscaler.nitro.service

Examples of com.citrix.netscaler.nitro.service.options


  * filter string should be in JSON format.eg: "port:80,servicetype:HTTP".
  */
  public static long count_filtered(nitro_service service, String vservername, String filter) throws Exception{
    sslvserver_sslcertkey_binding obj = new sslvserver_sslcertkey_binding();
    obj.set_vservername(vservername);
    options option = new options();
    option.set_count(true);
    option.set_filter(filter);
    sslvserver_sslcertkey_binding[] response = (sslvserver_sslcertkey_binding[]) obj.getfiltered(service, option);
    if (response != null) {
      return response[0].__count;
    }
    return 0;
View Full Code Here


  * set the filter parameter values in filtervalue object.
  */
  public static long count_filtered(nitro_service service, String vservername, filtervalue[] filter) throws Exception{
    sslvserver_sslcertkey_binding obj = new sslvserver_sslcertkey_binding();
    obj.set_vservername(vservername);
    options option = new options();
    option.set_count(true);
    option.set_filter(filter);
    sslvserver_sslcertkey_binding[] response = (sslvserver_sslcertkey_binding[]) obj.getfiltered(service, option);
    if (response != null) {
      return response[0].__count;
    }
    return 0;
View Full Code Here

  * Use this API to fetch filtered set of vpnglobal_auditsyslogpolicy_binding resources.
  * filter string should be in JSON format.eg: "port:80,servicetype:HTTP".
  */
  public static vpnglobal_auditsyslogpolicy_binding[] get_filtered(nitro_service service, String filter) throws Exception{
    vpnglobal_auditsyslogpolicy_binding obj = new vpnglobal_auditsyslogpolicy_binding();
    options option = new options();
    option.set_filter(filter);
    vpnglobal_auditsyslogpolicy_binding[] response = (vpnglobal_auditsyslogpolicy_binding[]) obj.getfiltered(service, option);
    return response;
  }
View Full Code Here

  * Use this API to fetch filtered set of tmglobal_auditnslogpolicy_binding resources.
  * filter string should be in JSON format.eg: "port:80,servicetype:HTTP".
  */
  public static tmglobal_auditnslogpolicy_binding[] get_filtered(nitro_service service, String filter) throws Exception{
    tmglobal_auditnslogpolicy_binding obj = new tmglobal_auditnslogpolicy_binding();
    options option = new options();
    option.set_filter(filter);
    tmglobal_auditnslogpolicy_binding[] response = (tmglobal_auditnslogpolicy_binding[]) obj.getfiltered(service, option);
    return response;
  }
View Full Code Here

  * Use this API to fetch filtered set of vpnglobal_auditsyslogpolicy_binding resources.
  * set the filter parameter values in filtervalue object.
  */
  public static vpnglobal_auditsyslogpolicy_binding[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{
    vpnglobal_auditsyslogpolicy_binding obj = new vpnglobal_auditsyslogpolicy_binding();
    options option = new options();
    option.set_filter(filter);
    vpnglobal_auditsyslogpolicy_binding[] response = (vpnglobal_auditsyslogpolicy_binding[]) obj.getfiltered(service, option);
    return response;
  }
View Full Code Here

  * Use this API to fetch filtered set of tmglobal_auditnslogpolicy_binding resources.
  * set the filter parameter values in filtervalue object.
  */
  public static tmglobal_auditnslogpolicy_binding[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{
    tmglobal_auditnslogpolicy_binding obj = new tmglobal_auditnslogpolicy_binding();
    options option = new options();
    option.set_filter(filter);
    tmglobal_auditnslogpolicy_binding[] response = (tmglobal_auditnslogpolicy_binding[]) obj.getfiltered(service, option);
    return response;
  }
View Full Code Here

  /**
  * Use this API to count vpnglobal_auditsyslogpolicy_binding resources configued on NetScaler.
  */
  public static long count(nitro_service service) throws Exception{
    vpnglobal_auditsyslogpolicy_binding obj = new vpnglobal_auditsyslogpolicy_binding();
    options option = new options();
    option.set_count(true);
    vpnglobal_auditsyslogpolicy_binding response[] = (vpnglobal_auditsyslogpolicy_binding[]) obj.get_resources(service,option);
    if (response != null) {
      return response[0].__count;
    }
    return 0;
View Full Code Here

  * Use this API to count the filtered set of vpnglobal_auditsyslogpolicy_binding resources.
  * filter string should be in JSON format.eg: "port:80,servicetype:HTTP".
  */
  public static long count_filtered(nitro_service service, String filter) throws Exception{
    vpnglobal_auditsyslogpolicy_binding obj = new vpnglobal_auditsyslogpolicy_binding();
    options option = new options();
    option.set_count(true);
    option.set_filter(filter);
    vpnglobal_auditsyslogpolicy_binding[] response = (vpnglobal_auditsyslogpolicy_binding[]) obj.getfiltered(service, option);
    if (response != null) {
      return response[0].__count;
    }
    return 0;
View Full Code Here

  /**
  * Use this API to count tmglobal_auditnslogpolicy_binding resources configued on NetScaler.
  */
  public static long count(nitro_service service) throws Exception{
    tmglobal_auditnslogpolicy_binding obj = new tmglobal_auditnslogpolicy_binding();
    options option = new options();
    option.set_count(true);
    tmglobal_auditnslogpolicy_binding response[] = (tmglobal_auditnslogpolicy_binding[]) obj.get_resources(service,option);
    if (response != null) {
      return response[0].__count;
    }
    return 0;
View Full Code Here

  * Use this API to count the filtered set of vpnglobal_auditsyslogpolicy_binding resources.
  * set the filter parameter values in filtervalue object.
  */
  public static long count_filtered(nitro_service service, filtervalue[] filter) throws Exception{
    vpnglobal_auditsyslogpolicy_binding obj = new vpnglobal_auditsyslogpolicy_binding();
    options option = new options();
    option.set_count(true);
    option.set_filter(filter);
    vpnglobal_auditsyslogpolicy_binding[] response = (vpnglobal_auditsyslogpolicy_binding[]) obj.getfiltered(service, option);
    if (response != null) {
      return response[0].__count;
    }
    return 0;
View Full Code Here

TOP

Related Classes of com.citrix.netscaler.nitro.service.options

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.