|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStage
This interface represents a Stage entity on the DEM.
A Stage is related to a Service.
Method Summary | |
---|---|
IStage |
getDefaultErrorStage()
Returns the default error Stage defined for this Stage |
ViewObject |
getDefaultErrorView()
Returns the default error view defined for this Stage. |
ViewObject |
getDefaultView()
Returns the default view. |
Map<EventType,List<String>> |
getEventHandlers()
Returns the list of all the Stages submit handlers. |
Map<String,String> |
getInjectedErrorStages()
Returns the list of all the error Stages injected in this Stage. |
Map<String,ViewObject> |
getInjectedErrorViews()
Returns the list of all the error views injected in this Stage. |
List<String> |
getInjectedStages()
Returns the list of all the Stages injected in this Stage. |
List<ViewObject> |
getInjectedViews()
Returns the list of all the views injected in this Stage. |
IStageInstance |
getInstance()
Return an instance of the stage for execution |
String |
getMessageForLanguage(String language,
String messageID)
Returns a message associated with a given ID |
Map<String,String> |
getMessagesForLanguage(String language)
Returns all messages associated with the Entity. |
String |
getOverridesStageID()
|
IParameters |
getParameters()
Returns the parameters for the current stage |
IService |
getService()
Returns the Stage service. |
String |
getStageInstanceClassName()
Obtains the original stage class name |
boolean |
hasAuthentication()
Defines if the stage has authentication. |
boolean |
hasAuthenticationErrorInjection()
Registers if the stage has injected the authentication errors. |
boolean |
hasAuthorization()
Defines if the stage has authorization. |
boolean |
hasInjectedContributions()
|
boolean |
hasParameterErrorInjection()
Registers if the stage has injected the parameter errors. |
boolean |
hasValidationLogicForForm(String formName)
Checks if the current form has a validation logic handler for the given form |
Methods inherited from interface pt.digitalis.dif.dem.interfaces.IEntity |
---|
getID, getName, getOriginalClassName, getUID |
Methods inherited from interface pt.digitalis.dif.dem.interfaces.ICallback |
---|
getCallbackType, hasCallbackEnabled |
Methods inherited from interface pt.digitalis.dif.dem.interfaces.IRegistrable |
---|
getLicenseEdition, isRegistered, isRegistrable, register, unregister |
Method Detail |
---|
IStage getDefaultErrorStage()
ViewObject getDefaultErrorView()
ViewObject getDefaultView()
Map<EventType,List<String>> getEventHandlers()
Map<String,String> getInjectedErrorStages()
Map<String,ViewObject> getInjectedErrorViews()
List<String> getInjectedStages()
List<ViewObject> getInjectedViews()
IStageInstance getInstance()
String getMessageForLanguage(String language, String messageID)
language
- the language to get the messages inmessageID
- the message ID
Map<String,String> getMessagesForLanguage(String language)
language
- the language to get the messages in
String getOverridesStageID()
IParameters getParameters()
IService getService()
String getStageInstanceClassName()
boolean hasAuthentication()
boolean hasAuthenticationErrorInjection()
boolean hasAuthorization()
boolean hasInjectedContributions()
Inject
boolean hasParameterErrorInjection()
boolean hasValidationLogicForForm(String formName)
formName
- the form name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |