|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LmsFileLoadPolicy
Describes the policy of loading lms files.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 loaded
MessageTemplateManager.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.
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |