|
WebObjects 5.2.3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.eoapplication.EOController com.webobjects.eoapplication.EOComponentController com.webobjects.eoapplication.EOArchiveController com.webobjects.eoapplication.EOEntityController com.webobjects.eoapplication.EODocumentController com.webobjects.eogeneration.EOEditingController
Nested Class Summary |
Nested classes inherited from class com.webobjects.eoapplication.EOComponentController |
EOComponentController.ActionCollector, EOComponentController.Activation, EOComponentController.EndEditing, EOComponentController.Modal, EOComponentController.ResetUserInterface |
Nested classes inherited from class com.webobjects.eoapplication.EOController |
EOController.Enumeration |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Field Summary |
Fields inherited from class com.webobjects.eoapplication.EOEntityController |
NestedEditingContextProviderMethodName, NewDisplayGroupProviderMethodName, NewDisplayGroupUsingOptimisticRefreshProviderMethodName, NewEditingContextProviderMethodName |
Fields inherited from class com.webobjects.eoapplication.EOComponentController |
Bottom, BottomLeft, BottomRight, Center, Left, Right, Top, TopLeft, TopRight |
Fields inherited from class com.webobjects.eoapplication.EOController |
ControllerAndSubcontrollersEnumeration, ControllerAndSupercontrollersEnumeration, SubcontrollersEnumeration, SupercontrollersEnumeration |
Fields inherited from interface com.webobjects.eoapplication.EOEditable |
AlwaysEditable, IfSupercontrollerEditable, NeverEditable |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NullValue |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
KeyPathSeparator |
Constructor Summary | |
EOEditingController()
|
|
EOEditingController(EOXMLUnarchiver unarchiver)
|
Method Summary | |
boolean |
canPerformActionNamed(String actionName)
Overridden to handle editing-related action enabling and disabling. |
protected void |
connectionWasBroken()
Reacts to the connection for the receiver being broken, taking care of association disconnecting. |
protected void |
connectionWasEstablished()
Reacts to the connection for the receiver being established, taking care of editability issues in addition to the superclass implementation. |
protected NSArray |
defaultActions()
Adds actions for handling editing (like save, revert) the default actions defined by the superclass, EOEntityController (but only if the receiver is a root document controller and if it's not used in a modal dialog. |
boolean |
delete()
|
void |
dispose()
Prepares the receiver so it is disposed when Java performs garbage collection. |
protected boolean |
disposeIfTransient()
Disposes the receiver if it's transient, first removing it from its supercontroller with removeTransientSubcontroller If the
receiver's supercontroller is non-null , this method also attempts to
dispose of the supercontroller if it's transient. |
String |
entityName()
Returns the name of the entity of the enterprise objects displayed in the receiver's display group. |
boolean |
fetchesOnConnect()
Returns whether the receiver should fetch its display group content next time its connection is established. |
boolean |
insert()
|
protected NSArray |
mandatoryRelationshipPaths()
|
EOMasterDetailAssociation |
masterDetailAssociation()
|
EODisplayGroup |
newDisplayGroup()
Creates a new display group using a data source provided by newDataSource . |
boolean |
openWithTask()
|
String |
relationshipPath()
|
void |
setEntityName(String string)
Sets the entity name of the enterprise objects displayed by the receiver. |
void |
setMandatoryRelationshipPaths(NSArray relationshipPaths)
|
void |
setMasterDetailAssociation(EOMasterDetailAssociation association)
|
void |
setRelationshipPath(String string)
|
String |
toString()
Returns the receiver as a string describing the state of the controller. |
Methods inherited from class com.webobjects.eoapplication.EOArchiveController |
archiveName, controllerDisplayGroup, hasControllerDisplayGroup, loadArchive, objectWillChange, prepareComponent, setArchiveName, setControllerDisplayGroup, willChange |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.webobjects.eoapplication.EOObjectDisplay |
controllerDisplayGroup, displayGroup, editingContext |
Constructor Detail |
public EOEditingController()
public EOEditingController(EOXMLUnarchiver unarchiver)
Method Detail |
public boolean canPerformActionNamed(String actionName)
EODocumentController
canPerformActionNamed
in interface EOAction.Enabling
canPerformActionNamed
in class EODocumentController
actionName
- the action method name
true
if the action should be enabled; false
otherwiseEOAction.Enabling
protected void connectionWasBroken()
EOEntityController
connectionWasBroken
in class EOEntityController
protected void connectionWasEstablished()
EODocumentController
connectionWasEstablished
in class EODocumentController
protected NSArray defaultActions()
EODocumentController
defaultActions
in class EODocumentController
public boolean delete()
public void dispose()
EODocumentController
dispose
in interface NSDisposable
dispose
in class EODocumentController
protected boolean disposeIfTransient()
EOController
removeTransientSubcontroller
If the
receiver's supercontroller is non-null
, this method also attempts to
dispose of the supercontroller if it's transient. Supercontrollers can
prevent a controller from becoming transient, in which case this method
returns false
. Subclasses should first invoke the super
implementation and only continue disposing if the super implementation
returns true
.
disposeIfTransient
in class EOController
true
if the receiver can be transient and has been
disposed; false
otherwiseEOController.removeTransientSubcontroller(EOController)
public String entityName()
EOObjectDisplay
entityName
in interface EOObjectDisplay
entityName
in class EOEntityController
public boolean fetchesOnConnect()
EOEntityController
true
.
Once it retrieves objects explicitly (for example from a global ID) or actually
performs the fetch while connecting, it sets this flag to false
.
fetchesOnConnect
in class EOEntityController
true
if the controller should fetch its display group content next time
its connection is established; false
otherwiseEOEntityController.setFetchesOnConnect(boolean)
public boolean insert()
protected NSArray mandatoryRelationshipPaths()
public EOMasterDetailAssociation masterDetailAssociation()
public EODisplayGroup newDisplayGroup()
EOEntityController
newDataSource
. This method can be used as display
group provider method.
newDisplayGroup
in class EOEntityController
EOEntityController.newDisplayGroupUsingOptimisticRefresh()
,
EOEntityController.setDisplayGroupProviderMethodName(String)
public boolean openWithTask()
public String relationshipPath()
public void setEntityName(String string)
EOEntityController
setEntityName
in class EOEntityController
string
- the entity name of the enterprise objects displayed by the receiverpublic void setMandatoryRelationshipPaths(NSArray relationshipPaths)
public void setMasterDetailAssociation(EOMasterDetailAssociation association)
public void setRelationshipPath(String string)
public String toString()
toString
in class EODocumentController
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |