Class PasswordContainingSource
java.lang.Object
com.levigo.jadice.web.shared.model.Source
com.levigo.jadice.web.demo.common.shared.service.sources.PasswordContainingSource
- All Implemented Interfaces:
SelfClassName
,Serializable
- Direct Known Subclasses:
ClassPathSource
,ClassPathWithAnnoAndPermissionSource
,ClassPathWithAnnoSource
,DocumentIDSource
,SplitFileUploadSource
A
Source
containing the password. The password can be used for example to decrypt the PDF
on server side when the document is initially loaded.- See Also:
-
Field Summary
Fields inherited from interface com.levigo.jadice.web.shared.model.SelfClassName
selfClassName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the password for this document.void
setPassword
(String password) Sets the password for this document.
-
Constructor Details
-
PasswordContainingSource
public PasswordContainingSource()
-
-
Method Details
-
getPassword
Returns the password for this document.- Returns:
- the password used to encrypt this document
-
setPassword
Sets the password for this document.- Parameters:
password
- the password which should be used to encrypt this document
-