public abstract class ObjectCollectionProviderFilterBase extends WithOptionalDimensionsBase
Constructor and Description |
---|
ObjectCollectionProviderFilterBase() |
Modifier and Type | Method and Description |
---|---|
ObjectCollection |
createFromObjects(ObjectCollection objects)
Creates a
ObjectCollection given the entity provided by the delegate. |
protected abstract ObjectCollection |
createFromObjects(ObjectCollection objects,
Optional<List<ObjectMask>> objectsRejected,
Optional<Dimensions> dim) |
protected ObjectCollection |
filter(ObjectCollection objects,
Optional<Dimensions> dim,
Optional<List<ObjectMask>> objectsRejected) |
ObjectFilter |
getFilter() |
void |
setFilter(ObjectFilter filter) |
createDims, getDimensions, setDimensions
get, getObjects, setObjects
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public ObjectCollection createFromObjects(ObjectCollection objects) throws ProvisionFailedException
ObjectCollectionProviderUnary
ObjectCollection
given the entity provided by the delegate.createFromObjects
in class ObjectCollectionProviderUnary
objects
- the entity provided by the delegate.ObjectCollection
that is returned by the provider.ProvisionFailedException
- if the provider cannot complete successfully.protected ObjectCollection filter(ObjectCollection objects, Optional<Dimensions> dim, Optional<List<ObjectMask>> objectsRejected) throws ProvisionFailedException
ProvisionFailedException
protected abstract ObjectCollection createFromObjects(ObjectCollection objects, Optional<List<ObjectMask>> objectsRejected, Optional<Dimensions> dim) throws ProvisionFailedException
ProvisionFailedException
public ObjectFilter getFilter()
public void setFilter(ObjectFilter filter)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.