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.
|
boolean |
usesWidgetRepository(ITransaction transaction)
Indicates if this service uses a widget repository.
|
checkFileAccess, deleteContent, deserializeContent, getClocks, getDefaultServiceInstanceMenu, getResourceClassName, instanceDeleted, instanceSerialized, instanceSerialized, postRegister, preUnregister, registerActivityObjectTypes, resolveHyperLink, setMetaDataField, setMetaDataFieldIfRequested, setMetaDataFields, setSourceFieldAttributes, unregisterActivityObjectTypes
addDefaultDouiDefinitionValues, autoAddDependencies, restCallProcessAction, restDoProcessAction, restDoProcessActionWithActionId, restGetProcessActionRestHelp, restLumGetDataGet, restLumGetDataPost, setDataTypeAttributes, setDisplayAttributes, setIncludeAlwaysAttributes, setLookupAttributes, setPositionAttributes, 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
public boolean usesWidgetRepository(ITransaction transaction) throws PortalException
IDouiService
usesWidgetRepository
in interface IDouiService
usesWidgetRepository
in class DouiService
transaction
- the transaction for persistence access.PortalException
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.