Search filters

Search filters, which can be found in the left column of the web Search page or in the Asset Search view in the Eclipse client, can help to filter down your search. Only results that match all applied search filters will be returned from your search. There are methods on RAMAssetQueryBuilder to help you filter your search by Rating, Tags, Asset Type, Category Schema, Category, Community, State or Sub Category. If you want to find all assets in the Rational Asset Manager Development community that are of type "Documentation," you can perform the following.

                //Filtered Asset Search
                RAMCommunity ramCommunity = session.fetchCommunity("Rational Asset Manager Development");
                RAMAssetType docAssetType = session.getAssetType("Documentation");
                
                queryBuilder.addSearchFilter(ramCommunity);
                queryBuilder.addSearchFilter(docAssetType);
                
                searchResult = session.getAssets(queryBuilder);

Feedback