|
WebObjects 5.4.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.webobjects.eoapplication.EOController
com.webobjects.eoapplication.EOComponentController
com.webobjects.eoapplication.EOArchiveController
com.webobjects.eoapplication.EOEntityController
com.webobjects.eoapplication.EODocumentController
com.webobjects.eogeneration.EOEditingController
public abstract class EOEditingController
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.webobjects.eoapplication.EOComponentController |
|---|
EOComponentController.ActionCollector, EOComponentController.Activation, EOComponentController.EndEditing, EOComponentController.Modal, EOComponentController.ResetUserInterface |
| Nested classes/interfaces inherited from class com.webobjects.eoapplication.EOController |
|---|
EOController.Enumeration |
| Nested classes/interfaces inherited from interface 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.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 void dispose()
EODocumentController
dispose in interface NSDisposabledispose in class EODocumentControllerprotected boolean disposeIfTransient()
EOControllerremoveTransientSubcontroller 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 EOControllertrue if the receiver can be transient and has been
disposed; false otherwiseEOController.removeTransientSubcontroller(EOController)protected void connectionWasEstablished()
EODocumentController
connectionWasEstablished in class EODocumentControllerEOController.establishConnection()protected void connectionWasBroken()
EOEntityController
connectionWasBroken in class EOEntityControllerEOController.breakConnection()public boolean fetchesOnConnect()
EOEntityControllertrue.
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 EOEntityControllertrue if the controller should fetch its display group content next time
its connection is established; false otherwiseEOEntityController.setFetchesOnConnect(boolean)public void setRelationshipPath(String string)
public String relationshipPath()
public void setMandatoryRelationshipPaths(NSArray relationshipPaths)
protected NSArray mandatoryRelationshipPaths()
public void setEntityName(String string)
EOEntityController
setEntityName in class EOEntityControllerstring - the entity name of the enterprise objects displayed by the receiverpublic String entityName()
EOObjectDisplay
entityName in interface EOObjectDisplayentityName in class EOEntityControllerpublic EODisplayGroup newDisplayGroup()
EOEntityControllernewDataSource. This method can be used as display
group provider method.
newDisplayGroup in class EOEntityControllerEOEntityController.newDisplayGroupUsingOptimisticRefresh(),
EOEntityController.setDisplayGroupProviderMethodName(String)public void setMasterDetailAssociation(EOMasterDetailAssociation association)
public EOMasterDetailAssociation masterDetailAssociation()
protected NSArray defaultActions()
EODocumentController
defaultActions in class EODocumentControllerEOController.actions(),
EOController.resetActions()public boolean canPerformActionNamed(String actionName)
EODocumentController
canPerformActionNamed in interface EOAction.EnablingcanPerformActionNamed in class EODocumentControlleractionName - the action method name
true if the action should be enabled; false otherwiseEOAction.Enablingpublic boolean insert()
public boolean delete()
public boolean openWithTask()
public String toString()
toString in class EODocumentController
|
Last updated June 2008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||