|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object er.directtoweb.ERDirectToWeb
Principle class of the ERDirectToWeb framework.
This class is loaded when the NSBundle of this
framework is loaded. When loaded this class configures
the directtoweb runtime to use the ERD2WModel
and
ERD2WFactory
subclasses instead of the default
implementations. See each class for a description of the
additions/improvements made to the base implementation.
This class also has a bunch of utility methods that are
used throughout this framework.
Nested Class Summary | |
static class |
ERDirectToWeb._Observer
|
static class |
ERDirectToWeb.D2WException
Subclass of NSForwardException that can hold a d2wContext. |
static class |
ERDirectToWeb.Observer
|
Field Summary | |
static ERXLogger |
componentNameLog
|
static String |
D2WDEBUGGING_ENABLED_KEY
|
static String |
D2WDISPLAY_COMPONENTNAMES_KEY
|
static String |
D2WDISPLAY_PROPERTYKEYS_KEY
|
static ERXLogger |
debugLog
|
static ERXLogger |
log
logging support |
static ERXLogger |
propertyKeyLog
|
static ERXLogger |
trace
|
Constructor Summary | |
ERDirectToWeb()
|
Method Summary | |
static boolean |
booleanForKey(D2WContext context,
String key)
|
static void |
configureTraceRuleFiring()
|
static void |
configureTraceRuleFiringRapidTurnAround()
|
static NSMutableArray |
convertedPropertyKeyArray(NSArray keyArray,
char startChar,
char endChar)
Converts a given array of keys to a format usable for section and tab display. |
static String |
convertedPropertyKeyFromString(String s,
char start,
char end)
Checks if a given property key is in the format (foo) or [foo] and returns the stripped string. |
static String |
createConfigurationForEntityNamed(String entityName)
|
static WOComponent |
csvExportPageForD2WContext(D2WContext context,
WOSession session)
Deprecated. use ERD2WFactory.erFactory().csvExportPageForD2WContext(D2WContext context, WOSession session) |
static boolean |
d2wComponentNameDebuggingEnabled(WOSession s)
|
static D2WContext |
d2wContext()
|
static Object |
d2wContextValueForKey(String key,
String entityName)
|
static Object |
d2wContextValueForKey(String key,
String entityName,
NSDictionary extraValuesForContext)
|
static boolean |
d2wDebuggingEnabled(WOSession s)
|
static boolean |
d2wPropertyKeyDebuggingEnabled(WOSession s)
|
static NSArray |
displayableArrayForKeyPathArray(NSArray array,
String entityForReportName,
String language)
|
static String |
displayNameForPropertyKey(String key,
String entityName,
String language)
|
static WOComponent |
errorPageForException(Throwable e,
WOSession session)
Deprecated. use ERD2WFactory.erFactory().errorPageForException(Throwable e, WOSession session) |
static WOComponent |
pageForTaskSubTaskAndEntityNamed(String task,
String subtask,
String entityName,
WOSession session)
Deprecated. use ERD2WFactory.erFactory().pageForTaskSubTaskAndEntityNamed(String task, String subtask, String entityName, WOSession session) |
static WOComponent |
printerFriendlyPageForD2WContext(D2WContext context,
WOSession session)
Deprecated. use ERD2WFactory.erFactory().printerFriendlyPageForD2WContext(D2WContext context, WOSession session) |
static QueryPageInterface |
queryPageWithFetchSpecificationForEntityNamed(String fsName,
String entityName,
WOSession session)
Deprecated. use ERD2WFactory.erFactory().queryPageWithFetchSpecificationForEntityNamed(String fsName, String entityName, WOSession session) |
static void |
reportException(Exception ex,
D2WContext d2wContext)
|
static String |
resolveUnit(String userInfoUnitString,
EOEnterpriseObject object,
String prefixKeyPath)
|
static void |
setD2wComponentNameDebuggingEnabled(WOSession s,
boolean enabled)
|
static void |
setD2wDebuggingEnabled(WOSession s,
boolean enabled)
|
static void |
setD2wPropertyKeyDebuggingEnabled(WOSession s,
boolean enabled)
|
static String |
userInfoUnit(EOEnterpriseObject object,
String key)
|
static void |
warmUpRuleCache()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final ERXLogger log
public static final String D2WDEBUGGING_ENABLED_KEY
public static final String D2WDISPLAY_COMPONENTNAMES_KEY
public static final String D2WDISPLAY_PROPERTYKEYS_KEY
public static final ERXLogger debugLog
public static final ERXLogger componentNameLog
public static final ERXLogger propertyKeyLog
public static ERXLogger trace
Constructor Detail |
public ERDirectToWeb()
Method Detail |
public static void setD2wDebuggingEnabled(WOSession s, boolean enabled)
public static boolean d2wDebuggingEnabled(WOSession s)
public static void setD2wComponentNameDebuggingEnabled(WOSession s, boolean enabled)
public static boolean d2wComponentNameDebuggingEnabled(WOSession s)
public static void setD2wPropertyKeyDebuggingEnabled(WOSession s, boolean enabled)
public static boolean d2wPropertyKeyDebuggingEnabled(WOSession s)
public static String resolveUnit(String userInfoUnitString, EOEnterpriseObject object, String prefixKeyPath)
public static String convertedPropertyKeyFromString(String s, char start, char end)
s
- the String to convertstart
- the start char
start
and ends with end
.public static NSMutableArray convertedPropertyKeyArray(NSArray keyArray, char startChar, char endChar)
keyArray
- the NSArray to convert
public static boolean booleanForKey(D2WContext context, String key)
public static String userInfoUnit(EOEnterpriseObject object, String key)
public static WOComponent printerFriendlyPageForD2WContext(D2WContext context, WOSession session)
public static WOComponent csvExportPageForD2WContext(D2WContext context, WOSession session)
public static WOComponent pageForTaskSubTaskAndEntityNamed(String task, String subtask, String entityName, WOSession session)
public static QueryPageInterface queryPageWithFetchSpecificationForEntityNamed(String fsName, String entityName, WOSession session)
public static WOComponent errorPageForException(Throwable e, WOSession session)
public static void reportException(Exception ex, D2WContext d2wContext)
public static String displayNameForPropertyKey(String key, String entityName, String language)
public static D2WContext d2wContext()
public static Object d2wContextValueForKey(String key, String entityName)
public static Object d2wContextValueForKey(String key, String entityName, NSDictionary extraValuesForContext)
public static String createConfigurationForEntityNamed(String entityName)
public static void warmUpRuleCache()
public static void configureTraceRuleFiringRapidTurnAround()
public static void configureTraceRuleFiring()
public static NSArray displayableArrayForKeyPathArray(NSArray array, String entityForReportName, String language)
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |