Class IntegratedApplicationSearchResults
java.lang.Object
com.collabnet.ce.soap60.integratedapps.util.IntegratedApplicationSearchResults
Class to construct an XML for an Integrated Application search result. The
format of the xml response is
<?xml version="1.0" encoding="UTF-8" ?>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToXML
(String rowCount) Convert the search results to an XMLReturns the Column NameReturns IntegratedApp Open TagString[]
Returns the search results column.Returns a list of search result rowsgetTitle()
Get the titlevoid
setColumnName
(String columnAttribute) Sets column name attributevoid
Set IntegratedApp Close Tagvoid
setSearchResultColumns
(String[] columnArray) Sets the search results column.void
setSearchResultRows
(List rowList) Set the search results rowvoid
Set the title and URL
-
Constructor Details
-
IntegratedApplicationSearchResults
public IntegratedApplicationSearchResults()
-
-
Method Details
-
getTitle
Get the title- Returns:
- the title
-
setTitle
Set the title and URL- Parameters:
title
- the display titleurl
- the url.
-
getIntegratedApplicationOpenTag
Returns IntegratedApp Open Tag- Returns:
- integratedAppTag
-
setIntegratedApplicationOpenTag
Set IntegratedApp Close Tag- Parameters:
count
-
-
getColumnName
Returns the Column Name -
setColumnName
Sets column name attribute- Parameters:
columnAttribute
-
-
getSearchResultRows
Returns a list of search result rows- Returns:
- rowlist
-
setSearchResultRows
Set the search results row- Parameters:
rowList
-
-
getSearchResultColumns
Returns the search results column.- Returns:
- columnArray
-
setSearchResultColumns
Sets the search results column.- Parameters:
columnArray
-
-
convertToXML
Convert the search results to an XML- Returns:
- results as xml String.
-