it.eng.spagobi.booklets.dao
Class BookletsCmsDaoImpl
java.lang.Object
it.eng.spagobi.booklets.dao.BookletsCmsDaoImpl
- All Implemented Interfaces:
- IBookletsCmsDao
public class BookletsCmsDaoImpl
- extends java.lang.Object
- implements IBookletsCmsDao
Implements all the methods for access the booklet cms contents
Method Summary |
void |
addConfiguredDocument(java.lang.String pathBooklet,
ConfiguredBIDocument doc)
|
java.lang.String |
createNewConfigurationNode(java.lang.String pathBiObj)
Creates the cms node that holds the booklet configuration and returns the path of the node. |
void |
createStructureForTemplate(java.lang.String pathBooklet,
int numTempParts)
|
void |
deleteConfiguredDocument(java.lang.String pathBooklet,
java.lang.String conDocIdentifier)
|
void |
deletePresentationVersion(java.lang.String pathBooklet,
java.lang.String verName)
|
java.lang.String |
getBiobjectPath(java.lang.String pathBooklet)
|
java.lang.String |
getBookletName(java.lang.String pathBooklet)
|
java.io.InputStream |
getBookletProcessDefinitionContent(java.lang.String pathBooklet)
|
java.lang.String |
getBookletProcessDefinitionFileName(java.lang.String pathBooklet)
|
java.io.InputStream |
getBookletTemplateContent(java.lang.String pathBooklet)
|
java.lang.String |
getBookletTemplateFileName(java.lang.String pathBooklet)
|
java.util.List |
getConfiguredDocumentList(java.lang.String pathBooklet)
|
ConfiguredBIDocument |
getConfigureDocument(java.lang.String pathBooklet,
java.lang.String conDocIdentifier)
|
byte[] |
getCurrentPresentationContent(java.lang.String pathBooklet)
|
java.util.Map |
getImagesOfTemplatePart(java.lang.String pathBooklet,
java.lang.String indPart)
|
byte[] |
getNotesTemplatePart(java.lang.String pathBooklet,
java.lang.String indPart)
|
byte[] |
getPresentationVersionContent(java.lang.String pathBooklet,
java.lang.String verName)
|
java.util.List |
getPresentationVersions(java.lang.String pathBooklet)
|
void |
storeBookletProcessDefinition(java.lang.String pathBooklet,
java.lang.String pdFileName,
byte[] pdFileContent)
|
void |
storeBookletTemplate(java.lang.String pathBooklet,
java.lang.String templateFileName,
byte[] templateContent)
|
void |
storeCurrentPresentationContent(java.lang.String pathBooklet,
byte[] docContent)
|
void |
storeCurrentPresentationContent(java.lang.String pathBooklet,
java.io.InputStream docContentIS)
|
void |
storeNote(java.lang.String pathBooklet,
java.lang.String indPart,
byte[] noteContent)
|
void |
storeTemplateImage(java.lang.String pathBooklet,
byte[] image,
java.lang.String docLogicalName,
int indexTempPart)
|
void |
versionPresentation(java.lang.String pathBooklet,
byte[] presContent,
boolean approved)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BookletsCmsDaoImpl
public BookletsCmsDaoImpl()
createNewConfigurationNode
public java.lang.String createNewConfigurationNode(java.lang.String pathBiObj)
- Description copied from interface:
IBookletsCmsDao
- Creates the cms node that holds the booklet configuration and returns the path of the node.
- Specified by:
createNewConfigurationNode
in interface IBookletsCmsDao
- Returns:
- the path of the booklet template node
createStructureForTemplate
public void createStructureForTemplate(java.lang.String pathBooklet,
int numTempParts)
- Specified by:
createStructureForTemplate
in interface IBookletsCmsDao
getConfiguredDocumentList
public java.util.List getConfiguredDocumentList(java.lang.String pathBooklet)
- Specified by:
getConfiguredDocumentList
in interface IBookletsCmsDao
addConfiguredDocument
public void addConfiguredDocument(java.lang.String pathBooklet,
ConfiguredBIDocument doc)
- Specified by:
addConfiguredDocument
in interface IBookletsCmsDao
deleteConfiguredDocument
public void deleteConfiguredDocument(java.lang.String pathBooklet,
java.lang.String conDocIdentifier)
- Specified by:
deleteConfiguredDocument
in interface IBookletsCmsDao
getConfigureDocument
public ConfiguredBIDocument getConfigureDocument(java.lang.String pathBooklet,
java.lang.String conDocIdentifier)
- Specified by:
getConfigureDocument
in interface IBookletsCmsDao
storeBookletTemplate
public void storeBookletTemplate(java.lang.String pathBooklet,
java.lang.String templateFileName,
byte[] templateContent)
- Specified by:
storeBookletTemplate
in interface IBookletsCmsDao
getBookletTemplateFileName
public java.lang.String getBookletTemplateFileName(java.lang.String pathBooklet)
- Specified by:
getBookletTemplateFileName
in interface IBookletsCmsDao
getBookletTemplateContent
public java.io.InputStream getBookletTemplateContent(java.lang.String pathBooklet)
- Specified by:
getBookletTemplateContent
in interface IBookletsCmsDao
getBookletProcessDefinitionContent
public java.io.InputStream getBookletProcessDefinitionContent(java.lang.String pathBooklet)
- Specified by:
getBookletProcessDefinitionContent
in interface IBookletsCmsDao
getBookletProcessDefinitionFileName
public java.lang.String getBookletProcessDefinitionFileName(java.lang.String pathBooklet)
- Specified by:
getBookletProcessDefinitionFileName
in interface IBookletsCmsDao
storeBookletProcessDefinition
public void storeBookletProcessDefinition(java.lang.String pathBooklet,
java.lang.String pdFileName,
byte[] pdFileContent)
- Specified by:
storeBookletProcessDefinition
in interface IBookletsCmsDao
storeTemplateImage
public void storeTemplateImage(java.lang.String pathBooklet,
byte[] image,
java.lang.String docLogicalName,
int indexTempPart)
- Specified by:
storeTemplateImage
in interface IBookletsCmsDao
getImagesOfTemplatePart
public java.util.Map getImagesOfTemplatePart(java.lang.String pathBooklet,
java.lang.String indPart)
- Specified by:
getImagesOfTemplatePart
in interface IBookletsCmsDao
getNotesTemplatePart
public byte[] getNotesTemplatePart(java.lang.String pathBooklet,
java.lang.String indPart)
- Specified by:
getNotesTemplatePart
in interface IBookletsCmsDao
storeNote
public void storeNote(java.lang.String pathBooklet,
java.lang.String indPart,
byte[] noteContent)
- Specified by:
storeNote
in interface IBookletsCmsDao
storeCurrentPresentationContent
public void storeCurrentPresentationContent(java.lang.String pathBooklet,
java.io.InputStream docContentIS)
- Specified by:
storeCurrentPresentationContent
in interface IBookletsCmsDao
storeCurrentPresentationContent
public void storeCurrentPresentationContent(java.lang.String pathBooklet,
byte[] docContent)
- Specified by:
storeCurrentPresentationContent
in interface IBookletsCmsDao
getCurrentPresentationContent
public byte[] getCurrentPresentationContent(java.lang.String pathBooklet)
- Specified by:
getCurrentPresentationContent
in interface IBookletsCmsDao
deletePresentationVersion
public void deletePresentationVersion(java.lang.String pathBooklet,
java.lang.String verName)
- Specified by:
deletePresentationVersion
in interface IBookletsCmsDao
getBookletName
public java.lang.String getBookletName(java.lang.String pathBooklet)
- Specified by:
getBookletName
in interface IBookletsCmsDao
getPresentationVersionContent
public byte[] getPresentationVersionContent(java.lang.String pathBooklet,
java.lang.String verName)
- Specified by:
getPresentationVersionContent
in interface IBookletsCmsDao
getPresentationVersions
public java.util.List getPresentationVersions(java.lang.String pathBooklet)
- Specified by:
getPresentationVersions
in interface IBookletsCmsDao
versionPresentation
public void versionPresentation(java.lang.String pathBooklet,
byte[] presContent,
boolean approved)
- Specified by:
versionPresentation
in interface IBookletsCmsDao
getBiobjectPath
public java.lang.String getBiobjectPath(java.lang.String pathBooklet)
- Specified by:
getBiobjectPath
in interface IBookletsCmsDao