public class PositionFieldOrderInterface extends DouiAdministrationPropertyPageServiceInterface
order
interface.Modifier and Type | Field and Description |
---|---|
static String |
INTERFACE_ID
The identifier for this interface.
|
static String |
PARAMETER_POSITION_FIELD_GROUP
Parameter expected to contain the value used for filtering data by the position grouped by field.
|
static String |
PARAMETER_POSITION_FIELD_SERVICE_INSTANCE_ID
Parameter expected to contain the position field's service instance identifier.
|
static String |
PARAMETER_POSITION_FIELD_SERVICE_INTERFACE_INSTANCE_ID
Parameter expected to contain the position field's service interface instance identifier.
|
static String |
PARAMETER_POSITION_FIELD_SOURCE_ID
Parameter expected to contain the position field's source identifier.
|
VALIDATE_RENDER_PARAMETER
Constructor and Description |
---|
PositionFieldOrderInterface() |
Modifier and Type | Method and Description |
---|---|
protected void |
initDouiContext(DouiContext douiContext)
Initialize the Doui context, source container and control container.
|
void |
processAction(IServiceInterfaceActionRequest request,
IServiceInterfaceActionResponse response)
Called by the service interface container to allow the service interface to process an action
request.
|
void |
render(IServiceInterfaceRenderRequest request,
IServiceInterfaceRenderResponse response)
Called by the service interface container to allow the service interface to generate the
content of the response based on its current state.
|
getCustomMenu, register, setIsAdministrationProperty, setIsRuntimeOnlyProperty
addDefaultControls, addDefaultDouiDefinitionValues, addDefaultFields, addDefaultFilters, addDefaultHyperLinks, addDefaultInterfaceDouiDefinitionNode, addDefaultMaxRows, addDefaultOrderBy, addDefaultPostLoadProcessors, addDefaultProcessActions, addDefaultSources, addDetailsHyperLink, addPrimaryKeyFilter, getContext, getDefaultStyle, getInterfaceSourceFieldsNode, getMenu, getRepositoryMenus, loadFromRequest, loadSources, processActions, renderBefore, renderData, validate
instanceAdded, instanceDeleted, instanceLoaded, instanceUnLoaded, load, unload
public static final String INTERFACE_ID
public static final String PARAMETER_POSITION_FIELD_SERVICE_INSTANCE_ID
public static final String PARAMETER_POSITION_FIELD_SERVICE_INTERFACE_INSTANCE_ID
public static final String PARAMETER_POSITION_FIELD_SOURCE_ID
public static final String PARAMETER_POSITION_FIELD_GROUP
public void render(IServiceInterfaceRenderRequest request, IServiceInterfaceRenderResponse response) throws ServiceInterfaceException, PortalException
DouiServiceInterface
Executes the following steps (implemented by the referenced methods):
DouiServiceInterface.getContext(IServiceInterfaceRequest, IServiceInterfaceResponse, ITransaction)
DouiServiceInterface.initDouiContext(DouiContext)
DouiServiceInterface.loadFromRequest(DouiContext)
DouiServiceInterface.validate(DouiContext)
DouiServiceInterface.loadSources(DouiContext)
DouiServiceInterface.renderData(IServiceInterfaceRenderResponse, DouiContext)
render
in interface IServiceInterface
render
in class DouiServiceInterface
request
- the render requestresponse
- the render responseServiceInterfaceException
- if the service interface has problems fulfilling the rendering requestPortalException
- if the service interface is unavailable to perform render at this timepublic void processAction(IServiceInterfaceActionRequest request, IServiceInterfaceActionResponse response) throws ServiceInterfaceException, PortalException
DouiServiceInterface
RenderResponse.createActionURL()
method.
Typically, in response to an action request, a service interface updates state based on the information sent in the action request parameters. In an action the service interface may:
A client request triggered by an action URL translates into one action request and many render requests, one per service interface in the portal page. The action processing must be finished before the render requests can be issued.
Execute the following steps (implemented by the referenced methods):
DouiServiceInterface.getContext(IServiceInterfaceRequest, IServiceInterfaceResponse, ITransaction)
DouiServiceInterface.initDouiContext(DouiContext)
DouiServiceInterface.loadFromRequest(DouiContext)
DouiServiceInterface.validate(DouiContext)
DouiServiceInterface.processActions(DouiContext)
processAction
in interface IServiceInterface
processAction
in class DouiServiceInterface
request
- the action requestresponse
- the action responseServiceInterfaceException
- if the service interface has problems fulfilling the requestPortalException
- if the service interface is unavailable to process the action at this timeprotected void initDouiContext(DouiContext douiContext) throws PortalException
DouiServiceInterface
initDouiContext
in class DouiServiceInterface
PortalException
- if an error occur during the initialization process.LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.