|
Project Wonder 5.0 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.webobjects.appserver.WODisplayGroup
er.extensions.appserver.ERXDisplayGroup<T>
public class ERXDisplayGroup<T>
Extends WODisplayGroup
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.webobjects.appserver.WODisplayGroup |
|---|
com.webobjects.appserver.WODisplayGroup.Delegate |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
|---|
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.DefaultImplementation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.Null, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.Utility, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor |
| Nested classes/interfaces inherited from interface com.webobjects.eocontrol.EOKeyValueArchiving |
|---|
com.webobjects.eocontrol.EOKeyValueArchiving._NullValueSupport, com.webobjects.eocontrol.EOKeyValueArchiving._NumberSupport, com.webobjects.eocontrol.EOKeyValueArchiving._TimestampSupport, com.webobjects.eocontrol.EOKeyValueArchiving.Awaking, com.webobjects.eocontrol.EOKeyValueArchiving.FinishInitialization, com.webobjects.eocontrol.EOKeyValueArchiving.Support |
| Field Summary |
|---|
| Fields inherited from class com.webobjects.appserver.WODisplayGroup |
|---|
DisplayGroupWillFetchNotification |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
|---|
_CLASS, NullValue |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling |
|---|
_CLASS |
| Fields inherited from interface com.webobjects.foundation.NSDisposable |
|---|
_CLASS |
| Fields inherited from interface com.webobjects.eocontrol.EOKeyValueArchiving |
|---|
_CLASS |
| Fields inherited from interface com.webobjects.eocontrol.EOKeyValueArchiving.Awaking |
|---|
_CLASS |
| Constructor Summary | |
|---|---|
ERXDisplayGroup()
|
|
| Method Summary | |
|---|---|
com.webobjects.foundation.NSArray<T> |
allObjects()
Overridden to return generic types |
com.webobjects.foundation.NSArray<java.lang.String> |
allQualifierOperators()
Overridden to return generic types |
void |
clearExtraQualifiers()
|
static java.lang.Object |
decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.EOKeyValueUnarchiver unarchiver)
Decodes an ERXDisplayGroup from the given unarchiver. |
com.webobjects.foundation.NSArray<T> |
displayedObjects()
Overridden to return generic types |
java.lang.Object |
displayNextBatch()
Overriden to re-set the selection. |
java.lang.Object |
displayPreviousBatch()
Overriden to re-set the selection. |
java.lang.Object |
fetch()
Overridden to localize the fetch specification if needed. |
com.webobjects.foundation.NSArray<T> |
filteredObjects()
Returns all objects, filtered by the qualifier(). |
int |
indexOfFirstDisplayedObject()
Overridden to return correct result when no objects are displayed |
int |
indexOfLastDisplayedObject()
Overridden to return correct index if the number of filtered objects is not a multiple of numberOfObjectsPerBatch and we are
on the last batch index. |
com.webobjects.eocontrol.EOQualifier |
qualifierFromQueryValues()
Overridden to support extra qualifiers. |
T |
selectedObject()
Overridden to return generic types |
com.webobjects.foundation.NSArray<T> |
selectedObjects()
Overridden to track selection changes. |
java.lang.Object |
selectFilteredObjects()
Selects the visible objects. |
void |
setDataSource(com.webobjects.eocontrol.EODataSource eodatasource)
Overridden to clear out the sort ordering if it is no longer applicable. |
void |
setNumberOfObjectsPerBatch(int i)
Overriden to re-set the selection. |
void |
setQualifierForKey(com.webobjects.eocontrol.EOQualifier qualifier,
java.lang.String key)
|
void |
setSelectedObjects(com.webobjects.foundation.NSArray nsarray)
Overridden to track selection changes. |
boolean |
setSelectionIndexes(com.webobjects.foundation.NSArray nsarray)
Overridden to track selection changes. |
void |
setSortOrderings(com.webobjects.foundation.NSArray nsarray)
Overridden to log a message when more than one sort order exists. |
com.webobjects.foundation.NSArray<T> |
sortedObjects()
Returns allObjects(), first filtered by the qualifier(), then sorted by the sortOrderings(). |
com.webobjects.foundation.NSArray<com.webobjects.eocontrol.EOSortOrdering> |
sortOrderings()
Overridden to return generic types |
| Methods inherited from class com.webobjects.appserver.WODisplayGroup |
|---|
_beginObserverNotification, _deleteObject, _insertObjectAtIndex, _lastObserverNotified, awakeFromKeyValueUnarchiver, batchCount, clearSelection, currentBatchIndex, dataSource, defaultStringMatchFormat, defaultStringMatchOperator, delegate, delete, deleteObjectAtIndex, deleteSelection, detailKey, displayBatchContainingSelectedObject, dispose, editingContextPresentErrorMessage, encodeWithCoder, encodeWithKeyValueArchiver, endEditing, fetchesOnLoad, finishInitialization, globalDefaultForValidatesChangesImmediately, globalDefaultStringMatchFormat, globalDefaultStringMatchOperator, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasDetailDataSource, hasMultipleBatches, initWithCoder, inQueryMode, insert, insertedObjectDefaultValues, insertNewObjectAtIndex, insertObjectAtIndex, localKeys, masterObject, numberOfObjectsPerBatch, objectsChangedInEditingContext, objectsInvalidatedInEditingContext, qualifier, qualifyDataSource, qualifyDisplayGroup, queryBindings, queryMatch, queryMax, queryMin, queryOperator, redisplay, relationalQualifierOperators, selectionIndexes, selectNext, selectObject, selectObjectsIdenticalTo, selectObjectsIdenticalToSelectFirstOnNoMatch, selectPrevious, selectsFirstObjectAfterFetch, setCurrentBatchIndex, setDefaultStringMatchFormat, setDefaultStringMatchOperator, setDelegate, setDetailKey, setFetchesOnLoad, setGlobalDefaultForValidatesChangesImmediately, setGlobalDefaultStringMatchFormat, setGlobalDefaultStringMatchOperator, setInQueryMode, setInsertedObjectDefaultValues, setLocalKeys, setMasterObject, setObjectArray, setQualifier, setSelectedObject, setSelectsFirstObjectAfterFetch, setValidatesChangesImmediately, stringQualifierOperators, takeValueForKey, toString, unableToSetNullForKey, undoManager, updateDisplayedObjects, validatesChangesImmediately, valueForKey, willChange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ERXDisplayGroup()
| Method Detail |
|---|
public static java.lang.Object decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.EOKeyValueUnarchiver unarchiver)
unarchiver - the unarchiver to construct this display group with
public void setQualifierForKey(com.webobjects.eocontrol.EOQualifier qualifier,
java.lang.String key)
public com.webobjects.eocontrol.EOQualifier qualifierFromQueryValues()
qualifierFromQueryValues in class com.webobjects.appserver.WODisplayGrouppublic java.lang.Object fetch()
fetch in class com.webobjects.appserver.WODisplayGrouppublic com.webobjects.foundation.NSArray<T> filteredObjects()
public com.webobjects.foundation.NSArray<T> sortedObjects()
public com.webobjects.foundation.NSArray<T> selectedObjects()
selectedObjects in class com.webobjects.appserver.WODisplayGrouppublic void setSelectedObjects(com.webobjects.foundation.NSArray nsarray)
setSelectedObjects in class com.webobjects.appserver.WODisplayGrouppublic boolean setSelectionIndexes(com.webobjects.foundation.NSArray nsarray)
setSelectionIndexes in class com.webobjects.appserver.WODisplayGrouppublic void setNumberOfObjectsPerBatch(int i)
setNumberOfObjectsPerBatch in class com.webobjects.appserver.WODisplayGrouppublic void setDataSource(com.webobjects.eocontrol.EODataSource eodatasource)
setDataSource in class com.webobjects.appserver.WODisplayGrouppublic java.lang.Object displayNextBatch()
displayNextBatch in class com.webobjects.appserver.WODisplayGrouppublic java.lang.Object displayPreviousBatch()
displayPreviousBatch in class com.webobjects.appserver.WODisplayGrouppublic java.lang.Object selectFilteredObjects()
public void setSortOrderings(com.webobjects.foundation.NSArray nsarray)
setSortOrderings in class com.webobjects.appserver.WODisplayGrouppublic void clearExtraQualifiers()
public com.webobjects.foundation.NSArray<T> allObjects()
allObjects in class com.webobjects.appserver.WODisplayGrouppublic com.webobjects.foundation.NSArray<java.lang.String> allQualifierOperators()
allQualifierOperators in class com.webobjects.appserver.WODisplayGrouppublic com.webobjects.foundation.NSArray<T> displayedObjects()
displayedObjects in class com.webobjects.appserver.WODisplayGrouppublic T selectedObject()
selectedObject in class com.webobjects.appserver.WODisplayGrouppublic com.webobjects.foundation.NSArray<com.webobjects.eocontrol.EOSortOrdering> sortOrderings()
sortOrderings in class com.webobjects.appserver.WODisplayGrouppublic int indexOfFirstDisplayedObject()
indexOfFirstDisplayedObject in class com.webobjects.appserver.WODisplayGrouppublic int indexOfLastDisplayedObject()
numberOfObjectsPerBatch and we are
on the last batch index. The superclass incorrectly uses allObjects
instead of displayedObjects to determine the index value.
indexOfLastDisplayedObject in class com.webobjects.appserver.WODisplayGroup
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||