Class AbstractOsidRuleSearchOrder
java.lang.Object
net.okapia.osid.jamocha.spi.AbstractOsidSearchOrder
net.okapia.osid.jamocha.spi.AbstractOsidIdentifiableSearchOrder
net.okapia.osid.jamocha.spi.AbstractOsidObjectSearchOrder
net.okapia.osid.jamocha.spi.AbstractOperableOsidObjectSearchOrder
net.okapia.osid.jamocha.spi.AbstractOsidRuleSearchOrder
- All Implemented Interfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidOperableSearchOrder, OsidRuleSearchOrder, OsidSearchOrder, Suppliable
- Direct Known Subclasses:
AbstractAgendaSearchOrder, AbstractCheckSearchOrder, AbstractDemographicSearchOrder, AbstractFunctionSearchOrder, AbstractGradebookColumnSummarySearchOrder, AbstractInputSearchOrder, AbstractInquirySearchOrder, AbstractOffsetEventSearchOrder, AbstractOsidConstrainerSearchOrder, AbstractOsidEnablerSearchOrder, AbstractOsidProcessorSearchOrder, AbstractParameterSearchOrder, AbstractPriceSearchOrder, AbstractRecurringEventSearchOrder, AbstractRuleSearchOrder, AbstractSequenceRuleSearchOrder, AbstractSignalSearchOrder, AbstractSpeedZoneSearchOrder, AbstractStepSearchOrder, AbstractSupersedingEventSearchOrder, AbstractTodoProducerSearchOrder, AbstractTriggerSearchOrder
public abstract class AbstractOsidRuleSearchOrder
extends AbstractOperableOsidObjectSearchOrder
implements OsidRuleSearchOrder
Defines a simple OsidSearchOrder to extend. This class
does nothing.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractOperableOsidObjectSearchOrder
AbstractOperableOsidObjectSearchOrder.OsidOperableSearchOrderModifier and TypeClassDescriptionprotected classComposed OsidOperableSearchOrder.Nested classes/interfaces inherited from class AbstractOsidObjectSearchOrder
AbstractOsidObjectSearchOrder.OsidBrowsableSearchOrderModifier and TypeClassDescriptionprotected classComposed OsidBrowsableSearchOrder. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs a newAbstractOsidRuleSearchOrder. -
Method Summary
Modifier and TypeMethodDescriptionGets the search order for a rule.voidorderByRule(SearchOrderStyle style) Specifies a preference for ordering the results by the associated rule.booleanTests if aRuleSearchOrderis available.Methods inherited from class AbstractOperableOsidObjectSearchOrder
orderByActive, orderByDisabled, orderByEnabled, orderByOperationalModifier and TypeMethodDescriptionvoidorderByActive(SearchOrderStyle style) Specifies a preference for ordering the result set by the active status.voidorderByDisabled(SearchOrderStyle style) Specifies a preference for ordering the result set by the administratively disabled status.voidorderByEnabled(SearchOrderStyle style) Specifies a preference for ordering the result set by the administratively enabled status.voidSpecifies a preference for ordering the results by the operational status.Methods inherited from class AbstractOsidObjectSearchOrder
addRecordType, getRecordTypes, hasRecordType, orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticModifier and TypeMethodDescriptionprotected voidaddRecordType(Type recordType) Adds a record type.Gets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.voidOrders by the timestamp of the first journal entry.voidorderByCumulativeRating(Id bookId, SearchOrderStyle style) Orders by the cumulative rating in a givenBook.voidSpecifies a preference for ordering the result set by the description.voidSpecifies a preference for ordering the result set by the display name.voidorderByGenusType(SearchOrderStyle style) Specifies a preference for ordering the result set by the genus type.voidOrders by the timestamp of the last journal entry.voidorderByState(Id processId, SearchOrderStyle style) Orders by the state in a givenProcess.voidorderByStatistic(Id meterId, SearchOrderStyle style) Orders by a statistic for a givenMeter.Methods inherited from class AbstractOsidIdentifiableSearchOrder
orderByIdModifier and TypeMethodDescriptionvoidorderById(SearchOrderStyle style) Specifies a preference for ordering the result set by theId.
-
Constructor Details
-
AbstractOsidRuleSearchOrder
protected AbstractOsidRuleSearchOrder()Constructs a newAbstractOsidRuleSearchOrder.
-
-
Method Details
-
orderByRule
Specifies a preference for ordering the results by the associated rule. The element of the rule to order is not specified but may be managed through aRuleSearchOrder.- Specified by:
orderByRulein interfaceOsidRuleSearchOrder- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull
-
supportsRuleSearchOrder
Tests if aRuleSearchOrderis available.- Specified by:
supportsRuleSearchOrderin interfaceOsidRuleSearchOrder- Returns:
trueif a rule search order is available,falseotherwise
-
getRuleSearchOrder
Gets the search order for a rule.- Specified by:
getRuleSearchOrderin interfaceOsidRuleSearchOrder- Returns:
- the rule search order
- Throws:
UnimplementedException-supportsRuleSearchOrder()isfalse
-