|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.seam.framework.Controller org.jboss.seam.framework.PersistenceController<T> org.jboss.seam.ui.AbstractEntityLoader<T>
public abstract class AbstractEntityLoader<T>
Helper class to load entities for the entity converter
Constructor Summary | |
---|---|
AbstractEntityLoader()
|
Method Summary | |
---|---|
protected abstract org.jboss.seam.framework.Identifier |
createIdentifier(Object entity)
|
Object |
get(String key)
Load and return the entity stored |
static AbstractEntityLoader |
instance()
|
String |
put(Object entity)
Store an entity id/clazz |
abstract void |
validate()
|
Methods inherited from class org.jboss.seam.framework.PersistenceController |
---|
getPersistenceContext, getPersistenceContextName, setPersistenceContext |
Methods inherited from class org.jboss.seam.framework.Controller |
---|
addCookie, addFacesMessage, addFacesMessageFromResourceBundle, createValueExpression, createValueExpression, debug, debug, error, error, evaluateValueExpression, evaluateValueExpression, failValidation, fatal, fatal, getApplicationContext, getBusinessProcessContext, getComponentInstance, getComponentInstance, getConversation, getConversationContext, getCookie, getEventContext, getEvents, getFacesContext, getFacesMessages, getIdentity, getLog, getMessages, getMethodContext, getPageContext, getRedirect, getSessionContext, getStatusMessages, getValidator, getValidator, info, info, interpolate, invalidateSession, isTransactionMarkedRollback, raiseAsynchronousEvent, raiseEvent, raiseTransactionSuccessEvent, render, sendHttpError, sendHttpError, trace, trace, validationFailed, validationSucceeded, warn, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractEntityLoader()
Method Detail |
---|
@Transactional public Object get(String key)
key
-
@Transactional public String put(Object entity)
entity
- The entity to store
protected abstract org.jboss.seam.framework.Identifier createIdentifier(Object entity)
public abstract void validate()
public static AbstractEntityLoader instance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |