java.lang.Object
com.levigo.jadice.web.shared.model.PageSegmentHandle
com.levigo.jadice.web.demo.common.shared.service.sources.CompositeHandle
All Implemented Interfaces:
Serializable

public class CompositeHandle extends PageSegmentHandle
Handle for clientside defined composite documents.
See Also:
  • Field Details

  • Constructor Details

    • CompositeHandle

      public CompositeHandle()
    • CompositeHandle

      public CompositeHandle(List<String> resources, String identifier)
      Creates a new CompositeHandle with the given resources and identifier
      Parameters:
      resources - the resources of the composite document this handle belongs to
      identifier - the identifier for the source
  • Method Details

    • getIdentifier

      public String 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 the PageSegment!
      Specified by:
      getIdentifier in class PageSegmentHandle
      Returns:
      The unique DocumentID of the document associated with this PageSegment.
    • copy

      public PageSegmentHandle copy()
      Specified by:
      copy in class PageSegmentHandle
    • getResources

      public List<String> getResources()
    • getResourcesAsStrin

      public String getResourcesAsStrin()
      Returns the concatenated resources as a string. The different resources are separated with a ";".
      Returns:
      the resources as string