com.googlecode.fascinator.portal
Class Portal
java.lang.Object
com.googlecode.fascinator.common.JsonSimple
com.googlecode.fascinator.portal.Portal
public class Portal
- extends JsonSimple
Portal configuration
- Author:
- Linda Octalina
|
Constructor Summary |
Portal(File portalConfig)
Construct a portal instance for the specified JSON file |
Portal(String portalName)
Construct a portal instance with the specified name |
| Methods inherited from class com.googlecode.fascinator.common.JsonSimple |
fromJavaMap, getArray, getBoolean, getInteger, getJsonArray, getJsonObject, getJsonSimpleList, getJsonSimpleMap, getObject, getPath, getString, getStringList, getStringList, getStringList, search, setPropertySubstitution, toJavaList, toJavaMap, toString, toString, writeArray, writeObject |
PORTAL_JSON
public static final String PORTAL_JSON
- See Also:
- Constant Field Values
Portal
public Portal(String portalName)
throws IOException
- Construct a portal instance with the specified name
- Throws:
IOException
Portal
public Portal(File portalConfig)
throws IOException
- Construct a portal instance for the specified JSON file
- Throws:
IOException - if there was an error reading the JSON file
getName
public String getName()
setName
public void setName(String name)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getQuery
public String getQuery()
setQuery
public void setQuery(String query)
getSearchQuery
public String getSearchQuery()
setSearchQuery
public void setSearchQuery(String query)
getRecordsPerPage
public int getRecordsPerPage()
setRecordsPerPage
public void setRecordsPerPage(int recordsPerPage)
getFacetCount
public int getFacetCount()
setFacetCount
public void setFacetCount(int facetCount)
getFacetSort
public boolean getFacetSort()
setFacetSort
public void setFacetSort(boolean facetSort)
getFacetFields
public Map<String,JsonSimple> getFacetFields()
setFacetFields
public void setFacetFields(Map<String,JsonSimple> map)
getFacetFieldList
public List<String> getFacetFieldList()
getFacetDisplay
public int getFacetDisplay()
setFacetDisplay
public void setFacetDisplay(int facetDisplay)
getSortFields
public Map<String,String> getSortFields()
setSortFields
public void setSortFields(Map<String,String> sortFields)
getSortFieldList
public List<String> getSortFieldList()
getSortFieldDefault
public String getSortFieldDefault()
setSortFieldDefault
public void setSortFieldDefault(String sortFieldDefault)
getSortFieldDefaultOrder
public String getSortFieldDefaultOrder()
setSortFieldDefaultOrder
public void setSortFieldDefaultOrder(String sortFieldDefaultOrder)
Copyright © 2009-2014. All Rights Reserved.