lumis.service.wiki
Class WikiService

Package class diagram package WikiService
java.lang.Object
  extended by lumis.portal.service.GenericService
      extended by lumis.doui.service.DouiService
          extended by lumis.content.service.ContentService
              extended by lumis.service.wiki.WikiService
All Implemented Interfaces:
IDouiService, IHyperLinkResolver, IService, IServiceClockDefinitionProvider

public class WikiService
extends ContentService

Wiki service class.

Since:
5.0.0

Field Summary
 
Fields inherited from class lumis.portal.service.GenericService
serviceConfig
 
Constructor Summary
WikiService()
           
 
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, setDataTypeAttributes, setDisplayAttributes, setIncludeAlwaysAttributes, setLookupAttributes, setPriorityOptions, setValidationAttributes, usesDocumentService, usesFileManager, usesImageService
 
Methods inherited from class lumis.portal.service.GenericService
instanceLoaded, 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, instanceUnloaded, load, postUnregister, preRegister, unload
 

Constructor Detail

WikiService

public WikiService()
Method Detail

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  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.