|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBIObjectCMSDAO
Defines all the methods needed for access contents of BIObject into CMS Repository
Method Summary | |
---|---|
void |
deleteSnapshot(java.lang.String snapshotPath)
Delete a snapshot |
void |
deleteSubObject(java.lang.String pathParent,
java.lang.String name)
Delete a subObject |
void |
exportDocument(BIObject obj,
java.lang.String destFolder,
boolean exportSubObjects,
boolean exportSnapshots)
Exports a document node |
void |
fillBIObjectTemplate(BIObject obj)
Given a BIObject at input, fills it with template information. |
java.util.List |
getAccessibleSubObjects(java.lang.String pathParent,
it.eng.spago.security.IEngUserProfile profile)
Gets the detail of all the subobjects accessible to the user |
java.lang.String |
getExecutionNotes(java.lang.String biobjPath,
java.lang.String execIdentif)
Get Notes for a specific execution of the biobject |
java.util.List |
getSnapshots(java.lang.String pathParent)
Gets the list of the snapshot details that are children of a biobject |
java.io.InputStream |
getSubObject(java.lang.String pathParent,
java.lang.String name)
Gets the InputStream of the subobjects content |
java.util.List |
getSubObjects(java.lang.String pathParent)
Gets the detail of all the biobject subobjects |
java.io.InputStream |
getTemplate(java.lang.String path)
Get the template of the object |
java.lang.String |
importDocument(java.lang.String sourceFolder)
Imports a document |
void |
saveExecutionNotes(java.lang.String biobjPath,
java.lang.String execIdentif,
java.lang.String notes)
Save Notes for a specific execution of the biobject |
void |
saveSnapshot(byte[] content,
java.lang.String pathParent,
java.lang.String name,
java.lang.String description)
Save a snapshot of the object |
void |
saveSubObject(byte[] content,
java.lang.String pathParent,
java.lang.String name,
java.lang.String description,
boolean publicVisibility,
it.eng.spago.security.IEngUserProfile profile)
Save a subObject of the object |
void |
saveTemplate(byte[] content,
java.lang.String path,
java.lang.String templateName)
Save a subObject of the object |
Method Detail |
---|
void saveExecutionNotes(java.lang.String biobjPath, java.lang.String execIdentif, java.lang.String notes) throws java.lang.Exception
biobjPath
- path of the biobject executedexecIdentif
- identifier of the executionnotes
- notes to save
java.lang.Exception
java.lang.String getExecutionNotes(java.lang.String biobjPath, java.lang.String execIdentif) throws java.lang.Exception
biobjPath
- path of the biobject executedexecIdentif
- identifier of the execution
java.lang.Exception
java.io.InputStream getTemplate(java.lang.String path)
path
- Cms path of the objectprofile
- User Profile
void saveSubObject(byte[] content, java.lang.String pathParent, java.lang.String name, java.lang.String description, boolean publicVisibility, it.eng.spago.security.IEngUserProfile profile) throws it.eng.spago.error.EMFUserError
content
- byte array containing the content of the subobjectpathParent
- the cms path of the parentname
- the name of the new subobjectdescription
- the description of the new subobjectpubliicVisibility
- the public or private visibility of the subobjectprofile
- the profile of the user
it.eng.spago.error.EMFUserError
java.util.List getAccessibleSubObjects(java.lang.String pathParent, it.eng.spago.security.IEngUserProfile profile)
pathParent
- Cms path of the objectprofile
- Profile of the user
java.io.InputStream getSubObject(java.lang.String pathParent, java.lang.String name)
pathParent
- cms path of the object parentname
- name of the subobject
void deleteSubObject(java.lang.String pathParent, java.lang.String name) throws it.eng.spago.error.EMFUserError
pathParent
- path of the parent objectname
- name of the subObject
it.eng.spago.error.EMFUserError
void fillBIObjectTemplate(BIObject obj)
BIObject
at input, fills it with template information.
obj
- The object to fill template information in.java.util.List getSubObjects(java.lang.String pathParent)
pathParent
- Cms path of the object
void saveTemplate(byte[] content, java.lang.String path, java.lang.String templateName) throws it.eng.spago.error.EMFUserError
content:
- byte array containing the content of the templatepath:
- the cms path of the documenttemplateName:
- the name of the template
it.eng.spago.error.EMFUserError
void saveSnapshot(byte[] content, java.lang.String pathParent, java.lang.String name, java.lang.String description) throws it.eng.spago.error.EMFUserError
content
- byte array containing the content of the snapshotpathParent
- the cms path of the parentname
- the name of the new subobjectdescription
- the description of the new subobject
it.eng.spago.error.EMFUserError
java.util.List getSnapshots(java.lang.String pathParent)
pathParent
- Cms path of the biobject
void deleteSnapshot(java.lang.String snapshotPath) throws it.eng.spago.error.EMFUserError
snapshotPath
- path of the snapshotname
- name of the snapshot
it.eng.spago.error.EMFUserError
void exportDocument(BIObject obj, java.lang.String destFolder, boolean exportSubObjects, boolean exportSnapshots) throws it.eng.spago.error.EMFUserError
obj
- The BIObject document to be exported: its node is supposed to be existingdestFolder
- The folder where document will be serializedexportSubObjects
- Flag indicating if the subobjects must be exportedexportSnapshots
- Flag indicating if the snapshots must be exported
it.eng.spago.error.EMFUserError
java.lang.String importDocument(java.lang.String sourceFolder) throws it.eng.spago.error.EMFUserError
sourceFolder
- The folder where document will be deserialized from
it.eng.spago.error.EMFUserError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |