Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

colorResourceRecord

MethodgetColor
DescriptionGets the color of this Resource.
Returnstringthe color
CompliancemandatoryThis method must be implemented.

colorResourceFormRecord

MethodgetColorMetadata
DescriptionGets the metadata for the color. 
Returnosid.Metadatathe metadata
CompliancemandatoryThis method must be implemented.
MethodsetColor
DescriptionSets the color.  
Parametersstring colorthe color of this resource
ErrorsINVALID_ARGUMENTcolor is invalid
NULL_ARGUMENT color is null
CompliancemandatoryThis method must be implemented.
MethodclearColor
DescriptionClears the color.
CompliancemandatoryThis method must be implemented.

colorResourceQueryRecord

MethodmatchColor
DescriptionMatches resources of the given color.
Parametersstring colorthe color to match
osid.type.TypestringMatchTypethe string match type
boolean  matchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENT color or stringMatchType is null
UNSUPPORTED supportsStringMatchType(stringMatchType) is false
CompliancemandatoryThis method must be implemented.

colorResourceQueryInspectorRecord

MethodgetColorTerms
DescriptionGets the color query terms.
Returnosid.search.terms.StringTerm[]the string query terms
CompliancemandatoryThis method must be implemented.

colorResourceSearchOrderRecord

MethodorderByColor
DescriptionOrders the results by color.
Parametersosid.SearchOrderStylestylethe search order style
ErrorsNULL_ARGUMENT  style is null
CompliancemandatoryThis method must be implemented.

...