Class CompositeHandle
java.lang.Object
com.levigo.jadice.web.shared.model.PageSegmentHandle
com.levigo.jadice.web.demo.common.shared.service.sources.CompositeHandle
- All Implemented Interfaces:
Serializable
Handle for clientside defined composite documents.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCompositeHandle(List<String> resources, String identifier) Creates a newCompositeHandlewith the given resources and identifier -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates a "DocumentID" to be able to cache the Jadice document on recovering.Returns the concatenated resources as a string.Methods inherited from class com.levigo.jadice.web.shared.model.PageSegmentHandle
copyTo, equals, getDocumentLayer, getPageIndex, getPageSegmentUUID, hashCode, init, setDocumentLayer, setPageIndex, setPageSegmentUUID, toString
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
CompositeHandle
public CompositeHandle() -
CompositeHandle
Creates a newCompositeHandlewith the given resources and identifier- Parameters:
resources- the resources of the composite document this handle belongs toidentifier- the identifier for the source
-
-
Method Details
-
getIdentifier
Description copied from class:PageSegmentHandleCreates 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:
getIdentifierin classPageSegmentHandle- Returns:
- The unique DocumentID of the document associated with this
PageSegment.
-
copy
- Specified by:
copyin classPageSegmentHandle
-
getResources
-
getResourcesAsStrin
Returns the concatenated resources as a string. The different resources are separated with a ";".- Returns:
- the resources as string
-