Class WidgetListServiceInterface
- java.lang.Object
-
- lumis.portal.serviceinterface.GenericServiceInterface
-
- lumis.doui.service.DouiServiceInterface
-
- lumis.content.service.ContentServiceInterface
-
- lumis.content.service.ContentGenericListServiceInterface
-
- lumis.content.service.ContentListServiceInterface
-
- lumis.service.pagepersonalization.doui.serviceinterface.WidgetListServiceInterface
-
- All Implemented Interfaces:
IDouiServiceInterface
,IServiceInterface
,IServiceInterfaceMenu
public class WidgetListServiceInterface extends ContentListServiceInterface
Widgets holder service interface.- Since:
- 6.0.0
- Version:
- $Revision: 20251 $ $Date: 2017-06-13 15:38:52 -0300 (Tue, 13 Jun 2017) $
-
-
Field Summary
-
Fields inherited from class lumis.doui.service.DouiServiceInterface
VALIDATE_RENDER_PARAMETER
-
-
Constructor Summary
Constructors Constructor Description WidgetListServiceInterface()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
Methods inherited from class lumis.content.service.ContentListServiceInterface
register
-
Methods inherited from class lumis.content.service.ContentGenericListServiceInterface
addDefaultControls, addDefaultFields, addDefaultHyperLinks, getCustomMenu, setIsListProperty, setPreviewSupportedProperty
-
Methods inherited from class lumis.content.service.ContentServiceInterface
addDefaultOrderBy, getDefaultStyle, getRepositoryMenus, load
-
Methods inherited from class lumis.doui.service.DouiServiceInterface
addDefaultDouiDefinitionValues, addDefaultFilters, addDefaultInterfaceDouiDefinitionNode, addDefaultMaxRows, addDefaultPostLoadProcessors, addDefaultProcessActions, addDefaultSources, addDetailsHyperLink, addPrimaryKeyFilter, getContext, getInterfaceSourceFieldsNode, getMenu, initDouiContext, loadFromRequest, loadSources, processAction, processActions, renderBefore, renderData, validate
-
Methods inherited from class lumis.portal.serviceinterface.GenericServiceInterface
instanceAdded, instanceDeleted, instanceLoaded, instanceUnLoaded, unload
-
-
-
-
Method Detail
-
render
public void render(IServiceInterfaceRenderRequest request, IServiceInterfaceRenderResponse response) throws ServiceInterfaceException, PortalException
Description copied from class:DouiServiceInterface
Called by the service interface container to allow the service interface to generate the content of the response based on its current state.Executes the following steps (implemented by the referenced methods):
- Create the Doui context:
DouiServiceInterface.getContext(IServiceInterfaceRequest, IServiceInterfaceResponse, ITransaction)
- Initialize the Doui context:
DouiServiceInterface.initDouiContext(DouiContext)
- Load information from request:
DouiServiceInterface.loadFromRequest(DouiContext)
- Perform validations:
DouiServiceInterface.validate(DouiContext)
- Load sources:
DouiServiceInterface.loadSources(DouiContext)
- Render data:
DouiServiceInterface.renderData(IServiceInterfaceRenderResponse, DouiContext)
- Specified by:
render
in interfaceIServiceInterface
- Overrides:
render
in classContentServiceInterface
- Parameters:
request
- the render requestresponse
- the render response- Throws:
ServiceInterfaceException
- if the service interface has problems fulfilling the rendering requestPortalException
- if the service interface is unavailable to perform render at this time
- Create the Doui context:
-
-