org.rococoa.cocoa.coredata
Class NSManagedObjectContext

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.coredata.NSManagedObjectContext
All Implemented Interfaces:
ABActionDelegate, AMWorkflowControllerDelegate, IMVideoDataSource, NSAccessibility, NSAccessibilityAdditions, NSAnimationDelegate, NSApplicationScriptingDelegation, NSArchiverCallback, NSBrowserDelegate, NSClassDescriptionPrimitives, NSCoderMethods, NSColorPanelResponderMethod, NSComboBoxCellDataSource, NSComboBoxDataSource, NSComboBoxNotifications, NSComparisonMethods, NSConnectionDelegateMethods, NSControlSubclassDelegate, NSControlSubclassNotifications, NSCopyLinkMoveHandler, NSDatePickerCellDelegate, NSDelayedPerforming, NSDeprecatedKeyValueCoding, NSDeprecatedKeyValueObservingCustomization, NSDeprecatedMethods, NSDictionaryControllerKeyValuePair, NSDistantObjectRequestMethods, NSDistributedObjects, NSDraggingDestination, NSDraggingSource, NSDrawerDelegate, NSDrawerNotifications, NSEditor, NSEditorRegistration, NSErrorRecoveryAttempting, NSExceptionHandlerDelegate, NSFileManagerFileOperationAdditions, NSFontManagerDelegate, NSFontManagerResponderMethod, NSFontPanelValidationAdditions, NSImageDelegate, NSKeyedArchiverDelegate, NSKeyedArchiverObjectSubstitution, NSKeyedUnarchiverDelegate, NSKeyedUnarchiverObjectSubstitution, NSKeyValueBindingCreation, NSKeyValueCoding, NSKeyValueObserverNotification, NSKeyValueObserverRegistration, NSKeyValueObserving, NSKeyValueObservingCustomization, NSLayoutManagerDelegate, NSMenuDelegate, NSMenuValidation, NSMetadataQueryDelegate, NSNetServiceBrowserDelegateMethods, NSNetServiceDelegateMethods, NSNibAwaking, NSOutlineViewDataSource, NSOutlineViewDelegate, NSOutlineViewNotifications, NSPasteboardOwner, NSPlaceholders, NSPortDelegateMethods, NSRuleEditorDelegateMethods, NSSavePanelDelegate, NSScriptClassDescription, NSScripting, NSScriptingComparisonMethods, NSScriptKeyValueCoding, NSScriptObjectSpecifiers, NSSoundDelegateMethods, NSSpeechRecognizerDelegate, NSSpeechSynthesizerDelegate, NSSpellServerDelegate, NSSplitViewDelegate, NSStreamDelegateEventExtensions, NSTabViewDelegate, NSTextDelegate, NSTextViewDelegate, NSThreadPerformAdditions, NSTokenFieldCellDelegate, NSTokenFieldDelegate, NSToolbarDelegate, NSToolbarNotifications, NSURLClient, NSURLConnectionDelegate, NSURLDownloadDelegate, NSWindowDelegate, NSWindowNotifications, NSXMLParserDelegateEventAdditions, QTCaptureDecompressedVideoOutputDelegate, QTCaptureFileOutputDelegate, QTCaptureVideoPreviewOutputDelegate, QTCaptureViewDelegate, QTMovieDelegate, QTMovieViewDelegate, SFAuthorizationViewDelegate, SFCertificatePanelDelegate, SFChooseIdentityPanelDelegate, WebDownloadDelegate, WebFrameLoadDelegate, WebJavaPlugIn, WebPlugIn, WebPlugInContainer, WebPolicyDelegate, WebResourceLoadDelegate, WebScripting, WebUIDelegate, WebViewEditingDelegate, NSCoding, NSLocking, NSObject

public abstract class NSManagedObjectContext
extends NSObject
implements NSCoding, NSLocking

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
 class NSManagedObjectContext._class_
           
static class NSManagedObjectContext._managedObjectContextEditorFlags
           
static class NSManagedObjectContext._managedObjectContextFlags
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
NSCoding._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSLocking
NSLocking._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSManagedObjectContext()
           
 
Method Summary
static NSManagedObjectContext alloc()
           
abstract  void assignObject_toPersistentStore(org.rococoa.ID object, NSPersistentStore store)
          specifies the store a newly inserted object will be saved in.
abstract  int countForFetchRequest_error(NSFetchRequest request, PointerByReference error)
          returns the number of objects a fetch request would have returned if it had been passed to -executeFetchRequest:error:.
abstract  NSSet deletedObjects()
           
abstract  void deleteObject(NSManagedObject object)
           
abstract  void detectConflictsForObject(NSManagedObject object)
          marks an object for conflict detection, which means that the save fails if the object has been altered in the persistent store by another application.
abstract  NSArray executeFetchRequest_error(NSFetchRequest request, PointerByReference error)
          method to fetch objects from the persistent stores into the context (fetch request defines the entity and predicate as well as a sort order for the objects); context will match the results from persistent stores with current changes in the context (so inserted objects are returned even if they are not persisted yet); to fetch a single object with an ID if it is not guaranteed to exist and thus -objectWithObjectID: cannot be used, one would create a predicate like [NSComparisonPredicate predicateWithLeftExpression:[NSExpression expressionForKeyPath:@"objectID"] rightExpression:[NSExpression expressionForConstantValue:] modifier:NSPredicateModifierDirect type:NSEqualToPredicateOperatorType options:0]
Original signature : -(NSArray*)executeFetchRequest:(NSFetchRequest*) error:(NSError**)
abstract  boolean hasChanges()
           
abstract  NSSet insertedObjects()
           
abstract  void insertObject(NSManagedObject object)
           
abstract  void lock()
           
abstract  void mergeChangesFromContextDidSaveNotification(NSNotification notification)
          Merges the changes specified in the NSManagedObjectContextDidSaveNotification into the context.
abstract  NSObject mergePolicy()
          Original signature : -(id)mergePolicy
default: NSErrorMergePolicy
abstract  NSManagedObject objectRegisteredForID(NSManagedObjectID objectID)
          returns the object for the specified ID if it is registered in the context already or nil
Original signature : -(NSManagedObject*)objectRegisteredForID:(NSManagedObjectID*)
abstract  NSManagedObject objectWithID(NSManagedObjectID objectID)
          returns the object for the specified ID (the object does not already need to be registered in the context, it might be fetched or returned as a fault) - the object is assumed to exist as described by the ID
Original signature : -(NSManagedObject*)objectWithID:(NSManagedObjectID*)
abstract  void observeValueForKeyPath_ofObject_change_context(NSString keyPath, org.rococoa.ID object, NSDictionary change, Pointer context)
          key-value observation
Original signature : -(void)observeValueForKeyPath:(NSString*) ofObject:(id) change:(NSDictionary*) context:(void*)
abstract  boolean obtainPermanentIDsForObjects_error(NSArray objects, PointerByReference error)
          Converts the object IDs of the specified objects to permanent IDs.
abstract  NSPersistentStoreCoordinator persistentStoreCoordinator()
           
abstract  void processPendingChanges()
          usually contexts process changes to the object graph coalesced at the end of the event - this method triggers it explicitly
Original signature : -(void)processPendingChanges
abstract  boolean propagatesDeletesAtEndOfEvent()
          whether or not the context propagates deletes to related objects at the end of the event, or only at save time
Original signature : -(BOOL)propagatesDeletesAtEndOfEvent
abstract  void redo()
           
abstract  void refreshObject_mergeChanges(NSManagedObject object, boolean flag)
          if flag is YES, merges an object with the state of the object available in the persistent store coordinator; if flag is NO, simply refaults an object without merging (which also causes other related managed objects to be released, so you can use this method to trim the portion of your object graph you want to hold in memory)
Original signature : -(void)refreshObject:(NSManagedObject*) mergeChanges:(BOOL)
abstract  NSSet registeredObjects()
           
abstract  void reset()
           
abstract  boolean retainsRegisteredObjects()
          whether or not the context holds a retain on all registered objects, or only upon objects necessary for a pending save (inserted, updated, deleted, or locked)
Original signature : -(BOOL)retainsRegisteredObjects
abstract  void rollback()
           
abstract  boolean save(PointerByReference error)
           
abstract  void setMergePolicy(org.rococoa.ID mergePolicy)
          Original signature : -(void)setMergePolicy:(id)
acceptable merge policies are listed above as id constants
abstract  void setPersistentStoreCoordinator(NSPersistentStoreCoordinator coordinator)
          coordinator which provides model and handles persistency (multiple contexts can share a coordinator)
Original signature : -(void)setPersistentStoreCoordinator:(NSPersistentStoreCoordinator*)
abstract  void setPropagatesDeletesAtEndOfEvent(boolean flag)
          Original signature : -(void)setPropagatesDeletesAtEndOfEvent:(BOOL)
The default is YES.
abstract  void setRetainsRegisteredObjects(boolean flag)
          Original signature : -(void)setRetainsRegisteredObjects:(BOOL)
The default is NO.
abstract  void setStalenessInterval(double expiration)
          Original signature : -(void)setStalenessInterval:(NSTimeInterval)
a negative value is considered infinite.
abstract  void setUndoManager(NSUndoManager undoManager)
           
abstract  double stalenessInterval()
          Staleness interval is the relative time until cached data should be considered stale.
abstract  boolean tryLock()
           
abstract  void undo()
           
abstract  NSUndoManager undoManager()
           
abstract  void unlock()
           
abstract  NSSet updatedObjects()
           
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardInvocation, id, init, isKindOfClass, isKindOfClass, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
encodeWithCoder, initWithCoder
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDistantObjectRequestMethods
connection_handleRequest
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueObserverNotification
didChange_valuesAtIndexes_forKey, didChangeValueForKey_withSetMutation_usingObjects, didChangeValueForKey, willChange_valuesAtIndexes_forKey, willChangeValueForKey_withSetMutation_usingObjects, willChangeValueForKey
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebUIDelegate
webView_contextMenuItemsForElement_defaultMenuItems, webView_createWebViewModalDialogWithRequest, webView_createWebViewWithRequest, webView_dragDestinationActionMaskForDraggingInfo, webView_dragDestinationActionMaskForDraggingInfo, webView_makeFirstResponder, webView_mouseDidMoveOverElement_modifierFlags, webView_printFrameView, webView_runBeforeUnloadConfirmPanelWithMessage_initiatedByFrame, webView_runJavaScriptAlertPanelWithMessage_initiatedByFrame, webView_runJavaScriptAlertPanelWithMessage, webView_runJavaScriptConfirmPanelWithMessage_initiatedByFrame, webView_runJavaScriptConfirmPanelWithMessage, webView_runJavaScriptTextInputPanelWithPrompt_defaultText_initiatedByFrame, webView_runJavaScriptTextInputPanelWithPrompt_defaultText, webView_runOpenPanelForFileButtonWithResultListener, webView_runOpenPanelForFileButtonWithResultListener, webView_setResizable, webView_setStatusBarVisible, webView_setStatusText, webView_setToolbarsVisible, webView_shouldPerformAction_fromSender, webView_validateUserInterfaceItem_defaultValidation, webView_validateUserInterfaceItem_defaultValidation, webView_willPerformDragDestinationAction_forDraggingInfo, webView_willPerformDragDestinationAction_forDraggingInfo, webViewAreToolbarsVisible, webViewClose, webViewContentRect, webViewFirstResponder, webViewFocus, webViewFooterHeight, webViewFrame, webViewHeaderHeight, webViewIsResizable, webViewIsStatusBarVisible, webViewRunModal, webViewShow, webViewStatusText, webViewUnfocus
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSSoundDelegateMethods
sound_didFinishPlaying
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSNetServiceDelegateMethods
netService_didNotPublish, netService_didNotResolve, netService_didUpdateTXTRecordData, netServiceDidPublish, netServiceDidResolveAddress, netServiceDidStop, netServiceWillPublish, netServiceWillResolve
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSRuleEditorDelegateMethods
ruleEditor_child_forCriterion_withRowType, ruleEditor_displayValueForCriterion_inRow, ruleEditor_numberOfChildrenForCriterion_withRowType, ruleEditor_predicatePartsForCriterion_withDisplayValue_inRow, ruleEditorRowsDidChange
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSBrowserDelegate
browser_acceptDrop_atRow_column_dropOperation, browser_acceptDrop_atRow_column_dropOperation, browser_canDragRowsWithIndexes_inColumn_withEvent, browser_createRowsForColumn_inMatrix, browser_isColumnValid, browser_namesOfPromisedFilesDroppedAtDestination_forDraggedRowsWithIndexes_inColumn, browser_nextTypeSelectMatchFromRow_toRow_inColumn_forString, browser_numberOfRowsInColumn, browser_selectCellWithString_inColumn, browser_selectRow_inColumn, browser_shouldShowCellExpansionForRow_column, browser_shouldSizeColumn_forUserResize_toWidth, browser_shouldTypeSelectForEvent_withCurrentSearchString, browser_sizeToFitWidthOfColumn, browser_titleOfColumn, browser_typeSelectStringForRow_inColumn, browser_validateDrop_proposedRow_column_dropOperation, browser_validateDrop_proposedRow_column_dropOperation, browser_willDisplayCell_atRow_column, browser_writeRowsWithIndexes_inColumn_toPasteboard, browserColumnConfigurationDidChange, browserDidScroll, browserWillScroll
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSLayoutManagerDelegate
layoutManager_didCompleteLayoutForTextContainer_atEnd, layoutManagerDidInvalidateLayout
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSComboBoxDataSource
comboBox_completedString, comboBox_indexOfItemWithStringValue, comboBox_objectValueForItemAtIndex, numberOfItemsInComboBox
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDatePickerCellDelegate
datePickerCell_validateProposedDateValue_timeInterval, datePickerCell_validateProposedDateValue_timeInterval
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSEditorRegistration
objectDidBeginEditing, objectDidEndEditing
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSClassDescriptionPrimitives
attributeKeys, classDescription, inverseForRelationshipKey, toManyRelationshipKeys, toOneRelationshipKeys
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSCoderMethods
awakeAfterUsingCoder, classForCoder, replacementObjectForCoder
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.AMWorkflowControllerDelegate
workflowController_didError, workflowController_didRunAction, workflowController_willRunAction, workflowControllerDidRun, workflowControllerDidStop, workflowControllerWillRun, workflowControllerWillStop
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSComboBoxNotifications
comboBoxSelectionDidChange, comboBoxSelectionIsChanging, comboBoxWillDismiss, comboBoxWillPopUp
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSSavePanelDelegate
panel_compareFilename_with_caseSensitive, panel_directoryDidChange, panel_isValidFilename, panel_shouldShowFilename, panel_userEnteredFilename_confirmed, panel_willExpand, panelSelectionDidChange
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueBindingCreation
bind_toObject_withKeyPath_options, exposedBindings, infoForBinding, optionDescriptionsForBinding, unbind, valueClassForBinding
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueCoding
dictionaryWithValuesForKeys, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, setNilValueForKey, setValue_forKey, setValue_forKeyPath, setValue_forUndefinedKey, setValuesForKeysWithDictionary, validateValue_forKey_error, validateValue_forKeyPath_error, valueForKey, valueForKeyPath, valueForUndefinedKey
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSErrorRecoveryAttempting
attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo, attemptRecoveryFromError_optionIndex
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSOutlineViewDelegate
outlineView_dataCellForTableColumn_item, outlineView_didClickTableColumn, outlineView_didDragTableColumn, outlineView_heightOfRowByItem, outlineView_isGroupItem, outlineView_mouseDownInHeaderOfTableColumn, outlineView_nextTypeSelectMatchFromItem_toItem_forString, outlineView_selectionIndexesForProposedSelection, outlineView_shouldCollapseItem, outlineView_shouldEditTableColumn_item, outlineView_shouldExpandItem, outlineView_shouldSelectItem, outlineView_shouldSelectTableColumn, outlineView_shouldShowCellExpansionForTableColumn_item, outlineView_shouldTrackCell_forTableColumn_item, outlineView_shouldTypeSelectForEvent_withCurrentSearchString, outlineView_typeSelectStringForTableColumn_item, outlineView_willDisplayCell_forTableColumn_item, outlineView_willDisplayOutlineCell_forTableColumn_item, selectionShouldChangeInOutlineView
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSThreadPerformAdditions
performSelector_onThread_withObject_waitUntilDone_modes, performSelector_onThread_withObject_waitUntilDone, performSelectorInBackground_withObject, performSelectorOnMainThread_withObject_waitUntilDone_modes, performSelectorOnMainThread_withObject_waitUntilDone
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSSplitViewDelegate
splitView_additionalEffectiveRectOfDividerAtIndex, splitView_canCollapseSubview, splitView_constrainMaxCoordinate_ofSubviewAt, splitView_constrainMinCoordinate_ofSubviewAt, splitView_constrainSplitPosition_ofSubviewAt, splitView_shouldCollapseSubview_forDoubleClickOnDividerAtIndex, splitView_shouldHideDividerAtIndex, splitViewDidResizeSubviews, splitViewWillResizeSubviews
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebViewEditingDelegate
undoManagerForWebView, webView_doCommandBySelector, webView_shouldApplyStyle_toElementsInDOMRange, webView_shouldBeginEditingInDOMRange, webView_shouldChangeTypingStyle_toStyle, webView_shouldDeleteDOMRange, webView_shouldEndEditingInDOMRange, webView_shouldInsertNode_replacingDOMRange_givenAction, webView_shouldInsertText_replacingDOMRange_givenAction, webViewDidBeginEditing, webViewDidChange, webViewDidChangeSelection, webViewDidChangeTypingStyle, webViewDidEndEditing
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSToolbarNotifications
toolbarDidRemoveItem, toolbarWillAddItem
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.QTCaptureViewDelegate
view_willDisplayImage
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSScriptClassDescription
classCode, className
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebFrameLoadDelegate
webView_didCancelClientRedirectForFrame, webView_didChangeLocationWithinPageForFrame, webView_didClearWindowObject_forFrame, webView_didCommitLoadForFrame, webView_didFailLoadWithError_forFrame, webView_didFailProvisionalLoadWithError_forFrame, webView_didFinishLoadForFrame, webView_didReceiveIcon_forFrame, webView_didReceiveServerRedirectForProvisionalLoadForFrame, webView_didReceiveTitle_forFrame, webView_didStartProvisionalLoadForFrame, webView_willCloseFrame, webView_windowScriptObjectAvailable
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSFontPanelValidationAdditions
validModesForFontPanel
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSAccessibilityAdditions
accessibilitySetOverrideValue_forAttribute
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDraggingSource
draggingSourceOperationMaskForLocal, ignoreModifierKeysWhileDragging, namesOfPromisedFilesDroppedAtDestination
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebResourceLoadDelegate
webView_identifierForInitialRequest_fromDataSource, webView_plugInFailedWithError_dataSource, webView_resource_didCancelAuthenticationChallenge_fromDataSource, webView_resource_didFailLoadingWithError_fromDataSource, webView_resource_didFinishLoadingFromDataSource, webView_resource_didReceiveAuthenticationChallenge_fromDataSource, webView_resource_didReceiveContentLength_fromDataSource, webView_resource_didReceiveResponse_fromDataSource, webView_resource_willSendRequest_redirectResponse_fromDataSource
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSConnectionDelegateMethods
authenticateComponents_withData, authenticationDataForComponents, connection_shouldMakeNewConnection, createConversationForConnection, makeNewConnection_sender
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSPasteboardOwner
pasteboard_provideDataForType, pasteboardChangedOwner
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSStreamDelegateEventExtensions
stream_handleEvent
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDeprecatedKeyValueCoding
handleQueryWithUnboundKey, handleTakeValue_forUnboundKey, storedValueForKey, takeStoredValue_forKey, takeValue_forKey, takeValue_forKeyPath, takeValuesFromDictionary, unableToSetNilForKey, valuesForKeys
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyedArchiverObjectSubstitution
classForKeyedArchiver, replacementObjectForKeyedArchiver
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSNetServiceBrowserDelegateMethods
netServiceBrowser_didFindDomain_moreComing, netServiceBrowser_didFindService_moreComing, netServiceBrowser_didNotSearch, netServiceBrowser_didRemoveDomain_moreComing, netServiceBrowser_didRemoveService_moreComing, netServiceBrowserDidStopSearch, netServiceBrowserWillSearch
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.ABActionDelegate
actionProperty, performActionForPerson_identifier, shouldEnableActionForPerson_identifier, titleForPerson_identifier
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.QTMovieDelegate
externalMovie, movie_linkToURL, movie_shouldContinueOperation_withPhase_atPercent_withAttributes, movieShouldLoadData, movieShouldTask
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDrawerDelegate
drawerShouldClose, drawerShouldOpen
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSScripting
copyScriptingValue_forKey_withProperties, newScriptingObjectOfClass_forValueForKey_withContentsValue_properties, scriptingProperties, scriptingValueForSpecifier, setScriptingProperties
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebPlugInContainer
webFrame, webPlugInContainerLoadRequest_inFrame, webPlugInContainerSelectionColor, webPlugInContainerShowStatus
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebScripting
finalizeForWebScript, invokeDefaultMethodWithArguments, invokeUndefinedMethodFromWebScript_withArguments
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.SFChooseIdentityPanelDelegate
chooseIdentityPanelShowHelp
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.QTCaptureFileOutputDelegate
captureOutput_didFinishRecordingToOutputFileAtURL_forConnections_dueToError, captureOutput_didOutputSampleBuffer_fromConnection, captureOutput_didStartRecordingToOutputFileAtURL_forConnections, captureOutput_mustChangeOutputFileAtURL_forConnections_dueToError, captureOutput_shouldChangeOutputFileAtURL_forConnections_dueToError, captureOutput_willFinishRecordingToOutputFileAtURL_forConnections_dueToError, captureOutput_willStartRecordingToOutputFileAtURL_forConnections
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSToolbarDelegate
toolbar_itemForItemIdentifier_willBeInsertedIntoToolbar, toolbarAllowedItemIdentifiers, toolbarDefaultItemIdentifiers, toolbarSelectableItemIdentifiers
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSComparisonMethods
doesContain, isCaseInsensitiveLike, isEqualTo, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, isLessThanOrEqualTo, isLike, isNotEqualTo
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSMetadataQueryDelegate
metadataQuery_replacementObjectForResultObject, metadataQuery_replacementValueForAttribute_value
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebDownloadDelegate
downloadWindowForAuthenticationSheet
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyedArchiverDelegate
archiver_didEncodeObject, archiver_willEncodeObject, archiver_willReplaceObject_withObject, archiverDidFinish, archiverWillFinish
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.SFAuthorizationViewDelegate
authorizationViewCreatedAuthorization, authorizationViewDidAuthorize, authorizationViewDidDeauthorize, authorizationViewReleasedAuthorization, authorizationViewShouldDeauthorize
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSWindowDelegate
window_shouldPopUpDocumentPathMenu, window_willPositionSheet_usingRect, windowShouldClose, windowShouldZoom_toFrame, windowWillResize_toSize, windowWillReturnFieldEditor_toObject, windowWillReturnUndoManager, windowWillUseStandardFrame_defaultFrame
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSAnimationDelegate
animation_didReachProgressMark, animation_valueForProgress, animationDidEnd, animationDidStop, animationShouldStart
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTokenFieldDelegate
tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenField_displayStringForRepresentedObject, tokenField_editingStringForRepresentedObject, tokenField_hasMenuForRepresentedObject, tokenField_menuForRepresentedObject, tokenField_readFromPasteboard, tokenField_representedObjectForEditingString, tokenField_shouldAddObjects_atIndex, tokenField_styleForRepresentedObject, tokenField_writeRepresentedObjects_toPasteboard
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueObservingCustomization
observationInfo, setObservationInfo
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDictionaryControllerKeyValuePair
isExplicitlyIncluded, key, localizedKey, setKey, setLocalizedKey, setValue, value
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTabViewDelegate
tabView_didSelectTabViewItem, tabView_shouldSelectTabViewItem, tabView_willSelectTabViewItem, tabViewDidChangeNumberOfTabViewItems
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSApplicationScriptingDelegation
application_delegateHandlesKey
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSSpeechRecognizerDelegate
speechRecognizer_didRecognizeCommand
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSURLConnectionDelegate
connection_didCancelAuthenticationChallenge, connection_didFailWithError, connection_didReceiveAuthenticationChallenge, connection_didReceiveData, connection_didReceiveResponse, connection_willCacheResponse, connection_willSendRequest_redirectResponse, connectionDidFinishLoading
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSControlSubclassNotifications
controlTextDidBeginEditing, controlTextDidChange, controlTextDidEndEditing
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSXMLParserDelegateEventAdditions
parser_didEndElement_namespaceURI_qualifiedName, parser_didEndMappingPrefix, parser_didStartElement_namespaceURI_qualifiedName_attributes, parser_didStartMappingPrefix_toURI, parser_foundAttributeDeclarationWithName_forElement_type_defaultValue, parser_foundCDATA, parser_foundCharacters, parser_foundComment, parser_foundElementDeclarationWithName_model, parser_foundExternalEntityDeclarationWithName_publicID_systemID, parser_foundIgnorableWhitespace, parser_foundInternalEntityDeclarationWithName_value, parser_foundNotationDeclarationWithName_publicID_systemID, parser_foundProcessingInstructionWithTarget_data, parser_foundUnparsedEntityDeclarationWithName_publicID_systemID_notationName, parser_parseErrorOccurred, parser_resolveExternalEntityName_systemID, parser_validationErrorOccurred, parserDidEndDocument, parserDidStartDocument
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSOutlineViewNotifications
outlineViewColumnDidMove, outlineViewColumnDidResize, outlineViewItemDidCollapse, outlineViewItemDidExpand, outlineViewItemWillCollapse, outlineViewItemWillExpand, outlineViewSelectionDidChange, outlineViewSelectionIsChanging
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSPortDelegateMethods
handlePortMessage
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSFontManagerDelegate
fontManager_willIncludeFont
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSControlSubclassDelegate
control_didFailToFormatString_errorDescription, control_didFailToValidatePartialString_errorDescription, control_isValidObject, control_textShouldBeginEditing, control_textShouldEndEditing, control_textView_doCommandBySelector
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSScriptObjectSpecifiers
indicesOfObjectsByEvaluatingObjectSpecifier, objectSpecifier
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebPlugIn
objectForWebScript, webPlugInDestroy, webPlugInInitialize, webPlugInSetIsSelected, webPlugInStart, webPlugInStop
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebJavaPlugIn
webPlugInGetApplet
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSSpeechSynthesizerDelegate
speechSynthesizer_didEncounterErrorAtIndex_ofString_message, speechSynthesizer_didEncounterSyncMessage, speechSynthesizer_didFinishSpeaking, speechSynthesizer_willSpeakPhoneme
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.IMVideoDataSource
getOpenGLBufferContext_pixelFormat, getPixelBufferPixelFormat, getPixelBufferPixelFormat
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSURLClient
URL_resourceDataDidBecomeAvailable, URL_resourceDidFailLoadingWithReason, URLResourceDidCancelLoading, URLResourceDidFinishLoading
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyedUnarchiverDelegate
unarchiver_cannotDecodeObjectOfClassName_originalClasses, unarchiver_didDecodeObject, unarchiver_willReplaceObject_withObject, unarchiverDidFinish, unarchiverWillFinish
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSScriptingComparisonMethods
scriptingBeginsWith, scriptingContains, scriptingEndsWith, scriptingIsEqualTo, scriptingIsGreaterThan, scriptingIsGreaterThanOrEqualTo, scriptingIsLessThan, scriptingIsLessThanOrEqualTo
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSColorPanelResponderMethod
changeColor
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDraggingDestination
concludeDragOperation, concludeDragOperation, draggingEnded, draggingEnded, draggingEntered, draggingEntered, draggingExited, draggingExited, draggingUpdated, draggingUpdated, performDragOperation, performDragOperation, prepareForDragOperation, prepareForDragOperation, wantsPeriodicDraggingUpdates
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSScriptKeyValueCoding
coerceValue_forKey, insertValue_atIndex_inPropertyWithKey, insertValue_inPropertyWithKey, removeValueAtIndex_fromPropertyWithKey, replaceValueAtIndex_inPropertyWithKey_withValue, valueAtIndex_inPropertyWithKey, valueWithName_inPropertyWithKey, valueWithUniqueID_inPropertyWithKey
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSOutlineViewDataSource
outlineView_acceptDrop_item_childIndex, outlineView_acceptDrop_item_childIndex, outlineView_child_ofItem, outlineView_isItemExpandable, outlineView_itemForPersistentObject, outlineView_namesOfPromisedFilesDroppedAtDestination_forDraggedItems, outlineView_numberOfChildrenOfItem, outlineView_objectValueForTableColumn_byItem, outlineView_persistentObjectForItem, outlineView_setObjectValue_forTableColumn_byItem, outlineView_sortDescriptorsDidChange, outlineView_validateDrop_proposedItem_proposedChildIndex, outlineView_validateDrop_proposedItem_proposedChildIndex, outlineView_writeItems_toPasteboard
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSURLDownloadDelegate
download_decideDestinationWithSuggestedFilename, download_didCancelAuthenticationChallenge, download_didCreateDestination, download_didFailWithError, download_didReceiveAuthenticationChallenge, download_didReceiveDataOfLength, download_didReceiveResponse, download_shouldDecodeSourceDataOfMIMEType, download_willResumeWithResponse_fromByte, download_willSendRequest_redirectResponse, downloadDidBegin, downloadDidFinish
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSNibAwaking
awakeFromNib
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSImageDelegate
image_didLoadPartOfRepresentation_withValidRows, image_didLoadRepresentation_withStatus, image_didLoadRepresentationHeader, image_willLoadRepresentation
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTextDelegate
textDidBeginEditing, textDidChange, textDidEndEditing, textShouldBeginEditing, textShouldEndEditing
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.QTMovieViewDelegate
view_willDisplayImage
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSArchiverCallback
classForArchiver, replacementObjectForArchiver
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSComboBoxCellDataSource
comboBoxCell_completedString, comboBoxCell_indexOfItemWithStringValue, comboBoxCell_objectValueForItemAtIndex, numberOfItemsInComboBoxCell
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSFontManagerResponderMethod
changeFont
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSEditor
commitEditing, commitEditingWithDelegate_didCommitSelector_contextInfo, discardEditing
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSMenuValidation
validateMenuItem
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSMenuDelegate
menu_updateItem_atIndex_shouldCancel, menu_willHighlightItem, menuDidClose, menuHasKeyEquivalent_forEvent_target_action, menuNeedsUpdate, menuWillOpen, numberOfItemsInMenu
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDistributedObjects
classForPortCoder, replacementObjectForPortCoder
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSAccessibility
accessibilityActionDescription, accessibilityActionNames, accessibilityAttributeNames, accessibilityAttributeValue_forParameter, accessibilityAttributeValue, accessibilityFocusedUIElement, accessibilityIsAttributeSettable, accessibilityIsIgnored, accessibilityParameterizedAttributeNames, accessibilityPerformAction, accessibilitySetValue_forAttribute
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSFileManagerFileOperationAdditions
fileManager_shouldCopyItemAtPath_toPath, fileManager_shouldLinkItemAtPath_toPath, fileManager_shouldMoveItemAtPath_toPath, fileManager_shouldProceedAfterError_copyingItemAtPath_toPath, fileManager_shouldProceedAfterError_linkingItemAtPath_toPath, fileManager_shouldProceedAfterError_movingItemAtPath_toPath, fileManager_shouldProceedAfterError_removingItemAtPath, fileManager_shouldRemoveItemAtPath
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTextViewDelegate
textView_clickedOnLink_atIndex, textView_clickedOnLink, textView_doCommandBySelector, textView_menu_forEvent_atIndex, textView_shouldChangeTextInRanges_replacementStrings, textView_shouldChangeTypingAttributes_toAttributes, textView_willChangeSelectionFromCharacterRanges_toCharacterRanges, textView_willDisplayToolTip_forCharacterAtIndex, textView_writablePasteboardTypesForCell_atIndex, textView_writablePasteboardTypesForCell_atIndex, textView_writeCell_atIndex_toPasteboard_type, textView_writeCell_atIndex_toPasteboard_type, textViewDidChangeSelection, textViewDidChangeTypingAttributes, undoManagerForTextView
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSCopyLinkMoveHandler
fileManager_shouldProceedAfterError, fileManager_willProcessPath
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.SFCertificatePanelDelegate
certificatePanelShowHelp
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSSpellServerDelegate
spellServer_checkGrammarInString_language_details, spellServer_didForgetWord_inLanguage, spellServer_didLearnWord_inLanguage, spellServer_findMisspelledWordInString_language_wordCount_countOnly, spellServer_findMisspelledWordInString_language_wordCount_countOnly, spellServer_suggestGuessesForWord_inLanguage
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTokenFieldCellDelegate
tokenFieldCell_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenFieldCell_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenFieldCell_displayStringForRepresentedObject, tokenFieldCell_editingStringForRepresentedObject, tokenFieldCell_hasMenuForRepresentedObject, tokenFieldCell_menuForRepresentedObject, tokenFieldCell_readFromPasteboard, tokenFieldCell_representedObjectForEditingString, tokenFieldCell_shouldAddObjects_atIndex, tokenFieldCell_styleForRepresentedObject, tokenFieldCell_writeRepresentedObjects_toPasteboard
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSWindowNotifications
windowDidBecomeKey, windowDidBecomeMain, windowDidChangeScreen, windowDidChangeScreenProfile, windowDidDeminiaturize, windowDidEndSheet, windowDidExpose, windowDidMiniaturize, windowDidMove, windowDidResignKey, windowDidResignMain, windowDidResize, windowDidUpdate, windowWillBeginSheet, windowWillClose, windowWillMiniaturize, windowWillMove
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDrawerNotifications
drawerDidClose, drawerDidOpen, drawerWillClose, drawerWillOpen
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueObserverRegistration
addObserver_forKeyPath_options_context, removeObserver_forKeyPath
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebPolicyDelegate
webView_decidePolicyForMIMEType_request_frame_decisionListener, webView_decidePolicyForMIMEType_request_frame_decisionListener, webView_decidePolicyForNavigationAction_request_frame_decisionListener, webView_decidePolicyForNavigationAction_request_frame_decisionListener, webView_decidePolicyForNewWindowAction_request_newFrameName_decisionListener, webView_decidePolicyForNewWindowAction_request_newFrameName_decisionListener, webView_unableToImplementPolicyWithError_frame
 
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSExceptionHandlerDelegate
exceptionHandler_shouldHandleException_mask, exceptionHandler_shouldLogException_mask
 

Constructor Detail

NSManagedObjectContext

public NSManagedObjectContext()
Method Detail

setPersistentStoreCoordinator

public abstract void setPersistentStoreCoordinator(NSPersistentStoreCoordinator coordinator)
coordinator which provides model and handles persistency (multiple contexts can share a coordinator)
Original signature : -(void)setPersistentStoreCoordinator:(NSPersistentStoreCoordinator*)


persistentStoreCoordinator

public abstract NSPersistentStoreCoordinator persistentStoreCoordinator()

setUndoManager

public abstract void setUndoManager(NSUndoManager undoManager)

undoManager

public abstract NSUndoManager undoManager()

hasChanges

public abstract boolean hasChanges()

objectRegisteredForID

public abstract NSManagedObject objectRegisteredForID(NSManagedObjectID objectID)
returns the object for the specified ID if it is registered in the context already or nil
Original signature : -(NSManagedObject*)objectRegisteredForID:(NSManagedObjectID*)


objectWithID

public abstract NSManagedObject objectWithID(NSManagedObjectID objectID)
returns the object for the specified ID (the object does not already need to be registered in the context, it might be fetched or returned as a fault) - the object is assumed to exist as described by the ID
Original signature : -(NSManagedObject*)objectWithID:(NSManagedObjectID*)


executeFetchRequest_error

public abstract NSArray executeFetchRequest_error(NSFetchRequest request,
                                                  PointerByReference error)
method to fetch objects from the persistent stores into the context (fetch request defines the entity and predicate as well as a sort order for the objects); context will match the results from persistent stores with current changes in the context (so inserted objects are returned even if they are not persisted yet); to fetch a single object with an ID if it is not guaranteed to exist and thus -objectWithObjectID: cannot be used, one would create a predicate like [NSComparisonPredicate predicateWithLeftExpression:[NSExpression expressionForKeyPath:@"objectID"] rightExpression:[NSExpression expressionForConstantValue:] modifier:NSPredicateModifierDirect type:NSEqualToPredicateOperatorType options:0]
Original signature : -(NSArray*)executeFetchRequest:(NSFetchRequest*) error:(NSError**)


countForFetchRequest_error

public abstract int countForFetchRequest_error(NSFetchRequest request,
                                               PointerByReference error)
returns the number of objects a fetch request would have returned if it had been passed to -executeFetchRequest:error:. If an error occurred during the processing of the request, this method will return NSNotFound.
Original signature : -(NSUInteger)countForFetchRequest:(NSFetchRequest*) error:(NSError**)


insertObject

public abstract void insertObject(NSManagedObject object)

deleteObject

public abstract void deleteObject(NSManagedObject object)

refreshObject_mergeChanges

public abstract void refreshObject_mergeChanges(NSManagedObject object,
                                                boolean flag)
if flag is YES, merges an object with the state of the object available in the persistent store coordinator; if flag is NO, simply refaults an object without merging (which also causes other related managed objects to be released, so you can use this method to trim the portion of your object graph you want to hold in memory)
Original signature : -(void)refreshObject:(NSManagedObject*) mergeChanges:(BOOL)


detectConflictsForObject

public abstract void detectConflictsForObject(NSManagedObject object)
marks an object for conflict detection, which means that the save fails if the object has been altered in the persistent store by another application. This allows optimistic locking for unchanged objects. Conflict detection is always performed on changed or deleted objects.
Original signature : -(void)detectConflictsForObject:(NSManagedObject*)


observeValueForKeyPath_ofObject_change_context

public abstract void observeValueForKeyPath_ofObject_change_context(NSString keyPath,
                                                                    org.rococoa.ID object,
                                                                    NSDictionary change,
                                                                    Pointer context)
key-value observation
Original signature : -(void)observeValueForKeyPath:(NSString*) ofObject:(id) change:(NSDictionary*) context:(void*)

Specified by:
observeValueForKeyPath_ofObject_change_context in interface NSKeyValueObserving

processPendingChanges

public abstract void processPendingChanges()
usually contexts process changes to the object graph coalesced at the end of the event - this method triggers it explicitly
Original signature : -(void)processPendingChanges


assignObject_toPersistentStore

public abstract void assignObject_toPersistentStore(org.rococoa.ID object,
                                                    NSPersistentStore store)
specifies the store a newly inserted object will be saved in. Unnecessary unless there are multiple writable persistent stores added to the NSPersistentStoreCoordinator which support this object's entity.
Original signature : -(void)assignObject:(id) toPersistentStore:(NSPersistentStore*)


insertedObjects

public abstract NSSet insertedObjects()

updatedObjects

public abstract NSSet updatedObjects()

deletedObjects

public abstract NSSet deletedObjects()

registeredObjects

public abstract NSSet registeredObjects()

undo

public abstract void undo()

redo

public abstract void redo()

reset

public abstract void reset()

rollback

public abstract void rollback()

save

public abstract boolean save(PointerByReference error)

lock

public abstract void lock()
Specified by:
lock in interface NSLocking

unlock

public abstract void unlock()
Specified by:
unlock in interface NSLocking

tryLock

public abstract boolean tryLock()

propagatesDeletesAtEndOfEvent

public abstract boolean propagatesDeletesAtEndOfEvent()
whether or not the context propagates deletes to related objects at the end of the event, or only at save time
Original signature : -(BOOL)propagatesDeletesAtEndOfEvent


setPropagatesDeletesAtEndOfEvent

public abstract void setPropagatesDeletesAtEndOfEvent(boolean flag)
Original signature : -(void)setPropagatesDeletesAtEndOfEvent:(BOOL)
The default is YES.


retainsRegisteredObjects

public abstract boolean retainsRegisteredObjects()
whether or not the context holds a retain on all registered objects, or only upon objects necessary for a pending save (inserted, updated, deleted, or locked)
Original signature : -(BOOL)retainsRegisteredObjects


setRetainsRegisteredObjects

public abstract void setRetainsRegisteredObjects(boolean flag)
Original signature : -(void)setRetainsRegisteredObjects:(BOOL)
The default is NO.


stalenessInterval

public abstract double stalenessInterval()
Staleness interval is the relative time until cached data should be considered stale. The value is applied on a per object basis. For example, a value of 300.0 informs the context to utilize cached information for no more than 5 minutes after that object was originally fetched. This does not affect objects currently in use. Principly, this controls whether fulfilling a fault uses data previously fetched by the application, or issues a new fetch. It is a hint which may not be supported by all persistent store types.
Original signature : -(NSTimeInterval)stalenessInterval


setStalenessInterval

public abstract void setStalenessInterval(double expiration)
Original signature : -(void)setStalenessInterval:(NSTimeInterval)
a negative value is considered infinite. The default is infinite staleness.


setMergePolicy

public abstract void setMergePolicy(org.rococoa.ID mergePolicy)
Original signature : -(void)setMergePolicy:(id)
acceptable merge policies are listed above as id constants


mergePolicy

public abstract NSObject mergePolicy()
Original signature : -(id)mergePolicy
default: NSErrorMergePolicy


obtainPermanentIDsForObjects_error

public abstract boolean obtainPermanentIDsForObjects_error(NSArray objects,
                                                           PointerByReference error)
Converts the object IDs of the specified objects to permanent IDs. This implementation will convert the object ID of each managed object in the specified array to a permanent ID. Any object in the target array with a permanent ID will be ignored; additionally, any managed object in the array not already assigned to a store will be assigned, based on the same rules Core Data uses for assignment during a save operation (first writable store supporting the entity, and appropriate for the instance and its related items.) Although the object will have a permanent ID, it will still respond positively to -isInserted until it is saved. If an error is encountered obtaining an identifier, the return value will be NO.
Original signature : -(BOOL)obtainPermanentIDsForObjects:(NSArray*) error:(NSError**)


mergeChangesFromContextDidSaveNotification

public abstract void mergeChangesFromContextDidSaveNotification(NSNotification notification)
Merges the changes specified in the NSManagedObjectContextDidSaveNotification into the context. This method will refresh any objects which have been updated in the other context, fault in any newly inserted objects, and invoke deleteObject: on those which have been deleted.
Original signature : -(void)mergeChangesFromContextDidSaveNotification:(NSNotification*)


alloc

public static NSManagedObjectContext alloc()