@StableMinor(version="12.3", sinceVersion="4.0") public class ContentServiceInterface extends DouiServiceInterface
VALIDATE_RENDER_PARAMETER
Constructor and Description |
---|
ContentServiceInterface() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
addDefaultOrderBy(Node serviceInterfaceSourceNode,
Node serviceDouiDefinitionNode,
Node serviceInterfaceXmlNode) |
protected String |
getCustomMenu(SessionConfig sessionConfig,
ServiceInterfaceInstanceConfig config,
ITransaction transaction) |
protected String |
getDefaultStyle() |
String |
getRepositoryMenus(SessionConfig sessionConfig,
ServiceInterfaceInstanceConfig config,
ITransaction transaction) |
void |
load(ServiceInterfaceConfig config)
Called by the service interface container to indicate to a service interface that the service
interface is being placed into service.
|
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.
|
addDefaultControls, addDefaultDouiDefinitionValues, addDefaultFields, addDefaultFilters, addDefaultHyperLinks, addDefaultInterfaceDouiDefinitionNode, addDefaultMaxRows, addDefaultPostLoadProcessors, addDefaultProcessActions, addDefaultSources, addDetailsHyperLink, addPrimaryKeyFilter, getContext, getInterfaceSourceFieldsNode, getMenu, initDouiContext, loadFromRequest, loadSources, processAction, processActions, register, renderBefore, renderData, validate
instanceAdded, instanceDeleted, instanceLoaded, instanceUnLoaded, unload
public void load(ServiceInterfaceConfig config) throws ServiceInterfaceException, PortalException
IServiceInterface
The service interface container calls the init
method exactly once after
instantiating the service interface. The init
method must complete
successfully before the service interface can receive any requests.
The service interface container cannot place the service interface into service if the
init
method
ServiceInterfaceException
load
in interface IServiceInterface
load
in class GenericServiceInterface
config
- a ServiceInterfaceConfig
object containing the service interface's
configuration and initialization parametersServiceInterfaceException
- if an exception has occurred that interferes with the service interface's
normal operation.PortalException
- if the service interface cannot perform the initialization at this time.protected String getDefaultStyle()
getDefaultStyle
in class DouiServiceInterface
protected String getCustomMenu(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig config, ITransaction transaction) throws PortalException
getCustomMenu
in class DouiServiceInterface
PortalException
public String getRepositoryMenus(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig config, ITransaction transaction) throws PortalException
getRepositoryMenus
in class DouiServiceInterface
PortalException
protected boolean addDefaultOrderBy(Node serviceInterfaceSourceNode, Node serviceDouiDefinitionNode, Node serviceInterfaceXmlNode) throws PortalException
addDefaultOrderBy
in class DouiServiceInterface
PortalException
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 timeLumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.