Class AbstractOsidGovernatorSearchOrder
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.AbstractOsidGovernatorSearchOrder
- All Implemented Interfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidGovernatorSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidOperableSearchOrder, OsidSearchOrder, OsidSourceableSearchOrder, Suppliable
- Direct Known Subclasses:
AbstractAuctionSearchOrder, AbstractAuditSearchOrder, AbstractBallotSearchOrder, AbstractBrokerSearchOrder, AbstractCompositionSearchOrder, AbstractConvocationSearchOrder, AbstractDispatchSearchOrder, AbstractIssueSearchOrder, AbstractJobSearchOrder, AbstractPoolSearchOrder, AbstractProcessSearchOrder, AbstractQueueSearchOrder, AbstractQueueSearchOrder, AbstractRaceSearchOrder
public abstract class AbstractOsidGovernatorSearchOrder
extends AbstractOperableOsidObjectSearchOrder
implements OsidGovernatorSearchOrder
Defines a simple OsidSearchOrder to extend. This class
does nothing.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classDefines anOsidSourceableSearchOrder.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 newAbstractOsidGovernatorSearchOrder. -
Method Summary
Modifier and TypeMethodDescriptionGets the search order interface for a provider.voidorderByProvider(SearchOrderStyle style) Specifies a preference for ordering the results by provider.booleanTests if aProviderSearchOrderinterface is 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
-
AbstractOsidGovernatorSearchOrder
public AbstractOsidGovernatorSearchOrder()Constructs a newAbstractOsidGovernatorSearchOrder.
-
-
Method Details
-
orderByProvider
Specifies a preference for ordering the results by provider. The element of the provider to order is not specified but may be managed through the provider ordering interface.- Specified by:
orderByProviderin interfaceOsidSourceableSearchOrder- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull
-
supportsProviderSearchOrder
Tests if aProviderSearchOrderinterface is available.- Specified by:
supportsProviderSearchOrderin interfaceOsidSourceableSearchOrder- Returns:
trueif a provider search order interface is available,falseotherwise
-
getProviderSearchOrder
Gets the search order interface for a provider.- Specified by:
getProviderSearchOrderin interfaceOsidSourceableSearchOrder- Returns:
- the provider search order interface
- Throws:
UnimplementedException-supportsProviderSearchOrder()isfalsesupportsProviderSearchOrder()} istrue.
-