Interface PublicationDataProviderLocal
-
public interface PublicationDataProviderLocalThe interface Publication data provider local.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringJNDINAMEThe constant JNDINAME java:global/CometBridge/PublicationDataProvider!com.priint.pubserver.comet.bridge.dataprovider.PublicationDataProviderLocal".static java.lang.StringMAPPED_NAMEThe 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> TfindPublicationList(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.StringgetDocumentProperty(java.lang.String documentId, java.lang.String propertyName)Gets document property.java.lang.StringgetDocumentPublicationId(java.lang.String documentId)Gets document publication id.java.lang.StringgetDocumentRootPublicationId(java.lang.String documentId)Gets document root publication id.java.util.List<WorkflowStatus>getDocumentWorkflowStates(java.lang.String documentId)Gets document workflow states.WorkflowStatusgetDocumentWorkflowStatus(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.StringgetPublicationPath(java.lang.String publicationId)Gets publication path.java.util.List<PublicationType>getPublicationTypes()Gets publication types.java.lang.StringgetRootPublicationId(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.booleanisPublicationPlannerSupported()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.voidsetDocumentParameters(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.voidsetDocumentProperty(java.lang.String documentId, java.lang.String propertyName, java.lang.String propertyValue)Sets document property.voidsetDocumentWorkflowStatus(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 CometExceptionGets 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 CometExceptionGets 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 CometExceptionGets 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 CometExceptionGets 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 CometExceptionGets 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 CometExceptionSets document property.- Parameters:
documentId- the document idpropertyName- the property namepropertyValue- the property value- Throws:
CometException- the comet exception
-
getDocumentProperty
java.lang.String getDocumentProperty(java.lang.String documentId, java.lang.String propertyName) throws CometExceptionGets document property.- Parameters:
documentId- the document idpropertyName- 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 CometExceptionSets 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
java.util.List<Publication> getRootPublications() throws CometException
Gets root publications.- Returns:
- the root publications
- 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 idlevels- the levels- Returns:
- the list
- Throws:
CometException- the comet exception
-
getMasterDocuments
java.util.List<Publication> getMasterDocuments() throws CometException
Gets master documents.- Returns:
- the master documents
- Throws:
CometException- the comet exception
-
getWorkflowStates
java.util.List<WorkflowStatus> getWorkflowStates() throws CometException
Gets workflow states.- Returns:
- the workflow states
- 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 CometExceptionSets document workflow status.- Parameters:
documentId- the document idactionId- the action idurl- 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 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
java.util.List<PublicationType> getPublicationTypes() throws CometException
Gets publication types.- Returns:
- the publication types
- Throws:
CometException- the comet exception
-
getParameters
java.util.List<Parameter> getParameters() throws CometException
Gets parameters.- Returns:
- the parameters
- 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 identifiercontext- the contextdocumentId- 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 identifiercontext- the contextdocumentId- the document identityIdentifier- the entity identifiersearchString- 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 CometExceptionFind 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
-
-