T
- public interface FormFactoryProvider<T> extends FormPolicy, java.lang.Comparable
FormFactoryProviderRegistry
![]() |
![]() |
Modifier and Type | Method and Description |
---|---|
FormCreator |
getFormCreator(AppContext c)
generate a FormCreator appropriate to the specified USer
If user specialisation is required the SessionService can be retrieved from
the AppContext
|
FormUpdate<T> |
getFormUpdate(AppContext c)
generate a FormUpdate object appropriate to the specified user.
|
java.lang.String |
getID(T target)
convert target object to id string.
|
java.lang.String |
getName()
Name of the object type as presented to the User
|
T |
getTarget(AppContext c,
java.lang.String id)
Convert id string to target object
This is needed in order to transfer the target between transitions
|
canCreate, canUpdate
FormUpdate<T> getFormUpdate(AppContext c) throws java.lang.Exception
c
- AppContextjava.lang.Exception
FormCreator getFormCreator(AppContext c) throws java.lang.Exception
c
- AppContextjava.lang.Exception
java.lang.String getName()
T getTarget(AppContext c, java.lang.String id)
c
- AppContextid
- java.lang.String getID(T target)
target
-