com.webobjects.directtoweb
Class D2WUtils
java.lang.Object
|
+--com.webobjects.directtoweb.D2WUtils
- public class D2WUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
D2WUtils
public D2WUtils()
allEntities
public static NSArray allEntities()
appletViewerCommand
public static String appletViewerCommand()
applicationPort
public static int applicationPort()
availableKeysForInterfaceAndKeyPath
public static NSArray availableKeysForInterfaceAndKeyPath(com.webobjects._eoproject._WBInterfaceDescriptor i,
NSArray keyPath)
darker
public static String darker(String hexColor)
dataTypeForCustomKeyAndEntity
public static final Class dataTypeForCustomKeyAndEntity(String customKey,
EOEntity entity)
flushCaches
protected static void flushCaches()
homeHrefInContext
public static String homeHrefInContext(WOContext context)
keyDescriptorForInterfaceAndKeyPath
public static com.webobjects._eoproject._WBKeyDescriptor keyDescriptorForInterfaceAndKeyPath(com.webobjects._eoproject._WBInterfaceDescriptor i,
NSArray keyPath)
lighter
public static String lighter(String hexColor)
makeSubContextForDynamicPageNamed
public static D2WContext makeSubContextForDynamicPageNamed(String pageName,
WOSession session)
makeSubContextForTaskAndEntity
public static D2WContext makeSubContextForTaskAndEntity(String task,
EOEntity entity,
WOSession session)
propertyKeyDescriptorsFromEntity
public static NSArray propertyKeyDescriptorsFromEntity(EOEntity e)
readOnlyEntityNames
public static NSArray readOnlyEntityNames(D2WContext c)
readableDateFormatDescription
public static String readableDateFormatDescription(String aString)
safeEquals
public static boolean safeEquals(Object o1,
Object o2)
smartDefaultEntityNames
public static NSArray smartDefaultEntityNames()
smartDefaultKeyForEntity
public static String smartDefaultKeyForEntity(EOEntity entity)
urlFromUrlAndFormValues
public static String urlFromUrlAndFormValues(String currentUrl,
NSDictionary formValues)
userDefaultsValueForKey
public static String userDefaultsValueForKey(String key)
visibleEntityNames
public static NSArray visibleEntityNames(D2WContext c)
Copyright © 2003 Apple Computer, Inc.