it.eng.spagobi.bo.dao.audit
Class AuditManager
java.lang.Object
it.eng.spagobi.bo.dao.audit.AuditManager
public class AuditManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODULE_NAME
public static final java.lang.String MODULE_NAME
- See Also:
- Constant Field Values
AUDIT_ID
public static final java.lang.String AUDIT_ID
- See Also:
- Constant Field Values
AUDIT_SERVLET
public static final java.lang.String AUDIT_SERVLET
- See Also:
- Constant Field Values
EXECUTION_START
public static final java.lang.String EXECUTION_START
- See Also:
- Constant Field Values
EXECUTION_END
public static final java.lang.String EXECUTION_END
- See Also:
- Constant Field Values
EXECUTION_STATE
public static final java.lang.String EXECUTION_STATE
- See Also:
- Constant Field Values
ERROR_MESSAGE
public static final java.lang.String ERROR_MESSAGE
- See Also:
- Constant Field Values
ERROR_CODE
public static final java.lang.String ERROR_CODE
- See Also:
- Constant Field Values
getInstance
public static AuditManager getInstance()
loadAudit
public SbiAudit loadAudit(java.lang.Integer id)
throws it.eng.spago.error.EMFUserError
- Throws:
it.eng.spago.error.EMFUserError
insertAudit
public void insertAudit(SbiAudit aSbiAudit)
throws it.eng.spago.error.EMFUserError
- Throws:
it.eng.spago.error.EMFUserError
modifyAudit
public void modifyAudit(SbiAudit aSbiAudit)
throws it.eng.spago.error.EMFUserError
- Throws:
it.eng.spago.error.EMFUserError
insertAudit
public java.lang.Integer insertAudit(BIObject obj,
it.eng.spago.security.IEngUserProfile profile,
java.lang.String role,
java.lang.String modality)
- Inserts a record on the audit log
- Parameters:
obj
- The BIObject being executedprofile
- The user profilerole
- The execution rolemodality
- The execution modality
- Returns:
- The Integer representing the execution id
updateAudit
public void updateAudit(java.lang.Integer auditId,
java.lang.Long startTime,
java.lang.Long endTime,
java.lang.String executionState,
java.lang.String errorMessage,
java.lang.String errorCode)