public class ArtifactSearchService extends Object implements IArtifactSearchService
| Constructor and Description |
|---|
ArtifactSearchService()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.overlord.sramp.client.SrampClientQuery |
createQuery(ArtifactFilterBean filters,
String searchText)
Creates a query given the selected filters and search text.
|
protected boolean |
hasClassifiers(ArtifactFilterBean filters)
Returns true if the filters has *at least* one classifier configured.
|
ArtifactResultSetBean |
search(ArtifactFilterBean filters,
String searchText,
int page)
Search for artifacts using the given filtersPanel and search text.
|
protected void |
zeroOutTime(Calendar cal)
Set the time components of the given
Calendar to 0's. |
public ArtifactResultSetBean search(ArtifactFilterBean filters, String searchText, int page) throws SrampUiException
IArtifactSearchServicesearch in interface IArtifactSearchServiceSrampUiExceptionIArtifactSearchService.search(org.overlord.sramp.ui.client.shared.beans.ArtifactFilterBean, java.lang.String, int)protected org.overlord.sramp.client.SrampClientQuery createQuery(ArtifactFilterBean filters, String searchText)
protected boolean hasClassifiers(ArtifactFilterBean filters)
filters - Copyright © 2012-2013 JBoss, a division of Red Hat. All Rights Reserved.