Package com.documentum.fc.client.acs
Interface IDfAcsClient
public interface IDfAcsClient
This interface provides ACS-related functionality.
- Since:
- D6
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
addUnavailableAcsServer
(String urlString) Add the specified accelerated content store (ACS) server to the list of unavailable ACS servers.getAcsData
(IDfSessionManager sessionManager, String docbaseName, String networkLocationIdentifier) Returns anIDfEnumeration
object that lists allAcsData
objects for a given repository.getAcsData
(IDfSession session, String networkLocationIdentifier) Returns anIDfEnumeration
object that lists allAcsData
objects for a given repository.long
Returns expiration interval being used for requests made to this ACS.getAllNetworkLocations
(String locale) Returns anIDfEnumeration
object that lists allIDfNetworkLocationEntry
objects.getClientNetworkLocations
(String clientIPAddress, String locale) Returns anIDfEnumeration
object that lists allIDfNetworkLocationEntry
objects.getNetworkLocation
(String locationId, String locale) Returns anIDfNetworkLocationEntry
object by location identifier.boolean
isContentTransferCapabilityEnabled
(IDfSession session, String networkLocationIdentifier, IDfContentTransferCapability capability) Returns whether content transfer capability is enabled in a docbase of a given session.void
setAcsRequestExpirationInterval
(long expirationInterval) Sets an expiration interval to be used for requests made to this ACS.
-
Method Details
-
getNetworkLocation
Returns anIDfNetworkLocationEntry
object by location identifier.- Parameters:
locationId
- network location identifierlocale
- identifies the locale (currently not supported)- Returns:
- IDfNetworkLocationEntry client network location object, or null if the location is not found.
- Throws:
DfException
- if a server error occurs.- Since:
- D6
-
getClientNetworkLocations
Returns anIDfEnumeration
object that lists allIDfNetworkLocationEntry
objects.- Parameters:
clientIPAddress
- client IP address If this argument is null, all IDfNetworkLocationEntry objects that can be used as a client network location for a given locale are returned.locale
- identifies the locale (currently not supported)- Returns:
- IDfEnumeration of
IDfNetworkLocationEntry
objects - Throws:
DfException
- if a server error occurs.- Since:
- D6
-
getAllNetworkLocations
Returns anIDfEnumeration
object that lists allIDfNetworkLocationEntry
objects.- Parameters:
locale
- identifies the locale (currently not supported)- Returns:
- IDfEnumeration of
IDfNetworkLocationEntry
objects - Throws:
DfException
- if a server error occurs.- Since:
- D6
-
getAcsData
IDfEnumeration getAcsData(IDfSessionManager sessionManager, String docbaseName, String networkLocationIdentifier) throws DfException Returns anIDfEnumeration
object that lists allAcsData
objects for a given repository.- Parameters:
sessionManager
- session manager objectdocbaseName
- repository namenetworkLocationIdentifier
- network location identifier- Returns:
- IDfEnumeration of
AcsData
objects - Throws:
DfException
- if a server error occurs.- Since:
- D6
-
getAcsData
Returns anIDfEnumeration
object that lists allAcsData
objects for a given repository. for a givennetworkLocationIdentifier
.
- Parameters:
session
- session, which MUST point to a proper repository.networkLocationIdentifier
- network location identifier- Returns:
- IDfEnumeration of
AcsData
objects - Throws:
DfException
- if a server error occurs.- Since:
- D6
-
isContentTransferCapabilityEnabled
boolean isContentTransferCapabilityEnabled(IDfSession session, String networkLocationIdentifier, IDfContentTransferCapability capability) throws DfException Returns whether content transfer capability is enabled in a docbase of a given session.- Parameters:
session
- session, which points to a correct docbasenetworkLocationIdentifier
- user network location identifiercapability
- content transfer capability- Returns:
- true, if capability is enabled, false otherwise.
- Throws:
DfException
- if a server error occurs.
-
setAcsRequestExpirationInterval
void setAcsRequestExpirationInterval(long expirationInterval) Sets an expiration interval to be used for requests made to this ACS. ACS will consume this info available in the URL to decide how long the URL is valid.- Parameters:
expirationInterval
- Request expiration interval
-
getAcsRequestExpirationInterval
long getAcsRequestExpirationInterval()Returns expiration interval being used for requests made to this ACS. ACS uses this value available in the URL to decide how long the URL is valid.- Returns:
- expirationInterval
-