com.corrspt.xeo.api.core
Class XeoObjectList

java.lang.Object
  extended by com.corrspt.xeo.api.core.XeoObjectList
All Implemented Interfaces:
ObjectList

public class XeoObjectList
extends java.lang.Object
implements ObjectList


Constructor Summary
XeoObjectList(netgest.bo.runtime.boObjectList list)
           
 
Method Summary
 void add(long obj_boui)
           
 void beforeFirst()
           
 void BidirectionalBubbleSortAlgorithm(java.util.Comparator<?> c)
           
 boolean containsChangedObjects()
           
 boolean currentObjectIsSelected()
           
 boolean first()
           
 void firstPage()
           
 netgest.bo.def.boDefHandler getBoDef()
           
 java.lang.String getBOQL()
           
 java.lang.Object[] getBOQLArgs()
           
 java.lang.String getBQL()
           
 long getCurrentBoui()
           
 netgest.bo.runtime.EboContext getEboContext()
           
 java.lang.String getFilter()
           
 byte getFormat()
           
 java.lang.String getFullTextSearch()
           
 java.lang.String getName()
           
 netgest.bo.runtime.boObject getObject()
           
 netgest.bo.runtime.boObject getObject(long boui)
           
 netgest.bo.runtime.boObjectContainer getObjectContainer()
           
 java.lang.String getOrderBy()
           
 int getPage()
           
 int getPages()
           
 int getPageSize()
           
 java.lang.String getParameter(java.lang.String parametername)
           
 netgest.utils.ParametersHandler getParametersHandler()
           
 java.lang.String[] getParametersNames()
           
 java.lang.String[] getParametersValues()
           
 netgest.bo.runtime.boObject getParent()
           
 java.lang.String getParentAtributeName()
           
 netgest.bo.ql.QLParser getQLParser()
           
 long getRecordCount()
          Retrieves the number of records returned by the select query
 int getRow()
           
 int getRowCount()
          Returns the number of rows in the current page
 java.lang.String getRowProperty(java.lang.String propertyName)
           
 netgest.bo.data.DataResultSet getRslt()
           
 java.lang.String getSearchLetter()
           
 netgest.bo.def.boDefHandler getSelectedBoDef()
           
 netgest.bo.runtime.boObjectList.SqlField[] getSqlFields()
           
 java.lang.String getUserQuery()
           
 java.lang.Object[] getUserQueryArgs()
           
 java.lang.String getValueString()
           
 int hashCode()
           
 boolean haveBoui(long boui)
          Whether or not the list contains a given identifier
 boolean haveMorePages()
           
 boolean havePoolChilds()
           
 void inserRow(long boui)
           
 void InsertionSortAlgorithm(java.util.Comparator<?> c)
           
 boolean isEmpty()
          Checks whether the list empty or not
 boolean isReadOnly()
           
 boolean last()
           
 void lastPage()
           
 netgest.bo.runtime.boObjectList list()
           
 void moveRowTo(int row)
           
 boolean moveTo(int recno)
           
 boolean next()
           
 void nextPage()
           
 boolean onlyOne()
           
 boolean ordered()
           
 void poolObjectActivate()
           
 void poolObjectPassivate()
           
 boolean previous()
           
 void previousPage()
           
 void refreshData()
           
 void removeCurrent()
           
 netgest.bo.runtime.EboContext removeEboContext()
           
 void removeFilter()
           
 void selectionSort(java.util.Comparator<?> c)
           
 void setBoQl(java.lang.String boql)
           
 void setEboContext(netgest.bo.runtime.EboContext boctx)
           
 void setFilter(java.lang.String filter)
           
 void setFullTextSearch(java.lang.String p_fulltext)
           
 void setObjectContainer(netgest.bo.runtime.boObjectContainer container)
           
 void setOrderBy(java.lang.String column)
           
 void setParameter(java.lang.String parametername, java.lang.String parametervalue)
           
 void setParameters(java.lang.String[] parametersnames, java.lang.String[] parametersvalues)
           
 void setQueryOrderBy(java.lang.String orderBy)
           
 void setReadOnly(boolean value)
           
 void setRowProperty(java.lang.String property, java.lang.String value)
           
 void setSql(java.lang.String sql)
           
 void setSqlFields(netgest.bo.runtime.boObjectList.SqlField[] sqlFields)
           
 void setUserQuery(java.lang.String userQuery, java.lang.Object[] userQueryParam)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XeoObjectList

public XeoObjectList(netgest.bo.runtime.boObjectList list)
Method Detail

getEboContext

public netgest.bo.runtime.EboContext getEboContext()
Specified by:
getEboContext in interface ObjectList

setEboContext

public void setEboContext(netgest.bo.runtime.EboContext boctx)
Specified by:
setEboContext in interface ObjectList

getFormat

public byte getFormat()
Specified by:
getFormat in interface ObjectList

getQLParser

public netgest.bo.ql.QLParser getQLParser()
Specified by:
getQLParser in interface ObjectList

getSelectedBoDef

public netgest.bo.def.boDefHandler getSelectedBoDef()
                                             throws netgest.bo.runtime.boRuntimeException
Throws:
netgest.bo.runtime.boRuntimeException

getName

public java.lang.String getName()
Specified by:
getName in interface ObjectList

getParent

public netgest.bo.runtime.boObject getParent()

getParentAtributeName

public java.lang.String getParentAtributeName()

currentObjectIsSelected

public boolean currentObjectIsSelected()

getCurrentBoui

public long getCurrentBoui()
Specified by:
getCurrentBoui in interface ObjectList

setRowProperty

public void setRowProperty(java.lang.String property,
                           java.lang.String value)

getRowProperty

public java.lang.String getRowProperty(java.lang.String propertyName)

getSearchLetter

public java.lang.String getSearchLetter()

getUserQuery

public java.lang.String getUserQuery()
Specified by:
getUserQuery in interface ObjectList

getUserQueryArgs

public java.lang.Object[] getUserQueryArgs()
Specified by:
getUserQueryArgs in interface ObjectList

getBOQL

public java.lang.String getBOQL()
Specified by:
getBOQL in interface ObjectList

getBOQLArgs

public java.lang.Object[] getBOQLArgs()
Specified by:
getBOQLArgs in interface ObjectList

setUserQuery

public void setUserQuery(java.lang.String userQuery,
                         java.lang.Object[] userQueryParam)
Specified by:
setUserQuery in interface ObjectList

haveMorePages

public boolean haveMorePages()
Specified by:
haveMorePages in interface ObjectList

refreshData

public void refreshData()
Specified by:
refreshData in interface ObjectList

onlyOne

public boolean onlyOne()

isEmpty

public boolean isEmpty()
Description copied from interface: ObjectList
Checks whether the list empty or not

Specified by:
isEmpty in interface ObjectList
Returns:

setFilter

public void setFilter(java.lang.String filter)

removeFilter

public void removeFilter()

getFilter

public java.lang.String getFilter()
Specified by:
getFilter in interface ObjectList

getObject

public netgest.bo.runtime.boObject getObject(long boui)
                                      throws netgest.bo.runtime.boRuntimeException
Specified by:
getObject in interface ObjectList
Throws:
netgest.bo.runtime.boRuntimeException

getObject

public netgest.bo.runtime.boObject getObject()
                                      throws netgest.bo.runtime.boRuntimeException
Specified by:
getObject in interface ObjectList
Throws:
netgest.bo.runtime.boRuntimeException

setSql

public void setSql(java.lang.String sql)

setBoQl

public void setBoQl(java.lang.String boql)

getRowCount

public int getRowCount()
Description copied from interface: ObjectList
Returns the number of rows in the current page

Specified by:
getRowCount in interface ObjectList
Returns:
The number of rows in the current page

getRecordCount

public long getRecordCount()
Description copied from interface: ObjectList
Retrieves the number of records returned by the select query

Specified by:
getRecordCount in interface ObjectList
Returns:
The total number of records in the query

getPages

public int getPages()
Specified by:
getPages in interface ObjectList

getPageSize

public int getPageSize()
Specified by:
getPageSize in interface ObjectList

getPage

public int getPage()
Specified by:
getPage in interface ObjectList

getValueString

public java.lang.String getValueString()
                                throws netgest.bo.runtime.boRuntimeException
Throws:
netgest.bo.runtime.boRuntimeException

next

public boolean next()
Specified by:
next in interface ObjectList

moveTo

public boolean moveTo(int recno)
Specified by:
moveTo in interface ObjectList

getRow

public int getRow()
Specified by:
getRow in interface ObjectList

nextPage

public void nextPage()
Specified by:
nextPage in interface ObjectList

previousPage

public void previousPage()
Specified by:
previousPage in interface ObjectList

lastPage

public void lastPage()
Specified by:
lastPage in interface ObjectList

previous

public boolean previous()
Specified by:
previous in interface ObjectList

beforeFirst

public void beforeFirst()
Specified by:
beforeFirst in interface ObjectList

last

public boolean last()
Specified by:
last in interface ObjectList

list

public netgest.bo.runtime.boObjectList list()

getOrderBy

public java.lang.String getOrderBy()
Specified by:
getOrderBy in interface ObjectList

setQueryOrderBy

public void setQueryOrderBy(java.lang.String orderBy)
Specified by:
setQueryOrderBy in interface ObjectList

ordered

public boolean ordered()

setOrderBy

public void setOrderBy(java.lang.String column)
                throws netgest.bo.runtime.boRuntimeException
Throws:
netgest.bo.runtime.boRuntimeException

poolObjectActivate

public void poolObjectActivate()

poolObjectPassivate

public void poolObjectPassivate()

inserRow

public void inserRow(long boui)

setObjectContainer

public void setObjectContainer(netgest.bo.runtime.boObjectContainer container)

getObjectContainer

public netgest.bo.runtime.boObjectContainer getObjectContainer()

getParametersHandler

public netgest.utils.ParametersHandler getParametersHandler()

getParametersNames

public java.lang.String[] getParametersNames()
Specified by:
getParametersNames in interface ObjectList

getParametersValues

public java.lang.String[] getParametersValues()
Specified by:
getParametersValues in interface ObjectList

getParameter

public java.lang.String getParameter(java.lang.String parametername)
Specified by:
getParameter in interface ObjectList

setParameter

public void setParameter(java.lang.String parametername,
                         java.lang.String parametervalue)

setParameters

public void setParameters(java.lang.String[] parametersnames,
                          java.lang.String[] parametersvalues)

removeEboContext

public netgest.bo.runtime.EboContext removeEboContext()

setReadOnly

public void setReadOnly(boolean value)

isReadOnly

public boolean isReadOnly()

containsChangedObjects

public boolean containsChangedObjects()
                               throws netgest.bo.runtime.boRuntimeException
Throws:
netgest.bo.runtime.boRuntimeException

removeCurrent

public void removeCurrent()
                   throws netgest.bo.runtime.boRuntimeException
Specified by:
removeCurrent in interface ObjectList
Throws:
netgest.bo.runtime.boRuntimeException

add

public void add(long obj_boui)
         throws netgest.bo.runtime.boRuntimeException
Throws:
netgest.bo.runtime.boRuntimeException

havePoolChilds

public boolean havePoolChilds()

getRslt

public netgest.bo.data.DataResultSet getRslt()
Specified by:
getRslt in interface ObjectList

getBQL

public java.lang.String getBQL()

moveRowTo

public void moveRowTo(int row)
               throws netgest.bo.runtime.boRuntimeException
Specified by:
moveRowTo in interface ObjectList
Throws:
netgest.bo.runtime.boRuntimeException

BidirectionalBubbleSortAlgorithm

public void BidirectionalBubbleSortAlgorithm(java.util.Comparator<?> c)
                                      throws netgest.bo.runtime.boRuntimeException
Throws:
netgest.bo.runtime.boRuntimeException

selectionSort

public void selectionSort(java.util.Comparator<?> c)
                   throws netgest.bo.runtime.boRuntimeException
Throws:
netgest.bo.runtime.boRuntimeException

InsertionSortAlgorithm

public void InsertionSortAlgorithm(java.util.Comparator<?> c)
                            throws netgest.bo.runtime.boRuntimeException
Throws:
netgest.bo.runtime.boRuntimeException

getBoDef

public netgest.bo.def.boDefHandler getBoDef()
                                     throws netgest.bo.runtime.boRuntimeException
Specified by:
getBoDef in interface ObjectList
Throws:
netgest.bo.runtime.boRuntimeException

firstPage

public void firstPage()
Specified by:
firstPage in interface ObjectList

first

public boolean first()
Specified by:
first in interface ObjectList

getFullTextSearch

public java.lang.String getFullTextSearch()
Specified by:
getFullTextSearch in interface ObjectList

setFullTextSearch

public void setFullTextSearch(java.lang.String p_fulltext)
Specified by:
setFullTextSearch in interface ObjectList

setSqlFields

public void setSqlFields(netgest.bo.runtime.boObjectList.SqlField[] sqlFields)
Specified by:
setSqlFields in interface ObjectList

getSqlFields

public netgest.bo.runtime.boObjectList.SqlField[] getSqlFields()
Specified by:
getSqlFields in interface ObjectList

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

haveBoui

public boolean haveBoui(long boui)
Description copied from interface: ObjectList
Whether or not the list contains a given identifier

Specified by:
haveBoui in interface ObjectList
Parameters:
boui - The identifier
Returns:
True if the identifier is in the list and false otherwise

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object