Package lumis.service.navigation
Class NavigationService
- java.lang.Object
-
- lumis.portal.service.GenericService
-
- lumis.doui.service.DouiService
-
- lumis.content.service.ContentService
-
- lumis.service.navigation.NavigationService
-
- All Implemented Interfaces:
IDouiService
,IHyperLinkResolver
,IService
,IServiceClockDefinitionProvider
public class NavigationService extends ContentService
Implementation for the lumis.service.navigation service.- Since:
- 4.0.0
- Version:
- $Revision: 18266 $ $Date: 2016-01-26 13:43:41 -0200 (Tue, 26 Jan 2016) $
-
-
Field Summary
Fields Modifier and Type Field Description static IResource
NAVIGATION_STRING_RESOURCE
Navigation service string resource.-
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 NavigationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initializeServiceInstanceContent(SessionConfig sessionConfig, ServiceInstanceConfig config, ITransaction transaction)
Inserts a default entry, referencing the channel structure, if this service instance has no data.void
instanceAdded(SessionConfig sessionConfig, ServiceInstanceConfig config, ITransaction transaction)
Called by the service container to indicate that a service instance has been added.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.-
Methods inherited from class lumis.content.service.ContentService
checkFileAccess, deleteContent, deserializeContent, getClocks, getDefaultServiceInstanceMenu, getResourceClassName, instanceDeleted, instanceSerialized, instanceSerialized, postRegister, preUnregister, registerActivityObjectTypes, resolveHyperLink, restLumGetContent, setMetaDataField, 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, instanceMoved, instanceUnloaded, load, postUnregister, preRegister, unload
-
-
-
-
Field Detail
-
NAVIGATION_STRING_RESOURCE
public static final IResource NAVIGATION_STRING_RESOURCE
Navigation service string resource.
-
-
Method Detail
-
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)
-
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
-
instanceAdded
public void instanceAdded(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 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
config
- aServiceInstanceConfig
object containing the service's configuration- Throws:
ServiceException
PortalException
-
initializeServiceInstanceContent
protected void initializeServiceInstanceContent(SessionConfig sessionConfig, ServiceInstanceConfig config, ITransaction transaction) throws PortalException
Inserts a default entry, referencing the channel structure, if this service instance has no data.- Parameters:
sessionConfig
- the user session information.config
- the service instance config.transaction
- transaction for persistence access.- Throws:
PortalException
- Since:
- 4.0.6
-
-