|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.commons.dao.AbstractHibernateDAO
it.eng.spagobi.analiticalmodel.document.dao.SubObjectDAOHibImpl
public class SubObjectDAOHibImpl
Constructor Summary | |
---|---|
SubObjectDAOHibImpl()
|
Method Summary | |
---|---|
void |
deleteSubObject(java.lang.Integer idSub)
Delete a subObject. |
void |
deleteSubObjectSameConnection(java.lang.Integer idSub,
org.hibernate.Session aSession)
Delete a subObject mantaining the previous connection. |
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. |
SubObject |
getSubObjectByNameAndBIObjectId(java.lang.String subobjectName,
java.lang.Integer idBIObj)
Gets the subobject specified by its name and document id in input |
java.util.List |
getSubObjects(java.lang.Integer idBIObj)
Gets the detail of all the biobject subobjects. |
java.lang.Integer |
modifySubObject(java.lang.Integer idBIObj,
SubObject subObj)
Modify a subObject of the object. |
java.lang.Integer |
saveSubObject(java.lang.Integer idBIObj,
SubObject subObj)
Save a subObject of the object. |
Methods inherited from class it.eng.spagobi.commons.dao.AbstractHibernateDAO |
---|
getSession, logException, rollbackIfActiveAndClose |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubObjectDAOHibImpl()
Method Detail |
---|
public java.util.List getAccessibleSubObjects(java.lang.Integer idBIObj, it.eng.spago.security.IEngUserProfile profile) throws it.eng.spago.error.EMFUserError
ISubObjectDAO
getAccessibleSubObjects
in interface ISubObjectDAO
idBIObj
- the id of the biobject parentprofile
- Profile of the user
it.eng.spago.error.EMFUserError
- the EMF user errorpublic java.util.List getPublicSubObjects(java.lang.Integer idBIObj) throws it.eng.spago.error.EMFUserError
ISubObjectDAO
getPublicSubObjects
in interface ISubObjectDAO
idBIObj
- the id of the biobject parent
it.eng.spago.error.EMFUserError
- the EMF user errorpublic java.util.List getSubObjects(java.lang.Integer idBIObj) throws it.eng.spago.error.EMFUserError
ISubObjectDAO
getSubObjects
in interface ISubObjectDAO
idBIObj
- the id of the biobject parent
it.eng.spago.error.EMFUserError
- the EMF user errorpublic void deleteSubObject(java.lang.Integer idSub) throws it.eng.spago.error.EMFUserError
ISubObjectDAO
deleteSubObject
in interface ISubObjectDAO
idSub
- the id sub
it.eng.spago.error.EMFUserError
- the EMF user errorpublic void deleteSubObjectSameConnection(java.lang.Integer idSub, org.hibernate.Session aSession) throws it.eng.spago.error.EMFUserError
ISubObjectDAO
deleteSubObjectSameConnection
in interface ISubObjectDAO
idSub
- the id sub
it.eng.spago.error.EMFUserError
- the EMF user errorpublic SubObject getSubObject(java.lang.Integer idSubObj) throws it.eng.spago.error.EMFUserError
ISubObjectDAO
getSubObject
in interface ISubObjectDAO
idSubObj
- the id of the subobject
it.eng.spago.error.EMFUserError
- the EMF user errorpublic java.lang.Integer saveSubObject(java.lang.Integer idBIObj, SubObject subObj) throws it.eng.spago.error.EMFUserError
ISubObjectDAO
saveSubObject
in interface ISubObjectDAO
idBIObj
- the id of the biobject parentsubObj
- the sub obj
it.eng.spago.error.EMFUserError
- the EMF user errorpublic java.lang.Integer modifySubObject(java.lang.Integer idBIObj, SubObject subObj) throws it.eng.spago.error.EMFUserError
ISubObjectDAO
modifySubObject
in interface ISubObjectDAO
idBIObj
- the id of the biobject parentsubObj
- the sub obj
it.eng.spago.error.EMFUserError
- the EMF user errorpublic SubObject getSubObjectByNameAndBIObjectId(java.lang.String subobjectName, java.lang.Integer idBIObj) throws it.eng.spago.error.EMFUserError
ISubObjectDAO
getSubObjectByNameAndBIObjectId
in interface ISubObjectDAO
subobjectName
- the name of the subobjectidBIObj
- the id of the biobject parent
it.eng.spago.error.EMFUserError
- the EMF user error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |