|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bowstreet.util.IXmlProxy
com.bowstreet.builders.webapp.methods.CustomDataRetriever
public abstract class CustomDataRetriever
Field Summary |
---|
Fields inherited from interface com.bowstreet.builders.webapp.methods.SortableData |
---|
CASE_INSENSITIVE, DATES, DEFAULT_TYPE, NUMBERS |
Constructor Summary | |
---|---|
CustomDataRetriever()
|
Method Summary | |
---|---|
IXml |
getData(int startRow)
Invoke the "getData(int)" method on the DataRetriever in the service producer model. |
abstract int |
getFetchSize()
Indicate preferred chunk size for data retrieval. |
IXml |
getIXml()
Get paged data as a complete IXml object. |
abstract IXml |
getResultData(int startRow)
Use the following method to implement the data retrieval logic |
abstract int |
getRowCount()
Return total number of rows in this data set. |
void |
notifyRequestComplete()
|
void |
setProviderModelReference(boolean providerIsStatefull,
java.lang.String providerModelName,
java.lang.String providerModelProfile)
|
void |
setTransformResultMethodName(java.lang.String transformResultMethodName)
Set the transformation method name |
void |
setVisualPageSize(int visualPageSize)
|
void |
setWebAppAccess(WebAppAccess webAppAccess)
Associate or disassociate a specific WebAppAccess instance with the object implementing this interface. |
boolean |
sort(java.lang.String sortBy,
java.lang.String sortType,
boolean ascending)
Default implementation for sorting |
Methods inherited from class com.bowstreet.util.IXmlProxy |
---|
addCDATASection, addChildElement, addChildElement, addChildElement, addChildWithText, addText, cloneElement, copyContent, createPath, declareNamespace, declareNamespaces, findElement, getAttribute, getAttribute, getAttributes, getChildren, getChildren, getChildren, getFirstChildElement, getLocalName, getName, getNamespacePrefix, getNamespaceURI, getNextSiblingElement, getParentElement, getPreviousSiblingElement, getText, getText, getUserObject, getValueOf, insertBefore, moveContent, removeAttribute, removeChildElement, removeChildElement, removeChildren, replaceChild, setAttribute, setAttribute, setName, setText, setText, setUserObject, writeHtml, writeXml |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.bowstreet.util.IXml |
---|
toString |
Constructor Detail |
---|
public CustomDataRetriever()
Method Detail |
---|
public IXml getData(int startRow)
getData
in interface DataRetriever
startingRow
-
DataRetriever.getData(int)
public abstract int getFetchSize()
getFetchSize
in interface DataRetriever
-
public IXml getIXml()
getIXml
in class com.bowstreet.util.IXmlProxy
public abstract IXml getResultData(int startRow)
startingRow
-
DataRetriever.getData(int)
public abstract int getRowCount()
getRowCount
in interface DataRetriever
-
public void notifyRequestComplete()
notifyRequestComplete
in interface com.bowstreet.webapp.RequestCompleteListener
public void setProviderModelReference(boolean providerIsStatefull, java.lang.String providerModelName, java.lang.String providerModelProfile)
setProviderModelReference
in interface com.bowstreet.builders.webapp.methods.TransformPagedResultsProducer
public void setTransformResultMethodName(java.lang.String transformResultMethodName)
setTransformResultMethodName
in interface com.bowstreet.builders.webapp.methods.TransformPagedResultsProducer
transformResultMethodName
- This method sets the method name of the data transformation
method. This is used by the DataRetriever to run
transformation against the retrieved data.public void setVisualPageSize(int visualPageSize)
setVisualPageSize
in interface com.bowstreet.builders.webapp.methods.VisualPageSizeConsumer
public void setWebAppAccess(WebAppAccess webAppAccess)
WebAppAccessConsumer
setWebAppAccess
in interface WebAppAccessConsumer
webAppAccess
- The WebAppAccess instance to be used by other methods
in the class implementing this interface.public boolean sort(java.lang.String sortBy, java.lang.String sortType, boolean ascending)
sort
in interface SortableData
sortBy,
- sortType, ascending Override this method to provide sorting
functionality
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |