cl::utfsm::acs::ebe::EbeDocumentManager Class Reference

Collaboration diagram for cl::utfsm::acs::ebe::EbeDocumentManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 EbeDocumentManager ()
void newDocument (String path, String name)
void loadDocument (String path)
void removeDocument (String name)
void removeAll ()
void deleteDocument (String name)
void addDefaults ()
void addDirectory (String path)
TreeMap< String, EbeDocumentgetDocuments ()

Package Attributes

TreeMap< String, EbeDocumentdocuments
ErrorSchema schema

Private Member Functions

void addFileList (ArrayList< File > lst)

Detailed Description

Error Browser and Editor Document manager. This class manages the XML files, and offers a EbeDocument abstraction. This class manages those objects in a generic form. For this, the schema file must be loaded, specific classes initializated, and create a document pool

Author:
Mauricio Araya (maray[at]inf.utfsm.cl)

Constructor & Destructor Documentation

cl::utfsm::acs::ebe::EbeDocumentManager::EbeDocumentManager (  )  [inline]

Member Function Documentation

void cl::utfsm::acs::ebe::EbeDocumentManager::addDefaults (  )  [inline]
void cl::utfsm::acs::ebe::EbeDocumentManager::addDirectory ( String  path  )  [inline]
void cl::utfsm::acs::ebe::EbeDocumentManager::addFileList ( ArrayList< File >  lst  )  [inline, private]

Load a filelist to the manager.

Parameters:
lst The Arraylist to load

References loadDocument().

Referenced by addDefaults(), and addDirectory().

void cl::utfsm::acs::ebe::EbeDocumentManager::deleteDocument ( String  name  )  [inline]

Permanently delete from the HD the file

Parameters:
name the filename to remove

References documents, and cl::utfsm::acs::ebe::EbeDocument::getPath().

Referenced by cl::utfsm::acs::ebe::ErrorBrowserEditor::getDeleteDocButton(), and cl::utfsm::acs::ebe::EbeDocumentManagerTEST::testNew().

TreeMap<String,EbeDocument> cl::utfsm::acs::ebe::EbeDocumentManager::getDocuments (  )  [inline]
void cl::utfsm::acs::ebe::EbeDocumentManager::loadDocument ( String  path  )  [inline]
void cl::utfsm::acs::ebe::EbeDocumentManager::newDocument ( String  path,
String  name 
) [inline]

Create a new document (a new file). This class setup the classic document info.

Parameters:
path the path where the file should be
name the document internal name

References documents, cl::utfsm::acs::types::TypedObject::getValue(), cl::utfsm::acs::ebe::EbeDocument::setDocumentInfo(), cl::utfsm::acs::ebe::EbeDocument::setPath(), and cl::utfsm::acs::types::TypedObject::setValue().

Referenced by cl::utfsm::acs::ebe::ErrorBrowserEditor::getNewDocButton(), and cl::utfsm::acs::ebe::EbeDocumentManagerTEST::testNew().

void cl::utfsm::acs::ebe::EbeDocumentManager::removeAll (  )  [inline]
void cl::utfsm::acs::ebe::EbeDocumentManager::removeDocument ( String  name  )  [inline]

Member Data Documentation

The AcsError Schema class

Referenced by EbeDocumentManager().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2