Package lumis.service.comment
Class CommentQuickListServiceInterface
- java.lang.Object
-
- lumis.portal.serviceinterface.GenericServiceInterface
-
- lumis.doui.service.DouiServiceInterface
-
- lumis.content.service.ContentServiceInterface
-
- lumis.content.service.ContentGenericListServiceInterface
-
- lumis.content.service.ContentQuickListServiceInterface
-
- lumis.service.comment.CommentQuickListServiceInterface
-
- All Implemented Interfaces:
IDouiServiceInterface
,IServiceInterface
,IServiceInterfaceMenu
public class CommentQuickListServiceInterface extends ContentQuickListServiceInterface
It decides if the interface is rendered or not, based on the presence of an itemId.- Since:
- 4.0.10
- Version:
- $Revision: 21479 $ $Date: 2018-07-06 11:45:33 -0300 (Fri, 06 Jul 2018) $
-
-
Field Summary
-
Fields inherited from class lumis.doui.service.DouiServiceInterface
VALIDATE_RENDER_PARAMETER
-
-
Constructor Summary
Constructors Constructor Description CommentQuickListServiceInterface()
-
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.ContentQuickListServiceInterface
addDefaultControls, register
-
Methods inherited from class lumis.content.service.ContentGenericListServiceInterface
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:
-
-