| 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TemplateException | |
|---|---|
| pl.edu.agh.cast.importer.base.template | Defines templates for import process. | 
| pl.edu.agh.cast.importer.base.template.exception | Provides CAST Importer Template exceptions. | 
| pl.edu.agh.cast.importer.base.template.internal | Provides CAST Importer Templates internal classes. | 
| pl.edu.agh.cast.importer.wizard.template | Provides CAST Importer wizard's templates management classes. | 
| Uses of TemplateException in pl.edu.agh.cast.importer.base.template | 
|---|
| Methods in pl.edu.agh.cast.importer.base.template that throw TemplateException | |
|---|---|
 void | 
ImportTemplateManager.addTemplateToGroup(ImportTemplateGroup group,
                   IImportTemplate template)
Adds a given template to a given group.  | 
 IImportTemplate | 
ImportTemplateManager.createTemplateBasedOnImportProcess(ImportProcess process,
                                   String name,
                                   String description)
Creates new import template based on given ImportProcess object with given name and description. | 
 void | 
ITemplateProvider.exportTemplateToFile(IImportTemplate template,
                     File file)
Writes given template to the file.  | 
 void | 
ImportTemplateManager.exportTemplateToFile(UUID templateId,
                     File dest)
Exports a given template to specified file using defined ITemplateProvider. | 
 IImportTemplate | 
ITemplateProvider.importTemplateFromFile(File file)
Imports template from a given file.  | 
 IImportTemplate | 
ImportTemplateManager.importTemplateFromFile(File file,
                       IMsgBoxHelper msgBoxHelper)
Imports template from a given file using defined ITemplateProvider. | 
 Collection<ImportTemplateGroup> | 
ITemplateProvider.readTemplateGroups()
Reads all template groups.  | 
 Collection<IImportTemplate> | 
ITemplateProvider.readTemplates()
Reads import templates.  | 
 void | 
ImportTemplateManager.reload()
This method clears cached data and rebuilds all templates and groups based on written data.  | 
 void | 
ITemplateProvider.removeTemplate(UUID templateId)
Removes template with given id.  | 
 void | 
ImportTemplateManager.removeTemplate(UUID templateId)
Removed a template with given id.  | 
 void | 
ImportTemplateManager.removeTemplateFromGroup(ImportTemplateGroup group,
                        UUID templateId)
Removes template from a given group.  | 
 void | 
ITemplateProvider.removeTemplateGroup(UUID groupId)
Removes templates group with given id.  | 
 void | 
ImportTemplateManager.removeTemplateGroup(UUID groupId)
Removes template group with given id.  | 
protected  ImportTemplateGroup | 
ImportTemplateManager.retriveDefaultGroup()
 | 
 void | 
ITemplateProvider.saveTemplate(IImportTemplate template)
Saves given template.  | 
 void | 
ImportTemplateManager.saveTemplate(IImportTemplate template,
             ImportTemplateGroup group)
Adds newly created template to default template group.  | 
 void | 
ITemplateProvider.saveTemplateGroup(ImportTemplateGroup group)
Saves given template group.  | 
 void | 
ImportTemplateManager.saveTemplateGroup(ImportTemplateGroup group)
Saves template group.  | 
| Constructors in pl.edu.agh.cast.importer.base.template that throw TemplateException | |
|---|---|
ImportTemplateManager(ITemplateProvider provider)
Constructor (for test purpose).  | 
|
| Uses of TemplateException in pl.edu.agh.cast.importer.base.template.exception | 
|---|
| Subclasses of TemplateException in pl.edu.agh.cast.importer.base.template.exception | |
|---|---|
 class | 
ReadingTemplatesException
An exception which is thrown during reading template process.  | 
 class | 
ResourceTemplateException
Template exception connected with access to resources.  | 
| Uses of TemplateException in pl.edu.agh.cast.importer.base.template.internal | 
|---|
| Methods in pl.edu.agh.cast.importer.base.template.internal that throw TemplateException | |
|---|---|
 void | 
XmlTemplateProvider.exportTemplateToFile(IImportTemplate template,
                     File file)
Writes given template to the file.  | 
 Collection<ImportTemplateGroup> | 
XmlTemplateProvider.readTemplateGroups()
Reads all template groups.  | 
 Collection<IImportTemplate> | 
XmlTemplateProvider.readTemplates()
Reads import templates.  | 
 void | 
XmlTemplateProvider.removeTemplate(UUID templateId)
Removes template with given id.  | 
 void | 
XmlTemplateProvider.removeTemplateGroup(UUID groupId)
Removes templates group with given id.  | 
 void | 
XmlTemplateProvider.saveTemplate(IImportTemplate template)
Saves given template.  | 
 void | 
XmlTemplateProvider.saveTemplateGroup(ImportTemplateGroup group)
Saves given template group.  | 
| Constructors in pl.edu.agh.cast.importer.base.template.internal that throw TemplateException | |
|---|---|
XmlTemplateProvider()
Constructor.  | 
|
| Uses of TemplateException in pl.edu.agh.cast.importer.wizard.template | 
|---|
| Methods in pl.edu.agh.cast.importer.wizard.template with parameters of type TemplateException | |
|---|---|
 void | 
ITemplateManagementView.showCannotRemoveTemplateError(IImportTemplate template,
                              TemplateException e)
Notifies user that an error occurred removing a given template.  | 
 void | 
TemplatesManagementComposite.showCannotRemoveTemplateError(IImportTemplate template,
                              TemplateException e)
Notifies user that an error occurred removing a given template.  | 
| Methods in pl.edu.agh.cast.importer.wizard.template that throw TemplateException | |
|---|---|
 IImportTemplate | 
TemplateManagementPresenter.handleImportTemplate(File file,
                     IMsgBoxHelper msgBoxHelper)
Handle import from file.  | 
  | 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||