public class FilesysTransaction extends Object
Holds the details of a transaction used during a batch of filesystem driver requests.
Constructor and Description |
---|
FilesysTransaction()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
clearTransaction()
Clear the transaction
|
UserTransaction |
getTransaction()
Return the active transaction
|
boolean |
hasTransaction()
Check if the transaction is valid
|
boolean |
isReadOnly()
Check if the transaction is read-only
|
void |
setTransaction(UserTransaction trans,
boolean readOnly)
Set the transaction
|
String |
toString()
Return the transaction details as a string
|
public final boolean hasTransaction()
public final boolean isReadOnly()
public final UserTransaction getTransaction()
public final void setTransaction(UserTransaction trans, boolean readOnly)
trans
- UserTransactionreadOnly
- booleanpublic final void clearTransaction()
Copyright © 2005–2017 Alfresco Software. All rights reserved.