Package com.levigo.jadice.web.shared
Class PasswordContainingPageSegmentHandle
java.lang.Object
com.levigo.jadice.web.shared.model.PageSegmentHandle
com.levigo.jadice.web.shared.PasswordContainingPageSegmentHandle
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ClassPathHandle
,ClassPathWithAnnoAndPermissionHandle
,ClassPathWithAnnoHandle
,DocumentIDHandle
,UriHandle
A
PageSegmentHandle
containing the password. The password can for example be use to
decrypt the PDF on server side when the document is recovered.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the password for this document.void
setPassword
(String password) Sets the password for this document.Methods inherited from class com.levigo.jadice.web.shared.model.PageSegmentHandle
copy, copyTo, equals, getDocumentLayer, getIdentifier, getPageIndex, getPageSegmentUUID, hashCode, init, setDocumentLayer, setPageIndex, setPageSegmentUUID, toString
-
Constructor Details
-
PasswordContainingPageSegmentHandle
public PasswordContainingPageSegmentHandle()
-
-
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
-