Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

org.openquark.cal.filter
Class AcceptAllScopedEntitiesFilter

java.lang.Object
  extended by org.openquark.cal.filter.AcceptAllScopedEntitiesFilter
All Implemented Interfaces:
ScopedEntityFilter

public final class AcceptAllScopedEntitiesFilter
extends Object
implements ScopedEntityFilter

A scoped entity filter specifying that all entities should be accepted.

Author:
Joseph Wong

Constructor Summary
AcceptAllScopedEntitiesFilter()
           
 
Method Summary
 boolean acceptBasedOnScopeOnly(Scope scope)
          Returns whether entities of the given scope should be accepted, based on scope only.
 boolean acceptScopedEntity(ScopedEntity entity)
          Returns whether the given scoped entity should be accepted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcceptAllScopedEntitiesFilter

public AcceptAllScopedEntitiesFilter()
Method Detail

acceptScopedEntity

public boolean acceptScopedEntity(ScopedEntity entity)
Returns whether the given scoped entity should be accepted.

Specified by:
acceptScopedEntity in interface ScopedEntityFilter
Parameters:
entity - the scoped entity.
Returns:
true if the entity should be accepted; false otherwise.

acceptBasedOnScopeOnly

public boolean acceptBasedOnScopeOnly(Scope scope)
Returns whether entities of the given scope should be accepted, based on scope only.

Specified by:
acceptBasedOnScopeOnly in interface ScopedEntityFilter
Parameters:
scope - the scope.
Returns:
true if the entities of the given scope should be accepted; false otherwise.

Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

Copyright © 2007 Business Objects. All rights reserved.