Class AbstractOsidRuleApplicatorSearchOrder
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
net.okapia.osid.jamocha.spi.AbstractOsidEnablerSearchOrder
net.okapia.osid.jamocha.spi.AbstractOsidRuleApplicatorSearchOrder
- All Implemented Interfaces:
Extensible, OsidBrowsableSearchOrder, OsidEnablerSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidOperableSearchOrder, OsidRuleApplicatorSearchOrder, OsidRuleSearchOrder, OsidSearchOrder, OsidTemporalSearchOrder, Suppliable
- Direct Known Subclasses:
AbstractInstructionSearchOrder
public abstract class AbstractOsidRuleApplicatorSearchOrder
extends AbstractOsidEnablerSearchOrder
implements OsidRuleApplicatorSearchOrder
Defines a simple OsidRuleApplicatorSearchOrder to extend.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractOsidEnablerSearchOrder
AbstractOsidEnablerSearchOrder.OsidTemporalSearchOrderModifier and TypeClassDescriptionprotected classComposed OsidTemporalSearchOrder.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
ConstructorsConstructorDescriptionConstructs a newAbstractOsidRuleApplicatorSearchOrder. -
Method Summary
Modifier and TypeMethodDescriptionGets the resource order.voidorderByResource(SearchOrderStyle style) Specifies a preference for ordering the result set by the resource.booleanTests if a resource order is available.Methods inherited from class AbstractOsidEnablerSearchOrder
getCyclicEventSearchOrder, getCyclicTimePeriodSearchOrder, getEventSearchOrder, getScheduleSearchOrder, getTimePeriodSearchOrder, orderByCyclicEvent, orderByCyclicTimePeriod, orderByEffective, orderByEndDate, orderByEvent, orderByRequirement, orderBySchedule, orderByStartDate, orderByTimePeriod, supportsCyclicEventSearchOrder, supportsCyclicTimePeriodSearchOrder, supportsEventSearchOrder, supportsScheduleSearchOrder, supportsTimePeriodSearchOrderModifier and TypeMethodDescriptionGets the cyclic event search order.Gets the cyclic time period search order.Gets the search order for an event.Gets the search order for a schedule.Gets the search order for a time period.voidOrders the results by cyclic event.voidOrders the results by cyclic time period.voidorderByEffective(SearchOrderStyle style) Specifies a preference for ordering the result set by the effective status.voidorderByEndDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the end date.voidorderByEvent(SearchOrderStyle style) Specifies a preference for ordering the results by the associated event.voidSpecifies a preference for ordering the results by the requirement status.voidorderBySchedule(SearchOrderStyle style) Specifies a preference for ordering the results by the associated schedule.voidorderByStartDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the start date.voidSpecifies a preference for ordering the results by the associated time period.booleanTests if a cyclic event search order is available.booleanTests if a cyclic time period search order is available.booleanTests if anEventSearchOrderis available.booleanTests if aScheduleSearchOrderis available.booleanTests if aTimePeriodSearchOrderis available.Methods inherited from class AbstractOsidRuleSearchOrder
getRuleSearchOrder, orderByRule, supportsRuleSearchOrderModifier 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
-
AbstractOsidRuleApplicatorSearchOrder
public AbstractOsidRuleApplicatorSearchOrder()Constructs a newAbstractOsidRuleApplicatorSearchOrder.
-
-
Method Details
-
orderByResource
Specifies a preference for ordering the result set by the resource.- Specified by:
orderByResourcein interfaceOsidRuleApplicatorSearchOrder- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull
-
supportsResourceSearchOrder
Tests if a resource order is available.- Specified by:
supportsResourceSearchOrderin interfaceOsidRuleApplicatorSearchOrder- Returns:
trueif a resource order is available,falseotherwise
-
getResourceSearchOrder
Gets the resource order.- Specified by:
getResourceSearchOrderin interfaceOsidRuleApplicatorSearchOrder- Returns:
- the resource search order
- Throws:
UnimplementedException-supportsResourceSearchOrder()isfalse
-