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 voidapplyPermissions(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 theProviderout of a oldPageSegmentHandleorg.jadice.util.base.Provider<InputStream, IOException> Creates theProviderout of aSourcevoidread(com.levigo.jadice.document.read.Reader reader, ClassPathWithAnnoAndPermissionSource source) Reads a part of the document to load.voidrecover(com.levigo.jadice.document.read.Reader reader, ClassPathWithAnnoAndPermissionHandle handle) Partially recovers aDocumentidentified by the givenPageSegmentHandle.
-
Constructor Details
-
ClassPathWithAnnoAndPermissionDocumentDataProvider
public ClassPathWithAnnoAndPermissionDocumentDataProvider()
-
-
Method Details
-
get