Save Action
class SaveAction(fileManager: FileManager, failureHandler: (ErrorCode, Throwable?) -> Unit) : FileAction
Content copied to clipboard
SaveAction is a FileAction that forces a save of an AvailFile to disk outside of the normal save mechanism.
Author
Richard Arriaga
Parameters
Constructors
Link copied to clipboard
fun SaveAction(fileManager: FileManager, failureHandler: (ErrorCode, Throwable?) -> Unit)
Content copied to clipboard
Construct a SaveAction.
Functions
Link copied to clipboard
open override fun execute( file: AvailFile, timestamp: Long, originator: UUID): TracedAction
Content copied to clipboard
Executes the action on the provided AvailFile and answer the TracedAction required to reverse this FileAction update.
Properties
Link copied to clipboard
true indicates this FileAction is traced in a TracedAction; false otherwise.
Link copied to clipboard
The FileActionType that represents this FileAction.