Package de.elo.ix.client
Class PublicDownloadOptions
java.lang.Object
byps.BValueClass
de.elo.ix.client.ValueClass
de.elo.ix.client.PublicDownloadOptions
- All Implemented Interfaces:
Serializable
This class contains several options that are used to get the public downloads.
Copyright: Copyright (c) 2014
Organisation: ELO Digital Office GmbH
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
If true, the document is downloaded as an attachment.protected String
The doc id.protected String[]
The download IDs to retrieve the public downloads.protected String
The expired time.protected boolean
If true, the short description of the sord is used as file name in the download URL.protected String
The obj id.protected int
The remaining download.Fields inherited from class byps.BValueClass
bypsClient, changedMembers, dbHelper, FLAG_SEALED, flags
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDocId()
String[]
getObjId()
int
boolean
boolean
void
setContentDispositionAttachment
(boolean contentDispositionAttachment) void
void
setDownloadIds
(String[] downloadIds) void
setExpiration
(String expiration) void
setFileNameFromSordName
(boolean fileNameFromSordName) void
void
setRemaining
(int remaining) toString()
Methods inherited from class byps.BValueClass
getBypsClient, getChangedMembers, getDbHelper, isChangedMember, isSealed, seal, seal, setBypsClient, setChangedMember, setChangedMembers, setDbHelper
-
Field Details
-
downloadIds
The download IDs to retrieve the public downloads. -
expiration
The expired time.- Since:
- 9.00.012.003
-
remaining
protected int remainingThe remaining download.- Since:
- 9.00.012.003
-
docId
The doc id.- Since:
- 9.00.012.004
-
objId
The obj id.- Since:
- 9.00.012.004
-
fileNameFromSordName
protected boolean fileNameFromSordNameIf true, the short description of the sord is used as file name in the download URL. Otherwise the original file name is used.- Since:
- 9.00.014.008
-
contentDispositionAttachment
protected boolean contentDispositionAttachmentIf true, the document is downloaded as an attachment. Otherwise it content is shown in-line in the browser.- Since:
- 9.00.014.008
-
-
Constructor Details
-
PublicDownloadOptions
public PublicDownloadOptions() -
PublicDownloadOptions
-
-
Method Details
-
getDownloadIds
-
setDownloadIds
-
getExpiration
-
setExpiration
-
getRemaining
public int getRemaining() -
setRemaining
public void setRemaining(int remaining) -
getDocId
-
setDocId
-
getObjId
-
setObjId
-
isFileNameFromSordName
public boolean isFileNameFromSordName() -
setFileNameFromSordName
public void setFileNameFromSordName(boolean fileNameFromSordName) -
isContentDispositionAttachment
public boolean isContentDispositionAttachment() -
setContentDispositionAttachment
public void setContentDispositionAttachment(boolean contentDispositionAttachment) -
toString
-