|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.bo.dao.cms.BIObjectCMSDAOImpl
Implements all the methods for access the biobject cms contents
Constructor Summary | |
BIObjectCMSDAOImpl()
|
Method Summary | |
void |
deleteSubObject(java.lang.String pathParent,
java.lang.String name,
it.eng.spago.security.IEngUserProfile profile)
Delete a subObject |
java.util.List |
getAccessibleSubObjects(java.lang.String pathParent,
it.eng.spago.security.IEngUserProfile profile)
Gets the list of all the current user accessible subObject. |
java.io.InputStream |
getSubObject(java.lang.String pathParent,
java.lang.String name,
it.eng.spago.security.IEngUserProfile profile)
Gets the inputStream of the subObject content |
java.io.InputStream |
getTemplate(java.lang.String path,
it.eng.spago.security.IEngUserProfile profile)
Get the template 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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BIObjectCMSDAOImpl()
Method Detail |
public java.io.InputStream getTemplate(java.lang.String path, it.eng.spago.security.IEngUserProfile profile)
getTemplate
in interface IBIObjectCMSDAO
profile
- Profile of the current userpath
- Cms path of the object
public 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 EMFUserError
saveSubObject
in interface IBIObjectCMSDAO
content
- the byte content of the subobjectpathParent
- the cms path of the object fathername
- name of the subojectdescription
- Description of the subobjectpublicVisibility
- Visibility of the subObject, if true the object is public
if false the object is visibile only to the ownerprofile
- Profile of the current user useful to get the owner use rof the subobject
EMFUserError
public java.util.List getAccessibleSubObjects(java.lang.String pathParent, it.eng.spago.security.IEngUserProfile profile)
getAccessibleSubObjects
in interface IBIObjectCMSDAO
profile
- Profile of the current userpathParent
- cms path of the father biobject
public java.io.InputStream getSubObject(java.lang.String pathParent, java.lang.String name, it.eng.spago.security.IEngUserProfile profile)
getSubObject
in interface IBIObjectCMSDAO
pathParent
- cms path of the parent objectname
- name of the subObjectprofile
- Profile of the current user
public void deleteSubObject(java.lang.String pathParent, java.lang.String name, it.eng.spago.security.IEngUserProfile profile) throws EMFUserError
deleteSubObject
in interface IBIObjectCMSDAO
pathParent
- path of the parent objectname
- name of the subObjectprofile
- Profile of the user
EMFUserError
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |