public interface BBjAdminBase extends BBjAdminCommitPropertyWriter, java.io.Serializable
This is the main interface and entrypoint for accessing BBj administration functionality. Server information and configuration settings are all expressed as properties for simplicity and to allow for easy extension. Constants are declared in the API so that properties can be easily addressed even though they are all Strings at the base level. Changes to property values or setting values for new properties must be committed. This allows the user to completely configure property settings and then commit or roll back all of the changes as a group.
Do not directly create a BBjAdminBase instance from one of its implementation classes. Instead, use the com.basis.api.admin.BBjAdminFactory class to acquire an instance/connection. The following sample code shows how to acquire a connection using Java and BBj code:
import com.basis.api.admin.BBjAdminFactory;
import com.basis.api.admin.BBjAdminBase;
import com.basis.api.admin.BBjAdminDatabase;
import java.net.InetAddress;
...
BBjAdminBase api = BBjAdminFactory.getBBjAdmin(InetAddress.getByName("myserver"), 2002, true, "admin", "mypassword");
BBjAdminSet databases = api.getDatabases();
...
use com.basis.api.admin.BBjAdminFactory
use com.basis.api.admin.BBjAdminBase
use com.basis.api.admin.BBjAdminDatabase
use java.net.InetAddress
...
declare BBjAdminBase api!
declare BBjAdminSet databases!
api! = BBjAdminFactory.getBBjAdmin(InetAddress.getByName("myserver"), 2002, true, "admin", "mypassword")
databases! = api!.getDatabases()
...
Modifier and Type | Field and Description |
---|---|
static java.util.logging.Logger |
LOG |
static int |
PERMISSION_ADD_USER
Permission flag to allow user to add a new user account.
|
static int |
PERMISSION_ALLOW_ADMIN
Permission flag to allow user to use the Enterprise Manager.
|
static int |
PERMISSION_ALLOW_ALL
Permission flag to allow user to perform all administrative related tasks
on a server.
|
static int |
PERMISSION_ASYNCH_TRIGGER
Permission flag to allow user to manage asynchronous triggers.
|
static int |
PERMISSION_ATTACH_EXISTING_DB
Permission flag to allow user to attach to an existing data dictionary.
|
static int |
PERMISSION_AUDITING
Permission flag to allow user to manage change audit jobs.
|
static int |
PERMISSION_CLOSE_FILES
Permission flag to allow user to force-close currently open file
channels.
|
static int |
PERMISSION_CONNECTION_POOLS
Permission flag to allow user to view/manage the list of connection
pools.
|
static int |
PERMISSION_COPY_JOBS
Permission flag to allow user to view/manage the list of currently
configured online copy jobs.
|
static int |
PERMISSION_CREATE_NEW_DB
Permission flag to allow user to create a new database including new data
dictionary.
|
static int |
PERMISSION_CREATE_NEW_TRIGGER
Permission flag to allow user to create a new file trigger.
|
static int |
PERMISSION_DELETE_DB
Permission flag to allow user to drop a database.
|
static int |
PERMISSION_DELETE_USER
Permission flag to allow user to delete a user account.
|
static int |
PERMISSION_DOCUMENT_INDEXES
Permission flag to allow user to manage document indexes.
|
static int |
PERMISSION_EMAIL_SERVICES
Permission flag to allow user to manage email services.
|
static int |
PERMISSION_JDBC_CONNECTIONS
Permission flag to allow user to view/manage the list of currently open
JDBC/ODBC connections.
|
static int |
PERMISSION_METRICS
Permission flag to allow user to view current metrics page.
|
static int |
PERMISSION_OPEN_FILES
Permission flag to allow user to view the currently open file channels.
|
static int |
PERMISSION_PROCESSES
Permission flag to allow user to view/manage the currently running BBj
processes.
|
static int |
PERMISSION_REPLICATION
Permission flag to allow user to manage replication jobs.
|
static int |
PERMISSION_SCHEDULING
Permission flag to allow user to configure scheduled and autorun jobs.
|
static int |
PERMISSION_SERVER_CONFIG
Permission flag to allow user to configure the server.
|
static int |
PERMISSION_SET_PASSWORDS
Permission flag to allow user to change a user's password other than
their own.
|
static int |
PERMISSION_SET_PERMISSIONS
Permission flag to allow user to set permissions for other users.
|
static int |
PERMISSION_TABLE_ANALYSIS_QUEUE
Permission flag to allow user to view/manage the table analysis queue.
|
static java.lang.String |
SUPPORT_UPLOAD_COMPANY
Company name to use when sending a support upload to BASIS.
|
static java.lang.String |
SUPPORT_UPLOAD_SENDER_EMAIL
Email address to use to let BASIS support know who sent a support upload.
|
static java.lang.String |
SUPPORT_UPLOAD_SUPPORT_INCIDENT_ID
Support incident ID to use when sending a support upload to BASIS.
|
Modifier and Type | Method and Description |
---|---|
void |
abortSupportUploadJob(java.lang.String p_uploadId)
Cancels the specified support upload job.
|
void |
acceptLdapCertificate(java.lang.String p_certificate)
Called to accept the LDAP certificate and add it to the accepted
certificate list.
|
void |
addReplicationJob(BBjAdminReplicationJob job)
Add the specified replication job to the list of running jobs.
|
BBjAdminUserPermissions |
addUser(java.lang.String p_user,
java.lang.String p_password)
Create a new user (committed).
|
BBjAdminDatabase |
attachDatabaseOnDisk(java.lang.String p_name,
java.lang.String p_dictionary)
Attach to an existing database on disk.
|
BBjAdminDatabase |
attachDatabaseOnDisk(java.lang.String p_name,
java.lang.String p_dictionary,
boolean p_errorOnBadDictionary)
Attach to an existing database on disk.
|
void |
changePassword(java.lang.String p_user,
java.lang.String p_password)
Change user password.
|
boolean |
checkUserPermission(int p_permission)
Returns true if the user logged into the API has the specified
permission.
|
void |
clearCache()
Clear the BBj program cache.
|
void |
clearFileOpenInfo()
Clears the file open statistics gathered when a file is opened.
|
void |
commit(java.lang.String p_message)
Specify a specific commit message that will accompany the commit to the configuration Git archive.
|
BBjAdminAsynchTriggerJob |
createAsynchTriggerJob(java.lang.String p_name,
java.lang.String p_address,
int p_port,
double p_kbps,
boolean p_ssl,
java.lang.String p_user,
java.lang.String p_password,
java.lang.String p_workingDir,
java.lang.String p_config,
boolean p_useDefaultAlias,
java.lang.String p_writeProgram,
java.lang.String p_removeProgram)
Creates a new asynchronous trigger job.
|
BBjAdminAuditReplicationJob |
createAuditReplicationJob(java.lang.String p_name,
java.lang.String p_dbRoot,
boolean p_synchronous,
int p_rolloverType,
int p_rolloverFrequency)
Creates a new filesystem audit job.
|
<E> BBjAdminList<E> |
createBBjAdminList()
Create a new BBjAdminList instance.
|
<K,V> BBjAdminMap<K,V> |
createBBjAdminMap()
Create a BBjAdminMap.
|
<E> BBjAdminSet<E> |
createBBjAdminSet()
Create a BBjAdminSet.
|
BBjAdminBBjReplicationJob |
createBBjReplicationJob(java.lang.String p_name,
boolean p_synchronous)
Creates a new BBj replication job.
|
BBjAdminBBjReplicationJob |
createBBjReplicationJob(java.lang.String p_name,
java.lang.String p_address,
int p_port,
boolean p_ssl,
java.lang.String p_user,
java.lang.String p_pwd,
boolean p_synchronous)
Creates a new BBj replication job with the specified configuration info.
|
BBjAdminBBjReplicationJob |
createBBjReplicationJob(java.lang.String p_name,
java.lang.String p_address,
int p_port,
double p_kbps,
boolean p_ssl,
java.lang.String p_user,
java.lang.String p_pwd,
boolean p_synchronous)
Creates a new BBj replication job with the specified configuration info.
|
BBjAdminBBjReplicationJob |
createBBjReplicationJob(java.lang.String p_name,
java.lang.String p_address,
int p_port,
double p_kbps,
boolean p_ssl,
java.lang.String p_user,
java.lang.String p_pwd,
boolean p_synchronous,
java.lang.String p_eventHandlerProgram,
java.lang.String p_eventHandlerUser,
java.lang.String p_eventHandlerPassword,
java.lang.String p_eventHandlerConfig,
java.lang.String p_eventHandlerWorkingDir,
java.lang.String p_eventHandlerClasspath,
java.lang.String p_eventEmailService,
java.lang.String p_eventEmailRecipients)
Creates a new BBj replication job with the specified configuration info.
|
BBjAdminBuiApplication |
createBuiApplication()
Deprecated.
|
BBjAdminDatabase |
createDatabaseOnDisk(java.lang.String p_name,
java.lang.String p_dictionary,
BBjAdminDatabase.DatabaseType p_type)
Create a new database and create the data dictionary files.
|
void |
createDirectory(java.lang.String p_fullPath,
boolean p_recursive)
Creates the specified directory on the server.
|
BBjAdminDocumentIndex |
createDocumentIndex(java.lang.String p_name,
java.lang.String p_type)
Creates a new BBjAdminDocumentIndex with the given name.
|
BBjAdminOnlineCopyJobConfig |
createOnlineCopyJobConfig()
Create an empty OnlineCopyJob.
|
BBjAdminOnlineCopyJobConfig |
createOnlineCopyJobConfig(java.lang.String p_file)
Create an OnlineCopyJob from a file.
|
BBjAdminAppDeploymentApplication |
createRemoteApplication()
Create a new remote application configuration.
|
BBjAdminServer |
createServerConfiguration(BBjAdminServer.ServerType p_type)
Create an empty server configuration of the specified type.
|
BBjAdminSQLReplicationJob |
createSQLReplicationJob()
Creates a new SQL replication job.
|
BBjAdminWebService |
createWebService()
Returns a new instance of a Web service.
|
void |
dropDatabase(java.lang.String p_name,
boolean p_deleteAllFiles)
Drop a database by name, optionally deleting all files.
|
void |
dropDocumentIndex(java.lang.String p_name)
Drops the specified document index.
|
void |
dropSecurityGroup(java.lang.String p_group)
Drops the specified security group (committed).
|
void |
dropUser(java.lang.String p_user)
Drop a user (committed).
|
void |
dumpHeap()
Dump the memory heap to the log.
|
void |
dumpThreads()
Dump JVM threads to the log.
|
void |
exportReplicationJob(BBjAdminReplicationJob p_job,
java.lang.String p_filename)
Exports the replication job in a format that can then be read in using
the import() method.
|
void |
generateWebStartCertificate(java.lang.String p_company,
java.lang.String p_host,
int p_port)
Tells BBj Services to have BASIS generate the Web Start certificates on
the server.
|
java.lang.String |
getAbsolutePath(java.lang.String p_filename)
Returns the absolute path for the specified file or directory as a
string.
|
java.util.List<BBjAdminLicenseFeatureInfo> |
getAllLicenseFeatureInfo()
Returns a list of BBjAdminLicenseFeatureInfo object for each feature the license uses.
|
BBjAdminList<BBjAdminAsynchTriggerJob> |
getAsynchTriggerJobs()
Returns a list of all the asynchronous trigger jobs currently configured
on the system.
|
BBjAdminList<BBjAdminAsynchTriggerTarget> |
getAsynchTriggerTargets()
Returns a list of all the asynchronous trigger job targets on this
machine.
|
BBjAdminAuditDB |
getAuditDatabase(java.lang.String p_dbName) |
BBjAdminList<BBjAdminAuditReplicationJob> |
getAuditJobs()
Returns a list of all the audit jobs currently configured on the server.
|
BBjAdminList<BBjAdminAuditReplicationTarget> |
getAuditTargets()
Returns a list of all the audit target currently on this server.
|
BBjAdminAutorun |
getAutorunConfiguration()
Get the autorun configuration.
|
BBjAdminList<BBjAdminSystemPermission> |
getAvailableSystemPermissions()
Returns a list of the system permissions that are available on the
server.
|
BBjAdminBBjFile |
getBBjFile(java.lang.String p_path)
Returns a BBjAdminBBjFile for the specified full path.
|
byte[] |
getBBjFileRecord(java.lang.String p_path,
int p_recNum)
Reads the record at the specified record location and returns the contents of the record as a byte[].
|
BBjAdminBBjProcess |
getBBjProcess(java.lang.String p_id)
Returns the BBjAdminBBjProcess for the specified ID.
|
java.util.List<BBjAdminBBjProcess> |
getBBjProcesses()
Get the set of BBj processes (read-only).
|
java.util.Properties |
getBBjProperties()
Returns a Map containing all the properties and their values found in the
BBj.properties file.
|
java.lang.String |
getBBjPropertiesFile()
Returns a read-only copy of the contents of the BBj.properties file.
|
BBjAdminBuiConfiguration |
getBuiConfiguration()
Deprecated.
|
BBjAdminList<java.lang.String> |
getClasspath(java.lang.String p_cpName)
Returns the list of items that make up the specified classpath.
|
BBjAdminList<java.lang.String> |
getClasspathNames()
Returns a list of the session specific classpaths on the server.
|
BBjAdminClientBBjProcess |
getClientBBjProcess(java.lang.String p_id)
Returns the BBjAdminBBjProcess for the specified ID.
|
java.util.List<BBjAdminClientBBjProcess> |
getClientBBjProcesses()
Get the set of BBj processes (read-only).
|
java.util.List<BBjAdminClientOpenFile> |
getClientOpenFiles()
Get the list of open files (read-only).
|
java.util.List<BBjAdminClientReplicationJob> |
getClientReplicationJobs()
Returns a list of the replication jobs currently running on the system.
|
java.lang.String |
getConfigCommitDiffText(java.lang.String p_commitId1,
java.lang.String p_commitId2)
Returns the Git diff patch text between two commits.
|
java.util.List<BBjAdminGitCommit> |
getConfigCommits(int startDate,
int endDate)
Returns a list of the config directory commits that have occurred during
the optional range of dates.
|
BBjAdminConfiguration |
getConfiguration()
Returns an object which provides access to server configuration settings.
|
BBjAdminConnectionPool |
getConnectionPool(java.lang.String p_poolName)
Returns the specified connection pool for administration purposes.
|
BBjAdminList<BBjAdminConnectionPool> |
getConnectionPools()
Returns a list of available connection pools for administration purposes.
|
BBjAdminDatabase |
getDatabase(java.lang.String p_name)
Get a single existing database.
|
java.util.Set<java.lang.String> |
getDatabaseNames()
Get the names of all accessible databases.
|
BBjAdminSet<BBjAdminDatabase> |
getDatabases()
Get all accessible databases.
|
BBjAdminDocumentIndex |
getDocumentIndex(java.lang.String p_name)
Returns a document index for the specified name.
|
BBjAdminList<BBjAdminDocumentIndex> |
getDocumentIndexes()
Returns a list of all the document indexes available on the server.
|
BBjAdminEmailService |
getEmailService(java.lang.String p_name)
Get the email service with the specified name.
|
BBjAdminList<BBjAdminEmailService> |
getEmailServices()
Returns a list of the currently configured email services on the server.
|
BBjAdminList<BBjAdminReplicationJob> |
getEnabledReplicationJobs()
Returns a list of all the currently enabled replication jobs.
|
BBjAdminEventManager |
getEventManager()
The event manager manages the system events that may occur on the server.
|
BBjAdminFile |
getFile(java.lang.String p_fullPath)
Returns a BBjAdminFile for the specified full path.
|
BBjAdminMap<BBjAdminFileOpenInfoKey,BBjAdminFileOpenInfoValue> |
getFileOpenInfo()
Returns the file open statistics gathered when a file is opened.
|
long |
getFreeSpace(java.lang.String p_path)
Returns the number of free bytes available
|
BBjAdminSet<BBjAdminIndexBuilderJob> |
getIndexBuilderJobs()
Returns a list of the currently running index builder jobs on the server.
|
java.util.List<java.lang.String> |
getJarIndexJars(java.lang.String p_jarFilePath)
Returns a list of the jars referenced in a JarIndex if one is present in the specified jar file.
|
java.util.Properties |
getJavaInfo(java.lang.String p_javaHome,
boolean p_server)
Returns the information about the Java Virtual Machine located at the
specified location.
|
BBjAdminJnlpConfiguration |
getJnlpConfiguration()
Returns the configuration object for managing the JNLP applications and
settings on the server.
|
BBjAdminLicenseFeatureInfo |
getLicenseFeatureInfo(java.lang.String p_feature)
Returns the license information for the specified feature.
|
java.lang.String |
getLocaleString()
Returns the Locale as a string.
|
java.util.List<BBjAdminMemoryUsage> |
getMemoryUsageData(java.lang.String p_alternateLocation) |
BBjAdminList<java.lang.String> |
getMountedTriggerDirectories()
Returns a list of the trigger directories that are currently mounted by
the server.
|
BBjAdminSet<BBjAdminOnlineCopyJobRun> |
getOnlineCopyJobs()
Get all currently running Online Copy Jobs.
|
BBjAdminOpenFile |
getOpenFile(java.lang.String p_id)
Get the open file (read-only) with the specified ID.
|
java.util.List<BBjAdminOpenFile> |
getOpenFiles()
Get the set of open files (read-only).
|
java.util.List<BBjAdminClientOSFile> |
getOSFiles(BBjAdminClientOSFile p_parent,
java.lang.String[] p_filenameFilter,
java.util.Date p_modifiedFilterStart,
java.util.Date p_modifiedFilterEnd)
Returns a list of files from the operating system.
|
java.lang.String |
getPassword()
Deprecated.
|
BBjAdminAppDeploymentConfiguration |
getRemoteConfiguration()
Returns the configuration object for managing the remote-launch applications (including BUI) and
settings on the server.
|
BBjAdminReplicationJob |
getReplicationJob(java.lang.String p_uuid)
Returns the replication job running on the system that has the specified
UUID.
|
BBjAdminList<BBjAdminReplicationJob> |
getReplicationJobs()
Returns a list of the replication jobs currently running on the system.
|
BBjAdminList<BBjAdminReplicationTarget> |
getReplicationTargets()
Returns a list of the replication targets on the system.
|
BBjAdminList<java.lang.String> |
getRoots()
Returns a list of all the roots or drives on the machine.
|
BBjAdminList<java.lang.String> |
getSecurityGroupNames()
Returns a list of available security group names.
|
BBjAdminList<BBjAdminSecurityGroup> |
getSecurityGroups()
Returns a list of available security groups.
|
BBjAdminMap<BBjAdminServer.ServerType,BBjAdminSet<BBjAdminServer>> |
getServerConfigurations()
Get the server configuration.
|
BBjAdminSet<BBjAdminServer> |
getServerConfigurations(BBjAdminServer.ServerType p_type)
Get the server configurations for a single type of server.
|
BBjAdminUserPermissions |
getSingleUserPermissions(java.lang.String p_user)
Get the permissions for a single user.
|
BBjAdminSet<BBjAdminSQLConnection> |
getSQLConnections()
Get the set of SQL connections (read-only).
|
java.lang.String |
getStartTime()
Returns the time that the currently running BBjServices was started as a formatted timestamp string
including the timezone.
|
BBjAdminList<BBjAdminStartupException> |
getStartupExceptions()
Returns a list of any startup exceptions that occured while BBj Services
was attempting to start.
|
BBjAdminSupportUploadJob |
getSupportUploadJob(java.lang.String p_uploadId)
Returns an instance of BBjAdminSupportUploadJob containing the
information about the current status of the specified upload job ID.
|
BBjAdminList<BBjAdminSupportUploadJob> |
getSupportUploadJobs()
Returns a list of all the currently running support upload jobs.
|
java.lang.String |
getSystemProperty(java.lang.String p_property,
java.lang.String p_default)
Returns a system property from the server.
|
BBjAdminSet<BBjAdminTableAnalysisJob> |
getTableAnalysisJobs()
Returns a list of the currently queued and/or running table analysis jobs
on the server.
|
BBjAdminTaskQueue |
getTaskQueue()
Returns a list of all the currently configured task groups on the server.
|
java.lang.String |
getTemplateForFile(java.lang.String p_filename)
Returns a string template (if one can be found) for the specified data
file.
|
java.lang.String |
getTextFileContents(java.lang.String p_fullPath)
Returns the contents of the specified file from the remote machine as a
string.
|
java.lang.String |
getTokenValue() |
long |
getTotalSpace(java.lang.String p_path)
Returns the total space available on the specified root or drive.
|
BBjAdminTriggers |
getTriggers(java.lang.String p_filename)
Get the trigger configuration for a file.
|
java.lang.String |
getUser()
Get the name of the user who got this BBjAdmin instance.
|
java.util.List<java.lang.String> |
getUserNames()
Get the names of users.
|
BBjAdminList<BBjAdminUserPermissions> |
getUserPermissions()
Get the permissions for all users.
|
BBjAdminWebAppServer |
getWebAppServer()
Get the Web App Server configuration.
|
BBjAdminWebService |
getWebService(java.lang.String p_name)
Returns the BBjAdminWebService instance for the specified service, or
null if no service by that name exists.
|
BBjAdminList<BBjAdminWebService> |
getWebServices()
Returns a list of available web services.
|
void |
hardResetConfigCommit(java.lang.String p_commitId,
java.lang.String p_name,
java.lang.String p_email)
Performs a hard reset of the configuration, returning it to the specified commit ID state.
|
BBjAdminReplicationJob |
importReplicationJob(java.lang.String p_filename,
java.lang.String p_user,
java.lang.String p_password)
Loads the contents of a replication job export file into the object.
|
boolean |
isAddressSameAsServer(java.lang.String p_address)
Returns true if the specified host address resolves to the same address
as the machine running the Admin Server.
|
boolean |
isAdminOnlyMode()
Asks the server if it is currently set to admin only mode.
|
boolean |
isOSWindows()
Returns true if the server side OS is MS Windows of some type.
|
java.lang.String |
isReplicationAllowed()
Asks the server if it is allowed to peform replication jobs.
|
boolean |
isRunningAdminOnlyMode()
Asks the server if it is currently RUNNING in admin only mode.
|
boolean |
isWS3Allowed()
Checks if Version 3 WebServices are available.
|
java.lang.String |
jsonExecute(java.lang.String json)
Executes some server-side processing defined by the supplied JSON string.
|
void |
migrateToEnhancedDatabase(java.lang.String p_sourceDatabase,
java.lang.String p_destinationDatabase,
java.lang.String p_destinationDirectory)
Creates a new data dictionary in the specified format at the specified
destination location using the dictionary at p_sourceDictionary.
|
void |
mountTriggerDirectory(java.lang.String p_fullPath)
Mounts a directory to be listed when asking for a list of mounted trigger
directories.
|
BBjAdminConnectionPool |
newConnectionPool()
Returns a new connection pool definition.
|
BBjAdminDatabase |
newDatabaseInstance(java.util.Map<java.lang.String,java.lang.Object> p_map)
Returns a new, empty database instance.
|
BBjAdminEmailService |
newEmailService()
Creates and returns a new Email Service that provides the ability to send
email messages using the Admin API or easily configure various parts of
the system to send notifications via email such as replication problems,
etc.
|
BBjAdminLDAPSearch |
newLDAPSearch()
Returns a new, blank LDAP search instance.
|
BBjAdminSecurityGroup |
newSecurityGroup(java.lang.String p_groupName)
Returns a new SecurityGroup instance.
|
BBjAdminTask |
newTask(BBjAdminTask.TaskType p_type)
Returns a new task of the specified type.
|
BBjAdminTaskGroup |
newTaskGroup()
Returns a new task group from the server.
|
void |
refresh()
Refresh properties that may have changed on the server, locally changed
properties will not be overridden.
|
void |
release()
Release resources held.
|
void |
reloadDatabaseConfig()
Reload the Database configuration file.
|
void |
removeBuiApplication(java.lang.String p_name)
Removes the specified BUI application configuration.
|
void |
removeConnectionPool(java.lang.String p_poolName)
Removes the specified connection pool from the server.
|
void |
removeEmailService(java.lang.String p_name)
Removes the specified email service configuration from the server.
|
void |
removeReplicationJob(java.lang.String p_uuid,
boolean p_erase)
Removes the replication job identified by the specified UUID.
|
void |
removeReplicationTarget(java.lang.String p_uuid,
boolean p_erase)
Removes the replication target identified by the specified UUID.
|
void |
removeTaskGroup(BBjAdminTaskGroup p_group)
Removes the specified task group from the server.
|
void |
removeTriggers(java.lang.String p_filename)
Removes the trigger from the specified file.
|
void |
removeWebService(java.lang.String p_name)
Removes the specified web service from the server.
|
void |
restartBBjServices(boolean p_waitForClients)
Tells the remote BBj Services to shutdown and restart.
|
void |
setAdminOnlyMode(boolean p_adminOnly)
Tells the server to set itself into admin only mode the next time it is
restarted.
|
void |
setAutorunConfiguration(BBjAdminAutorun p_autorun)
Set the autorun configuration (not committed).
|
void |
setClasspath(java.lang.String p_cpName,
java.util.List<java.lang.String> p_values)
Sets the list of items that make up the specified named classpath.
|
void |
setReplicationJobEnabled(java.lang.String p_replicationID,
boolean p_enabled)
Enables/Disables the specified replication job.
|
void |
setServerConfigurations(BBjAdminMap<BBjAdminServer.ServerType,BBjAdminSet<BBjAdminServer>> p_config)
Set the server configuration (not committed).
|
void |
setServerConfigurations(BBjAdminServer.ServerType p_type,
BBjAdminSet<BBjAdminServer> p_servers)
Set the server configurations for a single type of server (not
committed).
|
void |
setSingleUserPermissions(BBjAdminUserPermissions p_permissions)
Set an individual user's permissions (not committed).
|
void |
setTableAnalysisEnabled(java.lang.String p_database,
boolean p_enabled)
Enables or disabled the ability to perform a table analysis on the
specified database.
|
void |
setTriggers(BBjAdminTriggers p_triggers)
Set the trigger configuration for a file (not committed).
|
void |
setUserPermissions(BBjAdminSet<BBjAdminUserPermissions> p_permissions)
Set permissions for a whole set of users (not committed).
|
void |
shutdownBBjServices(boolean p_waitForClients)
Tells BBj Services to shutdown.
|
BBjAdminOnlineCopyJobRun |
startOnlineCopyJob(BBjAdminOnlineCopyJobConfig p_config)
Start an online copy job.
|
void |
testJdbcConnection(java.lang.String p_driver,
java.lang.String p_url,
java.lang.String p_user,
java.lang.String p_password)
Tests connecting with the specified JDBC driver, URL, user and password
from the server.
|
void |
testRemoteFilesystemAccessibility(java.lang.String p_host,
int p_port,
boolean p_ssl,
java.lang.String p_user,
java.lang.String p_password)
Called to test and see if the server can connect to the specified remote
filesystem.
|
void |
unmountTriggerDirectory(java.lang.String p_fullPath)
Unmounts a trigger directory.
|
void |
unpinAllPrograms()
Unpin all programs.
|
void |
updateEventManager(BBjAdminEventManager p_manager) |
void |
updateReplicationJob(BBjAdminReplicationJob job)
Updates the replication job on the server with the same ID, with the
information in the specified replication job.
|
java.lang.String |
uploadSupportFiles(BBjAdminSet<java.lang.String> p_files,
BBjAdminMap<java.lang.String,java.lang.String> p_properties)
Send the specified list of files to support.
|
void |
useExistingWebStartCertificate(java.lang.String p_keystore,
java.lang.String p_keystorePassword,
java.lang.String p_privateKey,
java.lang.String p_privateKeyPassword)
Configures BBj Services to use the specified certificate for Web start
applications.
|
getChangedProperties, getClearedProperties, getOriginalProperties
addType, canAddNewProperties, canClear, clear, clearProperties, clearProperty, getReadOnly, hasChanged, isReadOnly, setBoolean, setDouble, setInt, setList, setLong, setProperties, setString, setValue
checkValueEqual, contains, contains, getBoolean, getDouble, getInt, getList, getLong, getProperties, getString, getType, getTypes, getValue
commit, rollback
static final java.util.logging.Logger LOG
static final int PERMISSION_ATTACH_EXISTING_DB
static final int PERMISSION_CREATE_NEW_DB
static final int PERMISSION_DELETE_DB
static final int PERMISSION_ADD_USER
static final int PERMISSION_DELETE_USER
static final int PERMISSION_SET_PERMISSIONS
static final int PERMISSION_SET_PASSWORDS
static final int PERMISSION_PROCESSES
static final int PERMISSION_OPEN_FILES
static final int PERMISSION_JDBC_CONNECTIONS
static final int PERMISSION_SERVER_CONFIG
static final int PERMISSION_ALLOW_ADMIN
static final int PERMISSION_CREATE_NEW_TRIGGER
static final int PERMISSION_CONNECTION_POOLS
static final int PERMISSION_COPY_JOBS
static final int PERMISSION_TABLE_ANALYSIS_QUEUE
static final int PERMISSION_CLOSE_FILES
static final int PERMISSION_REPLICATION
static final int PERMISSION_SCHEDULING
static final int PERMISSION_AUDITING
static final int PERMISSION_ASYNCH_TRIGGER
static final int PERMISSION_DOCUMENT_INDEXES
static final int PERMISSION_EMAIL_SERVICES
static final int PERMISSION_METRICS
static final int PERMISSION_ALLOW_ALL
static final java.lang.String SUPPORT_UPLOAD_SENDER_EMAIL
static final java.lang.String SUPPORT_UPLOAD_COMPANY
static final java.lang.String SUPPORT_UPLOAD_SUPPORT_INCIDENT_ID
void addReplicationJob(BBjAdminReplicationJob job) throws BBjAdminException
job
- BBjAdminException
BBjAdminUserPermissions addUser(java.lang.String p_user, java.lang.String p_password) throws BBjAdminException
p_user
- p_password
- BBjAdminException
BBjAdminDatabase attachDatabaseOnDisk(java.lang.String p_name, java.lang.String p_dictionary) throws BBjAdminException
p_name
- Name of the new database.p_dictionary
- Existing dictionary directory for the new database.BBjAdminException
BBjAdminDatabase attachDatabaseOnDisk(java.lang.String p_name, java.lang.String p_dictionary, boolean p_errorOnBadDictionary) throws BBjAdminException
p_name
- Name of the new database.p_dictionary
- Existing dictionary directory for the new database.p_errorOnBadDictionary
- True if you want the method to error if the specified
dictionary location does not contain a valid data dictionary.BBjAdminException
void changePassword(java.lang.String p_user, java.lang.String p_password) throws BBjAdminException
p_user
- User to change the password for.p_password
- New password for the user.BBjAdminException
void clearCache() throws BBjAdminException
BBjAdminException
BBjAdminAuditReplicationJob createAuditReplicationJob(java.lang.String p_name, java.lang.String p_dbRoot, boolean p_synchronous, int p_rolloverType, int p_rolloverFrequency) throws BBjAdminException
p_name
- Name of the audit job.p_dbRoot
- A directory where the audit database will be created. The
audit database is a standard BBj database containing special
tables that hold the audit data. This location is where the
audit database and any subsequent audit databases for this job
(when they rollover) will be created.p_synchronous
- Always set this to false.p_rolloverType
- Rollover type is the when the audit log should rollover. Valid
options are in the BBjAdminAuditReplicationJob interface and
are: ROLLOVER_NONE, ROLLOVER_DAILY, ROLLOVER_WEEKLY,
ROLLOVER_MONTHLY, ROLLOVER_YEARLY.BBjAdminException
<E> BBjAdminList<E> createBBjAdminList() throws BBjAdminException
E
- BBjAdminException
<K,V> BBjAdminMap<K,V> createBBjAdminMap() throws BBjAdminException
BBjAdminException
<E> BBjAdminSet<E> createBBjAdminSet() throws BBjAdminException
E
- BBjAdminException
BBjAdminBBjReplicationJob createBBjReplicationJob(java.lang.String p_name, boolean p_synchronous) throws BBjAdminException
p_name
- Name of the replication job.p_synchronous
- Whether the job's replication operations should occur
synchronously or asynchronously. This value SHOULD ALMOST
ALWAYS BE false.BBjAdminException
BBjAdminBBjReplicationJob createBBjReplicationJob(java.lang.String p_name, java.lang.String p_address, int p_port, boolean p_ssl, java.lang.String p_user, java.lang.String p_pwd, boolean p_synchronous) throws BBjAdminException
p_name
- Name of the replication job.p_address
- Host name of the target filesystem server to connect to.p_port
- Port number for the target filesystem server to connect to.
Usually 2000.p_ssl
- Whether the target filesystem server you are connecting to
uses SSL. Must match the server's configuration.p_user
- Username to use to connect to the target filesystem server.p_pwd
- Password to use to connect to the target filesystem server.p_synchronous
- Whether the job's replication operations should occur
synchronously or asynchronously. This value SHOULD ALMOST
ALWAYS BE false.BBjAdminException
BBjAdminBBjReplicationJob createBBjReplicationJob(java.lang.String p_name, java.lang.String p_address, int p_port, double p_kbps, boolean p_ssl, java.lang.String p_user, java.lang.String p_pwd, boolean p_synchronous, java.lang.String p_eventHandlerProgram, java.lang.String p_eventHandlerUser, java.lang.String p_eventHandlerPassword, java.lang.String p_eventHandlerConfig, java.lang.String p_eventHandlerWorkingDir, java.lang.String p_eventHandlerClasspath, java.lang.String p_eventEmailService, java.lang.String p_eventEmailRecipients) throws BBjAdminException
p_name
- Name of the replication job.p_address
- Host name of the target filesystem server to connect to.p_port
- Port number for the target filesystem server to connect to.
Usually 2000.p_kbps
- Optional way to limit the rate of replication. Kilobits per
seconds to send replication operations.p_ssl
- Whether the target filesystem server you are connecting to
uses SSL. Must match the server's configuration.p_user
- Username to use to connect to the target filesystem server.p_pwd
- Password to use to connect to the target filesystem server.p_synchronous
- Whether the job's replication operations should occur
synchronously or asynchronously. This value SHOULD ALMOST
ALWAYS BE false.p_eventHandlerProgram
- BBj program to use to handle replication events. This program
will be executed when each replication operation occurs. The
program should decide how to handle each operation.p_eventHandlerUser
- User to use to run the handler program.p_eventHandlerPassword
- Password to use to run the handler program.p_eventHandlerConfig
- config.bbx file to use for the interpreter that runs the
handler program.p_eventHandlerWorkingDir
- Working directory to use for the handler program.p_eventHandlerClasspath
- Optional session specific classpath (SSCP) to use for the
handler program.p_eventEmailService
- Email service to be used to send notifications. See Email
Services for more info.p_eventEmailRecipients
- Comma separated list of email recipients for notifications.BBjAdminException
BBjAdminBBjReplicationJob createBBjReplicationJob(java.lang.String p_name, java.lang.String p_address, int p_port, double p_kbps, boolean p_ssl, java.lang.String p_user, java.lang.String p_pwd, boolean p_synchronous) throws BBjAdminException
p_name
- Name of the replication job.p_address
- Host name of the target filesystem server to connect to.p_port
- Port number for the target filesystem server to connect to.
Usually 2000.p_kbps
- Optional way to limit the rate of replication. Kilobits per
seconds to send replication operations.p_ssl
- Whether the target filesystem server you are connecting to
uses SSL. Must match the server's configuration.p_user
- Username to use to connect to the target filesystem server.p_pwd
- Password to use to connect to the target filesystem server.p_synchronous
- Whether the job's replication operations should occur
synchronously or asynchronously. This value SHOULD ALMOST
ALWAYS BE false.BBjAdminException
BBjAdminDatabase createDatabaseOnDisk(java.lang.String p_name, java.lang.String p_dictionary, BBjAdminDatabase.DatabaseType p_type) throws BBjAdminException
p_name
- Name of the new database.p_dictionary
- Dictionary directory for the new database data dictionary
files. Must be empty.p_type
- Type of database to create. Valid types are in
BBjAdminDatabase.DatabaseType enum and include LEGACY,
ENHANCED, and LINKED.BBjAdminException
void createDirectory(java.lang.String p_fullPath, boolean p_recursive) throws BBjAdminException
p_fullPath
- Full path to data file. Supports BBj data server syntax.p_recursive
- True if it should create all parent directories. If false and
one of the parent directories does not exist, it will throw an
exception.BBjAdminException
BBjAdminOnlineCopyJobConfig createOnlineCopyJobConfig() throws BBjAdminException
BBjAdminException
BBjAdminOnlineCopyJobConfig createOnlineCopyJobConfig(java.lang.String p_file) throws BBjAdminException
p_file
- Name of the file.BBjAdminException
BBjAdminServer createServerConfiguration(BBjAdminServer.ServerType p_type) throws BBjAdminException
p_type
- BBjAdminException
@Deprecated BBjAdminBuiApplication createBuiApplication() throws BBjAdminException
createRemoteApplication()
BBjAdminException
BBjAdminAppDeploymentApplication createRemoteApplication() throws BBjAdminException
BBjAdminException
BBjAdminSQLReplicationJob createSQLReplicationJob() throws BBjAdminException
BBjAdminException
void dropDatabase(java.lang.String p_name, boolean p_deleteAllFiles) throws BBjAdminException
p_name
- p_deleteAllFiles
- BBjAdminException
void dropUser(java.lang.String p_user) throws BBjAdminException
p_user
- BBjAdminException
void dropSecurityGroup(java.lang.String p_group) throws BBjAdminException
p_group
- BBjAdminException
void dumpHeap() throws BBjAdminException
BBjAdminException
void dumpThreads() throws BBjAdminException
BBjAdminException
java.lang.String getAbsolutePath(java.lang.String p_filename) throws BBjAdminException
p_filename
- BBjAdminException
BBjAdminAuditDB getAuditDatabase(java.lang.String p_dbName) throws BBjAdminException
BBjAdminException
BBjAdminList<BBjAdminAuditReplicationJob> getAuditJobs() throws BBjAdminException
BBjAdminException
BBjAdminList<BBjAdminAuditReplicationTarget> getAuditTargets() throws BBjAdminException
BBjAdminException
BBjAdminAutorun getAutorunConfiguration() throws BBjAdminException
BBjAdminException
BBjAdminList<BBjAdminSystemPermission> getAvailableSystemPermissions() throws BBjAdminException
BBjAdminException
BBjAdminBBjFile getBBjFile(java.lang.String p_path) throws BBjAdminException
p_path
- BBjAdminException
byte[] getBBjFileRecord(java.lang.String p_path, int p_recNum) throws BBjAdminException
p_path
- Full path to the data file. This does not take into account any prefixes defined.p_recNum
- Zero-based record number for the record of interest.BBjAdminException
- If there is a problem accessing the file.BBjAdminBBjProcess getBBjProcess(java.lang.String p_id) throws BBjAdminException
p_id
- BBjAdminException
java.util.List<BBjAdminBBjProcess> getBBjProcesses() throws BBjAdminException
BBjAdminException
java.util.Properties getBBjProperties() throws BBjAdminException
BBjAdminException
java.lang.String getBBjPropertiesFile() throws BBjAdminException
BBjAdminException
@Deprecated BBjAdminBuiConfiguration getBuiConfiguration() throws BBjAdminException
getRemoteConfiguration()
BBjAdminException
BBjAdminAppDeploymentConfiguration getRemoteConfiguration() throws BBjAdminException
BBjAdminException
BBjAdminJnlpConfiguration getJnlpConfiguration() throws BBjAdminException
BBjAdminException
BBjAdminList<BBjAdminWebService> getWebServices() throws BBjAdminException
BBjAdminException
BBjAdminWebService getWebService(java.lang.String p_name) throws BBjAdminException
p_name
- BBjAdminException
void removeWebService(java.lang.String p_name) throws BBjAdminException
p_name
- BBjAdminException
BBjAdminClientBBjProcess getClientBBjProcess(java.lang.String p_id) throws BBjAdminException
p_id
- BBjAdminException
java.util.List<BBjAdminClientBBjProcess> getClientBBjProcesses() throws BBjAdminException
BBjAdminException
java.util.List<BBjAdminClientReplicationJob> getClientReplicationJobs() throws BBjAdminException
BBjAdminException
BBjAdminConfiguration getConfiguration() throws BBjAdminException
BBjAdminException
BBjAdminConnectionPool getConnectionPool(java.lang.String p_poolName) throws BBjAdminException
p_poolName
- BBjAdminException
BBjAdminList<BBjAdminConnectionPool> getConnectionPools() throws BBjAdminException
BBjAdminException
BBjAdminDatabase getDatabase(java.lang.String p_name) throws BBjAdminException
p_name
- BBjAdminException
java.util.Set<java.lang.String> getDatabaseNames() throws BBjAdminException
BBjAdminException
BBjAdminSet<BBjAdminDatabase> getDatabases() throws BBjAdminException
BBjAdminException
BBjAdminFile getFile(java.lang.String p_fullPath) throws BBjAdminException
p_fullPath
- BBjAdminException
long getFreeSpace(java.lang.String p_path) throws BBjAdminException
BBjAdminException
java.lang.String getLocaleString() throws BBjAdminException
BBjAdminException
BBjAdminList<java.lang.String> getMountedTriggerDirectories() throws BBjAdminException
BBjAdminException
BBjAdminSet<BBjAdminOnlineCopyJobRun> getOnlineCopyJobs() throws BBjAdminException
BBjAdminException
java.util.List<BBjAdminOpenFile> getOpenFiles() throws BBjAdminException
BBjAdminException
BBjAdminOpenFile getOpenFile(java.lang.String p_id) throws BBjAdminException
BBjAdminException
java.util.List<BBjAdminClientOpenFile> getClientOpenFiles() throws BBjAdminException
BBjAdminException
java.util.List<BBjAdminClientOSFile> getOSFiles(BBjAdminClientOSFile p_parent, java.lang.String[] p_filenameFilter, java.util.Date p_modifiedFilterStart, java.util.Date p_modifiedFilterEnd) throws BBjAdminException
p_parent
- p_filenameFilter
- p_modifiedFilterStart
- p_modifiedFilterEnd
- BBjAdminException
@Deprecated java.lang.String getPassword() throws BBjAdminException
BBjAdminException
BBjAdminReplicationJob getReplicationJob(java.lang.String p_uuid) throws BBjAdminException
p_uuid
- BBjAdminException
BBjAdminList<BBjAdminReplicationJob> getReplicationJobs() throws BBjAdminException
BBjAdminException
BBjAdminList<BBjAdminReplicationJob> getEnabledReplicationJobs() throws BBjAdminException
BBjAdminException
BBjAdminList<BBjAdminReplicationTarget> getReplicationTargets() throws BBjAdminException
BBjAdminException
BBjAdminList<java.lang.String> getRoots() throws BBjAdminException
BBjAdminException
BBjAdminList<java.lang.String> getSecurityGroupNames() throws BBjAdminException
BBjAdminException
BBjAdminList<BBjAdminSecurityGroup> getSecurityGroups() throws BBjAdminException
BBjAdminException
BBjAdminMap<BBjAdminServer.ServerType,BBjAdminSet<BBjAdminServer>> getServerConfigurations() throws BBjAdminException
BBjAdminException
BBjAdminSet<BBjAdminServer> getServerConfigurations(BBjAdminServer.ServerType p_type) throws BBjAdminException
p_type
- BBjAdminException
BBjAdminUserPermissions getSingleUserPermissions(java.lang.String p_user) throws BBjAdminException
p_user
- BBjAdminException
BBjAdminSet<BBjAdminSQLConnection> getSQLConnections() throws BBjAdminException
BBjAdminException
BBjAdminList<BBjAdminStartupException> getStartupExceptions() throws BBjAdminException
BBjAdminException
java.lang.String getSystemProperty(java.lang.String p_property, java.lang.String p_default) throws BBjAdminException
p_property
- p_default
- BBjAdminException
BBjAdminSet<BBjAdminTableAnalysisJob> getTableAnalysisJobs() throws BBjAdminException
BBjAdminException
BBjAdminSet<BBjAdminIndexBuilderJob> getIndexBuilderJobs() throws BBjAdminException
BBjAdminException
BBjAdminTaskQueue getTaskQueue() throws BBjAdminException
BBjAdminException
java.lang.String getTemplateForFile(java.lang.String p_filename) throws BBjAdminException
p_filename
- BBjAdminException
java.lang.String getTextFileContents(java.lang.String p_fullPath) throws BBjAdminException
p_fullPath
- BBjAdminException
long getTotalSpace(java.lang.String p_path) throws BBjAdminException
p_path
- BBjAdminException
BBjAdminTriggers getTriggers(java.lang.String p_filename) throws BBjAdminException
p_filename
- BBjAdminException
java.lang.String getUser() throws BBjAdminException
BBjAdminException
java.lang.String getTokenValue() throws BBjAdminException
BBjAdminException
java.util.List<java.lang.String> getUserNames() throws BBjAdminException
BBjAdminException
BBjAdminList<BBjAdminUserPermissions> getUserPermissions() throws BBjAdminException
BBjAdminException
BBjAdminWebAppServer getWebAppServer() throws BBjAdminException
BBjAdminException
boolean isAddressSameAsServer(java.lang.String p_address) throws BBjAdminException
p_address
- BBjAdminException
boolean isAdminOnlyMode() throws BBjAdminException
BBjAdminException
boolean isOSWindows() throws BBjAdminException
BBjAdminException
java.lang.String isReplicationAllowed() throws BBjAdminException
BBjAdminException
boolean isRunningAdminOnlyMode() throws BBjAdminException
BBjAdminException
boolean isWS3Allowed() throws BBjAdminException
BBjAdminException
void migrateToEnhancedDatabase(java.lang.String p_sourceDatabase, java.lang.String p_destinationDatabase, java.lang.String p_destinationDirectory) throws BBjAdminException
p_sourceDatabase
- p_destinationDatabase
- p_destinationDirectory
- BBjAdminException
void mountTriggerDirectory(java.lang.String p_fullPath) throws BBjAdminException
p_fullPath
- BBjAdminException
BBjAdminConnectionPool newConnectionPool() throws BBjAdminException
BBjAdminException
BBjAdminDatabase newDatabaseInstance(java.util.Map<java.lang.String,java.lang.Object> p_map) throws BBjAdminException
BBjAdminException
BBjAdminLDAPSearch newLDAPSearch() throws BBjAdminException
BBjAdminException
BBjAdminSecurityGroup newSecurityGroup(java.lang.String p_groupName) throws BBjAdminException
p_groupName
- BBjAdminException
BBjAdminTask newTask(BBjAdminTask.TaskType p_type) throws BBjAdminException
p_type
- BBjAdminException
BBjAdminTaskGroup newTaskGroup() throws BBjAdminException
BBjAdminException
BBjAdminEmailService newEmailService() throws BBjAdminException
BBjAdminException
void removeEmailService(java.lang.String p_name) throws BBjAdminException
p_name
- BBjAdminException
BBjAdminList<BBjAdminEmailService> getEmailServices() throws BBjAdminException
BBjAdminException
BBjAdminEmailService getEmailService(java.lang.String p_name) throws BBjAdminException
p_name
- BBjAdminException
void refresh() throws BBjAdminException
BBjAdminException
void release()
void reloadDatabaseConfig() throws BBjAdminException
BBjAdminException
void removeConnectionPool(java.lang.String p_poolName) throws BBjAdminException
p_poolName
- BBjAdminException
void removeReplicationJob(java.lang.String p_uuid, boolean p_erase) throws BBjAdminException
p_uuid
- p_erase
- BBjAdminException
void removeReplicationTarget(java.lang.String p_uuid, boolean p_erase) throws BBjAdminException
p_uuid
- ID for the replication target.p_erase
- True if you want the target(destination) replicated files
removed. False otherwise.BBjAdminException
void removeBuiApplication(java.lang.String p_name) throws BBjAdminException
p_name
- BBjAdminException
void removeTaskGroup(BBjAdminTaskGroup p_group) throws BBjAdminException
p_group
- BBjAdminException
void removeTriggers(java.lang.String p_filename) throws BBjAdminException
p_filename
- BBjAdminException
void setAdminOnlyMode(boolean p_adminOnly) throws BBjAdminException
p_adminOnly
- BBjAdminException
void setAutorunConfiguration(BBjAdminAutorun p_autorun) throws BBjAdminException
p_autorun
- New autorun configuration.BBjAdminException
void setReplicationJobEnabled(java.lang.String p_replicationID, boolean p_enabled) throws BBjAdminException
p_replicationID
- p_enabled
- BBjAdminException
void setServerConfigurations(BBjAdminMap<BBjAdminServer.ServerType,BBjAdminSet<BBjAdminServer>> p_config) throws BBjAdminException
p_config
- BBjAdminException
void setServerConfigurations(BBjAdminServer.ServerType p_type, BBjAdminSet<BBjAdminServer> p_servers) throws BBjAdminException
p_type
- p_servers
- BBjAdminException
void setSingleUserPermissions(BBjAdminUserPermissions p_permissions) throws BBjAdminException
p_permissions
- BBjAdminException
void setTableAnalysisEnabled(java.lang.String p_database, boolean p_enabled) throws BBjAdminException
p_database
- Name of database to enable or disable.p_enabled
- True if analysis should be allowed to perform, or false to
disable all analysis operations on this database.BBjAdminException
void setTriggers(BBjAdminTriggers p_triggers) throws BBjAdminException
p_triggers
- BBjAdminException
void setUserPermissions(BBjAdminSet<BBjAdminUserPermissions> p_permissions) throws BBjAdminException
p_permissions
- BBjAdminException
void shutdownBBjServices(boolean p_waitForClients) throws BBjAdminException
p_waitForClients
- True if you want it to wait for clients to disconnect before
shutting down.BBjAdminException
BBjAdminOnlineCopyJobRun startOnlineCopyJob(BBjAdminOnlineCopyJobConfig p_config) throws BBjAdminException
p_config
- BBjAdminException
void testRemoteFilesystemAccessibility(java.lang.String p_host, int p_port, boolean p_ssl, java.lang.String p_user, java.lang.String p_password) throws BBjAdminException
p_host
- p_port
- p_ssl
- p_user
- p_password
- BBjAdminException
void unmountTriggerDirectory(java.lang.String p_fullPath) throws BBjAdminException
p_fullPath
- BBjAdminException
void unpinAllPrograms() throws BBjAdminException
BBjAdminException
void updateReplicationJob(BBjAdminReplicationJob job) throws BBjAdminException
job
- BBjAdminException
BBjAdminWebService createWebService() throws BBjAdminException
BBjAdminException
java.util.Properties getJavaInfo(java.lang.String p_javaHome, boolean p_server) throws BBjAdminException
p_javaHome
- p_server
- BBjAdminException
void setClasspath(java.lang.String p_cpName, java.util.List<java.lang.String> p_values) throws BBjAdminException
p_cpName
- p_values
- BBjAdminException
BBjAdminList<java.lang.String> getClasspath(java.lang.String p_cpName) throws BBjAdminException
p_cpName
- BBjAdminException
BBjAdminList<java.lang.String> getClasspathNames() throws BBjAdminException
BBjAdminException
boolean checkUserPermission(int p_permission)
p_permission
- java.util.List<BBjAdminMemoryUsage> getMemoryUsageData(java.lang.String p_alternateLocation) throws BBjAdminException
BBjAdminException
void restartBBjServices(boolean p_waitForClients) throws BBjAdminException
p_waitForClients
- BBjAdminException
void generateWebStartCertificate(java.lang.String p_company, java.lang.String p_host, int p_port) throws BBjAdminException
p_company
- Your company or organization name that will appear to clients
when they run your application.p_host
- Specify the BBj application Jetty server name as seen by your
clients (external to the server itself). This can be an IP
address. Do not use ‘localhost’ or local IP address if clients
on other computers will use Web Start to run applications on
this server.p_port
- Port number of the BBj Jetty web server.BBjAdminException
void useExistingWebStartCertificate(java.lang.String p_keystore, java.lang.String p_keystorePassword, java.lang.String p_privateKey, java.lang.String p_privateKeyPassword) throws BBjAdminException
p_keystore
- p_keystorePassword
- p_privateKey
- p_privateKeyPassword
- BBjAdminException
BBjAdminList<BBjAdminDocumentIndex> getDocumentIndexes() throws BBjAdminException
BBjAdminException
BBjAdminDocumentIndex getDocumentIndex(java.lang.String p_name) throws BBjAdminException
p_name
- The name of the document index to retrieve.BBjAdminException
BBjAdminDocumentIndex createDocumentIndex(java.lang.String p_name, java.lang.String p_type) throws BBjAdminException
p_name
- Name of the document index. Must be unique to the server.p_type
- Type of index. Use one of the types from
BBjAdminDocumentIndex.BBjAdminException
- If there is a problem or if the name is already in use.void dropDocumentIndex(java.lang.String p_name) throws BBjAdminException
p_name
- Name of the document index to drop.BBjAdminException
BBjAdminAsynchTriggerJob createAsynchTriggerJob(java.lang.String p_name, java.lang.String p_address, int p_port, double p_kbps, boolean p_ssl, java.lang.String p_user, java.lang.String p_password, java.lang.String p_workingDir, java.lang.String p_config, boolean p_useDefaultAlias, java.lang.String p_writeProgram, java.lang.String p_removeProgram) throws BBjAdminException
p_name
- Name of the job to display in the Enterprise Manager.p_address
- Host name or IP address of the BBj Services installation to
use as a target for this job.p_port
- Port number of the Filesystem Server running on the specified
BBj Services installation.p_kbps
- Bandwidth in KBPS that the system should be allowed to use for
processing job operations. If zero, it will use all that it
needs to.p_ssl
- True if the Filesystem Server of the target is configured to
use SSL or false otherwise.p_user
- User to use to connect to the job's target machine.p_password
- Password for the user.p_workingDir
- Optional working directory to use when executing the
configured BBj write/remove programs.p_config
- Optional location of the config.bbx file used by the
interpreter running the BBj write/remove programs.p_useDefaultAlias
- p_writeProgram
- Absolute path to the location of the program to be executed
when any write operation occurs on a monitored file.p_removeProgram
- Absolute path to the location of the program to be executed
when any remove operation occurs on a monitored file.BBjAdminException
BBjAdminList<BBjAdminAsynchTriggerJob> getAsynchTriggerJobs() throws BBjAdminException
BBjAdminException
BBjAdminList<BBjAdminAsynchTriggerTarget> getAsynchTriggerTargets() throws BBjAdminException
BBjAdminException
java.lang.String uploadSupportFiles(BBjAdminSet<java.lang.String> p_files, BBjAdminMap<java.lang.String,java.lang.String> p_properties) throws BBjAdminException
p_properties
- BBjAdminException
BBjAdminSupportUploadJob getSupportUploadJob(java.lang.String p_uploadId) throws BBjAdminException
p_uploadId
- BBjAdminException
BBjAdminList<BBjAdminSupportUploadJob> getSupportUploadJobs() throws BBjAdminException
BBjAdminException
void abortSupportUploadJob(java.lang.String p_uploadId) throws BBjAdminException
p_uploadId
- BBjAdminException
void acceptLdapCertificate(java.lang.String p_certificate) throws BBjAdminException
p_certificate
- BBjAdminException
BBjAdminMap<BBjAdminFileOpenInfoKey,BBjAdminFileOpenInfoValue> getFileOpenInfo() throws BBjAdminException
BBjAdminException
void clearFileOpenInfo() throws BBjAdminException
BBjAdminException
void testJdbcConnection(java.lang.String p_driver, java.lang.String p_url, java.lang.String p_user, java.lang.String p_password) throws BBjAdminException
p_driver
- p_url
- p_user
- p_password
- BBjAdminException
BBjAdminEventManager getEventManager() throws BBjAdminException
BBjAdminException
void updateEventManager(BBjAdminEventManager p_manager) throws BBjAdminException
BBjAdminException
void exportReplicationJob(BBjAdminReplicationJob p_job, java.lang.String p_filename) throws BBjAdminException
p_job
- Replication job to export.p_filename
- Full path to the replication job export file. The path will be
server side.BBjAdminException
BBjAdminReplicationJob importReplicationJob(java.lang.String p_filename, java.lang.String p_user, java.lang.String p_password) throws BBjAdminException
p_filename
- BBjAdminException
java.lang.String jsonExecute(java.lang.String json) throws BBjAdminException
json
- BBjAdminException
java.util.List<BBjAdminGitCommit> getConfigCommits(int startDate, int endDate) throws BBjAdminException
startDate
- Number of seconds since the epoch start time range or zero for none.endDate
- Number of seconds since the epoch end time range or zero for none.BBjAdminException
void hardResetConfigCommit(java.lang.String p_commitId, java.lang.String p_name, java.lang.String p_email) throws BBjAdminException
p_commitId
- ID of the Git commit to which the state of the directory should return.p_name
- Name of the user committing the changes or null to use the default.p_email
- Email address of the user committing the changes or null to use the default.BBjAdminException
java.lang.String getConfigCommitDiffText(java.lang.String p_commitId1, java.lang.String p_commitId2) throws BBjAdminException
p_commitId1
- p_commitId2
- BBjAdminException
void commit(java.lang.String p_message) throws BBjAdminException
p_message
- Message to accompany the commit.BBjAdminException
java.lang.String getStartTime() throws BBjAdminException
BBjAdminException
BBjAdminLicenseFeatureInfo getLicenseFeatureInfo(java.lang.String p_feature) throws BBjAdminException
p_feature
- BBjAdminException
java.util.List<BBjAdminLicenseFeatureInfo> getAllLicenseFeatureInfo() throws BBjAdminException
BBjAdminException
java.util.List<java.lang.String> getJarIndexJars(java.lang.String p_jarFilePath) throws BBjAdminException
p_jarFilePath
- Full path to the jar file to examine.BBjAdminException