Class ClassPathWithAnnoHandle
java.lang.Object
com.levigo.jadice.web.shared.model.PageSegmentHandle
com.levigo.jadice.web.shared.PasswordContainingPageSegmentHandle
com.levigo.jadice.web.demo.common.shared.service.sources.ClassPathWithAnnoHandle
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.for GWT onlyClassPathWithAnnoHandle
(String resource) In case of non-composite documents the resource can also serve as identifier for the whole document.ClassPathWithAnnoHandle
(String resource, String identifier) In case of composite documents a unique identifier for the whole document is required apart from the resource description of the partial document. document. -
Method Summary
Methods inherited from class com.levigo.jadice.web.shared.PasswordContainingPageSegmentHandle
getPassword, setPassword
Methods inherited from class com.levigo.jadice.web.shared.model.PageSegmentHandle
copyTo, equals, getDocumentLayer, getPageIndex, getPageSegmentUUID, hashCode, init, setDocumentLayer, setPageIndex, setPageSegmentUUID
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
ClassPathWithAnnoHandle
Deprecated.for GWT only -
ClassPathWithAnnoHandle
In case of composite documents a unique identifier for the whole document is required apart from the resource description of the partial document. document.- Parameters:
resource
- The resource identifier; in this case the filename of the file to loadidentifier
- The unique(!) identifier of this source. Whenever the same(!) document on the file system is used as part of a composite document AND in another test case as a standalone test document, it is mandatory to provide a unique identifier here
-
ClassPathWithAnnoHandle
In case of non-composite documents the resource can also serve as identifier for the whole document.- Parameters:
resource
- The resource identifier; in this case the filename of the file to load
-
-
Method Details
-
getResource
-
getIdentifier
Description copied from class:PageSegmentHandle
Creates a "DocumentID" to be able to cache the Jadice document on recovering. NOTE: The Identifier represents the ID of the Document, not thePageSegment
!- Specified by:
getIdentifier
in classPageSegmentHandle
- Returns:
- The unique DocumentID of the document associated with this
PageSegment
.
-
copy
- Specified by:
copy
in classPageSegmentHandle
-
toString
- Overrides:
toString
in classPageSegmentHandle
-