|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
AuditTrailEntryList
instead
where possible, which should be practically everywhere!
public interface AuditTrailEntries
This interface provides access to a sequential set of audit trail entries, as found in one process instance of a log file.
Method Summary | |
---|---|
void |
add(AuditTrailEntry ate)
Deprecated. Adds an audit trail entry to the end of the list. |
void |
add(AuditTrailEntry ate,
int pos)
Deprecated. Adds an audit trail entry to the given position in the list. |
java.lang.Object |
clone()
Deprecated. Makes a deep copy of this object. |
AuditTrailEntries |
cloneIteratorOnly()
Deprecated. Makes a shallow copy of this object. |
AuditTrailEntry |
first()
Deprecated. Gets the first element out of the list of audit trail entries. |
AuditTrailEntry |
getEntry(int n)
Deprecated. Retrieves an audit trail entry based on the given position in the list. |
boolean |
hasNext()
Deprecated. Iterator-style access method. |
AuditTrailEntry |
last()
Deprecated. Gets the last element out of the list of audit trail entries. |
AuditTrailEntry |
next()
Deprecated. Iterator-style access method. |
void |
remove()
Deprecated. Iterator-style access method. |
void |
reset()
Deprecated. Iterator-style access method. |
int |
size()
Deprecated. Determines the number of audit trail entries stored in the list. |
java.util.ArrayList |
toArrayList()
Deprecated. Use the random access interface (e.g. get(index) )
instead, as this method is subject to proximate deletion! |
java.lang.String |
toString()
Deprecated. Retrieves the list of audit trail entries as a string. |
Method Detail |
---|
boolean hasNext()
Determines whether there is another audit trail entry left. (This relates to the built-in iterator walking through the elements.)
true
if there is at least one audit trail entry left,
false
otherwise.next
AuditTrailEntry next()
Retrieves the next audit trail entry from the list.
(This relates to the built-in iterator walking through the elements and
implies moving it one poksition further.)
Before calling this method one should call hasNext
in
order to determine whether there is onother element left.
AuditTrailEntry
from the listvoid reset()
Resets the built-in iterator to the first element of the list.
void remove()
Remove the entry that was returned by the last call to next()
.
void add(AuditTrailEntry ate)
ate
- the entry to addvoid add(AuditTrailEntry ate, int pos)
ate
- the entry to addpos
- the position of the entryjava.util.ArrayList toArrayList()
get(index)
)
instead, as this method is subject to proximate deletion!
WARNING: The usage contract for this interface determines, that any changes that you make for the returned array list will not be persistent to both this instance and the potentially wrapped higher-level classes! Use dedicated modification methods for this purpose!
ArrayList
AuditTrailEntry first()
AuditTrailEntry
from the listAuditTrailEntry last()
AuditTrailEntry
from the listAuditTrailEntry getEntry(int n)
n
- the index position in the list (starting with 0)
AuditTrailEntry stored at the given position
java.lang.String toString()
toString
in class java.lang.Object
String
int size()
AuditTrailEntries cloneIteratorOnly()
AuditTrailEntry
elements will be not cloned.
However, the iterator is duplicated in its current positon.
java.lang.Object clone()
AuditTrailEntry
elements and the iterator in its current positon will be duplicated.
Overrides clone
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |