public class Document extends Representation
Modifier and Type | Field and Description |
---|---|
AuthenticationLevel |
authenticationLevel |
protected ContentHash |
contentHash |
protected String |
digipostFileType |
EmailNotification |
emailNotification |
protected Boolean |
opened |
String |
openingReceipt |
protected Boolean |
preEncrypt |
SensitivityLevel |
sensitivityLevel |
SmsNotification |
smsNotification |
String |
subject |
String |
uuid |
links
Constructor and Description |
---|
Document() |
Document(String id,
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 |
---|---|
Link |
getAddContentLink() |
String |
getDigipostFileType() |
Link |
getEncryptionKeyLink() |
protected List<Link> |
getLinks() |
String |
getTechnicalType() |
String |
getUuid() |
boolean |
isOpened() |
boolean |
isPreEncrypt() |
void |
setDigipostFileType(FileType fileType) |
void |
setPreEncrypt() |
static Document |
technicalAttachment(String type,
FileType fileType) |
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 Boolean preEncrypt
protected ContentHash contentHash
public Document()
public Document(String id, 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 void setDigipostFileType(FileType fileType)
public String getDigipostFileType()
public void setPreEncrypt()
public boolean isPreEncrypt()
public Link getAddContentLink()
public Link getEncryptionKeyLink()
public String getUuid()
public String getTechnicalType()
public boolean isOpened()
Copyright © 2014 Digipost Open Source. All rights reserved.