Class MenuView
- java.lang.Object
-
- org.primefaces.showcase.view.menu.MenuView
-
- All Implemented Interfaces:
Serializable
@Named @ViewScoped public class MenuView extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MenuView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMessage(String summary, String detail)voiddelete()org.primefaces.model.menu.MenuModelgetModel()voidinit()voidredirect()voidsave()voidsleepAndDelete()voidsleepAndSave()voidsleepAndUpdate()voidupdate()
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getModel
public org.primefaces.model.menu.MenuModel getModel()
-
redirect
public void redirect() throws IOException- Throws:
IOException
-
save
public void save()
-
update
public void update()
-
delete
public void delete()
-
sleepAndSave
public void sleepAndSave() throws InterruptedException- Throws:
InterruptedException
-
sleepAndUpdate
public void sleepAndUpdate() throws InterruptedException- Throws:
InterruptedException
-
sleepAndDelete
public void sleepAndDelete() throws InterruptedException- Throws:
InterruptedException
-
-