|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.bo.dao.hibernate.AbstractHibernateDAO
it.eng.spagobi.bo.dao.audit.DbAuditImpl
public class DbAuditImpl
Constructor Summary | |
---|---|
DbAuditImpl()
|
Method Summary | |
---|---|
void |
eraseAudit(java.lang.Integer id)
Erase the audit record with the specified id |
void |
insertAudit(SbiAudit aSbiAudit)
Insert an audit record as per the SbiAudit object at input |
java.util.List |
loadAllAudits()
Returns the list of all audit records |
SbiAudit |
loadAuditByID(java.lang.Integer id)
Loads all detail information for an audit record identified by its id . |
java.util.List |
loadAuditsByDocumentLabel(java.lang.String documentLabel)
Returns the list of all audit records relevant to the document with the specified label at input |
java.util.List |
loadAuditsByEngineLabel(java.lang.String engineLabel)
Returns the list of all audit records relevant to the engine with the specified label at input |
java.util.List |
loadAuditsByUserName(java.lang.String userName)
Returns the list of all audit records relevant to the user with the specified name at input |
void |
modifyAudit(SbiAudit aSbiAudit)
Modify an audit record as per the SbiAudit object at input |
Methods inherited from class it.eng.spagobi.bo.dao.hibernate.AbstractHibernateDAO |
---|
getSession, logException |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DbAuditImpl()
Method Detail |
---|
public void insertAudit(SbiAudit aSbiAudit) throws it.eng.spago.error.EMFUserError
IAuditDAO
SbiAudit
object at input
insertAudit
in interface IAuditDAO
aSbiAudit
- The SbiAudit
object for the audit record to insert
it.eng.spago.error.EMFUserError
- If an Exception occurredit.eng.spagobi.bo.dao.IAuditDAO#insertAudit(it.eng.spagobi.bo.SbiAudit)
public java.util.List loadAllAudits() throws it.eng.spago.error.EMFUserError
IAuditDAO
loadAllAudits
in interface IAuditDAO
List
object consisting of SbiAudit
objects
it.eng.spago.error.EMFUserError
- If an Exception occurredpublic SbiAudit loadAuditByID(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
IAuditDAO
id
. All these information,
achived by a query to the DB, are stored into an SbiAudit
object, which is
returned.
loadAuditByID
in interface IAuditDAO
id
- The id for the audit record to load
SbiAudit
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredpublic void modifyAudit(SbiAudit aSbiAudit) throws it.eng.spago.error.EMFUserError
IAuditDAO
SbiAudit
object at input
modifyAudit
in interface IAuditDAO
aSbiAudit
- The SbiAudit
object for the audit record to modify
it.eng.spago.error.EMFUserError
- If an Exception occurredpublic java.util.List loadAuditsByDocumentLabel(java.lang.String documentLabel) throws it.eng.spago.error.EMFUserError
IAuditDAO
loadAuditsByDocumentLabel
in interface IAuditDAO
documentLabel
- The document label
List
object consisting of SbiAudit
objects relevant to the document specified at input
it.eng.spago.error.EMFUserError
- If an Exception occurredpublic java.util.List loadAuditsByEngineLabel(java.lang.String engineLabel) throws it.eng.spago.error.EMFUserError
IAuditDAO
loadAuditsByEngineLabel
in interface IAuditDAO
engineLabel
- The engine label
List
object consisting of SbiAudit
objects relevant to the engine specified at input
it.eng.spago.error.EMFUserError
- If an Exception occurredpublic java.util.List loadAuditsByUserName(java.lang.String userName) throws it.eng.spago.error.EMFUserError
IAuditDAO
loadAuditsByUserName
in interface IAuditDAO
userName
- The user name
List
object consisting of SbiAudit
objects relevant to the user specified at input
it.eng.spago.error.EMFUserError
- If an Exception occurredpublic void eraseAudit(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
IAuditDAO
eraseAudit
in interface IAuditDAO
id
- The id of the audit record to be erased
it.eng.spago.error.EMFUserError
- If an Exception occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |