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 TypeMethodDescriptionvoidaddUnavailableAcsServer(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 anIDfEnumerationobject that lists allAcsDataobjects for a given repository.getAcsData(IDfSession session, String networkLocationIdentifier) Returns anIDfEnumerationobject that lists allAcsDataobjects for a given repository.longReturns expiration interval being used for requests made to this ACS.getAllNetworkLocations(String locale) Returns anIDfEnumerationobject that lists allIDfNetworkLocationEntryobjects.getClientNetworkLocations(String clientIPAddress, String locale) Returns anIDfEnumerationobject that lists allIDfNetworkLocationEntryobjects.getNetworkLocation(String locationId, String locale) Returns anIDfNetworkLocationEntryobject by location identifier.booleanisContentTransferCapabilityEnabled(IDfSession session, String networkLocationIdentifier, IDfContentTransferCapability capability) Returns whether content transfer capability is enabled in a docbase of a given session.voidsetAcsRequestExpirationInterval(long expirationInterval) Sets an expiration interval to be used for requests made to this ACS.
-
Method Details
-
getNetworkLocation
Returns anIDfNetworkLocationEntryobject 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 anIDfEnumerationobject that lists allIDfNetworkLocationEntryobjects.- 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
IDfNetworkLocationEntryobjects - Throws:
DfException- if a server error occurs.- Since:
- D6
-
getAllNetworkLocations
Returns anIDfEnumerationobject that lists allIDfNetworkLocationEntryobjects.- Parameters:
locale- identifies the locale (currently not supported)- Returns:
- IDfEnumeration of
IDfNetworkLocationEntryobjects - Throws:
DfException- if a server error occurs.- Since:
- D6
-
getAcsData
IDfEnumeration getAcsData(IDfSessionManager sessionManager, String docbaseName, String networkLocationIdentifier) throws DfException Returns anIDfEnumerationobject that lists allAcsDataobjects for a given repository.- Parameters:
sessionManager- session manager objectdocbaseName- repository namenetworkLocationIdentifier- network location identifier- Returns:
- IDfEnumeration of
AcsDataobjects - Throws:
DfException- if a server error occurs.- Since:
- D6
-
getAcsData
Returns anIDfEnumerationobject that lists allAcsDataobjects for a given repository. for a givennetworkLocationIdentifier.- Parameters:
session- session, which MUST point to a proper repository.networkLocationIdentifier- network location identifier- Returns:
- IDfEnumeration of
AcsDataobjects - 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
-