Interface CometTocDataProviderLocal


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

      Fields 
      Modifier and Type Field Description
      static java.lang.String JNDINAME
      The constant JNDINAME.
      static java.lang.String MAPPED_NAME
      The constant MAPPED_NAME.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <T> T get​(java.lang.String sessionId, java.lang.String identifier, java.lang.String documentName, java.lang.String documentPath, java.lang.String publication, java.lang.String publicationDocumentId, java.lang.String entityModel, java.lang.String entityIdentifier, java.lang.String recordIdentifier, java.lang.String recordGroupIdentifier, java.lang.String entityClass, java.lang.String parentEntityIdentifier, java.lang.String parentRecordIdentifier, java.lang.String parentRecordGroupIdentifier, java.lang.String parentEntityClass, java.lang.String assortment, java.lang.String country, java.lang.String language, java.lang.String well, java.lang.String layer, java.lang.String placeholder, java.lang.Class<T> resultType)
      Call the query and mapping method of a DataProvider to get data from the internal TableOfContents vault
      <T> T get​(java.lang.String sessionId, java.lang.String identifier, java.lang.String documentName, java.lang.String documentPath, java.lang.String publication, java.lang.String publicationDocumentId, java.lang.String entityModel, java.lang.String entityIdentifier, java.lang.String recordIdentifier, java.lang.String recordGroupIdentifier, java.lang.String entityClass, java.lang.String parentEntityIdentifier, java.lang.String parentRecordIdentifier, java.lang.String parentRecordGroupIdentifier, java.lang.String parentEntityClass, java.lang.String assortment, java.lang.String country, java.lang.String language, java.lang.String well, java.lang.String targetGroup, java.lang.String marketName, java.lang.String layer, java.lang.String placeholder, java.lang.Class<T> resultType)
      Get t.
    • Field Detail

      • JNDINAME

        static final java.lang.String JNDINAME
        The constant JNDINAME.
        See Also:
        Constant Field Values
      • MAPPED_NAME

        static final java.lang.String MAPPED_NAME
        The constant MAPPED_NAME.
        See Also:
        Constant Field Values
    • Method Detail

      • get

        <T> T get​(java.lang.String sessionId,
                  java.lang.String identifier,
                  java.lang.String documentName,
                  java.lang.String documentPath,
                  java.lang.String publication,
                  java.lang.String publicationDocumentId,
                  java.lang.String entityModel,
                  java.lang.String entityIdentifier,
                  java.lang.String recordIdentifier,
                  java.lang.String recordGroupIdentifier,
                  java.lang.String entityClass,
                  java.lang.String parentEntityIdentifier,
                  java.lang.String parentRecordIdentifier,
                  java.lang.String parentRecordGroupIdentifier,
                  java.lang.String parentEntityClass,
                  java.lang.String assortment,
                  java.lang.String country,
                  java.lang.String language,
                  java.lang.String well,
                  java.lang.String layer,
                  java.lang.String placeholder,
                  java.lang.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​(java.lang.String sessionId,
                  java.lang.String identifier,
                  java.lang.String documentName,
                  java.lang.String documentPath,
                  java.lang.String publication,
                  java.lang.String publicationDocumentId,
                  java.lang.String entityModel,
                  java.lang.String entityIdentifier,
                  java.lang.String recordIdentifier,
                  java.lang.String recordGroupIdentifier,
                  java.lang.String entityClass,
                  java.lang.String parentEntityIdentifier,
                  java.lang.String parentRecordIdentifier,
                  java.lang.String parentRecordGroupIdentifier,
                  java.lang.String parentEntityClass,
                  java.lang.String assortment,
                  java.lang.String country,
                  java.lang.String language,
                  java.lang.String well,
                  java.lang.String targetGroup,
                  java.lang.String marketName,
                  java.lang.String layer,
                  java.lang.String placeholder,
                  java.lang.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