public class Document extends Representation
Modifier and Type | Field and Description |
---|---|
AuthenticationLevel |
authenticationLevel |
protected ContentHash |
contentHash |
protected String |
digipostFileType |
EmailNotification |
emailNotification |
static no.motif.f.Fn<Document,FileType> |
getFileType |
static no.motif.f.Fn<Document,String> |
getUuid |
static no.motif.f.Predicate<Document> |
isPreEncrypt |
protected Boolean |
opened |
String |
openingReceipt |
protected Boolean |
preEncrypt |
protected Integer |
preEncryptNoPages |
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 |
---|---|
static Document |
copyDocumentAndSetDigipostFileTypeToPdf(Document doc) |
Link |
getAddContentLink() |
String |
getDigipostFileType() |
Link |
getEncryptionKeyLink() |
protected List<Link> |
getLinks() |
Integer |
getPreEncryptNoPages() |
String[] |
getTechnicalType() |
boolean |
is(FileType fileType) |
boolean |
isOpened() |
boolean |
isPreEncrypt() |
void |
setContentHash(ContentHash contentHash) |
void |
setDigipostFileType(FileType fileType) |
Document |
setNoEncryptedPages(int noEncryptedPages) |
Document |
setPreEncrypt() |
static Document |
technicalAttachment(FileType fileType,
String... type) |
String |
toString() |
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 Integer preEncryptNoPages
protected ContentHash contentHash
public static final no.motif.f.Predicate<Document> isPreEncrypt
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 static Document copyDocumentAndSetDigipostFileTypeToPdf(Document doc)
public void setContentHash(ContentHash contentHash)
public void setDigipostFileType(FileType fileType)
public String getDigipostFileType()
public boolean is(FileType fileType)
public Document setPreEncrypt()
public Document setNoEncryptedPages(int noEncryptedPages)
public boolean isPreEncrypt()
public Integer getPreEncryptNoPages()
public Link getAddContentLink()
public Link getEncryptionKeyLink()
public String[] getTechnicalType()
public boolean isOpened()
Copyright © 2016 Digipost. All rights reserved.