Class NuxeoCmisServiceFactory
java.lang.Object
org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
org.nuxeo.ecm.core.opencmis.bindings.NuxeoCmisServiceFactory
- All Implemented Interfaces:
org.apache.chemistry.opencmis.commons.server.CmisServiceFactory
public class NuxeoCmisServiceFactory
extends org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
Factory for a wrapped
NuxeoCmisService
.
Called for each method dispatch by CmisAtomPubServlet
or
org.apache.chemistry.opencmis.server.impl.atompub.CmisBrowserBindingServlet
.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
protected BigInteger
protected BigInteger
protected BigInteger
protected BigInteger
protected boolean
protected long
protected long
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected File
protected org.apache.chemistry.opencmis.server.support.wrapper.CmisServiceWrapperManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected static BigInteger
getBigIntegerParameter
(Map<String, String> parameters, String key, int def) protected static long
getLongParameter
(Map<String, String> parameters, String key, long def) long
int
org.apache.chemistry.opencmis.commons.server.CmisService
getService
(org.apache.chemistry.opencmis.commons.server.CallContext context) void
protected void
initParameters
(Map<String, String> parameters) Methods inherited from class org.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
destroy, getTempFileOutputStream
-
Field Details
-
PROP_TEMP_DIRECTORY
- See Also:
-
PROP_ENCRYPT_TEMP_FILES
- See Also:
-
PROP_MEMORY_THERESHOLD
- See Also:
-
PROP_MAX_CONTENT_SIZE
- See Also:
-
PROP_DEFAULT_TYPES_MAX_ITEMS
- See Also:
-
PROP_DEFAULT_TYPES_DEPTH
- See Also:
-
PROP_DEFAULT_MAX_ITEMS
- See Also:
-
PROP_DEFAULT_DEPTH
- See Also:
-
DEFAULT_TYPES_MAX_ITEMS
public static final int DEFAULT_TYPES_MAX_ITEMS- See Also:
-
DEFAULT_TYPES_DEPTH
public static final int DEFAULT_TYPES_DEPTH- See Also:
-
DEFAULT_MAX_ITEMS
public static final int DEFAULT_MAX_ITEMS- See Also:
-
DEFAULT_DEPTH
public static final int DEFAULT_DEPTH- See Also:
-
wrapperManager
protected org.apache.chemistry.opencmis.server.support.wrapper.CmisServiceWrapperManager wrapperManager -
defaultTypesMaxItems
-
defaultTypesDepth
-
defaultMaxItems
-
defaultDepth
-
tempDirectory
-
encryptTempFiles
protected boolean encryptTempFiles -
memoryThreshold
protected long memoryThreshold -
maxContentSize
protected long maxContentSize
-
-
Constructor Details
-
NuxeoCmisServiceFactory
public NuxeoCmisServiceFactory()
-
-
Method Details
-
init
- Specified by:
init
in interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory
- Overrides:
init
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-
initParameters
-
getLongParameter
-
getBigIntegerParameter
protected static BigInteger getBigIntegerParameter(Map<String, String> parameters, String key, int def) -
getService
public org.apache.chemistry.opencmis.commons.server.CmisService getService(org.apache.chemistry.opencmis.commons.server.CallContext context) - Specified by:
getService
in interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory
- Specified by:
getService
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-
getTempDirectory
- Specified by:
getTempDirectory
in interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory
- Overrides:
getTempDirectory
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-
encryptTempFiles
public boolean encryptTempFiles()- Specified by:
encryptTempFiles
in interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory
- Overrides:
encryptTempFiles
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-
getMemoryThreshold
public int getMemoryThreshold()- Specified by:
getMemoryThreshold
in interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory
- Overrides:
getMemoryThreshold
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-
getMaxContentSize
public long getMaxContentSize()- Specified by:
getMaxContentSize
in interfaceorg.apache.chemistry.opencmis.commons.server.CmisServiceFactory
- Overrides:
getMaxContentSize
in classorg.apache.chemistry.opencmis.commons.impl.server.AbstractServiceFactory
-