|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdevimpl.audit.core.AbstractAuditModel
oracle.jdevimpl.audit.core.DefaultAuditModel
public class DefaultAuditModel
The default implementation of a model of an audit.
AuditModel,
AuditModelListener| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface oracle.jdeveloper.audit.service.AuditModel |
|---|
AuditModel.Count |
| Constructor Summary | |
|---|---|
DefaultAuditModel()
|
|
| Method Summary | ||
|---|---|---|
void |
addFilter(AuditModelFilter filter)
Adds a filter to this model. |
|
void |
auditorCleared(Auditor auditor)
Reports an auditor cleared event. |
|
void |
auditStarted(Auditor auditor,
java.util.List<Metric> columns,
java.util.List<Location> locations,
Location root,
java.lang.Class type)
Reports an Auditor audit started event. |
|
void |
auditStopped(Auditor auditor,
boolean cancelled)
Reports an Auditor audit stopped event. |
|
void |
clear()
Clears all rows from the model. |
|
|
findFilter(java.lang.Class<T> type)
Finds a filter of this model of a specified type. |
|
java.util.Comparator<java.lang.Object> |
getChildComparator()
Gets the comparator used to sort the children of row of this model. |
|
int |
getChildCount(java.lang.Object row)
Gets the number of children of a row of this model. |
|
java.util.List<?> |
getChildren(java.lang.Object row)
Gets the children of a row of this model. |
|
Metric |
getColumn(int index)
Gets the column at an index. |
|
int |
getColumnCount()
Gets the number of columns in this model. |
|
int |
getColumnIndex(Metric column)
Gets the index of a column. |
|
int |
getCount(java.lang.Object row,
AuditModel.Count count)
Gets the value of a count of a row of this model. |
|
Displayable |
getDisplayable(java.lang.Object row)
Gets a Displayable describing a row of this model. |
|
Location |
getFocusLocation(java.lang.Object row)
Gets the focus Location of an object represented by a row in this
model. |
|
int |
getIndexOf(java.lang.Object row)
Gets the index of a row of this model in the children of its parent, 0 for the root row. |
|
Location |
getLocation(java.lang.Object row)
Gets the Location of an object represented by a row of this model. |
|
java.util.List<Location> |
getLocations()
Gets the locations audited to create this model. |
|
java.lang.Object |
getParent(java.lang.Object row)
Gets the parent row of a row of this model, null for the root row. |
|
Profile |
getProfile()
Gets the profile used to create this model. |
|
java.lang.Object |
getRoot()
Gets the root row of this model, null if none. |
|
Severity |
getSeverity(java.lang.Object row)
Gets the worst severity of the issues contained by a row of this model, or null if none. |
|
int |
getSortColumn()
Gets the selected primary sort column. |
|
int |
getSortDirection()
Gets the sort direction of the primary sort column, 1 for ascending, -1 for descending. |
|
java.util.List<Transform> |
getTransformsApplied(Violation violation)
Gets the transforms applied to a violation of this model, in application order. |
|
java.lang.Class |
getType(java.lang.Object row)
Gets the type of an object of this model. |
|
java.lang.Object |
getValue(java.lang.Object row,
int columnIndex)
Gets the value of a column of a row of this model. |
|
Violation |
getViolation(java.lang.Object row)
Gets the violation represented by a row of this model, or null if the row does not represent a violation. |
|
int |
getVisibleChildCount(java.lang.Object row)
Gets the number of visible children of a row of this model. |
|
java.util.List<?> |
getVisibleChildren(java.lang.Object row)
Gets the visible children of a row of this model. |
|
int |
getVisibleIndexOf(java.lang.Object row)
Gets the index of a row of this model in the visible children of its visible parent, 0 for the root row. |
|
java.lang.Object |
getVisibleParent(java.lang.Object row)
Gets the visible parent row of a row of this model, null for the root row. |
|
boolean |
hasChildren(java.lang.Object row)
Gets whether a row of this model has children. |
|
boolean |
hasVisibleChildren(java.lang.Object row)
Gets whether a row of this model has visible children. |
|
boolean |
isLeaf(java.lang.Object row)
Gets whether a row of this model ,i>can have children. |
|
boolean |
isOutOfBand(java.lang.Object row)
Gets whether the value of any column of a row of this model is out-of-band. |
|
boolean |
isOutOfBand(java.lang.Object row,
int columnIndex)
Gets whether the value of a column of a row of this model is out-of-band. |
|
void |
issueReported(Auditor auditor,
Violation issue,
int transformMask)
Reports an Auditor violation reported event. |
|
boolean |
isViolation(java.lang.Object row)
Gets whether the object represented by a row of this model is a violation. |
|
boolean |
isVisible(java.lang.Object row)
Gets whether a row of this model is visible. |
|
java.lang.Object |
iterateChildren(java.lang.Object row,
Iteration iteration)
Iterates the children of a row of this model. |
|
Violation |
iterateViolations(java.lang.Object row,
Iteration iteration)
Iterates the violations contained by a row of this model. |
|
void |
locationEntered(Auditor auditor,
Location location,
java.lang.Class type)
Reports an Auditor location entered event. |
|
void |
locationExited(Auditor auditor,
Location location)
Reports an Auditor location exited event. |
|
void |
modelEntered(Auditor auditor,
ModelAdapter model)
Reports an Auditor model entered event. |
|
void |
modelExited(Auditor auditor,
ModelAdapter model)
Reports an Auditor model exited event. |
|
void |
phaseStarted(Auditor auditor,
java.lang.String phaseName)
Reports an Auditor phase started event. |
|
void |
removeFilter(AuditModelFilter filter)
Removes a filter from this model. |
|
void |
setSortColumn(int column)
Sets the primary sort column for children of a row of this model, or null to sort by AuditModel.getLocation(java.lang.Object). |
|
void |
setTransformDone(Transform transform,
Violation violation)
Sets a transform done for a violation of this model. |
|
void |
setTransformUndone(Transform transform,
Violation violation)
Sets a transform undone for a violation of this model. |
|
void |
setValue(java.lang.Object row,
int columnIndex,
java.lang.Object value)
Sets the value of an column of a row of this model. |
|
java.lang.String |
toString()
|
|
void |
valueReported(Auditor auditor,
Location location,
Metric metric,
java.lang.Object newValue)
Reports an Auditor value reported event. |
|
| Methods inherited from class oracle.jdevimpl.audit.core.AbstractAuditModel |
|---|
addAuditModelListener, fireAppliedTransformsChanged, fireAuditStarted, fireAuditStopped, fireCountChanged, fireModelResorted, fireRowsHidden, fireRowsInserted, fireRowsRemoved, fireRowsRestructureBegin, fireRowsRestructureEnd, fireRowsShown, fireValueChanged, removeAuditModelListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultAuditModel()
| Method Detail |
|---|
public Profile getProfile()
AuditModel
getProfile in interface AuditModelpublic java.util.List<Location> getLocations()
AuditModel
getLocations in interface AuditModelpublic int getColumnCount()
AuditModel
getColumnCount in interface AuditModelpublic Metric getColumn(int index)
AuditModel
getColumn in interface AuditModelpublic int getColumnIndex(Metric column)
AuditModel
getColumnIndex in interface AuditModelpublic void setSortColumn(int column)
AuditModelAuditModel.getLocation(java.lang.Object). If the specified column is already the
primary sort column, toggles the sort direction.
setSortColumn in interface AuditModelpublic int getSortColumn()
AuditModel
getSortColumn in interface AuditModelpublic int getSortDirection()
AuditModel
getSortDirection in interface AuditModelpublic void clear()
AuditModel
clear in interface AuditModelpublic java.lang.Object getRoot()
AuditModel
getRoot in interface AuditModelpublic java.lang.Object getParent(java.lang.Object row)
AuditModel
getParent in interface AuditModelpublic int getIndexOf(java.lang.Object row)
AuditModel
getIndexOf in interface AuditModelpublic boolean isLeaf(java.lang.Object row)
AuditModel
isLeaf in interface AuditModelpublic boolean hasChildren(java.lang.Object row)
AuditModel
hasChildren in interface AuditModelpublic int getChildCount(java.lang.Object row)
AuditModel
getChildCount in interface AuditModelpublic java.util.List<?> getChildren(java.lang.Object row)
AuditModel
getChildren in interface AuditModelpublic java.util.Comparator<java.lang.Object> getChildComparator()
AuditModel
The order reflects invocations of AuditModel.setSortColumn(int).
getChildComparator in interface AuditModelpublic boolean isVisible(java.lang.Object row)
AuditModel
isVisible in interface AuditModelpublic void addFilter(AuditModelFilter filter)
AuditModelFilter.isVisible(java.lang.Object).
addFilter in interface AuditModelpublic void removeFilter(AuditModelFilter filter)
removeFilter in interface AuditModelpublic <T extends AuditModelFilter> T findFilter(java.lang.Class<T> type)
findFilter in interface AuditModelpublic java.lang.Object getVisibleParent(java.lang.Object row)
AuditModel
getVisibleParent in interface AuditModelpublic int getVisibleIndexOf(java.lang.Object row)
AuditModel
getVisibleIndexOf in interface AuditModelpublic boolean hasVisibleChildren(java.lang.Object row)
AuditModel
hasVisibleChildren in interface AuditModelpublic int getVisibleChildCount(java.lang.Object row)
AuditModel
getVisibleChildCount in interface AuditModelpublic java.util.List<?> getVisibleChildren(java.lang.Object row)
AuditModel
getVisibleChildren in interface AuditModel
public java.lang.Object iterateChildren(java.lang.Object row,
Iteration iteration)
AuditModel
iterateChildren in interface AuditModel
public Violation iterateViolations(java.lang.Object row,
Iteration iteration)
AuditModel
iterateViolations in interface AuditModelpublic Location getLocation(java.lang.Object row)
AuditModelLocation of an object represented by a row of this model.
getLocation in interface AuditModelpublic Location getFocusLocation(java.lang.Object row)
AuditModelLocation of an object represented by a row in this
model.
getFocusLocation in interface AuditModelpublic boolean isViolation(java.lang.Object row)
AuditModel
isViolation in interface AuditModelpublic Violation getViolation(java.lang.Object row)
AuditModel
getViolation in interface AuditModelpublic java.lang.Class getType(java.lang.Object row)
AuditModel
getLocation(row).getModel().getType().getPresentationTypes()
If the object is a violation, the type is Violation.
getType in interface AuditModelModelType.getPresentationTypes()public Displayable getDisplayable(java.lang.Object row)
AuditModelDisplayable describing a row of this model.
getDisplayable in interface AuditModel
public java.lang.Object getValue(java.lang.Object row,
int columnIndex)
AuditModel
getValue in interface AuditModel
public void setValue(java.lang.Object row,
int columnIndex,
java.lang.Object value)
AuditModel
setValue in interface AuditModel
public int getCount(java.lang.Object row,
AuditModel.Count count)
AuditModelcount of a row of this model.
getCount in interface AuditModelpublic Severity getSeverity(java.lang.Object row)
AuditModel
getSeverity in interface AuditModel
public boolean isOutOfBand(java.lang.Object row,
int columnIndex)
AuditModel
isOutOfBand in interface AuditModelpublic boolean isOutOfBand(java.lang.Object row)
AuditModel
isOutOfBand in interface AuditModelpublic java.util.List<Transform> getTransformsApplied(Violation violation)
AuditModel
getTransformsApplied in interface AuditModel
public void setTransformDone(Transform transform,
Violation violation)
AuditModel
setTransformDone in interface AuditModel
public void setTransformUndone(Transform transform,
Violation violation)
AuditModel
setTransformUndone in interface AuditModel
public void auditStarted(Auditor auditor,
java.util.List<Metric> columns,
java.util.List<Location> locations,
Location root,
java.lang.Class type)
AuditListener
auditStarted in interface AuditListener
public void modelEntered(Auditor auditor,
ModelAdapter model)
AuditListener
modelEntered in interface AuditListener
public void modelExited(Auditor auditor,
ModelAdapter model)
AuditListener
modelExited in interface AuditListener
public void locationEntered(Auditor auditor,
Location location,
java.lang.Class type)
AuditListener
locationEntered in interface AuditListener
public void locationExited(Auditor auditor,
Location location)
AuditListener
locationExited in interface AuditListener
public void issueReported(Auditor auditor,
Violation issue,
int transformMask)
AuditListener
issueReported in interface AuditListener
public void valueReported(Auditor auditor,
Location location,
Metric metric,
java.lang.Object newValue)
AuditListener
valueReported in interface AuditListener
public void phaseStarted(Auditor auditor,
java.lang.String phaseName)
AuditListener
phaseStarted in interface AuditListener
public void auditStopped(Auditor auditor,
boolean cancelled)
AuditListener
auditStopped in interface AuditListenerpublic void auditorCleared(Auditor auditor)
AuditListener
auditorCleared in interface AuditListenerpublic java.lang.String toString()
toString in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||