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(WOComponent sender,
Class<T> c)
This method is similar to enclosingPageOfClass.
|
static WOComponent |
enclosingPageOfClass(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 WOComponent |
nextPageInPage(D2WPage parent)
Utility to return the next page in the enclosing page.
|
D2WPage |
parentD2WPage(WOComponent sender)
Utility to return the enclosing D2W page, if there is one.
|
static com.webobjects.directtoweb.EditPageInterface |
parentEditPage(WOComponent sender)
Utility to return the enclosing edit page, if there is one.
|
static com.webobjects.directtoweb.ListPageInterface |
parentListPage(WOComponent sender)
Utility to return the enclosing list page, if there is one.
|
static ERDPickPageInterface |
parentPickPage(WOComponent sender)
Utility to return the enclosing pick page, if there is one.
|
static com.webobjects.directtoweb.QueryPageInterface |
parentQueryPage(WOComponent sender)
Utility to return the enclosing query page, if there is one.
|
static com.webobjects.directtoweb.SelectPageInterface |
parentSelectPage(WOComponent sender)
Utility to return the enclosing select page, if there is one.
|
static void |
resetContextCache(com.webobjects.directtoweb.D2WContext context) |
static D2WPage |
topLevelD2WPage(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 WOComponent nextPageInPage(D2WPage parent)
public static WOComponent enclosingPageOfClass(WOComponent sender, Class c)
public static <T> T enclosingComponentOfClass(WOComponent sender, Class<T> c)
T
- The class typesender
- the sender componentc
- the classpublic static D2WPage topLevelD2WPage(WOComponent sender)
public static com.webobjects.directtoweb.ListPageInterface parentListPage(WOComponent sender)
public static com.webobjects.directtoweb.EditPageInterface parentEditPage(WOComponent sender)
public static com.webobjects.directtoweb.SelectPageInterface parentSelectPage(WOComponent sender)
public static com.webobjects.directtoweb.QueryPageInterface parentQueryPage(WOComponent sender)
public static ERDPickPageInterface parentPickPage(WOComponent sender)
public D2WPage parentD2WPage(WOComponent sender)
Copyright © 2002 – 2024 Project Wonder.