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
Method Summary |
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(ServiceInstanceDeserializationContext serviceInstanceDeserializationContext)
Called after an service instance is deserialized. |
void |
instanceDeserialized(SessionConfig sessionConfig,
String serviceInstanceId,
DeserializationConfig deserializationConfig,
Node node,
ITransaction transaction)
Called after an service instance is deserialized. |
Methods inherited from class lumis.content.service.ContentService |
deleteContent, deleteData, deleteRelatedData, deleteRelatedFiles, deserializeContent, getClocks, getResourceClassName, instanceDeleted, instanceSerialized, instanceSerialized, postRegister, preUnregister, resolveHyperLink, setMetaDataField, setMetaDataFieldIfRequested, setMetaDataFields, setSourceFieldAttributes |
Methods inherited from class lumis.doui.service.DouiService |
addDefaultDouiDefinitionValues, autoAddDependencies, restLumGetDataGet, restLumGetDataPost, setDataTypeAttributes, setDisplayAttributes, setIncludeAlwaysAttributes, setLookupAttributes, setPriorityOptions, setValidationAttributes, usesDocumentService, usesFileManager, usesImageService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavigationService
public NavigationService()
instanceDeserialized
public void instanceDeserialized(SessionConfig sessionConfig,
String serviceInstanceId,
DeserializationConfig deserializationConfig,
Node node,
ITransaction transaction)
throws PortalException
- Description copied from interface:
IService
- Called after an service instance is deserialized.
- Specified by:
instanceDeserialized
in interface IService
- Overrides:
instanceDeserialized
in class ContentService
- 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 interface IService
- Overrides:
instanceDeserialized
in class ContentService
- 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 the
IService.autoAddDependencies(lumis.portal.authentication.SessionConfig, lumis.portal.serviceinstance.ServiceInstanceConfig, lumis.util.ITransaction)
method.
- Specified by:
instanceAdded
in interface IService
- Overrides:
instanceAdded
in class ContentService
config
- a ServiceInstanceConfig
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
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.