Interface PublicationDataProviderLocal


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

    • MAPPED_NAME

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

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

    • getDocumentParameters

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

      String getDocumentRootPublicationId(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

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

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

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

      void setDocumentProperty(String documentId, String propertyName, 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

      String getDocumentProperty(String documentId, 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(String documentId, String parameterName, int count, String parameterValue1, String parameterValue2, 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
    • getRootPublications

      List<Publication> getRootPublications() throws CometException
      Gets root publications.
      Returns:
      the root publications
      Throws:
      CometException - the comet exception
    • getSubPublications

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

      List<Publication> collectDocuments(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
    • getMasterDocuments

      List<Publication> getMasterDocuments() throws CometException
      Gets master documents.
      Returns:
      the master documents
      Throws:
      CometException - the comet exception
    • getWorkflowStates

      List<WorkflowStatus> getWorkflowStates() throws CometException
      Gets workflow states.
      Returns:
      the workflow states
      Throws:
      CometException - the comet exception
    • getDocumentWorkflowStates

      List<WorkflowStatus> getDocumentWorkflowStates(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(String documentId) throws CometException
      Gets document workflow status.
      Parameters:
      documentId - the document id
      Returns:
      the document workflow status
      Throws:
      CometException - the comet exception
    • getNextDocumentWorkflowStates

      List<WorkflowStatus> getNextDocumentWorkflowStates(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(String documentId, String actionId, 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

      List<Publication> search(String publicationId, String subPublicationsId, String documentName, String workflowStatusId1, String workflowStatusId2, String workflowStatusId3, String param1, String value11, String value12, String value13, String param2, String value21, String value22, String value23, String param3, String value31, String value32, String value33, String restrictiveCheckbox, 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
    • getPublicationTypes

      List<PublicationType> getPublicationTypes() throws CometException
      Gets publication types.
      Returns:
      the publication types
      Throws:
      CometException - the comet exception
    • getParameters

      List<Parameter> getParameters() throws CometException
      Gets parameters.
      Returns:
      the parameters
      Throws:
      CometException - the comet exception
    • getParameterDropdownValues

      List<Parameter> getParameterDropdownValues(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

      List<Product> getDocumentProductSelection(String entityModelIdentifier, Context context, 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

      List<Product> getDocumentProductPlanning(String entityModelIdentifier, Context context, String documentId, String entityIdentifier, 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

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

      <T> T findPublicationList(String sessionId, String entityModelName, String pluginMappedName, String methodName, String assortment, String country, String language, String well, String publication, String targetGroup, String marketName, String documentId, String search1, String search2, String search3, String search4, 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