Examples of filtervalue


Examples of com.citrix.netscaler.nitro.util.filtervalue

    private boolean isServiceBoundToVirtualServer(String serviceName) throws ExecutionException {
        try {
            lbvserver[] lbservers = lbvserver.get(_netscalerService);
            for (lbvserver vserver : lbservers) {
                filtervalue[] filter = new filtervalue[1];
                filter[0] = new filtervalue("servicename", serviceName);
                lbvserver_service_binding[] result = lbvserver_service_binding.get_filtered(_netscalerService, vserver.get_name(), filter);
                if (result != null && result.length > 0) {
                    return true;
                }
            }
View Full Code Here

Examples of com.coherentlogic.fred.client.core.domain.FilterValue

    }

    @Override
    public Object fromString(String value) {

        FilterValue result = null;

        if (FilterValue.all.toString().equals(value))
            result = FilterValue.all;
        else if (FilterValue.macro.toString().equals(value))
            result = FilterValue.macro;
View Full Code Here

Examples of net.sourceforge.fullsync.rules.filefilter.values.FilterValue

      ruleComposite = new DateValueRuleComposite(composite, SWT.NULL, (DateValue) value);
      ruleComposite.addValueChangedListener(this);
    }
    else if (ruleClass.equals(SubfilterFileFilerRule.class)) {
      if (!(value instanceof FilterValue)) {
        value = new FilterValue(new FileFilter());
      }
      ruleComposite = new SubfilterRuleComposite(composite, SWT.NULL, (FilterValue) value);
      ruleComposite.addValueChangedListener(this);
    }
    else {
View Full Code Here

Examples of net.sourceforge.fullsync.rules.filefilter.values.FilterValue

    return "";
  }

  @Override
  public OperandValue getValue() {
    return new FilterValue(fileFilter);
  }
View Full Code Here

Examples of net.sourceforge.fullsync.rules.filefilter.values.FilterValue

      AgeValue age = (AgeValue) value;
      rule = new FileAgeFileFilterRule(age, op);
    }

    if (ruleType.equals(SubfilterFileFilerRule.typeName)) {
      FilterValue filterValue = (FilterValue) value;
      rule = new SubfilterFileFilerRule(filterValue.getValue());
    }

    return rule;
  }
View Full Code Here

Examples of uk.gov.nationalarchives.droid.core.interfaces.filter.FilterValue

        super(CriterionFieldEnum.JOB_STATUS);
        addOperation(CriterionOperator.ANY_OF);
        addOperation(CriterionOperator.NONE_OF);
        int index = 0;
        for (NodeStatus nodeStatus : NodeStatus.values()) {
            addPossibleValue(new FilterValue(index++, nodeStatus.getStatus(),
                    String.valueOf(nodeStatus.ordinal())));
        }
    }
View Full Code Here

Examples of uk.gov.nationalarchives.droid.core.interfaces.filter.FilterValue

        for (Format formatFromDatabase : data) {
            uniqueFormat.add(formatFromDatabase.getName());
        }
        index = 0;
        for (String format : uniqueFormat) {
            addPossibleValue(new FilterValue(index++, format, format));
        }
    }
View Full Code Here

Examples of uk.gov.nationalarchives.droid.core.interfaces.filter.FilterValue

        super(CriterionFieldEnum.RESOURCE_TYPE);
        addOperation(CriterionOperator.ANY_OF);
        addOperation(CriterionOperator.NONE_OF);
        int index = 0;
        for (ResourceType resourceType : ResourceType.values()) {
            addPossibleValue(new FilterValue(index++, resourceType.getResourceType(),
                    String.valueOf(resourceType.ordinal())));
        }
    }
View Full Code Here

Examples of uk.gov.nationalarchives.droid.core.interfaces.filter.FilterValue

        addOperation(CriterionOperator.ANY_OF);
        addOperation(CriterionOperator.NONE_OF);
        int index = 0;
        for (IdentificationMethod identificationMethod : IdentificationMethod.values()) {
            if (!identificationMethod.equals(IdentificationMethod.NULL)) {
                addPossibleValue(new FilterValue(index++, identificationMethod
                        .getMethod(), String.valueOf(identificationMethod.ordinal())));
            }
        }
    }
View Full Code Here

Examples of uk.gov.nationalarchives.droid.core.interfaces.filter.FilterValue

                List<FilterValue> selectedValues = filterCriteria.getSelectedValues();

                if (selectedValues != null) {
                    List<FilterValue> clonedSelectedValues = new ArrayList<FilterValue>();
                    for (int j = 0; j < selectedValues.size(); j++) {
                        FilterValue values = selectedValues.get(j);
                        FilterValue clonedValues = new FilterValue(values.getId(), values.getDescription(), values
                                .getQueryParameter());
                        clonedSelectedValues.add(clonedValues);
                    }
                    cloneFilterCriteria.setSelectedValues(clonedSelectedValues);
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.