Uses of Interface
org.dspace.content.logic.LogicalStatement
-
Packages that use LogicalStatement Package Description org.dspace.content.logic org.dspace.content.logic.condition org.dspace.content.logic.operator -
-
Uses of LogicalStatement in org.dspace.content.logic
Subinterfaces of LogicalStatement in org.dspace.content.logic Modifier and Type Interface Description interfaceFilterThe interface for Filter currently doesn't add anything to LogicalStatement but inherits from it just to keep naming / reflection clean, and in case Filters should do anything additional in future.Classes in org.dspace.content.logic that implement LogicalStatement 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)Methods in org.dspace.content.logic with parameters of type LogicalStatement Modifier and Type Method Description voidDefaultFilter. setStatement(LogicalStatement statement)Set statement from Spring configuration in item-filters.xml Be aware that this is singular not plural. -
Uses of LogicalStatement in org.dspace.content.logic.condition
Subinterfaces of LogicalStatement in org.dspace.content.logic.condition Modifier and Type Interface Description interfaceConditionThe Condition interface A condition is one logical statement testing an item for any idea.Classes in org.dspace.content.logic.condition that implement LogicalStatement Modifier and Type Class Description classAbstractConditionAbstract class for conditions, to implement the basic getter and setter parametersclassBitstreamCountConditionA condition to evaluate an item based on how many bitstreams it has in a particular bundleclassInCollectionConditionA condition that accepts a list of collection handles and returns true if the item belongs to any of them.classInCommunityConditionA condition that accepts a list of community handles and returns true if the item belongs to any of them.classIsWithdrawnConditionA condition that returns true if the item is withdrawnclassMetadataValueMatchConditionA condition that returns true if a pattern (regex) matches any value in a given metadata fieldclassMetadataValuesMatchConditionA condition that returns true if any pattern in a list of patterns matches any value in a given metadata fieldclassReadableByGroupConditionA condition that accepts a group and action parameter and returns true if the group can perform the action on a given item -
Uses of LogicalStatement in org.dspace.content.logic.operator
Classes in org.dspace.content.logic.operator that implement LogicalStatement Modifier and Type Class Description classAbstractOperatorAbstract class for an operator.classAndAn operator that implements AND by evaluating sub-statements and only returning true if all sub-statements return trueclassNandAn operator that implements NAND by negating an AND operationclassNorAn operator that implements NOR by negating an OR operation.classNotAn operator that implements NOT by simply negating a statement Note that this operator doesn't actually implement the 'AbstractOperator' interface because we only want one sub-statement.classOrAn operator that implements OR by evaluating sub-statements and returns true if one or more sub-statements return trueMethods in org.dspace.content.logic.operator that return LogicalStatement Modifier and Type Method Description LogicalStatementNot. getStatements()Get sub-statement (note: singular! even though we keep the method name) for this operatorMethods in org.dspace.content.logic.operator that return types with arguments of type LogicalStatement Modifier and Type Method Description List<LogicalStatement>AbstractOperator. getStatements()Get sub-statements for this operatorMethods in org.dspace.content.logic.operator with parameters of type LogicalStatement Modifier and Type Method Description voidNot. setStatements(LogicalStatement statement)Set sub-statement (note: singular!) for this operator, as defined in item-filters.xmlMethod parameters in org.dspace.content.logic.operator with type arguments of type LogicalStatement Modifier and Type Method Description voidAbstractOperator. setStatements(List<LogicalStatement> statements)Set sub-statements for this operator, as defined in item-filters.xmlConstructors in org.dspace.content.logic.operator with parameters of type LogicalStatement Constructor Description Not(LogicalStatement statement)Constructor that accepts predefined list of statements as defined in item-filters.xmlConstructor parameters in org.dspace.content.logic.operator with type arguments of type LogicalStatement Constructor Description AbstractOperator(List<LogicalStatement> statements)Constructor to create operator from some predefined statementsNand(List<LogicalStatement> statements)Constructor that accepts predefined list of statements as defined in item-filters.xmlNor(List<LogicalStatement> statements)Constructor that accepts predefined list of statements as defined in item-filters.xmlOr(List<LogicalStatement> statements)Constructor that accepts predefined list of statements as defined in item-filters.xml
-