mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged searchrep (5.2.1) to 5.2.N (5.2.1)
136774 msuzuki: Search-340, renamed facetInfo to bucketInfo git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@137052 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -38,8 +38,7 @@ public class GenericBucket
|
||||
private final String filterQuery;
|
||||
private final Object display;
|
||||
private final Set<Metric> metrics;
|
||||
//Additional information relating to facets such as to and from.
|
||||
private Map<String, String> facetInfo;
|
||||
private Map<String, String> bucketInfo; //Additional information relating to facets such as to and from.
|
||||
private final List<GenericFacetResponse> facets;
|
||||
|
||||
/**
|
||||
@@ -66,7 +65,7 @@ public class GenericBucket
|
||||
this.display = display;
|
||||
this.metrics = metrics;
|
||||
this.facets = facets;
|
||||
this.facetInfo = facetInfo;
|
||||
this.bucketInfo = facetInfo;
|
||||
}
|
||||
|
||||
public String getFilterQuery()
|
||||
@@ -88,14 +87,18 @@ public class GenericBucket
|
||||
{
|
||||
return metrics;
|
||||
}
|
||||
|
||||
|
||||
public List<GenericFacetResponse> getFacets()
|
||||
{
|
||||
return facets;
|
||||
}
|
||||
public Map<String, String> getFacetInfo()
|
||||
public Map<String, String> getBucketInfo()
|
||||
{
|
||||
return facetInfo;
|
||||
return bucketInfo;
|
||||
}
|
||||
|
||||
public void setBucketInfo(Map<String, String> bucketInfo)
|
||||
{
|
||||
this.bucketInfo = bucketInfo;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user