org.archiviststoolkit.mydomain
Class DigitalObjectTableWorkSurface

java.lang.Object
  extended by org.archiviststoolkit.mydomain.DomainTableWorkSurface
      extended by org.archiviststoolkit.mydomain.DigitalObjectTableWorkSurface
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.MouseListener, java.util.EventListener, WorkSurface

public class DigitalObjectTableWorkSurface
extends DomainTableWorkSurface


Nested Class Summary
 
Nested classes/interfaces inherited from class org.archiviststoolkit.mydomain.DomainTableWorkSurface
DomainTableWorkSurface.DomainTableListEventListener
 
Field Summary
 
Fields inherited from class org.archiviststoolkit.mydomain.DomainTableWorkSurface
access, clazz, currentDomainObject, currentObjectSublist, currentRecordLock, dialog, eventListener, filterField, humanReadableSearchString, resultSet, resultSizeDisplay, rootComponent, scrollPane, selectedRow, showConfirmDialog, table
 
Constructor Summary
DigitalObjectTableWorkSurface(java.lang.Class clazz, java.lang.String name, javax.swing.Icon icon)
          Constructor.
DigitalObjectTableWorkSurface(java.lang.Class clazz, java.lang.String name, javax.swing.Icon icon, DomainTableFormat tableFormat)
          Constructor.
 
Method Summary
 void exportDublinCore()
          Method to export Dublin Core xml files.
 void exportMARC()
          Method to export MARC xml files
 void exportMETS()
          Method to export METS xml files
 void exportMODS()
          Method to export MODS xml files.
protected  void getCurrentDomainObjectFromDatabase(DomainObject domainObject)
          Method to return the full digital object from the database or if the digital object passed in is a child digital object the the full parent digital object should be returned
 
Methods inherited from class org.archiviststoolkit.mydomain.DomainTableWorkSurface
actionPerformed, addRecordLock, addToResultSet, clearCurrentRecordLock, closeLongSessionForPrinting, exportEAD, getClazz, getClazzForReport, getComponent, getCurrentDomainObject, getCurrentDomainObjectFromDatabase, getDomainEditor, getIcon, getName, getNewAction, getResultSet, getResultSetForPrinting, getSelectedRow, getSelectedRowCount, getTable, getTableFormat, getTooltip, init, merge, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, onDelete, onFindAll, onInsert, onRemoveGroup, onSearch, onUpdate, setCurrentDomainObject, setFilteredListWithCurrentDomainObject, setSelectedRow, setSublistWithCurrentDomainObject, updateColumns, updateListWithNewResultSet, updateRowCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DigitalObjectTableWorkSurface

public DigitalObjectTableWorkSurface(java.lang.Class clazz,
                                     java.lang.String name,
                                     javax.swing.Icon icon,
                                     DomainTableFormat tableFormat)
Constructor.

Parameters:
clazz - the domain model class
name - the name of this worksurface
icon - the icon of this worksurface
tableFormat - the table format to use for the domain table

DigitalObjectTableWorkSurface

public DigitalObjectTableWorkSurface(java.lang.Class clazz,
                                     java.lang.String name,
                                     javax.swing.Icon icon)
Constructor.

Parameters:
clazz - the domain model class
name - the name of this worksurface
icon - the icon of this worksurface
Method Detail

getCurrentDomainObjectFromDatabase

protected void getCurrentDomainObjectFromDatabase(DomainObject domainObject)
                                           throws LookupException
Method to return the full digital object from the database or if the digital object passed in is a child digital object the the full parent digital object should be returned

Overrides:
getCurrentDomainObjectFromDatabase in class DomainTableWorkSurface
Parameters:
domainObject - The digital object to load the full one for
Throws:
LookupException - If the digital object can't be found

exportMARC

public void exportMARC()
Method to export MARC xml files

Overrides:
exportMARC in class DomainTableWorkSurface

exportMETS

public void exportMETS()
Method to export METS xml files

Overrides:
exportMETS in class DomainTableWorkSurface

exportMODS

public void exportMODS()
Method to export MODS xml files.

Overrides:
exportMODS in class DomainTableWorkSurface

exportDublinCore

public void exportDublinCore()
Method to export Dublin Core xml files.

Overrides:
exportDublinCore in class DomainTableWorkSurface