Project Wonder 5.0

er.restadaptor
Class ERRESTAdaptorChannel

java.lang.Object
  extended by com.webobjects.eoaccess.EOAdaptorChannel
      extended by er.restadaptor.ERRESTAdaptorChannel

public class ERRESTAdaptorChannel
extends com.webobjects.eoaccess.EOAdaptorChannel


Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.eoaccess.EOAdaptorChannel
com.webobjects.eoaccess.EOAdaptorChannel.Delegate
 
Field Summary
 
Fields inherited from class com.webobjects.eoaccess.EOAdaptorChannel
_context, _debug, _delegate, _delegateRespondsTo_didChangeResultSet, _delegateRespondsTo_didEvaluateExpression, _delegateRespondsTo_didExecuteStoredProcedure, _delegateRespondsTo_didFetchRow, _delegateRespondsTo_didFinishFetching, _delegateRespondsTo_didPerformOperations, _delegateRespondsTo_didSelectAttributes, _delegateRespondsTo_shouldConstructStoredProcedureReturnValues, _delegateRespondsTo_shouldEvaluateExpression, _delegateRespondsTo_shouldExecuteStoredProcedure, _delegateRespondsTo_shouldReturnValuesForStoredProcedure, _delegateRespondsTo_shouldSelectAttributes, _delegateRespondsTo_willFetchRow, _delegateRespondsTo_willPerformOperations, _rawAttributesCache, _rawDictionaryInitializer, AdaptorFailureKey, AdaptorOperationsKey, AdaptorOptimisticLockingFailure, FailedAdaptorOperationKey
 
Constructor Summary
ERRESTAdaptorChannel(ERRESTAdaptorContext context)
           
 
Method Summary
 com.webobjects.foundation.NSArray<com.webobjects.eoaccess.EOAttribute> attributesToFetch()
           
 void cancelFetch()
           
 void closeChannel()
           
 ERRESTAdaptorContext context()
           
 java.lang.Object convertValue(java.lang.String strValue, com.webobjects.eoaccess.EOAttribute attribute)
           
 int deleteRowsDescribedByQualifier(com.webobjects.eocontrol.EOQualifier qualifier, com.webobjects.eoaccess.EOEntity entity)
           
 com.webobjects.eoaccess.EOModel describeModelWithTableNames(com.webobjects.foundation.NSArray anArray)
           
 com.webobjects.foundation.NSArray describeResults()
           
 com.webobjects.foundation.NSArray describeTableNames()
           
 void evaluateExpression(com.webobjects.eoaccess.EOSQLExpression anExpression)
           
 void executeStoredProcedure(com.webobjects.eoaccess.EOStoredProcedure aStoredProcedure, com.webobjects.foundation.NSDictionary someValues)
           
 com.webobjects.foundation.NSMutableDictionary fetchRow()
           
 void insertRow(com.webobjects.foundation.NSDictionary row, com.webobjects.eoaccess.EOEntity entity)
           
 boolean isFetchInProgress()
           
 boolean isOpen()
           
 void openChannel()
           
 java.lang.String pluralName(com.webobjects.eoaccess.EOEntity entity)
           
protected  void processQualifier(com.webobjects.eoaccess.EOEntity entity, com.webobjects.eocontrol.EOQualifier qualifier, java.lang.StringBuffer urlBuffer, com.webobjects.foundation.NSMutableDictionary<java.lang.String,java.lang.Object> attributesFromQualifier)
           
 com.webobjects.foundation.NSDictionary returnValuesForLastStoredProcedureInvocation()
           
 void selectAttributes(com.webobjects.foundation.NSArray attributesToFetch, com.webobjects.eocontrol.EOFetchSpecification fetchSpecification, boolean shouldLock, com.webobjects.eoaccess.EOEntity entity)
           
 void setAttributesToFetch(com.webobjects.foundation.NSArray attributesToFetch)
           
 java.lang.String singularName(com.webobjects.eoaccess.EOEntity entity)
           
 java.lang.String textValue(org.w3c.dom.Element element)
           
 int updateValuesInRowsDescribedByQualifier(com.webobjects.foundation.NSDictionary updatedRow, com.webobjects.eocontrol.EOQualifier qualifier, com.webobjects.eoaccess.EOEntity entity)
           
 java.lang.String urlForQualifier(com.webobjects.eoaccess.EOEntity entity, com.webobjects.eocontrol.EOQualifier qualifier, com.webobjects.foundation.NSMutableDictionary<java.lang.String,java.lang.Object> attributesFromQualifier)
           
 com.webobjects.foundation.NSArray<java.lang.String> urlPrefixes(com.webobjects.eoaccess.EOEntity entity)
           
protected  com.webobjects.foundation.NSSet<java.lang.String> variableNamesForUrl(java.lang.String url)
           
 
Methods inherited from class com.webobjects.eoaccess.EOAdaptorChannel
_raiseOptimisticLockingExceptionWithReason, _setRawDictionaryInitializerForAttributes, adaptorContext, addStoredProceduresNamed, delegate, deleteRowDescribedByQualifier, describeStoredProcedureNames, dictionaryWithObjectsForAttributes, lockRowComparingAttributes, performAdaptorOperation, performAdaptorOperations, primaryKeyForNewRowWithEntity, primaryKeysForNewRowsWithEntity, setDelegate, updateValuesInRowDescribedByQualifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERRESTAdaptorChannel

public ERRESTAdaptorChannel(ERRESTAdaptorContext context)
Method Detail

context

public ERRESTAdaptorContext context()

attributesToFetch

public com.webobjects.foundation.NSArray<com.webobjects.eoaccess.EOAttribute> attributesToFetch()
Specified by:
attributesToFetch in class com.webobjects.eoaccess.EOAdaptorChannel

cancelFetch

public void cancelFetch()
Specified by:
cancelFetch in class com.webobjects.eoaccess.EOAdaptorChannel

closeChannel

public void closeChannel()
Specified by:
closeChannel in class com.webobjects.eoaccess.EOAdaptorChannel

describeResults

public com.webobjects.foundation.NSArray describeResults()
Specified by:
describeResults in class com.webobjects.eoaccess.EOAdaptorChannel

describeTableNames

public com.webobjects.foundation.NSArray describeTableNames()
Overrides:
describeTableNames in class com.webobjects.eoaccess.EOAdaptorChannel

describeModelWithTableNames

public com.webobjects.eoaccess.EOModel describeModelWithTableNames(com.webobjects.foundation.NSArray anArray)
Overrides:
describeModelWithTableNames in class com.webobjects.eoaccess.EOAdaptorChannel

evaluateExpression

public void evaluateExpression(com.webobjects.eoaccess.EOSQLExpression anExpression)
Specified by:
evaluateExpression in class com.webobjects.eoaccess.EOAdaptorChannel

executeStoredProcedure

public void executeStoredProcedure(com.webobjects.eoaccess.EOStoredProcedure aStoredProcedure,
                                   com.webobjects.foundation.NSDictionary someValues)
Specified by:
executeStoredProcedure in class com.webobjects.eoaccess.EOAdaptorChannel

fetchRow

public com.webobjects.foundation.NSMutableDictionary fetchRow()
Specified by:
fetchRow in class com.webobjects.eoaccess.EOAdaptorChannel

isFetchInProgress

public boolean isFetchInProgress()
Specified by:
isFetchInProgress in class com.webobjects.eoaccess.EOAdaptorChannel

isOpen

public boolean isOpen()
Specified by:
isOpen in class com.webobjects.eoaccess.EOAdaptorChannel

openChannel

public void openChannel()
Specified by:
openChannel in class com.webobjects.eoaccess.EOAdaptorChannel

returnValuesForLastStoredProcedureInvocation

public com.webobjects.foundation.NSDictionary returnValuesForLastStoredProcedureInvocation()
Specified by:
returnValuesForLastStoredProcedureInvocation in class com.webobjects.eoaccess.EOAdaptorChannel

urlPrefixes

public com.webobjects.foundation.NSArray<java.lang.String> urlPrefixes(com.webobjects.eoaccess.EOEntity entity)

pluralName

public java.lang.String pluralName(com.webobjects.eoaccess.EOEntity entity)

singularName

public java.lang.String singularName(com.webobjects.eoaccess.EOEntity entity)

textValue

public java.lang.String textValue(org.w3c.dom.Element element)

convertValue

public java.lang.Object convertValue(java.lang.String strValue,
                                     com.webobjects.eoaccess.EOAttribute attribute)

urlForQualifier

public java.lang.String urlForQualifier(com.webobjects.eoaccess.EOEntity entity,
                                        com.webobjects.eocontrol.EOQualifier qualifier,
                                        com.webobjects.foundation.NSMutableDictionary<java.lang.String,java.lang.Object> attributesFromQualifier)

variableNamesForUrl

protected com.webobjects.foundation.NSSet<java.lang.String> variableNamesForUrl(java.lang.String url)

processQualifier

protected void processQualifier(com.webobjects.eoaccess.EOEntity entity,
                                com.webobjects.eocontrol.EOQualifier qualifier,
                                java.lang.StringBuffer urlBuffer,
                                com.webobjects.foundation.NSMutableDictionary<java.lang.String,java.lang.Object> attributesFromQualifier)

selectAttributes

public void selectAttributes(com.webobjects.foundation.NSArray attributesToFetch,
                             com.webobjects.eocontrol.EOFetchSpecification fetchSpecification,
                             boolean shouldLock,
                             com.webobjects.eoaccess.EOEntity entity)
Specified by:
selectAttributes in class com.webobjects.eoaccess.EOAdaptorChannel

setAttributesToFetch

public void setAttributesToFetch(com.webobjects.foundation.NSArray attributesToFetch)
Specified by:
setAttributesToFetch in class com.webobjects.eoaccess.EOAdaptorChannel

updateValuesInRowsDescribedByQualifier

public int updateValuesInRowsDescribedByQualifier(com.webobjects.foundation.NSDictionary updatedRow,
                                                  com.webobjects.eocontrol.EOQualifier qualifier,
                                                  com.webobjects.eoaccess.EOEntity entity)
Specified by:
updateValuesInRowsDescribedByQualifier in class com.webobjects.eoaccess.EOAdaptorChannel

insertRow

public void insertRow(com.webobjects.foundation.NSDictionary row,
                      com.webobjects.eoaccess.EOEntity entity)
Specified by:
insertRow in class com.webobjects.eoaccess.EOAdaptorChannel

deleteRowsDescribedByQualifier

public int deleteRowsDescribedByQualifier(com.webobjects.eocontrol.EOQualifier qualifier,
                                          com.webobjects.eoaccess.EOEntity entity)
Specified by:
deleteRowsDescribedByQualifier in class com.webobjects.eoaccess.EOAdaptorChannel

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.