Interface CometTocDataProviderLocal


public interface CometTocDataProviderLocal
The interface Comet toc data provider local.
  • Field Details

  • Method Details

    • get

      <T> T get(String sessionId, String identifier, String documentName, String documentPath, String publication, String publicationDocumentId, String entityModel, String entityIdentifier, String recordIdentifier, String recordGroupIdentifier, String entityClass, String parentEntityIdentifier, String parentRecordIdentifier, String parentRecordGroupIdentifier, String parentEntityClass, String assortment, String country, String language, String well, String layer, String placeholder, Class<T> resultType) throws CometException
      Call the query and mapping method of a DataProvider to get data from the internal TableOfContents vault
      Type Parameters:
      T - the type parameter
      Parameters:
      sessionId - current sessionId
      identifier - identifier of the DataProvider
      documentName - the document name
      documentPath - the document path
      publication - the publication
      publicationDocumentId - the publication document id
      entityModel - used entity model
      entityIdentifier - used entity
      recordIdentifier - unique identifier of the entity used in the external system
      recordGroupIdentifier - group identifier of the entity used in the external system (optional)
      entityClass - class of the entity (e.g. Bucket, Text etc.)
      parentEntityIdentifier - used entity of parent
      parentRecordIdentifier - unique identifier of the entities parent
      parentRecordGroupIdentifier - group identifier of the entities parent
      parentEntityClass - class of the enities parent
      assortment - Context.assortment value
      country - Context.country value
      language - Context.language value
      well - Context.well value
      layer - if not empty, only entries of these layers (quoted, comma separated list) will be included in result
      placeholder - if not empty, only these placeholders (comma separated list) will be included in result
      resultType - return / result type of this method
      Returns:
      list of CometTocEntries
      Throws:
      CometException - the comet exception
    • get

      <T> T get(String sessionId, String identifier, String documentName, String documentPath, String publication, String publicationDocumentId, String entityModel, String entityIdentifier, String recordIdentifier, String recordGroupIdentifier, String entityClass, String parentEntityIdentifier, String parentRecordIdentifier, String parentRecordGroupIdentifier, String parentEntityClass, String assortment, String country, String language, String well, String targetGroup, String marketName, String layer, String placeholder, Class<T> resultType) throws CometException
      Get t.
      Type Parameters:
      T - the type parameter
      Parameters:
      sessionId - the session id
      identifier - the identifier
      documentName - the document name
      documentPath - the document path
      publication - the publication
      publicationDocumentId - the publication document id
      entityModel - the entity model
      entityIdentifier - the entity identifier
      recordIdentifier - the record identifier
      recordGroupIdentifier - the record group identifier
      entityClass - the entity class
      parentEntityIdentifier - the parent entity identifier
      parentRecordIdentifier - the parent record identifier
      parentRecordGroupIdentifier - the parent record group identifier
      parentEntityClass - the parent entity class
      assortment - the assortment
      country - the country
      language - the language
      well - the well
      targetGroup - the target group
      marketName - the market name
      layer - the layer
      placeholder - the placeholder
      resultType - the result type
      Returns:
      the t
      Throws:
      CometException - the comet exception