Use this API to fetch filtered set of transformaction resources.
filter string should be in JSON format.eg: "port:80,servicetype:HTTP".
176834
public static transformaction[] get_filtered(nitro_service service, String filter) throws Exception{
		transformaction obj = new transformaction();
		options option = new options();
		option.set_filter(filter);
		transformaction[] response = (transformaction[]) obj.getfiltered(service, option);
		return response;
	}
349311
public static dnsaction[] get_filtered(nitro_service service, String filter) throws Exception{
		dnsaction obj = new dnsaction();
		options option = new options();
		option.set_filter(filter);
		dnsaction[] response = (dnsaction[]) obj.getfiltered(service, option);
		return response;
	}
732545
public static configstatus[] get_filtered(nitro_service service, String filter) throws Exception{
		configstatus obj = new configstatus();
		options option = new options();
		option.set_filter(filter);
		configstatus[] response = (configstatus[]) obj.getfiltered(service, option);
		return response;
	}
558454
public static policyexpression[] get_filtered(nitro_service service, String filter) throws Exception{
		policyexpression obj = new policyexpression();
		options option = new options();
		option.set_filter(filter);
		policyexpression[] response = (policyexpression[]) obj.getfiltered(service, option);
		return response;
	}
1314279
public static location[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{
		location obj = new location();
		options option = new options();
		option.set_filter(filter);
		location[] response = (location[]) obj.getfiltered(service, option);
		return response;
	}
766281
public static appfwtransactionrecords[] get_filtered(nitro_service service, String filter) throws Exception{
		appfwtransactionrecords obj = new appfwtransactionrecords();
		options option = new options();
		option.set_filter(filter);
		appfwtransactionrecords[] response = (appfwtransactionrecords[]) obj.getfiltered(service, option);
		return response;
	}
688012
function getFilters(type, controller, action) {
  // User can set 'only' and 'except' rules on filters to be used on one
  // or many action methods.
  let useOptions = { only: true, except: false }

  // Only return action filter methods that apply.
  return _.filter(controller[`__${type}Filters`], filter => {
    // An action must be defined in each filter.
    if(!('action' in filter) || !filter.action)
      throw new Error(`No action defined in filter for [${controller.constructor.name}.${type}: ${JSON.stringify(filter)}].`)

    // Filter cannot contain both options.
    let containsBoth = _.every(_.keys(useOptions), o => o in filter)
    if(containsBoth)
      throw new Error(`${type[0].toUpperCase() + type.slice(1)} filter cannot have both \'only\' and \'except\' keys.`)

    let option = _.first(_.intersection(_.keys(useOptions), _.keys(filter)))
    // If no option is defined, use for all actions.
    if(!option)
      return true

    let useActions, use = useOptions[option]
    useActions = typeof (useActions = filter[option]) === 'string' ? [useActions] : useActions
    // Determine if filter can be used for this action.
    for(let ua of useActions)
      if(ua === action)
        return use

    return !use
  })
}
655813
public static traceroute[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception
	{
		traceroute obj = new traceroute();
		options option = new options();
		option.set_filter(filter);
		traceroute[] response = (traceroute[]) obj.getfiltered(service, option);
		return response;
	}
526510
public static sdx_license[] get_filtered(nitro_service service, String filter) throws Exception
	{
		sdx_license obj = new sdx_license();
		options option = new options();
		option.set_filter(filter);
		sdx_license[] response = (sdx_license[]) obj.getfiltered(service, option);
		return response;
	}
929005
public static tmformssoaction[] get_filtered(nitro_service service, String filter) throws Exception{
		tmformssoaction obj = new tmformssoaction();
		options option = new options();
		option.set_filter(filter);
		tmformssoaction[] response = (tmformssoaction[]) obj.getfiltered(service, option);
		return response;
	}
7701
public static lbroute[] get_filtered(nitro_service service, String filter) throws Exception{
		lbroute obj = new lbroute();
		options option = new options();
		option.set_filter(filter);
		lbroute[] response = (lbroute[]) obj.getfiltered(service, option);
		return response;
	}
269196
public static hanode[] get_filtered(nitro_service service, String filter) throws Exception{
		hanode obj = new hanode();
		options option = new options();
		option.set_filter(filter);
		hanode[] response = (hanode[]) obj.getfiltered(service, option);
		return response;
	}
2290
public static event[] get_filtered(nitro_service service, String filter) throws Exception
	{
		event obj = new event();
		options option = new options();
		option.set_filter(filter);
		event[] response = (event[]) obj.getfiltered(service, option);
		return response;
	}
891703
public static linkset[] get_filtered(nitro_service service, String filter) throws Exception{
		linkset obj = new linkset();
		options option = new options();
		option.set_filter(filter);
		linkset[] response = (linkset[]) obj.getfiltered(service, option);
		return response;
	}
1079742
public static authorizationaction[] get_filtered(nitro_service service, String filter) throws Exception{
		authorizationaction obj = new authorizationaction();
		options option = new options();
		option.set_filter(filter);
		authorizationaction[] response = (authorizationaction[]) obj.getfiltered(service, option);
		return response;
	}
1260096
public static policymap[] get_filtered(nitro_service service, String filter) throws Exception{
		policymap obj = new policymap();
		options option = new options();
		option.set_filter(filter);
		policymap[] response = (policymap[]) obj.getfiltered(service, option);
		return response;
	}
1095858
public static netbridge[] get_filtered(nitro_service service, String filter) throws Exception{
		netbridge obj = new netbridge();
		options option = new options();
		option.set_filter(filter);
		netbridge[] response = (netbridge[]) obj.getfiltered(service, option);
		return response;
	}