org.nuxeo.ecm.platform.archive.ejb
Class ArchiveRecordFactoryImpl
java.lang.Object
org.nuxeo.ecm.platform.archive.ejb.ArchiveRecordFactoryImpl
- All Implemented Interfaces:
- Serializable, ArchiveRecordFactory
public class ArchiveRecordFactoryImpl
- extends Object
- implements ArchiveRecordFactory
The default archive record factory.
- Author:
- Bogdan Tatar
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArchiveRecordFactoryImpl
public ArchiveRecordFactoryImpl()
generateArchiveRecordFrom
public ArchiveRecord generateArchiveRecordFrom(Object currentDocument)
throws Exception
- Description copied from interface:
ArchiveRecordFactory
- This method is used to generate the archive record from the current
document model.
- Specified by:
generateArchiveRecordFrom in interface ArchiveRecordFactory
- Parameters:
currentDocument - -the current document instance
- Returns:
- an archive record instance populated with information from the
current document model.
- Throws:
Exception
getArchiveRecordClass
public Class getArchiveRecordClass()
- Description copied from interface:
ArchiveRecordFactory
- This method returns the class this factory will instantiate.
- Specified by:
getArchiveRecordClass in interface ArchiveRecordFactory
- Returns:
- - an ArchiveRecord class definition.
Copyright ? 2007 Nuxeo SAS. All Rights Reserved.