|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.uif.util.ViewCleaner
public class ViewCleaner
Utility class for trimming component instances for storage
Invoked to trim the view instance before storing on the form as the post view. Certain information is keep around to support post methods that need to operate on the previous view configuration. Examples include component refresh and collection add/delete line.
Constructor Summary | |
---|---|
ViewCleaner()
|
Method Summary | |
---|---|
static void |
cleanCollectionGroup(CollectionGroup collectionGroup)
Cleans a collection group instance removing the items and collection prototypes (note add line fields are keep around to support the add line action) |
static void |
cleanContainer(Container container)
General purpose method to clean any container, removes all nested components except the items list |
static void |
cleanInputField(InputField inputField)
Cleans an input field instance removing the control and inherited component properties |
static void |
cleanView(View view)
Cleans a view instance removing all pages except the current page and then invoking the view index to perform cleaning on contained components |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ViewCleaner()
Method Detail |
---|
public static void cleanView(View view)
view
- - view instance to cleanpublic static void cleanCollectionGroup(CollectionGroup collectionGroup)
collectionGroup
- - collection group instance to cleanpublic static void cleanContainer(Container container)
container
- - container instance to cleanpublic static void cleanInputField(InputField inputField)
inputField
- - input field instance to clean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |