|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object pt.digitalis.dif.codegen.templates.TemplateResources
public final class TemplateResources
Resources used by the DEM Entity templates on the code generation.
Method Summary | |
---|---|
static CallbackType |
getCallBack(String id)
Returns a callback type |
static IDEMManager |
getDEMManager()
Returns the DEM manager. |
static IDocumentRepositoryManager |
getDocumentRepositoryManager()
Inspector for the 'documentRepositoryManager' attribute. |
static EventType |
getEventType(String id)
Returns an event type |
static TemplateResources |
getInstance()
|
static Object |
getIoCImplementation(String clazz)
Returns an IoC implementation |
static IMessageManager |
getMessageManager()
Returns the message manager. |
static IParameterManager |
getParameterManager()
Returns the parameter manager. |
static ParameterScope |
getParameterScope(String scope)
Returns the parameter scope |
static IParameters |
getParametersInstance(IStageInstance stage)
Returns a IParameters instance Development note: This is a workaround for a Javassist bug. |
static List<IProvider> |
getProvidersAsList()
Returns the providers as a List of IProvider |
static IRegistrationManager |
getRegistrationManager()
Returns the registration manager. |
static String |
getRequestParameter(IDIFContext context,
String id)
returns a given parameter form the request |
ViewObject |
stageExecute(IStageInstance stageInstance,
IDIFContext context)
The stage execute logic |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CallbackType getCallBack(String id)
id
- the id of the call back to return
public static IDEMManager getDEMManager()
public static IDocumentRepositoryManager getDocumentRepositoryManager()
public static EventType getEventType(String id)
id
- the id of the event to return
public static TemplateResources getInstance()
public static Object getIoCImplementation(String clazz)
clazz
- the class that defines the implementation interface
public static IMessageManager getMessageManager()
public static IParameterManager getParameterManager()
public static ParameterScope getParameterScope(String scope)
scope
- the scope as a param
public static IParameters getParametersInstance(IStageInstance stage)
stage
- the stage to get the parameters for
public static List<IProvider> getProvidersAsList()
IProvider
public static IRegistrationManager getRegistrationManager()
public static String getRequestParameter(IDIFContext context, String id)
context
- the current contextid
- the Id of the desired parameter
public ViewObject stageExecute(IStageInstance stageInstance, IDIFContext context)
stageInstance
- context
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |