Package com.documentum.fc.client.acs
Interface IDfAcsTransferPreferences
public interface IDfAcsTransferPreferences
Provides methods to set preferences for accelerated content transfer operations.
- Since:
- 5.3 sp1
-
Method Summary
Modifier and TypeMethodDescriptionvoidallowBocsTransfer(boolean isBocsTransferAllowed) Specifies whether BOCS content transfer is allowed.voidallowSurrogateTransfer(boolean isSurrogateTransferAllowed) Specifies whether surrogate transfer is allowed.Returns the client network location identifier to be used.Returns a list of enabled protocols.booleanIndicates whether accelerated content transfer is preferred.booleanTests if BOCS content transfer is allowed.booleanTests whether the client is a Macintosh client.booleanisProtocolEnabled(Object protocol) Returns whether or not the protocol is currently enabled.booleanTests if surrogate transfer is allowed.booleanTests if BOCS content transfer needs to be synchronous.voidpreferAcsTransfer(boolean isAcsTransferPreferred) Sets the accelerated content transfer preference.voidsetClientNetworkLocationId(String clientNetworkLocationId) Sets the client network location identifier to be used.voidsetMacClient(boolean isMacClient) Specifies whether the client is a Macintosh client.voidsetProtocols(IDfList protocols) Sets protocols to be used for accelerated content transfer.voidsetSynchronousBocsTransfer(boolean isSynchronousBocsTransfer) Specifies whether BOCS content transfer needs to be synchronous.
-
Method Details
-
isAcsTransferPreferred
boolean isAcsTransferPreferred()Indicates whether accelerated content transfer is preferred.- Returns:
true, if accelerated content transfer is preferred;falseotherwise. Default value istrue.
-
preferAcsTransfer
void preferAcsTransfer(boolean isAcsTransferPreferred) Sets the accelerated content transfer preference. Set the argument totrueto indicate that accelerated content transfer is preferred;falseotherwise.- Parameters:
isAcsTransferPreferred-trueindicates that accelerated content transfer is preferred;falseindicates that accelerated content transfer is not preferred.
-
getClientNetworkLocationId
String getClientNetworkLocationId()Returns the client network location identifier to be used. The client network location identifier is the value of a network location object's netloc_ident attribute.- Returns:
- client network location identifier.
Default value is
null.
-
setClientNetworkLocationId
Sets the client network location identifier to be used. The client network location identifier is the value of a network location object's netloc_ident attribute.- Parameters:
clientNetworkLocationId- identifier of the client network location to be used
-
getProtocols
IDfList getProtocols()Returns a list of enabled protocols. Accelerated content transfer is limited to these protocols.- Returns:
IDfListof protocols. If not null and not empty, accelerated content transfer is limited to these protocols. Default value is emptyIDfListobject.
-
setProtocols
Sets protocols to be used for accelerated content transfer. For a list of acceptable protocols, refer to the Content Server documentation.- Parameters:
protocols- IDfList of protocols. If not null and not empty, accelerated content transfer is limited to these protocols.
-
isProtocolEnabled
Returns whether or not the protocol is currently enabled.- Parameters:
protocol- The method checks whether or not this protocol is enabled.- Returns:
trueif the protocol is enabled;falseotherwise
-
isMacClient
boolean isMacClient()Tests whether the client is a Macintosh client.- Returns:
trueif the client is a Macinstosh client;falseotherwise. Default value isfalse.
-
setMacClient
void setMacClient(boolean isMacClient) Specifies whether the client is a Macintosh client.- Parameters:
isMacClient-trueif the client is a Macintosh client;falseotherwise.
-
isSurrogateTransferAllowed
boolean isSurrogateTransferAllowed()Tests if surrogate transfer is allowed.- Returns:
trueif surrogate transfer allowed;falseotherwise. Default value istrue.
-
allowSurrogateTransfer
void allowSurrogateTransfer(boolean isSurrogateTransferAllowed) Specifies whether surrogate transfer is allowed.- Parameters:
isSurrogateTransferAllowed-trueif surrogate transfer allowed;falseotherwise.
-
isBocsTransferAllowed
boolean isBocsTransferAllowed()Tests if BOCS content transfer is allowed.- Returns:
trueif BOCS content transfer allowed;falseotherwise. Default value istrue.
-
allowBocsTransfer
void allowBocsTransfer(boolean isBocsTransferAllowed) Specifies whether BOCS content transfer is allowed.- Parameters:
isBocsTransferAllowed-trueif BOCS content transfer allowed;falseotherwise
-
isSynchronousBocsTransfer
boolean isSynchronousBocsTransfer()Tests if BOCS content transfer needs to be synchronous.- Returns:
trueif BOCS content transfer needs to be synchronous;falseotherwise. Default value istrue.
-
setSynchronousBocsTransfer
void setSynchronousBocsTransfer(boolean isSynchronousBocsTransfer) Specifies whether BOCS content transfer needs to be synchronous.- Parameters:
isSynchronousBocsTransfer-trueif BOCS content transfer needs to be synchronous;falseotherwise.
-