Package lumis.service.analytics
Class AnalyticsService
- java.lang.Object
-
- lumis.portal.service.GenericService
-
- lumis.doui.service.DouiService
-
- lumis.content.service.ContentService
-
- lumis.service.analytics.AnalyticsService
-
- All Implemented Interfaces:
IDouiService
,IHyperLinkResolver
,IService
,IServiceClockDefinitionProvider
public class AnalyticsService extends ContentService
Service class for Analytics.- Since:
- 11.0.0
- Version:
- $Revision: 24502 $ $Date: 2021-05-17 16:53:32 -0300 (Mon, 17 May 2021) $
-
-
Field Summary
-
Fields inherited from class lumis.doui.service.DouiService
EVENT_REST_CALL
-
Fields inherited from class lumis.portal.service.GenericService
serviceConfig
-
-
Constructor Summary
Constructors Constructor Description AnalyticsService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deserializeContent(ServiceInstanceDeserializationContext serviceInstanceDeserializationContext)
Deserializes service instance Content.void
instanceAdded(SessionConfig sessionConfig, ServiceInstanceConfig serviceInstanceConfig, ITransaction transaction)
Called by the service container to indicate that a service instance has been added.void
instanceDeleted(SessionConfig sessionConfig, ServiceInstanceConfig config, ITransaction transaction)
Called by the service container to indicate that a service instance is about to be deleted.void
instanceDeserialized(SessionConfig sessionConfig, java.lang.String serviceInstanceId, DeserializationConfig deserializationConfig, org.w3c.dom.Node node, ITransaction transaction)
Called after an service instance is deserialized.void
instanceDeserialized(ServiceInstanceDeserializationContext serviceInstanceDeserializationContext)
Called after an service instance is deserialized.void
instanceMoved(SessionConfig sessionConfig, ServiceInstanceConfig serviceInstance, ChannelConfig oldChannel, ChannelConfig newChannel, ITransaction transaction)
Called to indicate the given service instance was moved from a channel to the other channel.void
instanceSerialized(SessionConfig sessionConfig, java.lang.String serviceInstanceId, java.io.OutputStream outputStream, ITransaction transaction)
Called after the serialization of a service instance.void
instanceSerialized(ServiceInstanceSerializationContext serviceInstanceSerializationContext)
Called after the serialization of a service instance.-
Methods inherited from class lumis.content.service.ContentService
checkFileAccess, deleteContent, getClocks, getDefaultServiceInstanceMenu, getResourceClassName, postRegister, preUnregister, registerActivityObjectTypes, resolveHyperLink, restLumGetContent, setMetaDataField, setMetaDataFieldIfRequested, setMetaDataFields, setSourceFieldAttributes, unregisterActivityObjectTypes
-
Methods inherited from class lumis.doui.service.DouiService
addDefaultDouiDefinitionValues, autoAddDependencies, getReturnType, hasHtmlField, restCallProcessAction, restDoProcessAction, restDoProcessActionWithActionId, restGetProcessActionRestHelp, restLumGetDataGet, restLumGetDataPost, setDataTypeAttributes, setDisplayAttributes, setIncludeAlwaysAttributes, setLookupAttributes, setPositionAttributes, setPriorityOptions, setValidationAttributes, usesDocumentService, usesFileManager, usesImageService, usesMediaRepository, usesWidgetRepository
-
Methods inherited from class lumis.portal.service.GenericService
instanceLoaded, instanceMoved, instanceMoved, instanceUnloaded, load, postUnregister, preRegister, unload
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.portal.service.IService
instanceLoaded, instanceMoved, instanceMoved, instanceUnloaded, load, postUnregister, preRegister, unload
-
-
-
-
Method Detail
-
instanceAdded
public void instanceAdded(SessionConfig sessionConfig, ServiceInstanceConfig serviceInstanceConfig, ITransaction transaction) throws ServiceException, PortalException
Description copied from interface:IService
Called by the service container to indicate that a service instance has been added. Dependencies between services must never be created inside this method. Dependencies must be created in theIService.autoAddDependencies(lumis.portal.authentication.SessionConfig, lumis.portal.serviceinstance.ServiceInstanceConfig, lumis.util.ITransaction)
method.- Specified by:
instanceAdded
in interfaceIService
- Overrides:
instanceAdded
in classContentService
serviceInstanceConfig
- aServiceInstanceConfig
object containing the service's configuration- Throws:
ServiceException
PortalException
-
instanceDeleted
public void instanceDeleted(SessionConfig sessionConfig, ServiceInstanceConfig config, ITransaction transaction) throws ServiceException, PortalException
Description copied from interface:IService
Called by the service container to indicate that a service instance is about to be deleted.- Specified by:
instanceDeleted
in interfaceIService
- Overrides:
instanceDeleted
in classContentService
config
- aServiceInstanceConfig
object containing the service's configuration- Throws:
ServiceException
PortalException
-
instanceMoved
public void instanceMoved(SessionConfig sessionConfig, ServiceInstanceConfig serviceInstance, ChannelConfig oldChannel, ChannelConfig newChannel, ITransaction transaction) throws ServiceException, PortalException
Description copied from interface:IService
Called to indicate the given service instance was moved from a channel to the other channel.- Parameters:
sessionConfig
- the user's sessionserviceInstance
- the service instanceoldChannel
- the old channelnewChannel
- the new channel- Throws:
ServiceException
PortalException
-
deserializeContent
public void deserializeContent(ServiceInstanceDeserializationContext serviceInstanceDeserializationContext) throws PortalException
Description copied from interface:IService
Deserializes service instance Content.- Specified by:
deserializeContent
in interfaceIService
- Overrides:
deserializeContent
in classContentService
- Throws:
PortalException
-
instanceSerialized
public void instanceSerialized(ServiceInstanceSerializationContext serviceInstanceSerializationContext) throws PortalException
Description copied from interface:IService
Called after the serialization of a service instance. The service may serialize additional structure or data- Specified by:
instanceSerialized
in interfaceIService
- Overrides:
instanceSerialized
in classContentService
- Throws:
PortalException
-
instanceSerialized
public void instanceSerialized(SessionConfig sessionConfig, java.lang.String serviceInstanceId, java.io.OutputStream outputStream, ITransaction transaction) throws PortalException
Description copied from interface:IService
Called after the serialization of a service instance. The service may add custom information on the output stream, and they will be available during#aclDeserialized
.- Specified by:
instanceSerialized
in interfaceIService
- Overrides:
instanceSerialized
in classContentService
- Parameters:
sessionConfig
- user session information.serviceInstanceId
- the service instance id.outputStream
- the serialization outputStream.transaction
- the transaction for persistence access.- Throws:
PortalException
- See Also:
IService.instanceDeserialized(SessionConfig, String, DeserializationConfig, Node, ITransaction)
-
instanceDeserialized
public void instanceDeserialized(ServiceInstanceDeserializationContext serviceInstanceDeserializationContext) throws PortalException
Description copied from interface:IService
Called after an service instance is deserialized.- Specified by:
instanceDeserialized
in interfaceIService
- Overrides:
instanceDeserialized
in classContentService
- Throws:
PortalException
-
instanceDeserialized
public void instanceDeserialized(SessionConfig sessionConfig, java.lang.String serviceInstanceId, DeserializationConfig deserializationConfig, org.w3c.dom.Node node, ITransaction transaction) throws PortalException
Description copied from interface:IService
Called after an service instance is deserialized.- Specified by:
instanceDeserialized
in interfaceIService
- Overrides:
instanceDeserialized
in classContentService
- Parameters:
sessionConfig
- user session information.serviceInstanceId
- the service instance id.deserializationConfig
- the deserialization configuration.node
- the deserialized acl node.transaction
- the transaction for persistence access.- Throws:
PortalException
- See Also:
IService.instanceSerialized(SessionConfig, String, OutputStream, ITransaction)
-
-