|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.serialization.FileCopyTransactionObserver
public class FileCopyTransactionObserver
Implementation of ITransactionObserver
that performs a file copy operation that can be rolled back.
The file copy operation will be executed only at the first transaction´s commit and/or rollback.
Constructor Summary | |
---|---|
FileCopyTransactionObserver(String sourceFilePath,
IDirectory sourceDirectory,
String destinationFilePath,
IPortalBaseFolder destinationRelativePathType)
|
|
FileCopyTransactionObserver(String sourceFilePath,
IPortalBaseFolder sourceRelativePathType,
String destinationFilePath,
IPortalBaseFolder destinationRelativePathType)
|
Method Summary | |
---|---|
void |
afterCommit()
Called by the observed transaction just after the commit operation. |
void |
afterRollback()
Called by the observed transaction just after the rollback operation. |
boolean |
beforeCommit()
Called by the observed transaction just before the commit operation. |
void |
beforeRollback()
Called by the observed transaction just before the rollback operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileCopyTransactionObserver(String sourceFilePath, IPortalBaseFolder sourceRelativePathType, String destinationFilePath, IPortalBaseFolder destinationRelativePathType)
public FileCopyTransactionObserver(String sourceFilePath, IDirectory sourceDirectory, String destinationFilePath, IPortalBaseFolder destinationRelativePathType)
Method Detail |
---|
public boolean beforeCommit() throws PortalException
ITransactionObserver
beforeCommit
in interface ITransactionObserver
PortalException
public void afterCommit() throws PortalException
ITransactionObserver
afterCommit
in interface ITransactionObserver
PortalException
public void beforeRollback() throws PortalException
ITransactionObserver
beforeRollback
in interface ITransactionObserver
PortalException
public void afterRollback() throws PortalException
ITransactionObserver
afterRollback
in interface ITransactionObserver
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |