Package lumis.content.service
Class ContentDetailsServiceInterface
- java.lang.Object
-
- lumis.portal.serviceinterface.GenericServiceInterface
-
- lumis.doui.service.DouiServiceInterface
-
- lumis.content.service.ContentServiceInterface
-
- lumis.content.service.ContentDetailsServiceInterface
-
- All Implemented Interfaces:
IDouiServiceInterface
,IServiceInterface
,IServiceInterfaceMenu
- Direct Known Subclasses:
HtmlContentDetailsInterface
public class ContentDetailsServiceInterface extends ContentServiceInterface
- Since:
- 4.0.0
- Version:
- $Revision: 22511 $ $Date: 2019-03-11 16:49:28 -0300 (Mon, 11 Mar 2019) $
-
-
Field Summary
-
Fields inherited from class lumis.doui.service.DouiServiceInterface
VALIDATE_RENDER_PARAMETER
-
-
Constructor Summary
Constructors Constructor Description ContentDetailsServiceInterface()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
addDefaultControls(Node serviceInterfaceDouiDefinitionNode, Node serviceDouiDefinitionNode, Node serviceInterfaceXmlNode)
protected boolean
addDefaultFields(Node serviceInterfaceSourceNode, Node serviceDouiDefinitionNode, Node serviceInterfaceXmlNode)
protected boolean
addDefaultMaxRows(Node serviceInterfaceSourceNode, Node serviceDouiDefinitionNode, Node serviceInterfaceXmlNode)
protected String
getCustomMenu(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig config, ITransaction transaction)
void
register(SessionConfig sessionConfig, Node serviceInterfaceXmlNode, ITransaction transaction)
Called by the service interface manager when a service interface definition is registered.protected void
renderData(IServiceInterfaceRenderResponse response, DouiContext douiContext)
Render data.protected void
setPreviewSupportedProperty(SessionConfig sessionConfig, Node serviceInterfaceXmlNode, ITransaction transaction)
-
Methods inherited from class lumis.content.service.ContentServiceInterface
addDefaultOrderBy, getDefaultStyle, getRepositoryMenus, load, render
-
Methods inherited from class lumis.doui.service.DouiServiceInterface
addDefaultDouiDefinitionValues, addDefaultFilters, addDefaultHyperLinks, addDefaultInterfaceDouiDefinitionNode, addDefaultPostLoadProcessors, addDefaultProcessActions, addDefaultSources, addDetailsHyperLink, addPrimaryKeyFilter, getContext, getInterfaceSourceFieldsNode, getMenu, initDouiContext, loadFromRequest, loadSources, processAction, processActions, renderBefore, validate
-
Methods inherited from class lumis.portal.serviceinterface.GenericServiceInterface
instanceAdded, instanceDeleted, instanceLoaded, instanceUnLoaded, unload
-
-
-
-
Method Detail
-
getCustomMenu
protected String getCustomMenu(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig config, ITransaction transaction) throws PortalException
- Overrides:
getCustomMenu
in classContentServiceInterface
- Throws:
PortalException
-
register
public void register(SessionConfig sessionConfig, Node serviceInterfaceXmlNode, ITransaction transaction) throws PortalException
Description copied from interface:IServiceInterface
Called by the service interface manager when a service interface definition is registered. This method allows the Service Interface implementation to set its default values into the service interface definition xml.- Specified by:
register
in interfaceIServiceInterface
- Overrides:
register
in classDouiServiceInterface
- Parameters:
sessionConfig
- TODOtransaction
- TODO- Throws:
PortalException
-
setPreviewSupportedProperty
protected void setPreviewSupportedProperty(SessionConfig sessionConfig, Node serviceInterfaceXmlNode, ITransaction transaction) throws PortalException
- Throws:
PortalException
-
addDefaultMaxRows
protected boolean addDefaultMaxRows(Node serviceInterfaceSourceNode, Node serviceDouiDefinitionNode, Node serviceInterfaceXmlNode) throws PortalException
- Overrides:
addDefaultMaxRows
in classDouiServiceInterface
- Throws:
PortalException
-
addDefaultFields
protected boolean addDefaultFields(Node serviceInterfaceSourceNode, Node serviceDouiDefinitionNode, Node serviceInterfaceXmlNode) throws PortalException
- Overrides:
addDefaultFields
in classDouiServiceInterface
- Throws:
PortalException
-
addDefaultControls
protected boolean addDefaultControls(Node serviceInterfaceDouiDefinitionNode, Node serviceDouiDefinitionNode, Node serviceInterfaceXmlNode) throws PortalException
- Overrides:
addDefaultControls
in classDouiServiceInterface
- Throws:
PortalException
-
renderData
protected void renderData(IServiceInterfaceRenderResponse response, DouiContext douiContext) throws PortalException
Description copied from class:DouiServiceInterface
Render data.- Overrides:
renderData
in classDouiServiceInterface
douiContext
- DouiContext instance.- Throws:
PortalException
- if an error occur during the render process.
-
-