org.nuxeo.ecm.platform.archive.ejb
Class ArchiveManagerBean
java.lang.Object
org.nuxeo.ecm.platform.archive.ejb.ArchiveManagerBean
- All Implemented Interfaces:
- Serializable, ArchiveManager
public class ArchiveManagerBean
- extends Object
- implements ArchiveManager
- 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 |
ArchiveManagerBean
public ArchiveManagerBean()
getArchiveRecordsByDocUID
public List<ArchiveRecord> getArchiveRecordsByDocUID(String docUID)
- Description copied from interface:
ArchiveManager
- Returns the archive records of a document by giving the doc uid.
- Specified by:
getArchiveRecordsByDocUID in interface ArchiveManager
- Parameters:
docUID - the document UID
- Returns:
- a list of archive records attached to the document
addArchiveRecord
public void addArchiveRecord(ArchiveRecord record)
- Specified by:
addArchiveRecord in interface ArchiveManager
- Parameters:
record - : the archive record info to be added
deleteArchiveRecord
public Boolean deleteArchiveRecord(long recordId)
- Specified by:
deleteArchiveRecord in interface ArchiveManager
editArchiveRecord
public void editArchiveRecord(ArchiveRecord record)
- Specified by:
editArchiveRecord in interface ArchiveManager
- Parameters:
record - : the archive record to edit
searchArchiveRecord
public ArchiveRecord searchArchiveRecord()
- Specified by:
searchArchiveRecord in interface ArchiveManager
- Returns:
remove
public void remove()
findArchiveRecordById
public ArchiveRecord findArchiveRecordById(long archiveRecordId)
- Description copied from interface:
ArchiveManager
- Returns the archive record object with the specified id.
- Specified by:
findArchiveRecordById in interface ArchiveManager
- Parameters:
archiveRecordId - the id of the archive record
- Returns:
- the archive record with the specified id
findArchiveRecords
public List<ArchiveRecord> findArchiveRecords(String qlString,
Map<String,Object> parameters)
- Description copied from interface:
ArchiveManager
- Returns the archive records matched by the specified JPA query.
The parameters map provides the named parameters and values to be set on the query.
- Specified by:
findArchiveRecords in interface ArchiveManager
- Parameters:
qlString - the query to executeparameters - the named parameters to be set on the query
- Returns:
Copyright ? 2007 Nuxeo SAS. All Rights Reserved.