Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.jdevimpl.audit.log
Class TypeFilter

java.lang.Object
  extended by oracle.jdeveloper.audit.service.AuditModelFilter
      extended by oracle.jdevimpl.audit.log.TypeFilter

public class TypeFilter
extends AuditModelFilter

A filter by row type for rows in an Audit model. The type of a row is determined by AuditModel.getType(java.lang.Object).


Constructor Summary
TypeFilter()
           
TypeFilter(java.util.Collection<ModelType> modelTypes)
           
TypeFilter(java.lang.String persistenceKey)
           
TypeFilter(java.lang.String persistenceKey, java.util.Collection<ModelType> modelTypes)
           
 
Method Summary
 javax.swing.Icon getIcon(java.lang.Class type)
          Gets the icon for a presentation type.
 java.lang.String getLabel(java.lang.Class type)
          Gets the label for a presentation type.
 ModelType getModelType(java.lang.Class type)
          Gets the model type for a presentation type.
 java.util.Collection<ModelType> getModelTypes()
          Gets the presentation types handled by this filter.
 java.lang.String getSummary(java.lang.Class type)
          Gets the summary for a presentation type.
 boolean isVisible(java.lang.Class type)
          Gets whether a view type is visible.
 boolean isVisible(java.lang.Object object)
          Gets whether a row in an AuditModel is visible.
 void setVisible(java.lang.Class<?>... types)
          Sets whether a list of presentation types is visible.
 void setVisible(java.lang.Class type, boolean visible)
          Sets whether a view type is visible.
 void setVisible(java.util.List<java.lang.Class<?>> types)
          Sets whether a list of presentation types is visible.
 
Methods inherited from class oracle.jdeveloper.audit.service.AuditModelFilter
addChangeListener, fireStateChanged, getModel, removeChangeListener, setModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeFilter

public TypeFilter()

TypeFilter

public TypeFilter(java.lang.String persistenceKey)

TypeFilter

public TypeFilter(java.util.Collection<ModelType> modelTypes)

TypeFilter

public TypeFilter(java.lang.String persistenceKey,
                  java.util.Collection<ModelType> modelTypes)
Method Detail

isVisible

public boolean isVisible(java.lang.Object object)
Description copied from class: AuditModelFilter
Gets whether a row in an AuditModel is visible.

Specified by:
isVisible in class AuditModelFilter

getModelTypes

public java.util.Collection<ModelType> getModelTypes()
Gets the presentation types handled by this filter.


setVisible

public void setVisible(java.lang.Class type,
                       boolean visible)
Sets whether a view type is visible.

Parameters:
type - A presentation type of this filter.

setVisible

public void setVisible(java.lang.Class<?>... types)
Sets whether a list of presentation types is visible.

Parameters:
types - A collection of presentation types to set visible.

setVisible

public void setVisible(java.util.List<java.lang.Class<?>> types)
Sets whether a list of presentation types is visible.

Parameters:
types - A collection of presentation types to set visible.

isVisible

public boolean isVisible(java.lang.Class type)
Gets whether a view type is visible.


getModelType

public ModelType getModelType(java.lang.Class type)
Gets the model type for a presentation type.


getLabel

public java.lang.String getLabel(java.lang.Class type)
Gets the label for a presentation type.


getSummary

public java.lang.String getSummary(java.lang.Class type)
Gets the summary for a presentation type.


getIcon

public javax.swing.Icon getIcon(java.lang.Class type)
Gets the icon for a presentation type.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.