|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.dataops.archive.Archiver
Supported API: false
Extendable: false
Field Summary | |
private Archive |
archive
|
private boolean |
archiveDispatched
|
private File |
archiveFile
|
private long |
archiveSize
|
(package private) WTArchiveSystem |
archiveSystem
|
private static String |
CLASSNAME
|
private CollectionCriteria |
criteria
|
private RelationshipMap |
map
|
private long |
numArchived
|
private ArchiveResident |
remoteArchive
|
private static String |
RESOURCE
|
private static String |
TEMP_DIR
|
private static boolean |
VERBOSE
|
Constructor Summary | |
Archiver(Archive archive)
Supported API: false |
Method Summary | |
private void |
addCriteriaAndMapAsContent()
|
ArchiveStatus |
archive(WTCollection archiveables)
Supported API: false |
void |
beforeCompletion()
Notify that the commit of the transaction is about to complete. |
private void |
cleanup()
|
private ArchiveStatus |
createArchive(Archiveable[] archiveables)
|
private void |
dispatchArchive()
|
void |
finishTransaction()
Notify that all of the transaction's work has been completed and any remaining work should now be performed. |
Archive |
getArchive()
Gets the value of the attribute: archive. |
boolean |
isArchiveDispatched()
|
void |
notifyCommit()
Notify that the commit of the transaction completed. |
void |
notifyRollback()
Notify that the rollback of the transaction completed. |
void |
setArchive(Archive a_Archive)
Sets the value of the attribute: archive. |
void |
setCriteriaAndMap(CollectionCriteria criteria,
RelationshipMap map)
|
private void |
updateArchive()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private Archive archive
private long archiveSize
private File archiveFile
private long numArchived
private ArchiveResident remoteArchive
private static final boolean VERBOSE
WTArchiveSystem archiveSystem
private static String TEMP_DIR
private boolean archiveDispatched
private CollectionCriteria criteria
private RelationshipMap map
Constructor Detail |
public Archiver(Archive archive) throws WTException
archive
-
WTException
Method Detail |
public Archive getArchive()
public void setArchive(Archive a_Archive) throws WTPropertyVetoException
a_Archive
-
WTPropertyVetoException
public ArchiveStatus archive(WTCollection archiveables) throws WTException
archiveables
-
WTException
private ArchiveStatus createArchive(Archiveable[] archiveables) throws WTException
archiveables
-
WTException
private void dispatchArchive() throws WTException
WTException
private void cleanup()
public void finishTransaction() throws WTException
finishTransaction
in interface TransactionCommitListener
WTException
public void beforeCompletion() throws WTException
beforeCompletion
in interface TransactionCommitListener
WTException
public void notifyCommit()
notifyCommit
in interface TransactionListener
public void notifyRollback()
notifyRollback
in interface TransactionListener
private void updateArchive() throws WTException
WTException
private void addCriteriaAndMapAsContent() throws WTException
WTException
public void setCriteriaAndMap(CollectionCriteria criteria, RelationshipMap map)
public boolean isArchiveDispatched()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |