Package com.documentum.fc.client
Interface IDfDocbrokerClient
public interface IDfDocbrokerClient
An interface for interacting with connection brokers for the purpose of obtaining lists of repositories and repository servers.
- Since:
- 5.3
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDocbroker
(String hostName, int portNumber) Dynamically adds a connection broker to the list of known connection brokers.getAcsServerMap
(String docbaseName) Returns information about the ACS servers that are known to the set of connection brokers currently configured for this IDfDocbrokerClient instance.getAcsServerMapFromSpecificDocbroker
(String docbaseName, String protocol, String hostName, String portNumber) Returns information about the ACS servers that are known to a specific connection broker.Returns information about the repositories that are known to the set of connection brokers currently configured for this IDfDocbrokerClient instance.getDocbaseMapFromSpecificDocbroker
(String protocol, String hostName, String portNumber) Returns information about the repositories that are known to a specific connection broker.getDocbaseNameFromDocbaseId
(long docbaseId) Returns the name of the repository from its numeric id.getDocbaseNameFromId
(IDfId objectId) Returns the name of the repository from which the object and itsIDfId
originated.Returns information about the connection brokers known to this IDfDocbrokerClient instance.getServerMap
(String docbaseName) Returns information about the servers that are known to the set of connection brokers currently configured for this IDfDocbrokerClient instance.getServerMapFromSpecificDocbroker
(String docbaseName, String protocol, String hostName, String portNumber) Returns information about the servers that are known to a specific connection broker.boolean
Indicates whether connection brokers can be dynamically added or removed.void
removeDocbroker
(String hostName, int portNumber) Dynamically removes a connection broker that was added usingaddDocbroker(java.lang.String, int)
.void
setDocbrokerModificationEnabled
(boolean enable, IDfSession session) Enables or disables the dynamic adding and removing of connection brokers.
-
Method Details
-
getDocbrokerMap
Returns information about the connection brokers known to this IDfDocbrokerClient instance.- Returns:
- information about the known connection brokers
- Throws:
DfException
- if a server error occurs
-
addDocbroker
Dynamically adds a connection broker to the list of known connection brokers. Only administrative users should dynamically add connection brokers. Dynamically added connection brokers are mostly invisible to normal users. Normal users that get connection broker, repository, and server maps through theIDfClient
interface will not see dynamically added connection brokers.- Throws:
DfException
- See Also:
-
removeDocbroker
Dynamically removes a connection broker that was added usingaddDocbroker(java.lang.String, int)
.- Throws:
DfException
- See Also:
-
getDocbaseMap
Returns information about the repositories that are known to the set of connection brokers currently configured for this IDfDocbrokerClient instance. This method returns an object that contains the repository IDs, repository names, and verbose repository descriptions.- Throws:
DfException
- if a server error occurs- See Also:
-
getDocbaseMapFromSpecificDocbroker
IDfDocbaseMap getDocbaseMapFromSpecificDocbroker(String protocol, String hostName, String portNumber) throws DfException Returns information about the repositories that are known to a specific connection broker. This method returns repository IDs, repository names, and verbose repository descriptions.- Parameters:
protocol
- the protocol used to talk to the connection broker (not used in most cases)hostName
- the host machine on which the connection broker residesportNumber
- the port number which the connection broker is using for communications- Returns:
- an
IDfDocbaseMap
interface to the extended information about the repostories that are known to a connection broker - Throws:
DfException
- if a server error occurs- See Also:
-
getServerMap
Returns information about the servers that are known to the set of connection brokers currently configured for this IDfDocbrokerClient instance.- Parameters:
docbaseName
- the name of the repository for which you are requesting server information- Returns:
- information about the servers that are known to a connection broker
- Throws:
DfException
- if a server error occurs- See Also:
-
getAcsServerMap
Returns information about the ACS servers that are known to the set of connection brokers currently configured for this IDfDocbrokerClient instance.- Parameters:
docbaseName
- the name of the repository for which you are requesting server information- Returns:
- information about the servers that are known to the set of connection brokers currently configured for this IDfDocbrokerClient instance
- Throws:
DfException
- if a server error occurs- Since:
- 5.3 sp1
- See Also:
-
getServerMapFromSpecificDocbroker
IDfTypedObject getServerMapFromSpecificDocbroker(String docbaseName, String protocol, String hostName, String portNumber) throws DfException Returns information about the servers that are known to a specific connection broker.- Parameters:
docbaseName
- the name of the repositoryprotocol
- the protocol used to talk to the connection broker (not used in most cases)hostName
- the host machine on which the connection broker residesportNumber
- the port number which the connection broker is using for communications- Returns:
- information about the servers that are known to a connection broker
- Throws:
DfException
- if a server error occurs- See Also:
-
getAcsServerMapFromSpecificDocbroker
IDfTypedObject getAcsServerMapFromSpecificDocbroker(String docbaseName, String protocol, String hostName, String portNumber) throws DfException Returns information about the ACS servers that are known to a specific connection broker.- Parameters:
docbaseName
- the name of the repositoryprotocol
- the protocol used to talk to the connection broker (not used in most cases)hostName
- the host machine on which the connection broker residesportNumber
- the port number which the connection broker is using for communications- Returns:
- information about the ACS servers that are known to a connection broker
- Throws:
DfException
- if a server error occurs- Since:
- 5.3 sp1
- See Also:
-
getDocbaseNameFromId
Returns the name of the repository from which the object and itsIDfId
originated.- Parameters:
objectId
- the object id- Returns:
- the name of the repository from which the object ID originates
- Throws:
DfException
- if a server error occurs
-
getDocbaseNameFromDocbaseId
Returns the name of the repository from its numeric id.- Parameters:
docbaseId
- the numeric repository name- Returns:
- the name of the repository requested docbase or null if it is unknown.
- Throws:
DfException
- if a server error occurs
-
setDocbrokerModificationEnabled
Enables or disables the dynamic adding and removing of connection brokers. By default modification of connection brokers is disabled. Adding and removing of connection brokers requires special privileges. In order to enable dynamic connection broker modification, the caller must supply a session that has administrative privileges.- Parameters:
enable
- an indication of whether to enable or disable connection broker modificationsession
- an existing session for a user that has administrative privileges.- Throws:
DfException
- See Also:
-
isDocbrokerModificationEnabled
boolean isDocbrokerModificationEnabled()Indicates whether connection brokers can be dynamically added or removed.
-