public class InstancePropertyUtilities extends Object
| Constructor and Description |
|---|
InstancePropertyUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getBooleanDomainProperty(LibrarySession session,
String propKey)
Gets the value of a boolean domain property.
|
static boolean |
getBooleanDomainProperty(LibrarySession session,
String propKey,
boolean defValue)
Gets the value of a boolean domain property.
|
static String |
getBpelWorklistUrl(LibrarySession session)
Gets the BPEL Worklist URL for this instance.
|
static ControllerState |
getControllerState(LibrarySession session)
Gets the ControllerState for this instance.
|
static long |
getDavNullResourceLockExpirationPeriod(LibrarySession session)
Gets the DAV Null resource Lock timeout period in seconds.
|
static String[] |
getDavUserAgents(LibrarySession session)
Gets the set of user agents for DAV.
|
static TimeZone |
getDefaultTimeZone(LibrarySession session)
Gets the default TimeZone.
|
static long |
getDocumentDefinitionObjectExpirationPeriod(LibrarySession session)
Gets the Document Definition object expiration period in milliseconds.
|
static String |
getFdkConfigurationClass(LibrarySession session)
Gets the BPEL Worklist URL for this instance.
|
static long |
getGlobalAuditEventExpirationPeriod(LibrarySession session)
Gets the global audit event expiration period (in seconds).
|
static AuditTypeList |
getGlobalAuditTypeList(LibrarySession session)
Gets the AuditTypeList that defines the events saved into the
global audit history.
|
static OperationActionSpecification[] |
getGlobalOperationActionSpecifications(LibrarySession session)
Gets the global OperationActionSpecifications
|
static PropertyBundle |
getIdmCredentialManagerProperty(LibrarySession session)
Gets the Idm CredentialManager domain property
|
static int |
getIntegerDomainProperty(LibrarySession session,
String propKey,
int defValue)
Gets the value of an integer domain property.
|
static long |
getLongDomainProperty(LibrarySession session,
String propKey,
long defValue)
Gets the value of a long domain property.
|
static String |
getProductVersion(LibrarySession session)
Gets the Product version string.
|
static PropertyBundle |
getPropertyBundleDomainProperty(LibrarySession session,
String propKey)
Gets the value of a PropertyBundle domain property.
|
static String[] |
getStringArrayDomainProperty(LibrarySession session,
String propKey)
Gets the value of a String[] domain property.
|
static String |
getStringDomainProperty(LibrarySession session,
String propKey)
Gets the value of a String domain property.
|
static SystemObject |
getSystemObjectDomainProperty(LibrarySession session,
String propKey)
Gets the value of a SystemObject domain property.
|
static String |
getTempDirectory(LibrarySession session)
Gets the default mid-tier temp directory to use.
|
static String |
getWorkflowSchemaName(LibrarySession session)
Gets the Workflow schema name with which ECM is integrated.
|
static boolean |
isAutoUserProvisioningEnabled(LibrarySession session)
Gets whether the instance has Auto User Provisioning enabled.
|
static boolean |
isBpelWorkflowCreationEnabled(LibrarySession session)
Gets whether the instance allows the creation of custom
BPEL Workflows.
|
static boolean |
isDavCopyMoveThroughFolderLinkAllowed(LibrarySession session)
Gets whether dav allows copy and move ops through folder links.
|
static boolean |
isIdmEnabled(LibrarySession session)
Gets whether the instance is IDM enabled.
|
static boolean |
isLockObjectEnabled(LibrarySession session)
See if LOCKOBJECT is enabled.
|
static boolean |
isSynchronousSecurityRefreshEnabled(LibrarySession session)
Gets whether the instance is enabled to refresh security
synchronously.
|
static boolean |
isWebServiceSecureCleartextAuthenticationRequired(LibrarySession session)
Gets whether web service cleartext password authentication
requires HTTPS, or is allowed over plain HTTP for this instance.
|
static boolean |
isWindows()
Checks if the current operating system is windows based.
|
static boolean |
isWorkflowEnabled(LibrarySession session)
Gets whether the instance is Workflow enabled.
|
static void |
setControllerState(LibrarySession session,
ControllerState cs)
Sets the ControllerState for this instance.
|
static void |
setGlobalAuditTypeList(LibrarySession session,
AuditTypeList atl)
Gets the AuditTypeList that defines the events saved into the
global audit history.
|
static void |
setSystemObjectDomainProperty(LibrarySession session,
String propKey,
SystemObject sysObj)
Sets the value of a SystemObject domain property.
|
public static long getDocumentDefinitionObjectExpirationPeriod(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static long getGlobalAuditEventExpirationPeriod(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static AuditTypeList getGlobalAuditTypeList(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static void setGlobalAuditTypeList(LibrarySession session, AuditTypeList atl) throws IfsException
session - session context (must not be null)atl - the global AuditTypeListIfsException - if the operation failspublic static OperationActionSpecification[] getGlobalOperationActionSpecifications(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static boolean isLockObjectEnabled(LibrarySession session) throws IfsException
session - session contextIfsException - if operation fails.public static boolean isSynchronousSecurityRefreshEnabled(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static boolean isIdmEnabled(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static PropertyBundle getIdmCredentialManagerProperty(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static boolean isAutoUserProvisioningEnabled(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static TimeZone getDefaultTimeZone(LibrarySession session) throws IfsException
session - session contextIfsException - if the operation failspublic static String getTempDirectory(LibrarySession session) throws IfsException
session - session contextIfsException - if the operation failspublic static boolean isWindows()
public static String getProductVersion(LibrarySession session) throws IfsException
session - the session contextIfsException - if the operation failspublic static long getDavNullResourceLockExpirationPeriod(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static String[] getDavUserAgents(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static boolean isDavCopyMoveThroughFolderLinkAllowed(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static boolean isWebServiceSecureCleartextAuthenticationRequired(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static boolean isWorkflowEnabled(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static String getWorkflowSchemaName(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static boolean isBpelWorkflowCreationEnabled(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static String getBpelWorklistUrl(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static String getFdkConfigurationClass(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static ControllerState getControllerState(LibrarySession session) throws IfsException
session - session context (must not be null)IfsException - if the operation failspublic static void setControllerState(LibrarySession session, ControllerState cs) throws IfsException
session - session context (must not be null)cs - the ControllerStateIfsException - if the operation failspublic static boolean getBooleanDomainProperty(LibrarySession session, String propKey) throws IfsException
Defaults to false if the property doesn't exist or is null.
session - the session context (must not be null)propKey - the property keyIfsException - if the operation failspublic static boolean getBooleanDomainProperty(LibrarySession session, String propKey, boolean defValue) throws IfsException
Defaults to false if the property doesn't exist or is null.
session - the session context (must not be null)propKey - the property keydefValue - the default value to use if property is undefinedIfsException - if the operation failspublic static int getIntegerDomainProperty(LibrarySession session, String propKey, int defValue) throws IfsException
Defaults to the specified value if the property doesn't exist or is null.
session - the session context (must not be null)propKey - the property keydefValue - the default value to use if property is undefinedIfsException - if the operation failspublic static long getLongDomainProperty(LibrarySession session, String propKey, long defValue) throws IfsException
Defaults to the specified value if the property doesn't exist or is null.
session - the session context (must not be null)propKey - the property keydefValue - the default value to use if property is undefinedIfsException - if the operation failspublic static String getStringDomainProperty(LibrarySession session, String propKey) throws IfsException
session - the session context (must not be null)propKey - the property keyIfsException - if the operation failspublic static String[] getStringArrayDomainProperty(LibrarySession session, String propKey) throws IfsException
session - the session context (must not be null)propKey - the property keyIfsException - if the operation failspublic static PropertyBundle getPropertyBundleDomainProperty(LibrarySession session, String propKey) throws IfsException
session - the session context (must not be null)propKey - the property keyIfsException - if the operation failspublic static SystemObject getSystemObjectDomainProperty(LibrarySession session, String propKey) throws IfsException
session - the session context (must not be null)propKey - the property keyIfsException - if the operation failspublic static void setSystemObjectDomainProperty(LibrarySession session, String propKey, SystemObject sysObj) throws IfsException
session - the session context (must not be null)propKey - the property keysysObj - the SystemObjectIfsException - if the operation failsCopyright © 2025. All rights reserved.