org.jwarp.service.flow
Interface IScreenService
- All Superinterfaces:
- IConfigurable, IExceptionProvider, IService
- public interface IScreenService
- extends IService
| Methods inherited from interface org.jwarp.service.IService |
checkContext, getDependencies, getLogLevel, getName, getStatus, getType, resume, setContext, setDependencies, setLogLevel, shutdown, start, suspend |
SERVICE_TYPE
public static final java.lang.String SERVICE_TYPE
getActiveScreen
public IScreen getActiveScreen(java.lang.String id,
IWorkflowContext context)
throws NotFoundException
- Return the active screen instance given the id. The active screen instances are stored
within the current workflow context This methods tries to extract the required screen
instance. If no such instance is existing a FormInitException will be thrown. This method is
also used by the web environment to dispatch http requests.
- Parameters:
id - The screen namecontext - The Workflow context- Returns:
- The screen instance.
- Throws:
FormInitException - If no such screen is present
showScreen
public void showScreen(IScreen screen,
IWorkflowContext context,
ITicket user)
throws FormInitException
- Shows the given screen instance. This will lead in creating a new real time job
for the job scheduler who actually will map and show up the screen.
- Parameters:
The - screen to cancelThe - user or admin user
getActiveScreenInstances
public java.util.Iterator getActiveScreenInstances()
- Get all currently active/available screen instances.
- Returns:
- The screens