public class CAProfileImportCLI extends CommandCLI
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
CAProfileImportCLI(CLI parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
createOptions() |
void |
execute(org.apache.commons.cli.CommandLine cmd) |
void |
importProfile(netscape.ldap.LDAPConnection conn,
java.lang.String baseDN,
java.lang.String classID,
java.lang.String profileID,
java.lang.String profilePath)
Import one profile from the filesystem into the database.
|
void |
importProfiles(com.netscape.cmscore.apps.EngineConfig cs,
com.netscape.cmscore.registry.PluginRegistry pluginRegistry,
netscape.ldap.LDAPConnection conn,
java.lang.String baseDN,
java.lang.String inputFolder)
Import profiles from the filesystem into the database.
|
executeaddModule, findModule, findModules, getClient, getClient, getConfig, getDescription, getFullModuleName, getFullName, getManPage, getModule, getModules, getName, getParent, getRoot, isDeprecated, printCommands, printHelp, removeModule, runExternal, runExternal, setDescription, setNamepublic CAProfileImportCLI(CLI parent)
public void createOptions()
createOptions in class CommandCLIpublic void execute(org.apache.commons.cli.CommandLine cmd)
throws java.lang.Exception
execute in class CommandCLIjava.lang.Exceptionpublic void importProfiles(com.netscape.cmscore.apps.EngineConfig cs,
com.netscape.cmscore.registry.PluginRegistry pluginRegistry,
netscape.ldap.LDAPConnection conn,
java.lang.String baseDN,
java.lang.String inputFolder)
throws java.lang.Exception
java.lang.Exceptionpublic void importProfile(netscape.ldap.LDAPConnection conn,
java.lang.String baseDN,
java.lang.String classID,
java.lang.String profileID,
java.lang.String profilePath)
throws java.lang.Exception
conn - LDAP connection.classID - The profile class of the profile to import.profileID - The ID of the profile to import.profilePath - Path to the on-disk profile configuration.java.lang.Exception