Interface PublicationDataProviderLocal
public interface PublicationDataProviderLocal
The interface Publication data provider local.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe constant JNDINAME java:global/CometBridge/PublicationDataProvider!com.priint.pubserver.comet.bridge.dataprovider.PublicationDataProviderLocal".static final StringThe constant MAPPED_NAME "com.priint.pubserver.comet.bridge.dataprovider.PublicationDataProvider". -
Method Summary
Modifier and TypeMethodDescriptioncollectDocuments(String publicationId, int levels) Collect documents list.<T> TfindPublicationList(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) Find publication list t.getDocumentParameters(String documentId) Gets document parameters.getDocumentProductPlanning(String entityModelIdentifier, Context context, String documentId, String entityIdentifier, String searchString) Gets document product planning.getDocumentProductSelection(String entityModelIdentifier, Context context, String documentId) Gets document product selection.getDocumentProperty(String documentId, String propertyName) Gets document property.getDocumentPublicationId(String documentId) Gets document publication id.getDocumentRootPublicationId(String documentId) Gets document root publication id.getDocumentWorkflowStates(String documentId) Gets document workflow states.getDocumentWorkflowStatus(String documentId) Gets document workflow status.Gets master documents.getNextDocumentWorkflowStates(String documentId) Gets next document workflow states.getParameterDropdownValues(String parameterId) Gets parameter dropdown values.Gets parameters.getPublicationPath(String publicationId) Gets publication path.Gets publication types.getRootPublicationId(String publicationId) Gets root publication id.Gets root publications.getSubPublications(String publicationId) Gets sub publications.Gets workflow states.booleanIs publication planner supported boolean.resolvePublicationSelection(Map<String, Object> parameters) Resolve publication selection list.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) Search list.voidsetDocumentParameters(String documentId, String parameterName, int count, String parameterValue1, String parameterValue2, String parameterValue3) Sets document parameters.voidsetDocumentProperty(String documentId, String propertyName, String propertyValue) Sets document property.voidsetDocumentWorkflowStatus(String documentId, String actionId, String url) Sets document workflow status.
-
Field Details
-
MAPPED_NAME
The constant MAPPED_NAME "com.priint.pubserver.comet.bridge.dataprovider.PublicationDataProvider".- See Also:
-
JNDINAME
The constant JNDINAME java:global/CometBridge/PublicationDataProvider!com.priint.pubserver.comet.bridge.dataprovider.PublicationDataProviderLocal".- See Also:
-
-
Method Details
-
getDocumentParameters
Gets document parameters.- Parameters:
documentId- the document id- Returns:
- the document parameters
- Throws:
CometException- the comet exception
-
getDocumentRootPublicationId
Gets document root publication id.- Parameters:
documentId- the document id- Returns:
- the document root publication id
- Throws:
CometException- the comet exception
-
getDocumentPublicationId
Gets document publication id.- Parameters:
documentId- the document id- Returns:
- the document publication id
- Throws:
CometException- the comet exception
-
getRootPublicationId
Gets root publication id.- Parameters:
publicationId- the publication id- Returns:
- the root publication id
- Throws:
CometException- the comet exception
-
getPublicationPath
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 idpropertyName- the property namepropertyValue- the property value- Throws:
CometException- the comet exception
-
getDocumentProperty
Gets document property.- Parameters:
documentId- the document idpropertyName- 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 idparameterName- the parameter namecount- the countparameterValue1- the parameter value 1parameterValue2- the parameter value 2parameterValue3- the parameter value 3- Throws:
CometException- the comet exception
-
getRootPublications
Gets root publications.- Returns:
- the root publications
- Throws:
CometException- the comet exception
-
getSubPublications
Gets sub publications.- Parameters:
publicationId- the publication id- Returns:
- the sub publications
- Throws:
CometException- the comet exception
-
collectDocuments
Collect documents list.- Parameters:
publicationId- the publication idlevels- the levels- Returns:
- the list
- Throws:
CometException- the comet exception
-
getMasterDocuments
Gets master documents.- Returns:
- the master documents
- Throws:
CometException- the comet exception
-
getWorkflowStates
Gets workflow states.- Returns:
- the workflow states
- Throws:
CometException- the comet exception
-
getDocumentWorkflowStates
Gets document workflow states.- Parameters:
documentId- the document id- Returns:
- the document workflow states
- Throws:
CometException- the comet exception
-
getDocumentWorkflowStatus
Gets document workflow status.- Parameters:
documentId- the document id- Returns:
- the document workflow status
- Throws:
CometException- the comet exception
-
getNextDocumentWorkflowStates
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 idactionId- the action idurl- 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 idsubPublicationsId- the sub publications iddocumentName- the document nameworkflowStatusId1- the workflow status id 1workflowStatusId2- the workflow status id 2workflowStatusId3- the workflow status id 3param1- the param 1value11- the value 11value12- the value 12value13- the value 13param2- the param 2value21- the value 21value22- the value 22value23- the value 23param3- the param 3value31- the value 31value32- the value 32value33- the value 33restrictiveCheckbox- the restrictive checkboxrecursive- the recursive- Returns:
- the list
- Throws:
CometException- the comet exception
-
getPublicationTypes
Gets publication types.- Returns:
- the publication types
- Throws:
CometException- the comet exception
-
getParameters
Gets parameters.- Returns:
- the parameters
- Throws:
CometException- the comet exception
-
getParameterDropdownValues
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 identifiercontext- the contextdocumentId- 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 identifiercontext- the contextdocumentId- the document identityIdentifier- the entity identifiersearchString- the search string- Returns:
- the document product planning
- Throws:
CometException- the comet exception
-
resolvePublicationSelection
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 identityModelName- the entity model namepluginMappedName- the plugin mapped namemethodName- the method nameassortment- the assortmentcountry- the countrylanguage- the languagewell- the wellpublication- the publicationtargetGroup- the target groupmarketName- the market namedocumentId- the document idsearch1- the search 1search2- the search 2search3- the search 3search4- the search 4clazz- the clazz- Returns:
- the t
- Throws:
CometException- the comet exception
-