Package lumis.doui.service
Class DouiGenericListServiceInterface
- java.lang.Object
-
- lumis.portal.serviceinterface.GenericServiceInterface
-
- lumis.doui.service.DouiServiceInterface
-
- lumis.doui.service.DouiGenericListServiceInterface
-
- All Implemented Interfaces:
IDouiServiceInterface
,IServiceInterface
,IServiceInterfaceMenu
- Direct Known Subclasses:
DouiAdministrationListServiceInterface
,DouiListServiceInterface
,DouiQuickListServiceInterface
public abstract class DouiGenericListServiceInterface extends DouiServiceInterface
A generic doui list service interface implementation.- Since:
- 4.0.0
- Version:
- $Revision: 21745 $ $Date: 2018-08-30 11:04:32 -0300 (Thu, 30 Aug 2018) $
-
-
Field Summary
-
Fields inherited from class lumis.doui.service.DouiServiceInterface
VALIDATE_RENDER_PARAMETER
-
-
Constructor Summary
Constructors Constructor Description DouiGenericListServiceInterface()
-
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
addDefaultHyperLinks(Node serviceInterfaceDouiDefinitionNode, Node serviceDouiDefinitionNode, ITransaction transaction)
protected boolean
addDefaultOrderBy(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
setIsListProperty(Node serviceInterfaceXmlNode)
-
Methods inherited from class lumis.doui.service.DouiServiceInterface
addDefaultDouiDefinitionValues, addDefaultFilters, addDefaultInterfaceDouiDefinitionNode, addDefaultMaxRows, addDefaultPostLoadProcessors, addDefaultProcessActions, addDefaultSources, addDetailsHyperLink, addPrimaryKeyFilter, getContext, getDefaultStyle, getInterfaceSourceFieldsNode, getMenu, getRepositoryMenus, initDouiContext, loadFromRequest, loadSources, processAction, processActions, render, renderBefore, renderData, validate
-
Methods inherited from class lumis.portal.serviceinterface.GenericServiceInterface
instanceAdded, instanceDeleted, instanceLoaded, instanceUnLoaded, load, unload
-
-
-
-
Method Detail
-
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
-
getCustomMenu
protected String getCustomMenu(SessionConfig sessionConfig, ServiceInterfaceInstanceConfig config, ITransaction transaction) throws PortalException
- Overrides:
getCustomMenu
in classDouiServiceInterface
- Throws:
PortalException
-
addDefaultHyperLinks
protected boolean addDefaultHyperLinks(Node serviceInterfaceDouiDefinitionNode, Node serviceDouiDefinitionNode, ITransaction transaction) throws PortalException
- Overrides:
addDefaultHyperLinks
in classDouiServiceInterface
- Throws:
PortalException
-
addDefaultControls
protected boolean addDefaultControls(Node serviceInterfaceDouiDefinitionNode, Node serviceDouiDefinitionNode, Node serviceInterfaceXmlNode) throws PortalException
- Overrides:
addDefaultControls
in classDouiServiceInterface
- Throws:
PortalException
-
addDefaultFields
protected boolean addDefaultFields(Node serviceInterfaceSourceNode, Node serviceDouiDefinitionNode, Node serviceInterfaceXmlNode) throws PortalException
- Overrides:
addDefaultFields
in classDouiServiceInterface
- Throws:
PortalException
-
addDefaultOrderBy
protected boolean addDefaultOrderBy(Node serviceInterfaceSourceNode, Node serviceDouiDefinitionNode, Node serviceInterfaceXmlNode) throws PortalException
- Overrides:
addDefaultOrderBy
in classDouiServiceInterface
- Throws:
PortalException
-
setIsListProperty
protected void setIsListProperty(Node serviceInterfaceXmlNode) throws PortalException
- Throws:
PortalException
-
-