public class DeleteFileRequest extends FileRequest
Contains the details of a file that has been marked for delete when the database is offline.
AttrProtocol, AttrUserName, DELETE, LOAD, SAVE, TRANSSAVE
Constructor and Description |
---|
DeleteFileRequest(int fid,
int stid,
String tempPath,
String virtPath,
FileState state)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getFileId()
Return the file identifier
|
FileState |
getFileState()
Return the associated file state
|
int |
getStreamId()
Return the stream identifier, zero for the main file stream
|
String |
getTemporaryFile()
Return the temporary file path
|
String |
getVirtualPath()
Return the files virtual path
|
boolean |
hasFileState()
Check if the request has an associated file state
|
void |
setFileState(FileState state)
Set the associated file state for the request
|
void |
setVirtualPath(String path)
Set the files virtual path
|
String |
toString()
Return the file request as a string
|
addAttribute, getAttributes, getAttributesString, getThreadId, getTransactionId, hasAttribute, hasAttributes, isLastTransactionFile, isTransaction, isType, setAttributes, setThreadId, setTransactionId, setTransactionId
public final int getFileId()
public final int getStreamId()
public final String getVirtualPath()
public final String getTemporaryFile()
public final boolean hasFileState()
public final FileState getFileState()
public final void setFileState(FileState state)
state
- FileStatepublic final void setVirtualPath(String path)
path
- StringCopyright © 2005–2017 Alfresco Software. All rights reserved.