Package com.documentum.fc.client.acs
Interface IDfAcsContentRequest
- All Known Subinterfaces:
IDfAcsRequest
public interface IDfAcsContentRequest
Provides ACS content request related data.
- Since:
- 5.3 sp1
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddTransientField(String name, String value) Adds a transient field.booleanReturns compression mode.longReturns content length.longReturns content offset.Returns the Multimedia Internet Mail Extension (MIME) type.Returns object id.Returns protocol name.booleanReturns recovery mode.Returns delimiter of transient fields.ReturnsIDfEnumerationobject containing names of transient fields in a order they were added.ReturnsIDfEnumerationobject containing values of transient fields in a order they were added.makeURL()Returns the string representation of the URL.voidsetCompression(boolean compression) Sets the compression mode.voidsetContentLength(long length) Sets the content lengthvoidsetContentOffset(long offset) Sets the content offset.voidsetMimeType(String mimeType) Sets the Multimedia Internet Mail Extension (MIME) typevoidsetRecovery(boolean recovery) Sets the recovery mode.voidsetTransientDelimiter(String delimiter) Sets the delimiter for transient fields.
-
Method Details
-
makeURL
String makeURL()Returns the string representation of the URL.- Returns:
- string representation of the URL.
-
getObjectId
IDfId getObjectId()Returns object id.- Returns:
- object id.
-
getProtocol
String getProtocol()Returns protocol name.- Returns:
- protocol name.
-
getCompression
boolean getCompression()Returns compression mode.- Returns:
- compression mode. true indicates that client expects compression; false indicates that client does not expect compression. Default is false.
-
setCompression
void setCompression(boolean compression) Sets the compression mode.- Parameters:
compression- true indicates that client expects compression; false indicates that client does not expect compression.
-
getRecovery
boolean getRecovery()Returns recovery mode.- Returns:
- recovery mode. true indicates that data transmission needs to be restored; false indicates that data transmission does not need to be restored; Default is false.
-
setRecovery
void setRecovery(boolean recovery) Sets the recovery mode.- Parameters:
recovery- true indicates that data transmission needs to be restored.
-
getContentOffset
long getContentOffset()Returns content offset.- Returns:
- content offset. Default is 0.
-
setContentOffset
void setContentOffset(long offset) Sets the content offset.- Parameters:
offset- content offset.
-
getContentLength
long getContentLength()Returns content length.- Returns:
- content length. Negative value indicates that value is not set. Default is -1.
-
setContentLength
void setContentLength(long length) Sets the content length- Parameters:
length- content length
-
getMimeType
String getMimeType()Returns the Multimedia Internet Mail Extension (MIME) type.- Returns:
- MIME type. Null indicates that mime type is not set.
-
setMimeType
Sets the Multimedia Internet Mail Extension (MIME) type- Parameters:
mimeType- MIME type value
-
getTransientFieldNames
IDfEnumeration getTransientFieldNames()ReturnsIDfEnumerationobject containing names of transient fields in a order they were added.- Returns:
IDfEnumerationobject containing names of transient fields in a order they were added.
-
getTransientFieldValues
IDfEnumeration getTransientFieldValues()ReturnsIDfEnumerationobject containing values of transient fields in a order they were added.- Returns:
IDfEnumerationobject containing values of transient fields in a order they were added.
-
addTransientField
Adds a transient field.- Parameters:
name- name of transient fieldvalue- value of transient field
-
getTransientDelimiter
String getTransientDelimiter()Returns delimiter of transient fields.- Returns:
- delimiter to be used to separate name and value of transient fields.
-
setTransientDelimiter
Sets the delimiter for transient fields.- Parameters:
delimiter- delimiter to be used to separate name and value of transient fields- Throws:
NullPointerException- if delimiter is null
-