Uses of Interface
org.dspace.content.logic.Filter
Packages that use Filter
Package
Description
Providers of durable unique identifiers (Handles, DOIs, etc.).
Make requests to the DOI registration agencies and analyze the responses.
-
Uses of Filter in org.dspace.content.logic
Classes in org.dspace.content.logic that implement FilterModifier and TypeClassDescriptionclassThe default filter, a very simple implementation of Filter / LogicalStatement The idea is to have this as a wrapper / root class for all logical operations, so it takes a single statement as a property (unlike an operator) and takes no parameters (unlike a condition)classExtremely simple filter that always returns true!Methods in org.dspace.content.logic that return FilterModifier and TypeMethodDescriptionstatic FilterFilterUtils.getFilterFromConfiguration(String property) Get a Filter by configuration property name For example, if a module has implemented "my-feature.filter" configuration property this method will return a filter with the ID specified by the configuration propertystatic FilterFilterUtils.getFilterFromConfiguration(String property, Filter defaultFilter) Get a Filter by configuration property name For example, if a module has implemented "my-feature.filter" configuration property this method will return a filter with the ID specified by the configuration propertyMethods in org.dspace.content.logic that return types with arguments of type FilterModifier and TypeMethodDescriptionstatic Map<Class<? extends Identifier>,Filter> FilterUtils.getIdentifierFilters(boolean inProgress) Get a map of identifier types and filters to use when creating workspace or archived items This is used by services installing new archived or workspace items to filter by identifier type as some filters should apply to DOI creation but not Handle creation, and so on.Methods in org.dspace.content.logic with parameters of type FilterModifier and TypeMethodDescriptionstatic FilterFilterUtils.getFilterFromConfiguration(String property, Filter defaultFilter) Get a Filter by configuration property name For example, if a module has implemented "my-feature.filter" configuration property this method will return a filter with the ID specified by the configuration property -
Uses of Filter in org.dspace.identifier
Fields in org.dspace.identifier declared as FilterMethods in org.dspace.identifier with parameters of type FilterModifier and TypeMethodDescriptionvoidDOIIdentifierProvider.checkMintable(Context context, Filter filter, DSpaceObject dso) Checks to see if an item can have a DOI minted, using the configured logical filterabstract voidFilteredIdentifierProvider.checkMintable(Context context, Filter filter, DSpaceObject dso) Check configured item filters to see if this identifier is allowed to be mintedprotected DOIDOIIdentifierProvider.loadOrCreateDOI(Context context, DSpaceObject dso, String doiIdentifier, Filter filter) Load DOI from database, or create one if it doesn't yet exist.protected StringVersionedDOIIdentifierProvider.makeIdentifierBasedOnHistory(Context context, DSpaceObject dso, VersionHistory history, Filter filter) DOIIdentifierProvider.mint(Context context, DSpaceObject dso, Filter filter) Mint a new DOI in DSpace - this is usually the first step of registrationabstract StringFilteredIdentifierProvider.mint(Context context, DSpaceObject dso, Filter filter) Mint a new identifier in DSpace - this is usually the first step of registrationVersionedDOIIdentifierProvider.mint(Context context, DSpaceObject dso, Filter filter) voidDOIIdentifierProvider.register(Context context, DSpaceObject dso, String identifier, Filter filter) Register a specified DOI for a given DSpaceObjectDOIIdentifierProvider.register(Context context, DSpaceObject dso, Filter filter) Register a new DOI for a given DSpaceObjectabstract voidFilteredIdentifierProvider.register(Context context, DSpaceObject dso, String identifier, Filter filter) Register a specified identifier for a given DSpaceObjectabstract StringFilteredIdentifierProvider.register(Context context, DSpaceObject dso, Filter filter) Register a new identifier for a given DSpaceObjectvoidIdentifierServiceImpl.register(Context context, DSpaceObject dso, Class<? extends Identifier> type, Filter filter) voidVersionedDOIIdentifierProvider.register(Context context, DSpaceObject dso, String identifier, Filter filter) VersionedDOIIdentifierProvider.register(Context context, DSpaceObject dso, Filter filter) voidDOIIdentifierProvider.registerOnline(Context context, DSpaceObject dso, String identifier, Filter filter) Perform the actual online / API interaction required to register the DOI onlinevoidDOIIdentifierProvider.reserve(Context context, DSpaceObject dso, String identifier, Filter filter) Reserve a specified DOI for a given DSpaceObjectabstract voidFilteredIdentifierProvider.reserve(Context context, DSpaceObject dso, String identifier, Filter filter) Reserve a specified identifier for a given DSpaceObject (eg. reserving a DOI online with a registration agency)voidDOIIdentifierProvider.reserveOnline(Context context, DSpaceObject dso, String identifier, Filter filter) Perform the actual online / API interaction required to reserve the DOI onlinevoidSetter for spring to set the default filter from the property in configuration XMLMethod parameters in org.dspace.identifier with type arguments of type FilterModifier and TypeMethodDescriptionvoidIdentifierServiceImpl.register(Context context, DSpaceObject dso, Map<Class<? extends Identifier>, Filter> typeFilters) -
Uses of Filter in org.dspace.identifier.doi
Fields in org.dspace.identifier.doi declared as FilterMethods in org.dspace.identifier.doi with parameters of type Filter -
Uses of Filter in org.dspace.identifier.service
Methods in org.dspace.identifier.service with parameters of type FilterModifier and TypeMethodDescriptionvoidIdentifierService.register(Context context, DSpaceObject dso, Class<? extends Identifier> type, Filter filter) Register identifier(s) for the given DSO just with providers that support that Identifier class, and apply the given filter if that provider extends FilteredIdentifierProviderMethod parameters in org.dspace.identifier.service with type arguments of type FilterModifier and TypeMethodDescriptionvoidIdentifierService.register(Context context, DSpaceObject dso, Map<Class<? extends Identifier>, Filter> typeFilters) Register identifiers for a DSO, with a map of logical filters for each Identifier class to apply at the time of local registration.