public class MultipleFileRequest extends FileRequest
Contains the details of a transaction of multiple file requests.
AttrProtocol, AttrUserName, DELETE, LOAD, SAVE, TRANSSAVE
Constructor and Description |
---|
MultipleFileRequest(int typ,
int tranId)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addFileInfo(CachedFileInfo finfo)
Add a file to this request
|
CachedFileInfo |
getFileInfo(int idx)
Get file details for the specified file
|
int |
getNumberOfFiles()
Return the number of files in this request
|
String |
toString()
Return the file request as a string
|
addAttribute, getAttributes, getAttributesString, getThreadId, getTransactionId, hasAttribute, hasAttributes, isLastTransactionFile, isTransaction, isType, setAttributes, setThreadId, setTransactionId, setTransactionId
public MultipleFileRequest(int typ, int tranId)
typ
- inttranId
- intpublic final int getNumberOfFiles()
public final CachedFileInfo getFileInfo(int idx)
idx
- intpublic final void addFileInfo(CachedFileInfo finfo)
finfo
- CachedFileInfoCopyright © 2005–2018 Alfresco Software. All rights reserved.