|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectDefaultPlatformSearchRequest
com.sap.businessobjects.platform.search.common.SearchIndexRequest
com.sap.businessobjects.platform.search.common.InfoBlocksRetrieveRequest
public class InfoBlocksRetrieveRequest
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sap.businessobjects.platform.search.common.SearchIndexRequest |
|---|
SearchIndexRequest.CategoryTypes, SearchIndexRequest.Qualifiers |
| Constructor Summary | |
|---|---|
InfoBlocksRetrieveRequest()
|
|
| Method Summary | |
|---|---|
void |
fromXML(XmlPullParser parser)
from XML Processing |
void |
fromXMLPage(XmlPullParser parser)
Internal use only. |
void |
fromXMLQuery(XmlPullParser parser,
int event)
Internal use only. |
java.util.Locale |
getClientLocale()
Deprecated. Search locale will be indexing locale |
IEnterpriseSession |
getClientSession()
Gets the client session |
int |
getDataRowSize()
|
static DataSearchProtocolConstants.DataType |
getDataTypeFromOrdinal(int ordinal)
|
InfoBlock |
getInfoblock()
|
int |
getMaxCategoriesShown()
Internal use only. |
int |
getMaxInfoBlocks()
|
int |
getMaxSubCategoriesShown()
Internal use only. |
int |
getPage()
Internal use only. |
int |
getPageSize()
Internal use only. |
java.lang.String |
getQuery()
Internal use only. |
java.lang.String |
getSearchAgent()
Internal use only. |
InfoBlockMetadata |
parseInfoBlockMetadata(XmlPullParser xpp)
Parses the Info Block Metadata |
void |
parseInfoBlocks(XmlPullParser xpp)
Parses the info blocks |
void |
setClientLocale(java.util.Locale loc)
Deprecated. Search locale will be indexing locale |
void |
setDataRowSize(int dataRowSize)
sets the data row size |
void |
setInfoblock(InfoBlock infoblock)
Sets the infoblock reference to the specified parameter |
void |
setLogonToken(java.lang.String ltoken)
sets the logon token |
void |
setMaxCategoriesShown(int categories)
This method is used to set the maximum number of categories displayed in a search result. |
void |
setMaxInfoBlocks(int maxInfoBlocks)
|
void |
setMaxSubCategoriesShown(int subcategories)
This method is used to set the maximum number of sub-object categories displayed in a search result. |
void |
setPage(int page)
This method is used to set the page number of a search request that you want to retrieve. |
void |
setPageSize(int pageSize)
This method is used to set the number of objects you want to display in a given page. |
void |
setQuery(java.lang.String queryString)
This method is used to set the search string. |
void |
toXML(XmlSerializer serializer)
Serializes Data to XML file |
void |
toXMLQuery(XmlSerializer serializer)
Internal use only. |
void |
toXMLRange(XmlSerializer serializer)
Internal use only. |
void |
validateRequest()
Internal use only. |
void |
writeInfoBlockMetadata(InfoBlockMetadata metadata,
XmlSerializer xs)
Writes the info block metadata |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InfoBlocksRetrieveRequest()
| Method Detail |
|---|
public InfoBlock getInfoblock()
public void setInfoblock(InfoBlock infoblock)
infoblock -
public IEnterpriseSession getClientSession()
throws SDKException
SDKExceptionpublic int getDataRowSize()
public void setDataRowSize(int dataRowSize)
dataRowSize -
public void fromXML(XmlPullParser parser)
throws java.lang.Exception
fromXML in class SearchIndexRequestjava.lang.Exception
public void parseInfoBlocks(XmlPullParser xpp)
throws java.lang.Exception
xpp -
java.lang.Exception
public InfoBlockMetadata parseInfoBlockMetadata(XmlPullParser xpp)
throws java.lang.Exception
xpp -
java.lang.Exceptionpublic static DataSearchProtocolConstants.DataType getDataTypeFromOrdinal(int ordinal)
ordinal -
public void toXML(XmlSerializer serializer)
throws java.lang.Exception
toXML in class SearchIndexRequestjava.lang.Exception
public void writeInfoBlockMetadata(InfoBlockMetadata metadata,
XmlSerializer xs)
throws java.lang.Exception
metadata - xs -
java.lang.Exceptionpublic void setLogonToken(java.lang.String ltoken)
@Deprecated public void setClientLocale(java.util.Locale loc)
@Deprecated public java.util.Locale getClientLocale()
public java.lang.String getSearchAgent()
SearchIndexRequestInternal use only.
getSearchAgent in class SearchIndexRequestpublic void validateRequest()
Internal use only.
public int getMaxInfoBlocks()
public void setMaxInfoBlocks(int maxInfoBlocks)
public void setQuery(java.lang.String queryString)
throws PlatformSearchException
This method is used to set the search string.
queryString - A String value to set the search string for search request.
PlatformSearchExceptionpublic java.lang.String getQuery()
Internal use only.
public void setPageSize(int pageSize)
This method is used to set the number of objects you want to display in a given page.
pageSize - A Int value to set the page- size for a search request.public int getPageSize()
Internal use only.
public void setPage(int page)
This method is used to set the page number of a search request that you want to retrieve.
page - A int value to set the page number for search request.public int getPage()
Internal use only.
public void fromXMLQuery(XmlPullParser parser,
int event)
throws java.lang.Exception
Internal use only.
java.lang.Exception
public void fromXMLPage(XmlPullParser parser)
throws java.lang.Exception
Internal use only.
java.lang.Exception
public void toXMLQuery(XmlSerializer serializer)
throws java.lang.Exception
Internal use only.
java.lang.Exception
public void toXMLRange(XmlSerializer serializer)
throws java.lang.Exception
Internal use only.
java.lang.Exceptionpublic int getMaxCategoriesShown()
Internal use only.
public void setMaxCategoriesShown(int categories)
This method is used to set the maximum number of categories displayed in a search result.
categories - An int value to set the maximum number of categories displayed in a search result.public int getMaxSubCategoriesShown()
Internal use only.
public void setMaxSubCategoriesShown(int subcategories)
This method is used to set the maximum number of sub-object categories displayed in a search result.
categories - An int value to set the maximum number of sub-object categories displayed in a search result.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||