F - T - public abstract class AbstractFormFactoryProvider<F extends Contexed,T> extends java.lang.Object implements java.lang.Comparable, FormFactoryProvider<T>
| Constructor and Description |
|---|
AbstractFormFactoryProvider(java.lang.String name,
FormPolicy policy) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreate(SessionService p)
Can the current user create
|
boolean |
canUpdate(SessionService p)
Can the current user update
|
int |
compareTo(java.lang.Object o) |
protected boolean |
disabled(AppContext c) |
boolean |
equals(java.lang.Object obj) |
protected abstract F |
getFactory(AppContext c)
Get the Factory associated with this entry.
|
FormCreator |
getFormCreator(AppContext c)
Get a FormCreator appropriate for this type and the current person
|
FormUpdate<T> |
getFormUpdate(AppContext c)
Get a FormUpdate appropriate for this type and the current person
|
java.lang.String |
getName()
Name of the object type as presented to the User
|
int |
hashCode() |
protected abstract void |
register(java.lang.String clean_tag)
register this object with its parent collection.
|
boolean |
targets(AppContext c,
java.lang.Object target) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetID, getTargetpublic AbstractFormFactoryProvider(java.lang.String name,
FormPolicy policy)
protected abstract void register(java.lang.String clean_tag)
clean_tag - public java.lang.String getName()
FormFactoryProvidergetName in interface FormFactoryProvider<T>public boolean canUpdate(SessionService p)
FormPolicycanUpdate in interface FormPolicyp - Personpublic boolean canCreate(SessionService p)
FormPolicycanCreate in interface FormPolicyp - Personprotected boolean disabled(AppContext c)
protected abstract F getFactory(AppContext c) throws java.lang.Exception
c - java.lang.Exceptionpublic FormCreator getFormCreator(AppContext c) throws java.lang.Exception
getFormCreator in interface FormFactoryProvider<T>c - AppContextjava.lang.Exceptionpublic FormUpdate<T> getFormUpdate(AppContext c) throws java.lang.Exception
getFormUpdate in interface FormFactoryProvider<T>c - AppContestjava.lang.Exceptionpublic boolean targets(AppContext c, java.lang.Object target)
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object