Package lumis.service.commentit
Class CommentItService
- java.lang.Object
-
- lumis.portal.service.GenericService
-
- lumis.doui.service.DouiService
-
- lumis.service.commentit.CommentItService
-
- All Implemented Interfaces:
IDouiService
,IHyperLinkResolver
,IService
public class CommentItService extends DouiService
Service class for CommentIt. This class ensures that when an instance of this service is deleted, all comments from this service instance are deleted too.- Since:
- 8.0.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OBJECT_TYPE_ID_COMMENT
The identifier ofActivityObjectType
that represents the comments generated by this service.-
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 CommentItService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
instanceDeleted(SessionConfig sessionConfig, ServiceInstanceConfig serviceInstanceConfig, ITransaction transaction)
Called by the service container to indicate that a service instance is about to be deleted.void
postRegister(SessionConfig sessionConfig, ServiceConfig serviceConfig, ITransaction transaction)
Called by the service manager after a service definition is registered.void
postUnregister(SessionConfig sessionConfig, ITransaction transaction)
Called by the service manager after a service has been unregistered.-
Methods inherited from class lumis.doui.service.DouiService
addDefaultDouiDefinitionValues, autoAddDependencies, getDefaultServiceInstanceMenu, getResourceClassName, getReturnType, hasHtmlField, instanceAdded, instanceDeserialized, preUnregister, resolveHyperLink, restCallProcessAction, restDoProcessAction, restDoProcessActionWithActionId, restGetProcessActionRestHelp, restLumGetDataGet, restLumGetDataPost, setDataTypeAttributes, setDisplayAttributes, setIncludeAlwaysAttributes, setLookupAttributes, setPositionAttributes, setPriorityOptions, setSourceFieldAttributes, setValidationAttributes, usesDocumentService, usesFileManager, usesImageService, usesMediaRepository, usesWidgetRepository
-
Methods inherited from class lumis.portal.service.GenericService
deserializeContent, instanceDeserialized, instanceLoaded, instanceMoved, instanceMoved, instanceSerialized, instanceSerialized, instanceUnloaded, load, 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
checkFileAccess, deserializeContent, instanceDeserialized, instanceLoaded, instanceMoved, instanceMoved, instanceMoved, instanceSerialized, instanceSerialized, instanceUnloaded, load, preRegister, unload
-
-
-
-
Field Detail
-
OBJECT_TYPE_ID_COMMENT
public static final java.lang.String OBJECT_TYPE_ID_COMMENT
The identifier ofActivityObjectType
that represents the comments generated by this service.- Since:
- 8.2.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
instanceDeleted
public void instanceDeleted(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 is about to be deleted.- Specified by:
instanceDeleted
in interfaceIService
- Overrides:
instanceDeleted
in classDouiService
serviceInstanceConfig
- aServiceInstanceConfig
object containing the service's configuration- Throws:
ServiceException
PortalException
-
postRegister
public void postRegister(SessionConfig sessionConfig, ServiceConfig serviceConfig, ITransaction transaction) throws PortalException
Description copied from interface:IService
Called by the service manager after a service definition is registered. This method allows the Service implementation to perform any custom registration that the service may require.- Specified by:
postRegister
in interfaceIService
- Overrides:
postRegister
in classDouiService
- Throws:
PortalException
-
postUnregister
public void postUnregister(SessionConfig sessionConfig, ITransaction transaction) throws PortalException
Description copied from interface:IService
Called by the service manager after a service has been unregistered.- Specified by:
postUnregister
in interfaceIService
- Overrides:
postUnregister
in classGenericService
- Parameters:
sessionConfig
- the user session information.transaction
- transaction for persistence access.- Throws:
PortalException
-
-