public class CopyToIfsAction extends LibrarySessionAction
 CopyToIfsAction defines five options:
 
source
 
destination
 
language
 
encoding
 
acltype
| Modifier and Type | Field and Description | 
|---|---|
static String | 
ACLTYPE
The ACL type ("Private", "Public", "Published" etc.) to use when
 creating Document. 
 | 
static String | 
DESTINATION
The destination in iFS into which to copy the file or directory. 
 | 
static String | 
ENCODING
The encoding (character set) to use when indexing Document contents. 
 | 
static String | 
LANGUAGE
The Oracle language name to use when indexing Document contents. 
 | 
static String | 
SOURCE
The source file or directory (on the local filesystem) to copy into iFS. 
 | 
RESTART_SERVICECONTINUE_ON_ERROR, m_defaultOptions, m_optionsAPPEND_LOG, DATABASE_TYPE, DATABASE_URL, DB_USER_NAME, DB_USER_PASSWORD, DOMAIN_TYPE, ENABLE_SSL_SUPPORT, FOR_SCHEMA_UPGRADE, IFS_DOMAIN_DISPLAY_NAME, IFS_DOMAIN_NAME, IFS_SCHEMA_NAME, IFS_SCHEMA_PASSWORD, IFS_SERVICE_NAME, IFS_USER_NAME, IFS_USER_PASSWORD, INCLUDE_PATH, INITIAL_CONTEXT_FACTORY, LDAP_URL_DAS_LOOKUP, LDAP_USER_NAME, LDAP_USER_PASSWORD, OUTPUT_FILE, PARAMETER_FILE, REGISTRY, SCHEMA_VERSION_KEY, SECURITY_PROTOCOL_NAME, SERVICE_CONFIGURATION_NAME| Constructor and Description | 
|---|
CopyToIfsAction()
Creates a new CopyToIfsAction without specifying a source
 file/directory or a target location. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
execute(LibrarySession sess)
Copies the source file or directory into the specified destination in iFS. 
 | 
void | 
failed(Throwable error)
Does nothing. 
 | 
void | 
setACLType(String aclType)
Sets the ACL type to use when creating Documents. 
 | 
void | 
setEncoding(String encoding)
Sets the encoding (character set) to use when indexing Document contents. 
 | 
void | 
setLanguage(String language)
Sets the Oracle language name to use when indexing Document contents. 
 | 
void | 
setLocation(String destination)
Sets the destination in iFS where the source file or directory
 should be copied to. 
 | 
void | 
setSource(String source)
Sets the source file or directory to copy to iFS. 
 | 
void | 
stop()
Does nothing. 
 | 
perform, setDomain, setForSchemaUpgrade, setPassword, setRestartService, setSchemaPassword, setUsergetDescription, getName, getValue, isContinueOnError, isPostgres, putValue, setDefaultOptions, setDescription, setName, setOptionspublic static final String SOURCE
public static final String DESTINATION
public static final String LANGUAGE
public static final String ENCODING
public static final String ACLTYPE
public CopyToIfsAction()
public void setSource(String source)
source - the path (in the local filesystem) of the source file
                 or directory to copy to iFS.public void setLocation(String destination)
destination - the path in iFS into which to copy
                      the source file or directory.public void setLanguage(String language)
language - the Oracle language name to use when indexing Document contents.public void setEncoding(String encoding)
encoding - encoding (character set) to use when indexing Document contents.public void setACLType(String aclType)
aclType - ACL type ("Private", "Public", "Published" etc.) to use when
                  creating Document.public void execute(LibrarySession sess) throws IfsException, ActionFailedException
execute in class LibrarySessionActionsess - the connected LibrarySession (in admin mode if possible).IfsException - if a database error occurs.ActionFailedException - if any other error occurs.public void stop()
public void failed(Throwable error)
error - the error that occurred.Copyright © 2025. All rights reserved.