Class FileFolderLoaderPost
- java.lang.Object
-
- org.springframework.extensions.webscripts.AbstractWebScript
-
- org.alfresco.repo.web.scripts.model.filefolder.FileFolderLoaderPost
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.extensions.webscripts.WebScript
public class FileFolderLoaderPost extends org.springframework.extensions.webscripts.AbstractWebScript implements org.springframework.context.ApplicationContextAware
Link toFileFolderLoader
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_DESCRIPTION_COUNT
static long
DEFAULT_DESCRIPTION_SIZE
static int
DEFAULT_FILE_COUNT
static int
DEFAULT_FILES_PER_TXN
static boolean
DEFAULT_FORCE_BINARY_STORAGE
static long
DEFAULT_MAX_FILE_SIZE
static long
DEFAULT_MAX_UNIQUE_DOCUMENTS
static long
DEFAULT_MIN_FILE_SIZE
static java.lang.String
KEY_COUNT
static java.lang.String
KEY_DESCRIPTION_COUNT
static java.lang.String
KEY_DESCRIPTION_SIZE
static java.lang.String
KEY_FILE_COUNT
static java.lang.String
KEY_FILES_PER_TXN
static java.lang.String
KEY_FOLDER_PATH
static java.lang.String
KEY_FORCE_BINARY_STORAGE
static java.lang.String
KEY_MAX_FILE_SIZE
static java.lang.String
KEY_MAX_UNIQUE_DOCUMENTS
static java.lang.String
KEY_MIN_FILE_SIZE
-
Constructor Summary
Constructors Constructor Description FileFolderLoaderPost()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res)
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
-
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
-
-
-
Field Detail
-
KEY_FOLDER_PATH
public static final java.lang.String KEY_FOLDER_PATH
- See Also:
- Constant Field Values
-
KEY_FILE_COUNT
public static final java.lang.String KEY_FILE_COUNT
- See Also:
- Constant Field Values
-
KEY_FILES_PER_TXN
public static final java.lang.String KEY_FILES_PER_TXN
- See Also:
- Constant Field Values
-
KEY_MIN_FILE_SIZE
public static final java.lang.String KEY_MIN_FILE_SIZE
- See Also:
- Constant Field Values
-
KEY_MAX_FILE_SIZE
public static final java.lang.String KEY_MAX_FILE_SIZE
- See Also:
- Constant Field Values
-
KEY_MAX_UNIQUE_DOCUMENTS
public static final java.lang.String KEY_MAX_UNIQUE_DOCUMENTS
- See Also:
- Constant Field Values
-
KEY_FORCE_BINARY_STORAGE
public static final java.lang.String KEY_FORCE_BINARY_STORAGE
- See Also:
- Constant Field Values
-
KEY_DESCRIPTION_COUNT
public static final java.lang.String KEY_DESCRIPTION_COUNT
- See Also:
- Constant Field Values
-
KEY_DESCRIPTION_SIZE
public static final java.lang.String KEY_DESCRIPTION_SIZE
- See Also:
- Constant Field Values
-
KEY_COUNT
public static final java.lang.String KEY_COUNT
- See Also:
- Constant Field Values
-
DEFAULT_FILE_COUNT
public static final int DEFAULT_FILE_COUNT
- See Also:
- Constant Field Values
-
DEFAULT_FILES_PER_TXN
public static final int DEFAULT_FILES_PER_TXN
- See Also:
- Constant Field Values
-
DEFAULT_MIN_FILE_SIZE
public static final long DEFAULT_MIN_FILE_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_MAX_FILE_SIZE
public static final long DEFAULT_MAX_FILE_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_MAX_UNIQUE_DOCUMENTS
public static final long DEFAULT_MAX_UNIQUE_DOCUMENTS
- See Also:
- Constant Field Values
-
DEFAULT_DESCRIPTION_COUNT
public static final int DEFAULT_DESCRIPTION_COUNT
- See Also:
- Constant Field Values
-
DEFAULT_DESCRIPTION_SIZE
public static final long DEFAULT_DESCRIPTION_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_FORCE_BINARY_STORAGE
public static final boolean DEFAULT_FORCE_BINARY_STORAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
execute
public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws java.io.IOException
- Specified by:
execute
in interfaceorg.springframework.extensions.webscripts.WebScript
- Throws:
java.io.IOException
-
-