public class Document extends Representation
Modifier and Type | Field and Description |
---|---|
AuthenticationLevel |
authenticationLevel |
protected ContentHash |
contentHash |
protected String |
digipostFileType |
EmailNotification |
emailNotification |
protected EncryptionInfo |
encrypted |
protected Boolean |
opened |
String |
openingReceipt |
SensitivityLevel |
sensitivityLevel |
SmsNotification |
smsNotification |
String |
subject |
String |
uuid |
links
Constructor and Description |
---|
Document() |
Document(String uuid,
String subject,
FileType fileType)
Constructor for just the required fields of a document.
|
Document(String uuid,
String subject,
FileType fileType,
String openingReceipt,
SmsNotification smsNotification,
EmailNotification emailNotification,
AuthenticationLevel authenticationLevel,
SensitivityLevel sensitivityLevel) |
Document(String uuid,
String subject,
FileType fileType,
String openingReceipt,
SmsNotification smsNotification,
EmailNotification emailNotification,
AuthenticationLevel authenticationLevel,
SensitivityLevel sensitivityLevel,
Boolean opened,
String... technicalType) |
Modifier and Type | Method and Description |
---|---|
Document |
copyDocumentAndSetDigipostFileTypeToPdf() |
Document |
encrypt() |
Link |
getAddContentLink() |
String |
getDigipostFileType() |
EncryptionInfo |
getEncrypted() |
Link |
getEncryptionKeyLink() |
protected List<Link> |
getLinks() |
String[] |
getTechnicalType() |
boolean |
is(FileType fileType) |
boolean |
isOpened() |
void |
setContentHash(ContentHash contentHash) |
void |
setDigipostFileType(FileType fileType) |
void |
setNumberOfEncryptedPages(int pages) |
static Document |
technicalAttachment(FileType fileType,
String... type) |
String |
toString() |
boolean |
willBeEncrypted() |
addLink, getLinkByRelationName
public final String uuid
public final String subject
protected String digipostFileType
protected Boolean opened
public final String openingReceipt
public final SmsNotification smsNotification
public final EmailNotification emailNotification
public final AuthenticationLevel authenticationLevel
public final SensitivityLevel sensitivityLevel
protected EncryptionInfo encrypted
protected ContentHash contentHash
public Document()
public Document(String uuid, String subject, FileType fileType)
public Document(String uuid, String subject, FileType fileType, String openingReceipt, SmsNotification smsNotification, EmailNotification emailNotification, AuthenticationLevel authenticationLevel, SensitivityLevel sensitivityLevel)
public Document(String uuid, String subject, FileType fileType, String openingReceipt, SmsNotification smsNotification, EmailNotification emailNotification, AuthenticationLevel authenticationLevel, SensitivityLevel sensitivityLevel, Boolean opened, String... technicalType)
public Document copyDocumentAndSetDigipostFileTypeToPdf()
public void setContentHash(ContentHash contentHash)
public void setDigipostFileType(FileType fileType)
public String getDigipostFileType()
public boolean is(FileType fileType)
public Document encrypt()
public boolean willBeEncrypted()
public EncryptionInfo getEncrypted()
public Link getAddContentLink()
public Link getEncryptionKeyLink()
public String[] getTechnicalType()
public boolean isOpened()
public void setNumberOfEncryptedPages(int pages)
Copyright © 2017 Digipost. All rights reserved.