public abstract class FdkConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
FdkConfiguration()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
abstract ManagersFactory |
constructManagersFactory(FdkSession session)
Construct a ManagersFactory for a quest or system session.
|
protected void |
dispose()
Method that needs to be called by the subclass dispose() method.
|
String |
getBpelWorklistUrl()
Gets the Bpel Worklist App Url.
|
long |
getDavNullResourceLockExpirationPeriod()
Gets the DAV Null resource Lock timeout period in seconds.
|
String[] |
getDavUserAgents()
Returns the User-Agent headers (or parts of) for HTTP clients known to
be pure DAV clients.
|
String[] |
getFileExtensionsOmittedFromVirusScan()
Returns the list of omitted extensions from virsu scanning.
|
static FdkConfiguration |
getInstance()
Returns the singleton instance of this class.
|
Date |
getLastAntiVirusDefinitionUpdate()
Returns the Date when the last Virus Scanner definition file
update occured.
|
String |
getProductVersion()
Gets the product version string.
|
protected void |
initialize(LibrarySession session)
Method that needs to be called by the subclass initizlize() methods.
|
protected void |
initializeStandalone(String serviceName,
SystemUserCredential sysCred)
Initialize after constructing standalone instance.
|
static void |
initializeStandaloneMode(String configClass,
String serviceName,
SystemUserCredential sysCred)
Initializes the instance for standalone mode.
|
boolean |
isDavCopyMoveThroughFolderLinkAllowed()
Returns whether the DavServlet allows Copy and Move on source paths
that contain Folder Links.
|
boolean |
isIdmEnabled()
Returns whether IDM is enabled.
|
boolean |
isInitialized()
Returns true if the instance is in an initialized state.
|
boolean |
isVirusScannerEnabled()
Returns whether the Virus Scanner feature is enabled.
|
boolean |
isWorkflowEnabled()
Returns whether the Workflow feature is enabled.
|
abstract FdkSession |
login(FdkCredential cred)
Login and create an FdkSession context.
|
abstract String |
lookupItemType(LibraryObject reposObject)
Lookup the FDK type for the specified LibraryObject.
|
public static final void initializeStandaloneMode(String configClass, String serviceName, SystemUserCredential sysCred)
serviceName
- The service name.sysCred
- The System user credentialpublic static final FdkConfiguration getInstance()
initialize()
methods.protected void initializeStandalone(String serviceName, SystemUserCredential sysCred)
serviceName
- the service namesysCred
- the system user credentialIfsException
- if operation failspublic final boolean isInitialized()
public abstract FdkSession login(FdkCredential cred) throws FdkException
cred
- the FdkCredentialFdkException
- if operation failspublic abstract ManagersFactory constructManagersFactory(FdkSession session) throws FdkException
session
- the sessionFdkException
- if operation failspublic abstract String lookupItemType(LibraryObject reposObject) throws IfsException
reposObject
- the LibraryObjectIfsException
public final long getDavNullResourceLockExpirationPeriod()
public final String[] getDavUserAgents()
public final String getBpelWorklistUrl()
public final boolean isIdmEnabled()
public final boolean isVirusScannerEnabled()
public final Date getLastAntiVirusDefinitionUpdate()
public final String[] getFileExtensionsOmittedFromVirusScan()
public final boolean isWorkflowEnabled()
public final String getProductVersion()
public final boolean isDavCopyMoveThroughFolderLinkAllowed()
protected void initialize(LibrarySession session) throws IfsException
IfsException
protected void dispose()
Copyright © 2023. All rights reserved.