Interface PublicationDataProviderLocal


  • public interface PublicationDataProviderLocal
    The interface Publication data provider local.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String JNDINAME
      The constant JNDINAME java:global/CometBridge/PublicationDataProvider!com.priint.pubserver.comet.bridge.dataprovider.PublicationDataProviderLocal".
      static java.lang.String MAPPED_NAME
      The constant MAPPED_NAME "com.priint.pubserver.comet.bridge.dataprovider.PublicationDataProvider".
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<Publication> collectDocuments​(java.lang.String publicationId, int levels)
      Collect documents list.
      <T> T findPublicationList​(java.lang.String sessionId, java.lang.String entityModelName, java.lang.String pluginMappedName, java.lang.String methodName, java.lang.String assortment, java.lang.String country, java.lang.String language, java.lang.String well, java.lang.String publication, java.lang.String targetGroup, java.lang.String marketName, java.lang.String documentId, java.lang.String search1, java.lang.String search2, java.lang.String search3, java.lang.String search4, java.lang.Class<T> clazz)
      Find publication list t.
      java.util.Map<java.lang.String,​java.lang.String> getDocumentParameters​(java.lang.String documentId)
      Gets document parameters.
      java.util.List<Product> getDocumentProductPlanning​(java.lang.String entityModelIdentifier, Context context, java.lang.String documentId, java.lang.String entityIdentifier, java.lang.String searchString)
      Gets document product planning.
      java.util.List<Product> getDocumentProductSelection​(java.lang.String entityModelIdentifier, Context context, java.lang.String documentId)
      Gets document product selection.
      java.lang.String getDocumentProperty​(java.lang.String documentId, java.lang.String propertyName)
      Gets document property.
      java.lang.String getDocumentPublicationId​(java.lang.String documentId)
      Gets document publication id.
      java.lang.String getDocumentRootPublicationId​(java.lang.String documentId)
      Gets document root publication id.
      java.util.List<WorkflowStatus> getDocumentWorkflowStates​(java.lang.String documentId)
      Gets document workflow states.
      WorkflowStatus getDocumentWorkflowStatus​(java.lang.String documentId)
      Gets document workflow status.
      java.util.List<Publication> getMasterDocuments()
      Gets master documents.
      java.util.List<WorkflowStatus> getNextDocumentWorkflowStates​(java.lang.String documentId)
      Gets next document workflow states.
      java.util.List<Parameter> getParameterDropdownValues​(java.lang.String parameterId)
      Gets parameter dropdown values.
      java.util.List<Parameter> getParameters()
      Gets parameters.
      java.lang.String getPublicationPath​(java.lang.String publicationId)
      Gets publication path.
      java.util.List<PublicationType> getPublicationTypes()
      Gets publication types.
      java.lang.String getRootPublicationId​(java.lang.String publicationId)
      Gets root publication id.
      java.util.List<Publication> getRootPublications()
      Gets root publications.
      java.util.List<Publication> getSubPublications​(java.lang.String publicationId)
      Gets sub publications.
      java.util.List<WorkflowStatus> getWorkflowStates()
      Gets workflow states.
      boolean isPublicationPlannerSupported()
      Is publication planner supported boolean.
      java.util.List<Publication> resolvePublicationSelection​(java.util.Map<java.lang.String,​java.lang.Object> parameters)
      Resolve publication selection list.
      java.util.List<Publication> search​(java.lang.String publicationId, java.lang.String subPublicationsId, java.lang.String documentName, java.lang.String workflowStatusId1, java.lang.String workflowStatusId2, java.lang.String workflowStatusId3, java.lang.String param1, java.lang.String value11, java.lang.String value12, java.lang.String value13, java.lang.String param2, java.lang.String value21, java.lang.String value22, java.lang.String value23, java.lang.String param3, java.lang.String value31, java.lang.String value32, java.lang.String value33, java.lang.String restrictiveCheckbox, java.lang.String recursive)
      Search list.
      void setDocumentParameters​(java.lang.String documentId, java.lang.String parameterName, int count, java.lang.String parameterValue1, java.lang.String parameterValue2, java.lang.String parameterValue3)
      Sets document parameters.
      void setDocumentProperty​(java.lang.String documentId, java.lang.String propertyName, java.lang.String propertyValue)
      Sets document property.
      void setDocumentWorkflowStatus​(java.lang.String documentId, java.lang.String actionId, java.lang.String url)
      Sets document workflow status.
    • Field Detail

      • MAPPED_NAME

        static final java.lang.String MAPPED_NAME
        The constant MAPPED_NAME "com.priint.pubserver.comet.bridge.dataprovider.PublicationDataProvider".
        See Also:
        Constant Field Values
      • JNDINAME

        static final java.lang.String JNDINAME
        The constant JNDINAME java:global/CometBridge/PublicationDataProvider!com.priint.pubserver.comet.bridge.dataprovider.PublicationDataProviderLocal".
        See Also:
        Constant Field Values
    • Method Detail

      • getDocumentParameters

        java.util.Map<java.lang.String,​java.lang.String> getDocumentParameters​(java.lang.String documentId)
                                                                              throws CometException
        Gets document parameters.
        Parameters:
        documentId - the document id
        Returns:
        the document parameters
        Throws:
        CometException - the comet exception
      • getDocumentRootPublicationId

        java.lang.String getDocumentRootPublicationId​(java.lang.String documentId)
                                               throws CometException
        Gets document root publication id.
        Parameters:
        documentId - the document id
        Returns:
        the document root publication id
        Throws:
        CometException - the comet exception
      • getDocumentPublicationId

        java.lang.String getDocumentPublicationId​(java.lang.String documentId)
                                           throws CometException
        Gets document publication id.
        Parameters:
        documentId - the document id
        Returns:
        the document publication id
        Throws:
        CometException - the comet exception
      • getRootPublicationId

        java.lang.String getRootPublicationId​(java.lang.String publicationId)
                                       throws CometException
        Gets root publication id.
        Parameters:
        publicationId - the publication id
        Returns:
        the root publication id
        Throws:
        CometException - the comet exception
      • getPublicationPath

        java.lang.String getPublicationPath​(java.lang.String publicationId)
                                     throws CometException
        Gets publication path.
        Parameters:
        publicationId - the publication id
        Returns:
        the publication path
        Throws:
        CometException - the comet exception
      • setDocumentProperty

        void setDocumentProperty​(java.lang.String documentId,
                                 java.lang.String propertyName,
                                 java.lang.String propertyValue)
                          throws CometException
        Sets document property.
        Parameters:
        documentId - the document id
        propertyName - the property name
        propertyValue - the property value
        Throws:
        CometException - the comet exception
      • getDocumentProperty

        java.lang.String getDocumentProperty​(java.lang.String documentId,
                                             java.lang.String propertyName)
                                      throws CometException
        Gets document property.
        Parameters:
        documentId - the document id
        propertyName - the property name
        Returns:
        the document property
        Throws:
        CometException - the comet exception
      • setDocumentParameters

        void setDocumentParameters​(java.lang.String documentId,
                                   java.lang.String parameterName,
                                   int count,
                                   java.lang.String parameterValue1,
                                   java.lang.String parameterValue2,
                                   java.lang.String parameterValue3)
                            throws CometException
        Sets document parameters.
        Parameters:
        documentId - the document id
        parameterName - the parameter name
        count - the count
        parameterValue1 - the parameter value 1
        parameterValue2 - the parameter value 2
        parameterValue3 - the parameter value 3
        Throws:
        CometException - the comet exception
      • getSubPublications

        java.util.List<Publication> getSubPublications​(java.lang.String publicationId)
                                                throws CometException
        Gets sub publications.
        Parameters:
        publicationId - the publication id
        Returns:
        the sub publications
        Throws:
        CometException - the comet exception
      • collectDocuments

        java.util.List<Publication> collectDocuments​(java.lang.String publicationId,
                                                     int levels)
                                              throws CometException
        Collect documents list.
        Parameters:
        publicationId - the publication id
        levels - the levels
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • getDocumentWorkflowStates

        java.util.List<WorkflowStatus> getDocumentWorkflowStates​(java.lang.String documentId)
                                                          throws CometException
        Gets document workflow states.
        Parameters:
        documentId - the document id
        Returns:
        the document workflow states
        Throws:
        CometException - the comet exception
      • getDocumentWorkflowStatus

        WorkflowStatus getDocumentWorkflowStatus​(java.lang.String documentId)
                                          throws CometException
        Gets document workflow status.
        Parameters:
        documentId - the document id
        Returns:
        the document workflow status
        Throws:
        CometException - the comet exception
      • getNextDocumentWorkflowStates

        java.util.List<WorkflowStatus> getNextDocumentWorkflowStates​(java.lang.String documentId)
                                                              throws CometException
        Gets next document workflow states.
        Parameters:
        documentId - the document id
        Returns:
        the next document workflow states
        Throws:
        CometException - the comet exception
      • setDocumentWorkflowStatus

        void setDocumentWorkflowStatus​(java.lang.String documentId,
                                       java.lang.String actionId,
                                       java.lang.String url)
                                throws CometException
        Sets document workflow status.
        Parameters:
        documentId - the document id
        actionId - the action id
        url - the url
        Throws:
        CometException - the comet exception
      • search

        java.util.List<Publication> search​(java.lang.String publicationId,
                                           java.lang.String subPublicationsId,
                                           java.lang.String documentName,
                                           java.lang.String workflowStatusId1,
                                           java.lang.String workflowStatusId2,
                                           java.lang.String workflowStatusId3,
                                           java.lang.String param1,
                                           java.lang.String value11,
                                           java.lang.String value12,
                                           java.lang.String value13,
                                           java.lang.String param2,
                                           java.lang.String value21,
                                           java.lang.String value22,
                                           java.lang.String value23,
                                           java.lang.String param3,
                                           java.lang.String value31,
                                           java.lang.String value32,
                                           java.lang.String value33,
                                           java.lang.String restrictiveCheckbox,
                                           java.lang.String recursive)
                                    throws CometException
        Search list.
        Parameters:
        publicationId - the publication id
        subPublicationsId - the sub publications id
        documentName - the document name
        workflowStatusId1 - the workflow status id 1
        workflowStatusId2 - the workflow status id 2
        workflowStatusId3 - the workflow status id 3
        param1 - the param 1
        value11 - the value 11
        value12 - the value 12
        value13 - the value 13
        param2 - the param 2
        value21 - the value 21
        value22 - the value 22
        value23 - the value 23
        param3 - the param 3
        value31 - the value 31
        value32 - the value 32
        value33 - the value 33
        restrictiveCheckbox - the restrictive checkbox
        recursive - the recursive
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • getParameterDropdownValues

        java.util.List<Parameter> getParameterDropdownValues​(java.lang.String parameterId)
                                                      throws CometException
        Gets parameter dropdown values.
        Parameters:
        parameterId - the parameter id
        Returns:
        the parameter dropdown values
        Throws:
        CometException - the comet exception
      • isPublicationPlannerSupported

        boolean isPublicationPlannerSupported()
        Is publication planner supported boolean.
        Returns:
        the boolean
      • getDocumentProductSelection

        java.util.List<Product> getDocumentProductSelection​(java.lang.String entityModelIdentifier,
                                                            Context context,
                                                            java.lang.String documentId)
                                                     throws CometException
        Gets document product selection.
        Parameters:
        entityModelIdentifier - the entity model identifier
        context - the context
        documentId - the document id
        Returns:
        the document product selection
        Throws:
        CometException - the comet exception
      • getDocumentProductPlanning

        java.util.List<Product> getDocumentProductPlanning​(java.lang.String entityModelIdentifier,
                                                           Context context,
                                                           java.lang.String documentId,
                                                           java.lang.String entityIdentifier,
                                                           java.lang.String searchString)
                                                    throws CometException
        Gets document product planning.
        Parameters:
        entityModelIdentifier - the entity model identifier
        context - the context
        documentId - the document id
        entityIdentifier - the entity identifier
        searchString - the search string
        Returns:
        the document product planning
        Throws:
        CometException - the comet exception
      • resolvePublicationSelection

        java.util.List<Publication> resolvePublicationSelection​(java.util.Map<java.lang.String,​java.lang.Object> parameters)
                                                         throws CometException
        Resolve publication selection list.
        Parameters:
        parameters - the parameters
        Returns:
        the list
        Throws:
        CometException - the comet exception
      • findPublicationList

        <T> T findPublicationList​(java.lang.String sessionId,
                                  java.lang.String entityModelName,
                                  java.lang.String pluginMappedName,
                                  java.lang.String methodName,
                                  java.lang.String assortment,
                                  java.lang.String country,
                                  java.lang.String language,
                                  java.lang.String well,
                                  java.lang.String publication,
                                  java.lang.String targetGroup,
                                  java.lang.String marketName,
                                  java.lang.String documentId,
                                  java.lang.String search1,
                                  java.lang.String search2,
                                  java.lang.String search3,
                                  java.lang.String search4,
                                  java.lang.Class<T> clazz)
                           throws CometException
        Find publication list t.
        Type Parameters:
        T - the type parameter
        Parameters:
        sessionId - the session id
        entityModelName - the entity model name
        pluginMappedName - the plugin mapped name
        methodName - the method name
        assortment - the assortment
        country - the country
        language - the language
        well - the well
        publication - the publication
        targetGroup - the target group
        marketName - the market name
        documentId - the document id
        search1 - the search 1
        search2 - the search 2
        search3 - the search 3
        search4 - the search 4
        clazz - the clazz
        Returns:
        the t
        Throws:
        CometException - the comet exception