public class ERD2WUtilities extends Object
Constructor and Description |
---|
ERD2WUtilities() |
Modifier and Type | Method and Description |
---|---|
static boolean |
assignmentsAreEqual(com.webobjects.directtoweb.Assignment a1,
com.webobjects.directtoweb.Assignment a2) |
static Object |
contextValueForKeyNoInferenceNoException(com.webobjects.directtoweb.D2WContext c,
String keyPath) |
static <T> T |
enclosingComponentOfClass(com.webobjects.appserver.WOComponent sender,
Class<T> c)
This method is similar to enclosingPageOfClass.
|
static com.webobjects.appserver.WOComponent |
enclosingPageOfClass(com.webobjects.appserver.WOComponent sender,
Class c)
Utility to return the first enclosing component that matches the given class, if there is one.
|
static void |
finalizeContext(com.webobjects.directtoweb.D2WContext context) |
static com.webobjects.appserver.WOComponent |
nextPageInPage(D2WPage parent)
Utility to return the next page in the enclosing page.
|
D2WPage |
parentD2WPage(com.webobjects.appserver.WOComponent sender)
Utility to return the enclosing D2W page, if there is one.
|
static com.webobjects.directtoweb.EditPageInterface |
parentEditPage(com.webobjects.appserver.WOComponent sender)
Utility to return the enclosing edit page, if there is one.
|
static com.webobjects.directtoweb.ListPageInterface |
parentListPage(com.webobjects.appserver.WOComponent sender)
Utility to return the enclosing list page, if there is one.
|
static ERDPickPageInterface |
parentPickPage(com.webobjects.appserver.WOComponent sender)
Utility to return the enclosing pick page, if there is one.
|
static com.webobjects.directtoweb.QueryPageInterface |
parentQueryPage(com.webobjects.appserver.WOComponent sender)
Utility to return the enclosing query page, if there is one.
|
static com.webobjects.directtoweb.SelectPageInterface |
parentSelectPage(com.webobjects.appserver.WOComponent sender)
Utility to return the enclosing select page, if there is one.
|
static void |
resetContextCache(com.webobjects.directtoweb.D2WContext context) |
static D2WPage |
topLevelD2WPage(com.webobjects.appserver.WOComponent sender)
Utility to return the outermost page that is a D2W page.
|
public static void finalizeContext(com.webobjects.directtoweb.D2WContext context)
public static void resetContextCache(com.webobjects.directtoweb.D2WContext context)
public static boolean assignmentsAreEqual(com.webobjects.directtoweb.Assignment a1, com.webobjects.directtoweb.Assignment a2)
public static Object contextValueForKeyNoInferenceNoException(com.webobjects.directtoweb.D2WContext c, String keyPath)
public static com.webobjects.appserver.WOComponent nextPageInPage(D2WPage parent)
public static com.webobjects.appserver.WOComponent enclosingPageOfClass(com.webobjects.appserver.WOComponent sender, Class c)
public static <T> T enclosingComponentOfClass(com.webobjects.appserver.WOComponent sender, Class<T> c)
T
- The class typesender
- the sender componentc
- the classpublic static D2WPage topLevelD2WPage(com.webobjects.appserver.WOComponent sender)
public static com.webobjects.directtoweb.ListPageInterface parentListPage(com.webobjects.appserver.WOComponent sender)
public static com.webobjects.directtoweb.EditPageInterface parentEditPage(com.webobjects.appserver.WOComponent sender)
public static com.webobjects.directtoweb.SelectPageInterface parentSelectPage(com.webobjects.appserver.WOComponent sender)
public static com.webobjects.directtoweb.QueryPageInterface parentQueryPage(com.webobjects.appserver.WOComponent sender)
public static ERDPickPageInterface parentPickPage(com.webobjects.appserver.WOComponent sender)
public D2WPage parentD2WPage(com.webobjects.appserver.WOComponent sender)
Copyright © 2002 – 2020 Project Wonder.