Get themes filtered by the criteria specified in the passed in filter.

@param filter Limit the items returned. If null, then all items returned.
@return Collection of items as specified in the filter.
555041
public Collection<Theme> themes(ThemeFilter filter) {
        return get(Theme.class, (filter != null) ? filter : new ThemeFilter());
    }
1101360
public Collection<Environment> environments(EnvironmentFilter filter) {
        return get(Environment.class, (filter != null) ? filter : new EnvironmentFilter());
    }
504428
public static system_settings[] get_filtered(nitro_service service, String filter) throws Exception
	{
		system_settings obj = new system_settings();
		options option = new options();
		option.set_filter(filter);
		system_settings[] response = (system_settings[]) obj.getfiltered(service, option);
		return response;
	}
991361
public static BaasResult<List<BaasDocument>> fetchAllSync(String collection, BaasQuery.Criteria filter) {
        BaasBox box = BaasBox.getDefaultChecked();
        if (collection == null) throw new IllegalArgumentException("collection cannot be null");
        Fetch f = new Fetch(box, collection, filter, RequestOptions.DEFAULT, null);
        return box.submitSync(f);
    }
426198
@Override
    public Set<Class<?>> getDeclaredInterfaces(ClassFilter filter) {
       return ClassUtils.getDeclaredInterfaces(target, filter);
    }
804159
public Collection<ChangeSet> changeSets(ChangeSetFilter filter) {
        return get(ChangeSet.class, (filter != null) ? filter : new ChangeSetFilter());
    }
1337345
public static systemuser[] get_filtered(nitro_service service, String filter) throws Exception{
		systemuser obj = new systemuser();
		options option = new options();
		option.set_filter(filter);
		systemuser[] response = (systemuser[]) obj.getfiltered(service, option);
		return response;
	}
1223666
public Collection<Project> getTargetedBy(ProjectFilter filter) {
        filter = (filter != null) ? filter : new ProjectFilter();

        filter.targets.clear();
        filter.targets.add(this);
        return getInstance().get().projects(filter);
    }
757083
public TextSearch filter(final SearchFilter filter) {
		if (filters == null) {
			filters = new HashSet<SearchFilter>();
		}
		filters.add(filter);

		return this;
	}
551405
public Collection<Goal> goals(GoalFilter filter) {
        return get(Goal.class, (filter != null) ? filter : new GoalFilter());
    }
369934
public @NotNull List<Resource> getResources(@NotNull Predicate<Resource> filter) {
    return getResources(filter, (Resource)null);
  }
943894
public static filteraction[] get_filtered(nitro_service service, String filter) throws Exception{
		filteraction obj = new filteraction();
		options option = new options();
		option.set_filter(filter);
		filteraction[] response = (filteraction[]) obj.getfiltered(service, option);
		return response;
	}
1088498
public static <T> T findOne(Iterable<T> collection, Filter<T> filter) {
		if (null != collection) {
			for (T t : collection) {
				if (filter.accept(t)) {
					return t;
				}
			}
		}
		return null;
	}
470869
public List<?> getList(PMContext ctx, EntityFilter filter) throws PMException {
        return getList(ctx, filter, null, null, null);
    }
91030
public Collection<Story> story(StoryFilter filter) {
        return get(Story.class, (filter != null) ? filter : new StoryFilter());
    }
1072910
public Collection<FileInfo> getFileInfo(final Predicate<FileInfo> filter) {
        return files.values().stream()
                .filter(filter)
                .collect(Collectors.toList());
    }
98480
public List<WebAppFilterMapping> getFilterMappings(final String filterName) {
		final Set<WebAppFilterMapping> webAppFilterMappings = filterMappings
				.get(filterName);
		if (webAppFilterMappings == null) {
			return new ArrayList<>();
		}
		return new ArrayList<>(webAppFilterMappings);
	}