Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.seam.transaction
Class FacesTransactionEvents

    java.lang.Object
      org.jboss.seam.transaction.FacesTransactionEvents

    @Name(value="org.jboss.seam.transaction.facesTransactionEvents")
    @Scope(value=APPLICATION)
    @Install(precedence=0,
             classDependencies="javax.faces.context.FacesContext")
    @BypassInterceptors
    @Startup
    public class FacesTransactionEvents

extends Object

Produces StatusMessages for JSF in response of certain transaction events. These events can be observed by support classes for other UI frameworks to produce similar messages.

Author:
  Dan Allen

Constructor Summary
`FacesTransactionEvents()`

Method Summary
`void` | `addTransactionFailedMessage(int status)`
`String` | `getTransactionFailedMessage()`
`String` | `getTransactionFailedMessageKey()`
`StatusMessage.Severity` | `getTransactionFailedMessageSeverity()`
`boolean` | `isTransactionFailedMessageEnabled()`
`void` | `setTransactionFailedMessageEnabled(boolean enabled)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### FacesTransactionEvents

    public FacesTransactionEvents()

Method Detail

### addTransactionFailedMessage

    @Observer(value="org.jboss.seam.transaction.transactionFailed")
    public void addTransactionFailedMessage(int status)

### getTransactionFailedMessage

    public String getTransactionFailedMessage()

### getTransactionFailedMessageSeverity

    public StatusMessage.Severity getTransactionFailedMessageSeverity()

### getTransactionFailedMessageKey

    public String getTransactionFailedMessageKey()

### isTransactionFailedMessageEnabled

    public boolean isTransactionFailedMessageEnabled()

### setTransactionFailedMessageEnabled

    public void setTransactionFailedMessageEnabled(boolean enabled)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Seam Core JSF2 2.3.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 Seam Framework. All Rights Reserved.