DefaultLmsFileLoadPolicy
public interface LmsFileLoadPolicy
Modifier and Type | Method | Description |
---|---|---|
boolean |
loadFile(java.util.Collection<LmsFileHeader> loadedHeaders,
LmsFileHeader lmsFileHeaderToLoad) |
This method is called when lms file is loaded.
|
boolean |
replacePreviouslyLoadedTemplate() |
This property is checked when a template from the lms file has the
same
LmsMessageTemplate.getId()
as one of the templates already loaded in the collection. |
boolean loadFile(java.util.Collection<LmsFileHeader> loadedHeaders, LmsFileHeader lmsFileHeaderToLoad) throws LoggerException
loadedHeaders
- The collection of already loaded headerslmsFileHeaderToLoad
- The header of file which is being loadedMessageTemplateManager.getHeaders()
and templates in the file
will be added to the collection of templates.LoggerException
boolean replacePreviouslyLoadedTemplate()
LmsMessageTemplate.getId()
as one of the templates already loaded in the collection.
If true, then MessageTemplateManager
replaces the existing template in collection with new one.
If false, then the existing LmsMessageTemplate is left in the collection instead.Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.