com.webobjects.eogeneration
Class EOControllerFactory
java.lang.Object
com.webobjects.eogeneration.EOControllerFactory
- All Implemented Interfaces:
- NSDisposable
- public class EOControllerFactory
- extends Object
- implements NSDisposable
Method Summary |
NSArray |
actions()
|
void |
activateDefaultControllers()
|
boolean |
cachesControllers()
|
boolean |
canInsertWithEntityName(String entityName)
|
boolean |
canListWithEntityName(String entityName)
|
boolean |
canOpenGlobalIDsWithEntityName(String entityName)
|
boolean |
canOpenModalDialogForTaskName(String taskName)
|
boolean |
canOpenWindowForTaskName(String taskName)
|
boolean |
canOpenWithEntityName(String entityName)
|
boolean |
canQueryWithEntityName(String entityName)
|
boolean |
canSelectByInsertingWithEntityName(String entityName)
|
boolean |
canSelectWithEntityName(String entityName)
|
EOController |
controllerWithEntityName(EOController rootController,
Class controllerInterface,
String entityName)
|
EOController |
controllerWithSpecification(NSDictionary specification,
boolean checkRulesIfUnknown)
|
static EOControllerFactory |
createSharedControllerFactoryWithClass(String className)
|
protected int |
defaultReuseModeForSpecification(NSDictionary specification)
|
Object |
delegate()
|
void |
dispose()
Invoked when the receiver should prepare itself for destruction. |
EOController |
editorControllerWithEntity(String entityName)
|
Object |
evaluateRules(NSDictionary specification)
|
NSArray |
expandedKeyPathsForEntityName(String entityName,
NSArray keys)
|
NSArray |
expandedKeyPathsForEntityName(String entityName,
String key)
|
EOController |
formControllerWithEntity(String entityName)
|
boolean |
hasControllerWithSpecification(NSDictionary specification,
boolean checkRulesIfUnknown)
|
EOControllerFactory.Insert |
insertWithEntityName(String entityName)
|
void |
invalidateRules()
|
EOController |
listControllerWithEntity(String entityName)
|
EOControllerFactory.List |
listFetchSpecificationWithEntityName(String entityName,
EOFetchSpecification fetchSpecification)
|
EOControllerFactory.List |
listGlobalIDsWithEntityName(String entityName,
NSArray globalIDs)
|
EOControllerFactory.List |
listWithEntityName(String entityName)
|
NSArray |
openGlobalIDsWithEntityName(String entityName,
NSArray globalIDs)
|
EOControllerFactory.Open |
openGlobalIDWithEntityName(String entityName,
EOGlobalID globalID)
|
EOController |
openModalDialogForTaskName(String taskName)
|
EOControllerFactory.Open |
openSingleWithEntityName(String entityName)
|
EOController |
openWindowForTaskName(String taskName)
|
NSArray |
openWithEntityName(String entityName)
|
void |
performTaskWithController(EOController controller,
EOControllerFactory.ControllerTaskCallback callback,
Object[] parameters)
|
NSArray |
propertyKeysForEntityAndTaskName(String entityName,
String taskName)
|
EOController |
queryControllerWithEntity(String entityName)
|
EOControllerFactory.Query |
queryWithEntityName(String entityName)
|
EOGlobalID |
selectByInsertingWithEntityName(String entityName)
|
EOController |
selectControllerWithEntity(String entityName)
|
NSArray |
selectWithEntityName(String entityName,
boolean allowsMultipleGlobalIDs,
boolean allowsInserting)
|
void |
setCachesControllers(boolean flag)
|
void |
setDelegate(Object delegate)
|
static EOControllerFactory |
sharedControllerFactory()
|
String |
toString()
|
ActionsQuestion
public static final String ActionsQuestion
AlwaysReuseController
public static final int AlwaysReuseController
- See Also:
- Constant Field Values
AvailableSpecificationsQuestion
public static final String AvailableSpecificationsQuestion
CacheSizeParameter
public static final String CacheSizeParameter
ControllerQuestion
public static final String ControllerQuestion
DefaultSpecificationsQuestion
public static final String DefaultSpecificationsQuestion
EditorTask
public static final String EditorTask
EntitySpecification
public static final String EntitySpecification
FormTask
public static final String FormTask
IdentifyTask
public static final String IdentifyTask
ListTask
public static final String ListTask
LocalesSpecification
public static final String LocalesSpecification
NeverReuseController
public static final int NeverReuseController
- See Also:
- Constant Field Values
PlatformsSpecification
public static final String PlatformsSpecification
PropertyKeysQuestion
public static final String PropertyKeysQuestion
QueryTask
public static final String QueryTask
QuestionSpecification
public static final String QuestionSpecification
ReuseControllerAfterSave
public static final int ReuseControllerAfterSave
- See Also:
- Constant Field Values
ReuseControllerIfInvisible
public static final int ReuseControllerIfInvisible
- See Also:
- Constant Field Values
ReuseControllerIfNotEdited
public static final int ReuseControllerIfNotEdited
- See Also:
- Constant Field Values
ReuseModeParameter
public static final String ReuseModeParameter
SelectTask
public static final String SelectTask
TaskSpecification
public static final String TaskSpecification
TopLevelModalDialogQuestion
public static final String TopLevelModalDialogQuestion
TopLevelWindowQuestion
public static final String TopLevelWindowQuestion
UserInterfaceParametersQuestion
public static final String UserInterfaceParametersQuestion
EOControllerFactory
public EOControllerFactory()
actions
public NSArray actions()
activateDefaultControllers
public void activateDefaultControllers()
cachesControllers
public boolean cachesControllers()
canInsertWithEntityName
public boolean canInsertWithEntityName(String entityName)
canListWithEntityName
public boolean canListWithEntityName(String entityName)
canOpenGlobalIDsWithEntityName
public boolean canOpenGlobalIDsWithEntityName(String entityName)
canOpenModalDialogForTaskName
public boolean canOpenModalDialogForTaskName(String taskName)
canOpenWindowForTaskName
public boolean canOpenWindowForTaskName(String taskName)
canOpenWithEntityName
public boolean canOpenWithEntityName(String entityName)
canQueryWithEntityName
public boolean canQueryWithEntityName(String entityName)
canSelectByInsertingWithEntityName
public boolean canSelectByInsertingWithEntityName(String entityName)
canSelectWithEntityName
public boolean canSelectWithEntityName(String entityName)
controllerWithEntityName
public EOController controllerWithEntityName(EOController rootController,
Class controllerInterface,
String entityName)
controllerWithSpecification
public EOController controllerWithSpecification(NSDictionary specification,
boolean checkRulesIfUnknown)
createSharedControllerFactoryWithClass
public static EOControllerFactory createSharedControllerFactoryWithClass(String className)
defaultReuseModeForSpecification
protected int defaultReuseModeForSpecification(NSDictionary specification)
delegate
public Object delegate()
dispose
public void dispose()
- Description copied from interface:
NSDisposable
- Invoked when the receiver should prepare itself for destruction.
Implementations of this method should break connections that
other objects have to the receiver, including unregistering for
notifications, resigning as other objects' delegates, release locks and system resources, close files, and any other
clean up operations.
- Specified by:
dispose
in interface NSDisposable
editorControllerWithEntity
public EOController editorControllerWithEntity(String entityName)
evaluateRules
public Object evaluateRules(NSDictionary specification)
expandedKeyPathsForEntityName
public NSArray expandedKeyPathsForEntityName(String entityName,
String key)
expandedKeyPathsForEntityName
public NSArray expandedKeyPathsForEntityName(String entityName,
NSArray keys)
formControllerWithEntity
public EOController formControllerWithEntity(String entityName)
hasControllerWithSpecification
public boolean hasControllerWithSpecification(NSDictionary specification,
boolean checkRulesIfUnknown)
insertWithEntityName
public EOControllerFactory.Insert insertWithEntityName(String entityName)
invalidateRules
public void invalidateRules()
listControllerWithEntity
public EOController listControllerWithEntity(String entityName)
listFetchSpecificationWithEntityName
public EOControllerFactory.List listFetchSpecificationWithEntityName(String entityName,
EOFetchSpecification fetchSpecification)
listGlobalIDsWithEntityName
public EOControllerFactory.List listGlobalIDsWithEntityName(String entityName,
NSArray globalIDs)
listWithEntityName
public EOControllerFactory.List listWithEntityName(String entityName)
openGlobalIDWithEntityName
public EOControllerFactory.Open openGlobalIDWithEntityName(String entityName,
EOGlobalID globalID)
openGlobalIDsWithEntityName
public NSArray openGlobalIDsWithEntityName(String entityName,
NSArray globalIDs)
openModalDialogForTaskName
public EOController openModalDialogForTaskName(String taskName)
openSingleWithEntityName
public EOControllerFactory.Open openSingleWithEntityName(String entityName)
openWindowForTaskName
public EOController openWindowForTaskName(String taskName)
openWithEntityName
public NSArray openWithEntityName(String entityName)
performTaskWithController
public void performTaskWithController(EOController controller,
EOControllerFactory.ControllerTaskCallback callback,
Object[] parameters)
propertyKeysForEntityAndTaskName
public NSArray propertyKeysForEntityAndTaskName(String entityName,
String taskName)
queryControllerWithEntity
public EOController queryControllerWithEntity(String entityName)
queryWithEntityName
public EOControllerFactory.Query queryWithEntityName(String entityName)
selectByInsertingWithEntityName
public EOGlobalID selectByInsertingWithEntityName(String entityName)
selectControllerWithEntity
public EOController selectControllerWithEntity(String entityName)
selectWithEntityName
public NSArray selectWithEntityName(String entityName,
boolean allowsMultipleGlobalIDs,
boolean allowsInserting)
setCachesControllers
public void setCachesControllers(boolean flag)
setDelegate
public void setDelegate(Object delegate)
sharedControllerFactory
public static EOControllerFactory sharedControllerFactory()
toString
public String toString()
Copyright © 2004 Apple Computer, Inc.