Class ButtonView
- java.lang.Object
-
- org.primefaces.showcase.view.button.ButtonView
-
@Named @RequestScoped public class ButtonView extends Object
-
-
Constructor Summary
Constructors Constructor Description ButtonView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMessage(String summary)voidbuttonAction()voiddelete()MenuModelgetModel()voidinit()Stringsave()voidsleepAndDelete()StringsleepAndSave()voidsleepAndUpdate()voidupdate()
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
getModel
public MenuModel getModel()
-
save
public String save()
-
update
public void update()
-
delete
public void delete()
-
sleepAndSave
public String sleepAndSave() throws InterruptedException
- Throws:
InterruptedException
-
sleepAndUpdate
public void sleepAndUpdate() throws InterruptedException- Throws:
InterruptedException
-
sleepAndDelete
public void sleepAndDelete() throws InterruptedException- Throws:
InterruptedException
-
buttonAction
public void buttonAction()
-
addMessage
public void addMessage(String summary)
-
-