|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.ccd.ui.portlets.search.core.SearchBean
public class SearchBean
This class provides implementation for the IBaseSearch
interface.
Field Summary |
---|
Constructor Summary | |
---|---|
SearchBean()
|
Method Summary | |
---|---|
void |
fromXML(org.w3c.dom.Node domNode)
Decodes the XML Element and sets the element values as the bean properties |
void |
fromXML(java.lang.String xml)
Mediator calls thsi method and sets the xml |
java.lang.String |
getCollabName()
|
org.apache.jetspeed.portlet.PortletContext |
getContext()
|
long |
getEndIndex()
|
java.lang.String |
getMaxResults()
|
org.apache.jetspeed.portlet.PortletRequest |
getPortletRequest()
|
java.lang.String |
getReqXML()
|
java.lang.String |
getResponseXML()
|
Attribute[] |
getSearchAttributes()
|
java.util.ArrayList |
getSearchCriteriaElements()
This method returns the list of BasicSearchElement |
Attribute[] |
getSearchResultAttributes()
|
java.util.ArrayList |
getSearchResultElements()
|
ResultData |
getSearchResults()
This method returns the ResultData which holds the search results |
long |
getStartIndex()
|
WPSContext |
getWpsContext()
|
java.util.HashMap |
prepareFlatAttributeMap(Attribute[] attributesParam)
prepare map of all attributes available including the map inside group attributes |
void |
setCollabName(java.lang.String collabName)
|
void |
setContext(org.apache.jetspeed.portlet.PortletContext context)
|
void |
setEndIndex(long i)
|
void |
setMaxResults(java.lang.String string)
|
void |
setPortletRequest(org.apache.jetspeed.portlet.PortletRequest request)
|
MessageMap |
setProperties(org.apache.jetspeed.portlet.PortletRequest portletRequest)
sets the PortletRequest Object |
void |
setReqXML(java.lang.String string)
|
void |
setResponseXML(java.lang.String string)
|
void |
setStartIndex(long i)
|
void |
setWpsContext(WPSContext context)
|
java.lang.String |
toXML()
Encodes the object properties to XML |
MessageMap |
updateProperties(org.apache.jetspeed.portlet.PortletRequest portletRequest)
updates the properties of the bean from the portlet request |
MessageList |
validate(org.apache.jetspeed.portlet.PortletRequest request,
java.lang.String action)
Validation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchBean()
Method Detail |
---|
public java.lang.String toXML()
IDataBean
toXML
in interface IDataBean
public void fromXML(java.lang.String xml)
fromXML
in interface IDataBean
public MessageMap setProperties(org.apache.jetspeed.portlet.PortletRequest portletRequest)
PortletRequest
Object
public MessageList validate(org.apache.jetspeed.portlet.PortletRequest request, java.lang.String action)
public void fromXML(org.w3c.dom.Node domNode)
IDataBean
fromXML
in interface IDataBean
public java.util.ArrayList getSearchCriteriaElements() throws UIException, WPCMediatorException
BasicSearchElement
getSearchCriteriaElements
in interface IBaseSearch
UIException
WPCMediatorException
public Attribute[] getSearchAttributes() throws UIException, WPCMediatorException
Attribute
Objects
UIException
WPCMediatorException
public Attribute[] getSearchResultAttributes() throws UIException, WPCMediatorException
UIException
WPCMediatorException
public ResultData getSearchResults() throws UIException
getSearchResults
in interface IBaseSearch
UIException
public java.lang.String getReqXML()
getReqXML
in interface IBaseSearch
public void setReqXML(java.lang.String string)
setReqXML
in interface IBaseSearch
string
- public java.lang.String getResponseXML()
public void setResponseXML(java.lang.String string)
string
- public org.apache.jetspeed.portlet.PortletRequest getPortletRequest()
public void setPortletRequest(org.apache.jetspeed.portlet.PortletRequest request)
request
- public org.apache.jetspeed.portlet.PortletContext getContext()
public void setContext(org.apache.jetspeed.portlet.PortletContext context)
context
- public WPSContext getWpsContext()
public void setWpsContext(WPSContext context)
context
- public java.lang.String getMaxResults()
public void setMaxResults(java.lang.String string)
string
- public MessageMap updateProperties(org.apache.jetspeed.portlet.PortletRequest portletRequest)
IDataBean
updateProperties
in interface IDataBean
portletRequest
- - The portletrequest containing the prperties to represent.
public java.util.ArrayList getSearchResultElements() throws UIException, WPCMediatorException
UIException
WPCMediatorException
public java.util.HashMap prepareFlatAttributeMap(Attribute[] attributesParam)
attributesParam
-
public long getEndIndex()
public long getStartIndex()
public void setEndIndex(long i)
i
- public void setStartIndex(long i)
i
- public java.lang.String getCollabName()
public void setCollabName(java.lang.String collabName)
collabName
- The collabName to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |