Class ClassPathWithAnnoAndPermissionDocumentDataProvider
java.lang.Object
com.levigo.jadice.web.demo.common.server.dataprovider.SimpleDocumentDataProvider<ClassPathWithAnnoAndPermissionSource,ClassPathWithAnnoAndPermissionHandle>
com.levigo.jadice.web.demo.enterprise.server.ClassPathWithAnnoAndPermissionDocumentDataProvider
- All Implemented Interfaces:
DocumentDataProvider<ClassPathWithAnnoAndPermissionSource,
ClassPathWithAnnoAndPermissionHandle>
@Component
public class ClassPathWithAnnoAndPermissionDocumentDataProvider
extends SimpleDocumentDataProvider<ClassPathWithAnnoAndPermissionSource,ClassPathWithAnnoAndPermissionHandle>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyPermissions
(com.levigo.jadice.document.read.Reader reader, ClassPathWithAnnoAndPermissionSource source) Creates a SourceHandle from a given Source.protected org.jadice.util.base.Provider<InputStream,
IOException> org.jadice.util.base.Provider<InputStream,
IOException> getRecoveryStream
(ClassPathWithAnnoAndPermissionHandle sourceHandle) Creates theProvider
out of a oldPageSegmentHandle
org.jadice.util.base.Provider<InputStream,
IOException> Creates theProvider
out of aSource
void
read
(com.levigo.jadice.document.read.Reader reader, ClassPathWithAnnoAndPermissionSource source) Reads a part of the document to load.void
recover
(com.levigo.jadice.document.read.Reader reader, ClassPathWithAnnoAndPermissionHandle handle) Partially recovers aDocument
identified by the givenPageSegmentHandle
.
-
Constructor Details
-
ClassPathWithAnnoAndPermissionDocumentDataProvider
public ClassPathWithAnnoAndPermissionDocumentDataProvider()
-
-
Method Details
-
get