Uses of Interface
org.dspace.content.logic.Filter
-
Packages that use Filter Package Description org.dspace.content.logic org.dspace.identifier Providers of durable unique identifiers (Handles, DOIs, etc.).org.dspace.identifier.doi Make requests to the DOI registration angencies, f.e.to EZID DOI service, and analyze the responses.org.dspace.identifier.service -
-
Uses of Filter in org.dspace.content.logic
Classes in org.dspace.content.logic that implement Filter Modifier and Type Class Description classDefaultFilterThe 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)classTrueFilterExtremely simple filter that always returns true! Useful to pass to methods that expect a filter, in order to effectively say "all items".Methods in org.dspace.content.logic that return Filter Modifier and Type Method Description static 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 Filter Modifier and Type Method Description static 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 Filter Modifier and Type Method Description static 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 Filter Modifier and Type Field Description protected FilterFilteredIdentifierProvider. filterMethods in org.dspace.identifier with parameters of type Filter Modifier and Type Method Description voidDOIIdentifierProvider. 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)StringDOIIdentifierProvider. 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 registrationStringVersionedDOIIdentifierProvider. mint(Context context, DSpaceObject dso, Filter filter)voidDOIIdentifierProvider. register(Context context, DSpaceObject dso, String identifier, Filter filter)Register a specified DOI for a given DSpaceObjectStringDOIIdentifierProvider. 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)StringVersionedDOIIdentifierProvider. 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.voidDOIIdentifierProvider. reserveOnline(Context context, DSpaceObject dso, String identifier, Filter filter)Perform the actual online / API interaction required to reserve the DOI onlinevoidFilteredIdentifierProvider. setFilter(Filter filter)Setter for spring to set the default filter from the property in configuration XMLMethod parameters in org.dspace.identifier with type arguments of type Filter Modifier and Type Method Description voidIdentifierServiceImpl. 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 Filter Modifier and Type Field Description protected FilterDOIOrganiser. filterMethods in org.dspace.identifier.doi with parameters of type Filter Modifier and Type Method Description voidDOIOrganiser. register(DOI doiRow, Filter filter)Register DOI with the providervoidDOIOrganiser. reserve(DOI doiRow, Filter filter)Reserve DOI with the provider -
Uses of Filter in org.dspace.identifier.service
Methods in org.dspace.identifier.service with parameters of type Filter Modifier and Type Method Description voidIdentifierService. 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 Filter Modifier and Type Method Description voidIdentifierService. 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.
-