|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAuditDAO
Method Summary | |
---|---|
void |
eraseAudit(java.lang.Integer id)
Erase the audit record with the specified id. |
SbiAudit |
getLastExecution(java.lang.Integer objId)
Gets the last execution of a document with id objId. |
java.lang.Double |
getMediumExecTime(java.lang.Integer objId)
Gets the last execution of a document with id objId. |
java.util.List |
getMostPopular(java.util.Collection roles,
int limit)
Finds the most popular executions for the specified roles as a list of HotLink objects. |
java.util.List |
getMyRecentlyUsed(java.lang.String userId,
int limit)
Finds the most recent executions for the user with the specified user identifier as a list of HotLink objects. |
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. |
Method Detail |
---|
java.util.List loadAllAudits() throws it.eng.spago.error.EMFUserError
List
object consisting of SbiAudit
objects
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List loadAuditsByUserName(java.lang.String userName) throws it.eng.spago.error.EMFUserError
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 occurredjava.util.List loadAuditsByDocumentLabel(java.lang.String documentLabel) throws it.eng.spago.error.EMFUserError
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 occurredjava.util.List loadAuditsByEngineLabel(java.lang.String engineLabel) throws it.eng.spago.error.EMFUserError
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 occurredSbiAudit loadAuditByID(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
id
. All these information,
achived by a query to the DB, are stored into an SbiAudit
object, which is
returned.
id
- The id for the audit record to load
SbiAudit
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid insertAudit(SbiAudit aSbiAudit) throws it.eng.spago.error.EMFUserError
SbiAudit
object at input.
aSbiAudit
- The SbiAudit
object for the audit record to insert
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid modifyAudit(SbiAudit aSbiAudit) throws it.eng.spago.error.EMFUserError
SbiAudit
object at input.
aSbiAudit
- The SbiAudit
object for the audit record to modify
it.eng.spago.error.EMFUserError
- If an Exception occurredvoid eraseAudit(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
id
- The id of the audit record to be erased
it.eng.spago.error.EMFUserError
- If an Exception occurredjava.util.List getMostPopular(java.util.Collection roles, int limit) throws it.eng.spago.error.EMFUserError
HotLink
objects.
roles
- the roleslimit
- the limit
it.eng.spago.error.EMFUserError
- the EMF user errorjava.util.List getMyRecentlyUsed(java.lang.String userId, int limit) throws it.eng.spago.error.EMFUserError
HotLink
objects.
userId
- the user idlimit
- the limit
it.eng.spago.error.EMFUserError
- the EMF user errorSbiAudit getLastExecution(java.lang.Integer objId) throws it.eng.spago.error.EMFUserError
objId
- the obj id
it.eng.spago.error.EMFUserError
- the EMF user errorjava.lang.Double getMediumExecTime(java.lang.Integer objId) throws it.eng.spago.error.EMFUserError
objId
- the obj id
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 |