planetj.dataengine.operation
Class OperationBuilderRC

java.lang.Object
  extended byplanetj.database.RowCollection
      extended byplanetj.dataengine.operation.OperationBuilderRC
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, IActionObject, IBatchProcessObject, IFDFObject, INavigationObject, IXMLObject, java.util.List, java.io.Serializable

public class OperationBuilderRC
extends RowCollection

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class planetj.database.RowCollection
RowCollection.LinkedRowCollection
 
Field Summary
 
Fields inherited from class planetj.database.RowCollection
className, FIRST_ROW, INSERT_ACTION, LAST_ROW, mReturnedFromCache, mRowEventListeners, UPDATE_ACTION
 
Constructor Summary
OperationBuilderRC()
           
 
Method Summary
 int update(java.sql.Connection connection, ExecutingContext ec)
          Updates the database, using all the rows in this RowCollection.
 
Methods inherited from class planetj.database.RowCollection
add, add, addAll, addAll, addFDRows, addRow, addRow, addRowEventListener, addRows, addRows, addTable, addToConnectedChildren, advanceRowCollection, batchProcess, clear, clearConnectedChildren, clearRows, clearTables, clearValidationExceptions, clone, cloneAttributes, cloneRowCollection, contains, contains, containsAll, containsRowWithFieldsEqualTo, convertRows, copyToConnection, copyToConnection, copyToConnection, createAction, createFieldDescriptor, createNamedActionRequest, createRowCollection, createRowCollection, createRowList, delete, delete, delete, delete, doesFieldDescriptorExist, exportToPDF, extractFieldDescriptors, filter, filter, filter, firstRow, get, getActionDefaultLocation, getActionDescriptor, getActionRequest, getActionRequest, getActions, getActionsForOperation, getActionsForRow, getActionsForRowFields, getAllRemainingRows, getAttribute, getColumnCount, getColumnNames, getColumnValues, getColumnValues, getColumnValuesByUsageId, getCompleteRowCollection, getCompleteRowCollection, getConfigProperty, getConnectedChildren, getConnectedChildrenInternal, getContainedClass, getEstimatedSize, getExternalName, getExternalNames, getExternalNames, getFDFData, getFieldCount, getFieldDescriptor, getFieldDescriptorCollection, getFieldDescriptorCollection, getFieldDescriptors, getFieldDescriptorsWithUsage, getFieldDescriptorsWithUsageId, getFieldDescriptorWithUsageId, getFieldNames, getFieldNameSets, getFields, getFieldsToDisplay, getFieldsToDisplayStrict, getFieldsToDisplayStrict, getGraphableFieldNames, getJoinFieldNames, getJSPFor, getLastUpdated, getLibraryName, getMaxValue, getMetaDataSystemAlias, getNavigationKey, getNavigationListKey, getNextRowCollection, getNextRowCollection, getOperation, getPageNumber, getPhysicalFieldNames, getPreviousRowCollection, getPreviousRowCollection, getPropertyGroup, getPropertyGroups, getPropertyGroups, getResultSet, getRetrievedRowCount, getRow, getRowCollection, getRowCollectionHandledActionNames, getRowCount, getRows, getRowsInternal, getSelectedRowCollection, getSortedColumnNames, getSortedColumnNamesAscending, getSQL, getSQLContext, getSQLContextMaxRowsPerPage, getSQLContextTotalRows, getSum, getSystemAlias, getTable, getTableName, getTables, getTimestamp, getTitle, getValidationExceptions, getValueAsDouble, getValueAsDouble, getXMLData, getXMLData, getXMLHeaderData, getXMLHeaderData, handleAction, hasConnectedChildren, hasNextRowCollection, hasPreviousRowCollection, indexOf, indexOf, insert, insert, insert, insert, insertBatch, insertBatchInternal, insertInternal, isActionApplicable, isActionsSameForAllRowFields, isActionsSameForAllRows, isARow, isARowCollection, isCloneNeeded, isCurrent, isEmpty, isFromCache, isFromGroupBy, isFromJoin, isGraphable, isHasColumnNames, isHasRowEventListners, isInCache, isLocked, isOkToReturnMeFromCache, isPersistent, isRefreshing, isRowCollectionContainEditableRow, isRowInsertable, isValidateRequired, iterator, join, lastIndexOf, lastRow, listIterator, listIterator, locateRowBasedOnNamedFieldValues, newRow, newRow, openFor, prepareFileDescriptor, prepareForCache, prepareForDisplay, prepareForResults, prepareForReturnFromCache, prepareFromFieldNames, preprocessRow, preUpdateRow, processJoins, reconcile, reconcile, refresh, refreshIfNeeded, remove, remove, removeAll, removeAllRows, removeAttribute, removeFromConnectedChildren, removeNavigationKey, removeRow, removeRow, removeRow, removeRowBasedOnKeyValues, removeRowEventListener, removeTable, replaceRow, replaceRowInConnectedChildren, resetDisplayValues, retainAll, rollbackChanges, rowAltered, rowCollectionCreated, rowCollectionPopulated, set, setAttribute, setAutoUpdateFieldValues, setColumnValues, setContainedClass, setFieldDescriptors, setFieldNames, setFieldValuesWithCommonUsageIds, setInCache, setInsertSQLContext, setLastUpdated, setLocked, setNavigationKey, setPageNumber, setPersistent, setPropertyGroups, setRefreshing, setResultSet, setRetrievedRowCount, setReturnFromCache, setRow, setSortedColumnNames, setSql, setSQLContext, setSystemAlias, setTable, setTables, setTables, size, sort, sortInternal, subList, toArray, toArray, toCSV, toCSV, toDOC, toDOC, toFDF, toPDF, toString, toUpperCase, toXML, update, update, update, validate, validate, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
equals, hashCode
 

Constructor Detail

OperationBuilderRC

public OperationBuilderRC()
Method Detail

update

public int update(java.sql.Connection connection,
                  ExecutingContext ec)
           throws CMException
Description copied from class: RowCollection
Updates the database, using all the rows in this RowCollection.

Overrides:
update in class RowCollection
Parameters:
connection - Connection to database to perform update with
ec - current context in which to execute the update
Returns:
number of rows updated
Throws:
CMException