it.eng.spagobi.analiticalmodel.document.dao
Interface ISubObjectDAO

All Known Implementing Classes:
SubObjectDAOHibImpl

public interface ISubObjectDAO


Method Summary
 void deleteSubObject(java.lang.Integer idSub)
          Delete a subObject.
 java.util.List getAccessibleSubObjects(java.lang.Integer idBIObj, it.eng.spago.security.IEngUserProfile profile)
          Gets the detail of all the subobjects accessible to the user.
 java.util.List getPublicSubObjects(java.lang.Integer idBIObj)
          Gets the detail of all the public biobject subobjects.
 SubObject getSubObject(java.lang.Integer idSubObj)
          Gets the InputStream of the subobjects content.
 java.util.List getSubObjects(java.lang.Integer idBIObj)
          Gets the detail of all the biobject subobjects.
 java.lang.Integer saveSubObject(java.lang.Integer idBIObj, SubObject subObj)
          Save a subObject of the object.
 

Method Detail

saveSubObject

java.lang.Integer saveSubObject(java.lang.Integer idBIObj,
                                SubObject subObj)
                                throws it.eng.spago.error.EMFUserError
Save a subObject of the object.

Parameters:
idBIObj - the id of the biobject parent
subObj - the sub obj
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getAccessibleSubObjects

java.util.List getAccessibleSubObjects(java.lang.Integer idBIObj,
                                       it.eng.spago.security.IEngUserProfile profile)
                                       throws it.eng.spago.error.EMFUserError
Gets the detail of all the subobjects accessible to the user.

Parameters:
idBIObj - the id of the biobject parent
profile - Profile of the user
Returns:
List of SubObject objects
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getSubObject

SubObject getSubObject(java.lang.Integer idSubObj)
                       throws it.eng.spago.error.EMFUserError
Gets the InputStream of the subobjects content.

Parameters:
idSubObj - the id of the subobject
Returns:
SubObject the subobject loaded
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

deleteSubObject

void deleteSubObject(java.lang.Integer idSub)
                     throws it.eng.spago.error.EMFUserError
Delete a subObject.

Parameters:
idSub - the id sub
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getSubObjects

java.util.List getSubObjects(java.lang.Integer idBIObj)
                             throws it.eng.spago.error.EMFUserError
Gets the detail of all the biobject subobjects.

Parameters:
idBIObj - the id of the biobject parent
Returns:
List of SubObject objects
Throws:
it.eng.spago.error.EMFUserError - the EMF user error

getPublicSubObjects

java.util.List getPublicSubObjects(java.lang.Integer idBIObj)
                                   throws it.eng.spago.error.EMFUserError
Gets the detail of all the public biobject subobjects.

Parameters:
idBIObj - the id of the biobject parent
Returns:
List of SubObject objects
Throws:
it.eng.spago.error.EMFUserError - the EMF user error