public class SpoofFileLoader
extends org.alfresco.bm.http.AuthenticatedHttpEventProcessor
Alfresco 5.1: http:///alfresco/s/api/model/filefolder/load
| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_NAME_SITE_FILES_SPOOFED |
static String |
URL_LOAD_FILES |
| Constructor and Description |
|---|
SpoofFileLoader(org.alfresco.http.HttpClientProvider httpClientProvider,
org.alfresco.http.AuthenticationDetailsProvider authenticationDetailsProvider,
String baseUrl,
org.alfresco.bm.session.SessionService sessionService,
org.alfresco.bm.cm.FileFolderService fileFolderService,
org.alfresco.bm.user.UserDataService userDataService,
org.alfresco.bm.site.SiteDataService siteDataService,
int filesPerTxn,
long minFileSize,
long maxFileSize,
boolean forceBinaryStorage,
int descriptionCount,
long descriptionSize) |
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.bm.event.EventResult |
processEvent(org.alfresco.bm.event.Event event) |
void |
setEventNameSiteFilesSpoofed(String eventNameSiteFilesSpoofed)
Override the
default event name |
executeHttpMethodAsAdmin, executeHttpMethodAsUser, getAuthDetailProvider, getFullUrlForPath, getHttpProvider, releaseResourcesgetName, getWarnDelay, isAutoCloseSessionId, isAutoPropagateSessionId, isChart, processEvent, register, resumeTimer, setAutoCloseSessionId, setAutoPropagateSessionId, setBeanName, setChart, setEventName, setEventNames, setRegistry, setWarnDelay, stopTimer, suspendTimer, toStringpublic static final String URL_LOAD_FILES
public static final String EVENT_NAME_SITE_FILES_SPOOFED
public SpoofFileLoader(org.alfresco.http.HttpClientProvider httpClientProvider,
org.alfresco.http.AuthenticationDetailsProvider authenticationDetailsProvider,
String baseUrl,
org.alfresco.bm.session.SessionService sessionService,
org.alfresco.bm.cm.FileFolderService fileFolderService,
org.alfresco.bm.user.UserDataService userDataService,
org.alfresco.bm.site.SiteDataService siteDataService,
int filesPerTxn,
long minFileSize,
long maxFileSize,
boolean forceBinaryStorage,
int descriptionCount,
long descriptionSize)
sessionService - service to close this loader's sessionfileFolderService - service to access foldersuserDataService - service to access usernames and passwordssiteDataService - service to access site detailsfilesPerTxn - the number of files to write per transactionminFileSize - minimum spoofed file sizemaxFileSize - maximum spoofed file sizeforceBinaryStorage - true to force binaries to be written to the Alfresco content storedescriptionCount - the number of cm:description properties to writedescriptionSize - the size (bytes) of each cm:description propertyCopyright © 2015. All rights reserved.