Package lumis.service.autoadministration
Class AutoAdministrationService
- java.lang.Object
-
- lumis.portal.service.GenericService
-
- lumis.doui.service.DouiService
-
- lumis.content.service.ContentService
-
- lumis.service.autoadministration.AutoAdministrationService
-
- All Implemented Interfaces:
IDouiService
,IHyperLinkResolver
,IService
,IServiceClockDefinitionProvider
public final class AutoAdministrationService extends ContentService
Service class for auto administration. This class ensures that there won't be more than one service instance of an auto administration service per channel.- Since:
- 7.0.0
- Version:
- $Revision$ $Date$
-
-
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 AutoAdministrationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Method Detail
-
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
-
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
-
-