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
|
java.lang.String |
toString()
Return the file request as a string
|
addAttribute, getAttributes, getAttributesString, getThreadId, getTransactionId, hasAttribute, hasAttributes, isLastTransactionFile, isTransaction, isType, setAttributes, setThreadId, setTransactionId, setTransactionIdpublic 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 - CachedFileInfopublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.