OSID Logo
OSID Specifications
lexicon package
Version 3.1.0
Interfaceosid.lexicon.PressQuery
Implementsosid.OsidCatalogQuery
Used Byosid.lexicon.IdiomQuery
osid.lexicon.ParameterQuery
osid.lexicon.PressQuery
osid.lexicon.PressQuerySession
osid.lexicon.PressSearchSession
osid.lexicon.TextQuery
Description

This is the query for searching presses. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchTextId
Description

Sets the text Id for this query to match presses that have a related affiliation.

Parametersosid.id.IdtextId a text Id
booleanmatch true if a positive match, false for negative match
ErrorsNULL_ARGUMENT textId is null
Compliancemandatory This method must be implemented.
MethodclearTextIdTerms
Description

Clears the text Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsTextQuery
Description

Tests if a TextQuery is available.

Returnboolean true if a text query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetTextQuery
Description

Gets the query for a text. Multiple retrievals produce a nested OR term.

Returnosid.lexicon.TextQuery the text query
ErrorsUNIMPLEMENTED supportsTextQuery() is false
Complianceoptional This method must be implemented if supportsTextQuery() is true.
MethodmatchAnyText
Description

Matches presses that have any text.

Parametersbooleanmatch true to match presses with any text, false to match presses with no text
Compliancemandatory This method must be implemented.
MethodclearTextTerms
Description

Clears the text query terms.

Compliancemandatory This method must be implemented.
MethodmatchIdiomId
Description

Sets the idiom Id for this query.

Parametersosid.id.IdidiomId the idiom Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT idiomId is null
Compliancemandatory This method must be implemented.
MethodclearIdiomIdTerms
Description

Clears the idiom Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsIdiomQuery
Description

Tests if a IdiomQuery is available.

Returnboolean true if an idiom query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetIdiomQuery
Description

Gets the query for an idiom. Multiple retrievals produce a nested OR term.

Returnosid.lexicon.IdiomQuery the idiom query
ErrorsUNIMPLEMENTED supportsIdiomQuery() is false
Complianceoptional This method must be implemented if supportsIdiomQuery() is true.
MethodmatchAnyIdiom
Description

Matches action groups with any idiom.

Parametersbooleanmatch true to match presses with any idiom, false to match presses with no idiom
Compliancemandatory This method must be implemented.
MethodclearIdiomTerms
Description

Clears the idiom query terms.

Compliancemandatory This method must be implemented.
MethodmatchParameterId
Description

Sets the parameter Id for this query.

Parametersosid.id.IdparameterId the parameter Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT parameterId is null
Compliancemandatory This method must be implemented.
MethodclearParameterIdTerms
Description

Clears the parameter Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsParameterQuery
Description

Tests if a ParameterQuery is available.

Returnboolean true if a parameter query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetParameterQuery
Description

Gets the query for a parameter. Multiple retrievals produce a nested OR term.

Returnosid.lexicon.ParameterQuery the parameter query
ErrorsUNIMPLEMENTED supportsParameterQuery() is false
Complianceoptional This method must be implemented if supportsParameterQuery() is true.
MethodmatchAnyParameter
Description

Matches presses with any parameter.

Parametersbooleanmatch true to match presses with any parameter, false to match presses with no parameter
Compliancemandatory This method must be implemented.
MethodclearParameterTerms
Description

Clears the parameter query terms.

Compliancemandatory This method must be implemented.
MethodmatchAncestorPressId
Description

Sets the press Id for this query to match presses that have the specified press as an ancestor.

Parametersosid.id.IdpressId an press Id
booleanmatch true for a positive match, false for negative match
ErrorsNULL_ARGUMENT pressId is null
Compliancemandatory This method must be implemented.
MethodclearAncestorPressIdTerms
Description

Clears the ancestor press Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsAncestorPressQuery
Description

Tests if a PressQuery is available.

Returnboolean true if an press query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetAncestorPressQuery
Description

Gets the query for an press. Multiple retrievals produce a nested OR term.

Returnosid.lexicon.PressQuery the press query
ErrorsUNIMPLEMENTED supportsAncestorPressQuery() is false
Complianceoptional This method must be implemented if supportsAncestorPressQuery() is true.
MethodmatchAnyAncestorPress
Description

Matches presses with any ancestor.

Parametersbooleanmatch true to match presses with any ancestor, false to match root presses
Compliancemandatory This method must be implemented.
MethodclearAncestorPressTerms
Description

Clears the ancestor press query terms.

Compliancemandatory This method must be implemented.
MethodmatchDescendantPressId
Description

Sets the press Id for this query to match presses that have the specified press as a descendant.

Parametersosid.id.IdpressId an press Id
booleanmatch true for a positive match, false for negative match
ErrorsNULL_ARGUMENT pressId is null
Compliancemandatory This method must be implemented.
MethodclearDescendantPressIdTerms
Description

Clears the descendant press Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsDescendantPressQuery
Description

Tests if a PressQuery is available.

Returnboolean true if an press query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetDescendantPressQuery
Description

Gets the query for an press/ Multiple retrievals produce a nested OR term.

Returnosid.lexicon.PressQuery the press query
ErrorsUNIMPLEMENTED supportsDescendantPressQuery() is false
Complianceoptional This method must be implemented if supportsDescendantPressQuery() is true.
MethodmatchAnyDescendantPress
Description

Matches presses with any descendant.

Parametersbooleanmatch true to match presses with any descendant, false to match leaf presses
Compliancemandatory This method must be implemented.
MethodclearDescendantPressTerms
Description

Clears the descendant press query terms.

Compliancemandatory This method must be implemented.
MethodgetPressQueryRecord
Description

Gets the press query record corresponding to the given Press record Type.Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypepressRecordType a press record type
Returnosid.lexicon.records.PressQueryRecord the press query record
ErrorsNULL_ARGUMENT pressRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(pressRecordType) is false
Compliancemandatory This method must be implemented.