lumis.service.wiki
Class WikiService
java.lang.Object
lumis.portal.service.GenericService
lumis.doui.service.DouiService
lumis.content.service.ContentService
lumis.service.wiki.WikiService
- All Implemented Interfaces:
- IDouiService, IHyperLinkResolver, IService, IServiceClockDefinitionProvider
public class WikiService
- extends ContentService
Wiki service class.
- Since:
- 5.0.0
Method Summary |
protected void |
initializeServiceInstanceContent(SessionConfig sessionConfig,
ServiceInstanceConfig serviceInstanceConfig,
ITransaction transaction)
Creates the wiki main article, if the service instance has no content. |
void |
instanceAdded(SessionConfig sessionConfig,
ServiceInstanceConfig serviceInstanceConfig,
ITransaction transaction)
When a wiki service instance is added, the main wiki article is
automatically created. |
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 |
WikiService
public WikiService()
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 serviceInstanceConfig,
ITransaction transaction)
throws PortalException
- When a wiki service instance is added, the main wiki article is
automatically created.
- Specified by:
instanceAdded
in interface IService
- Overrides:
instanceAdded
in class ContentService
serviceInstanceConfig
- a ServiceInstanceConfig
object containing the
service's configuration
- Throws:
ServiceException
PortalException
- Since:
- 5.0.0
initializeServiceInstanceContent
protected void initializeServiceInstanceContent(SessionConfig sessionConfig,
ServiceInstanceConfig serviceInstanceConfig,
ITransaction transaction)
throws PortalException
- Creates the wiki main article, if the service instance has no content.
- Parameters:
sessionConfig
- the user session information.serviceInstanceConfig
- the wiki service instance.transaction
- the transaction for persistence access.
- Throws:
PortalException
- Since:
- 5.0.0
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.