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()
|
QuestionSpecification
public static final String QuestionSpecification
- See Also:
- Constant Field Values
TaskSpecification
public static final String TaskSpecification
- See Also:
- Constant Field Values
EntitySpecification
public static final String EntitySpecification
- See Also:
- Constant Field Values
LocalesSpecification
public static final String LocalesSpecification
- See Also:
- Constant Field Values
PlatformsSpecification
public static final String PlatformsSpecification
- See Also:
- Constant Field Values
UserInterfaceParametersQuestion
public static final String UserInterfaceParametersQuestion
- See Also:
- Constant Field Values
ActionsQuestion
public static final String ActionsQuestion
- See Also:
- Constant Field Values
PropertyKeysQuestion
public static final String PropertyKeysQuestion
- See Also:
- Constant Field Values
AvailableSpecificationsQuestion
public static final String AvailableSpecificationsQuestion
- See Also:
- Constant Field Values
DefaultSpecificationsQuestion
public static final String DefaultSpecificationsQuestion
- See Also:
- Constant Field Values
ControllerQuestion
public static final String ControllerQuestion
- See Also:
- Constant Field Values
TopLevelWindowQuestion
public static final String TopLevelWindowQuestion
- See Also:
- Constant Field Values
TopLevelModalDialogQuestion
public static final String TopLevelModalDialogQuestion
- See Also:
- Constant Field Values
IdentifyTask
public static final String IdentifyTask
- See Also:
- Constant Field Values
QueryTask
public static final String QueryTask
- See Also:
- Constant Field Values
ListTask
public static final String ListTask
- See Also:
- Constant Field Values
FormTask
public static final String FormTask
- See Also:
- Constant Field Values
SelectTask
public static final String SelectTask
- See Also:
- Constant Field Values
EditorTask
public static final String EditorTask
- See Also:
- Constant Field Values
NeverReuseController
public static final int NeverReuseController
- See Also:
- Constant Field Values
ReuseControllerIfNotEdited
public static final int ReuseControllerIfNotEdited
- See Also:
- Constant Field Values
ReuseControllerAfterSave
public static final int ReuseControllerAfterSave
- See Also:
- Constant Field Values
ReuseControllerIfInvisible
public static final int ReuseControllerIfInvisible
- See Also:
- Constant Field Values
AlwaysReuseController
public static final int AlwaysReuseController
- See Also:
- Constant Field Values
ReuseModeParameter
public static final String ReuseModeParameter
- See Also:
- Constant Field Values
CacheSizeParameter
public static final String CacheSizeParameter
- See Also:
- Constant Field Values
EOControllerFactory
public EOControllerFactory()
createSharedControllerFactoryWithClass
public static EOControllerFactory createSharedControllerFactoryWithClass(String className)
sharedControllerFactory
public static EOControllerFactory sharedControllerFactory()
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
setDelegate
public void setDelegate(Object delegate)
delegate
public Object delegate()
performTaskWithController
public void performTaskWithController(EOController controller,
EOControllerFactory.ControllerTaskCallback callback,
Object[] parameters)
setCachesControllers
public void setCachesControllers(boolean flag)
cachesControllers
public boolean cachesControllers()
invalidateRules
public void invalidateRules()
evaluateRules
public Object evaluateRules(NSDictionary specification)
actions
public NSArray actions()
propertyKeysForEntityAndTaskName
public NSArray propertyKeysForEntityAndTaskName(String entityName,
String taskName)
expandedKeyPathsForEntityName
public NSArray expandedKeyPathsForEntityName(String entityName,
String key)
expandedKeyPathsForEntityName
public NSArray expandedKeyPathsForEntityName(String entityName,
NSArray keys)
activateDefaultControllers
public void activateDefaultControllers()
controllerWithSpecification
public EOController controllerWithSpecification(NSDictionary specification,
boolean checkRulesIfUnknown)
defaultReuseModeForSpecification
protected int defaultReuseModeForSpecification(NSDictionary specification)
hasControllerWithSpecification
public boolean hasControllerWithSpecification(NSDictionary specification,
boolean checkRulesIfUnknown)
controllerWithEntityName
public EOController controllerWithEntityName(EOController rootController,
Class controllerInterface,
String entityName)
queryControllerWithEntity
public EOController queryControllerWithEntity(String entityName)
listControllerWithEntity
public EOController listControllerWithEntity(String entityName)
formControllerWithEntity
public EOController formControllerWithEntity(String entityName)
selectControllerWithEntity
public EOController selectControllerWithEntity(String entityName)
editorControllerWithEntity
public EOController editorControllerWithEntity(String entityName)
canOpenWindowForTaskName
public boolean canOpenWindowForTaskName(String taskName)
openWindowForTaskName
public EOController openWindowForTaskName(String taskName)
canOpenModalDialogForTaskName
public boolean canOpenModalDialogForTaskName(String taskName)
openModalDialogForTaskName
public EOController openModalDialogForTaskName(String taskName)
canSelectWithEntityName
public boolean canSelectWithEntityName(String entityName)
selectWithEntityName
public NSArray selectWithEntityName(String entityName,
boolean allowsMultipleGlobalIDs,
boolean allowsInserting)
canSelectByInsertingWithEntityName
public boolean canSelectByInsertingWithEntityName(String entityName)
selectByInsertingWithEntityName
public EOGlobalID selectByInsertingWithEntityName(String entityName)
canQueryWithEntityName
public boolean canQueryWithEntityName(String entityName)
queryWithEntityName
public EOControllerFactory.Query queryWithEntityName(String entityName)
canInsertWithEntityName
public boolean canInsertWithEntityName(String entityName)
insertWithEntityName
public EOControllerFactory.Insert insertWithEntityName(String entityName)
canOpenGlobalIDsWithEntityName
public boolean canOpenGlobalIDsWithEntityName(String entityName)
openGlobalIDWithEntityName
public EOControllerFactory.Open openGlobalIDWithEntityName(String entityName,
EOGlobalID globalID)
openGlobalIDsWithEntityName
public NSArray openGlobalIDsWithEntityName(String entityName,
NSArray globalIDs)
canOpenWithEntityName
public boolean canOpenWithEntityName(String entityName)
openSingleWithEntityName
public EOControllerFactory.Open openSingleWithEntityName(String entityName)
openWithEntityName
public NSArray openWithEntityName(String entityName)
canListWithEntityName
public boolean canListWithEntityName(String entityName)
listWithEntityName
public EOControllerFactory.List listWithEntityName(String entityName)
listFetchSpecificationWithEntityName
public EOControllerFactory.List listFetchSpecificationWithEntityName(String entityName,
EOFetchSpecification fetchSpecification)
listGlobalIDsWithEntityName
public EOControllerFactory.List listGlobalIDsWithEntityName(String entityName,
NSArray globalIDs)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2008 Apple Inc.