public class WikiService extends ContentService
serviceConfig
Constructor and Description |
---|
WikiService() |
Modifier and Type | Method and Description |
---|---|
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.
|
checkFileAccess, deleteContent, deleteData, deleteRelatedData, deleteRelatedFiles, deserializeContent, getClocks, getDefaultServiceInstanceMenu, getResourceClassName, instanceDeleted, instanceSerialized, instanceSerialized, postRegister, preUnregister, registerActivityObjectTypes, resolveHyperLink, setMetaDataField, setMetaDataFieldIfRequested, setMetaDataFields, setSourceFieldAttributes, unregisterActivityObjectTypes
addDefaultDouiDefinitionValues, autoAddDependencies, restLumGetDataGet, restLumGetDataPost, setDataTypeAttributes, setDisplayAttributes, setIncludeAlwaysAttributes, setLookupAttributes, setPriorityOptions, setValidationAttributes, usesDocumentService, usesFileManager, usesImageService, usesMediaRepository
instanceLoaded, instanceMoved, instanceMoved, instanceUnloaded, load, postUnregister, preRegister, unload
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
instanceLoaded, instanceMoved, instanceMoved, instanceUnloaded, load, postUnregister, preRegister, unload
public void instanceDeserialized(SessionConfig sessionConfig, String serviceInstanceId, DeserializationConfig deserializationConfig, Node node, ITransaction transaction) throws PortalException
IService
instanceDeserialized
in interface IService
instanceDeserialized
in class ContentService
sessionConfig
- user session information.serviceInstanceId
- the service instance id.deserializationConfig
- the deserialization configuration.node
- the deserialized acl node.transaction
- the transaction for persistence access.PortalException
IService.instanceSerialized(SessionConfig, String, OutputStream, ITransaction)
public void instanceDeserialized(ServiceInstanceDeserializationContext serviceInstanceDeserializationContext) throws PortalException
IService
instanceDeserialized
in interface IService
instanceDeserialized
in class ContentService
PortalException
public void instanceAdded(SessionConfig sessionConfig, ServiceInstanceConfig serviceInstanceConfig, ITransaction transaction) throws PortalException
instanceAdded
in interface IService
instanceAdded
in class ContentService
serviceInstanceConfig
- a ServiceInstanceConfig
object containing the
service's configurationServiceException
PortalException
protected void initializeServiceInstanceContent(SessionConfig sessionConfig, ServiceInstanceConfig serviceInstanceConfig, ITransaction transaction) throws PortalException
sessionConfig
- the user session information.serviceInstanceConfig
- the wiki service instance.transaction
- the transaction for persistence access.PortalException
Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.