Uses of Interface
org.compass.core.Resource

Packages that use Resource
org.compass.core   
org.compass.core.cache.first   
org.compass.core.converter   
org.compass.core.converter.basic   
org.compass.core.converter.dynamic   
org.compass.core.converter.extended   
org.compass.core.converter.mapping   
org.compass.core.converter.mapping.osem   
org.compass.core.converter.mapping.rsem   
org.compass.core.converter.mapping.xsem   
org.compass.core.converter.xsem   
org.compass.core.engine   
org.compass.core.engine.utils   
org.compass.core.impl   
org.compass.core.lucene   
org.compass.core.lucene.engine   
org.compass.core.lucene.engine.analyzer   
org.compass.core.lucene.engine.query   
org.compass.core.lucene.engine.transaction   
org.compass.core.lucene.util   
org.compass.core.marshall   
org.compass.core.spi   
org.compass.gps.device.jdbc   
 

Uses of Resource in org.compass.core
 

Methods in org.compass.core that return Resource
 Resource Resource.addProperty(Property property)
          Add a property to the resource.
 Resource Resource.addProperty(String name, Object value)
          Adds a property to the resource based on resource mapping definitions.
 Resource Resource.addProperty(String name, Reader value)
          Adds a property to the resource based on resource mapping definitions.
 Resource CompassTemplate.createResource(String alias)
           
 Resource CompassOperations.createResource(String alias)
          Creates a resource, that is used with the actual Search Engine implementation.
 Resource CompassHit.getResource()
          Returns the Resource for this hit.
 Resource CompassTemplate.getResource(Class clazz, Serializable id)
           
 Resource CompassOperations.getResource(Class clazz, Serializable id)
          Returns a Resource that match the mapping specified for the defined class type, and specified id.
 Resource CompassTemplate.getResource(String alias, Serializable id)
           
 Resource CompassOperations.getResource(String alias, Serializable id)
          Returns a Resource that match the mapping specified for the defined alias (possibley different object types), and matches the specified id.
 Resource[] CompassDetachedHits.getResources()
          Returns all the Resources as an array.
 Resource CompassTemplate.loadResource(Class clazz, Serializable id)
           
 Resource CompassOperations.loadResource(Class clazz, Serializable id)
          Loads and returns a Resource that match the mapping specified for the defined class, and matches the specified id.
 Resource CompassTemplate.loadResource(String alias, Serializable id)
           
 Resource CompassOperations.loadResource(String alias, Serializable id)
          Loads and returns a Resource that match the mapping specified for the defined alias, and matches the specified id.
 Resource Resource.removeProperties(String name)
          Removes all the properties under the given name.
 Resource Resource.removeProperty(String name)
          Remove the latest property added under the given name.
 Resource CompassHitsOperations.resource(int n)
          Returns the resource that maps to the n'th hit
 Resource Resource.setBoost(float boost)
          Sets the boost level for the resource.
 

Methods in org.compass.core with parameters of type Resource
 void Resource.copy(Resource resource)
          Copies the content of the give Resource into the current one
 void CompassTemplate.delete(Resource resource)
           
 void CompassOperations.delete(Resource resource)
          Deletes a resource with the specified alias.
 void CompassTemplate.evict(Resource resource)
           
 void CompassOperations.evict(Resource resource)
          Evicts the given resource from the first level cache (transaction scoped cache).
 CompassHighlighter CompassHighlighter.setAnalyzer(Resource resource)
          Sets the analyzer that will be used if analysis of the text is needed (see CompassHighlighter.TextTokenizer).
 CompassAnalyzerHelper CompassAnalyzerHelper.setAnalyzer(Resource resource)
          Sets the analyzer that will be used for the analysis of the text.
 

Uses of Resource in org.compass.core.cache.first
 

Methods in org.compass.core.cache.first that return Resource
 Resource NullFirstLevelCache.getResource(ResourceKey key)
           
 Resource FirstLevelCache.getResource(ResourceKey key)
           
 Resource DefaultFirstLevelCache.getResource(ResourceKey key)
           
 

Methods in org.compass.core.cache.first with parameters of type Resource
 void NullFirstLevelCache.setResource(ResourceKey key, Resource resource)
           
 void FirstLevelCache.setResource(ResourceKey key, Resource resource)
           
 void DefaultFirstLevelCache.setResource(ResourceKey key, Resource resource)
           
 

Uses of Resource in org.compass.core.converter
 

Methods in org.compass.core.converter with parameters of type Resource
 boolean Converter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
          Marshall the given Object to the given Resource.
 Object Converter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
          Unmarshall the given Resource to the appropiate Object.
 

Uses of Resource in org.compass.core.converter.basic
 

Methods in org.compass.core.converter.basic with parameters of type Resource
 boolean AbstractBasicConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 Object AbstractBasicConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 

Uses of Resource in org.compass.core.converter.dynamic
 

Methods in org.compass.core.converter.dynamic with parameters of type Resource
protected  void AbstractDynamicConverter.addProperty(Object value, ResourcePropertyMapping resourcePropertyMapping, SearchEngine searchEngine, Object root, MarshallingContext context, Resource resource)
           
 boolean AbstractDynamicConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 Object AbstractDynamicConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
          Does nothing since there is no meaning for un-marshalling for dynamic converters
 

Uses of Resource in org.compass.core.converter.extended
 

Methods in org.compass.core.converter.extended with parameters of type Resource
 boolean ReaderConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean PrimitiveByteArrayConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean ObjectByteArrayConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean InputStreamConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 Object ReaderConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object PrimitiveByteArrayConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object ObjectByteArrayConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object InputStreamConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 

Uses of Resource in org.compass.core.converter.mapping
 

Classes in org.compass.core.converter.mapping that implement Resource
 class CollectionResourceWrapper
           
 

Methods in org.compass.core.converter.mapping that return Resource
 Resource CollectionResourceWrapper.addProperty(Property property)
           
 Resource CollectionResourceWrapper.addProperty(String name, Object value)
           
 Resource CollectionResourceWrapper.addProperty(String name, Reader value)
           
 Resource CollectionResourceWrapper.removeProperties(String name)
           
 Resource CollectionResourceWrapper.removeProperty(String name)
           
 Resource CollectionResourceWrapper.setBoost(float boost)
           
 

Methods in org.compass.core.converter.mapping with parameters of type Resource
 void CollectionResourceWrapper.copy(Resource resource)
           
 boolean ResourceMappingConverter.marshallIds(Resource idResource, Object id, ResourceMapping resourceMapping, MarshallingContext context)
           
 

Constructors in org.compass.core.converter.mapping with parameters of type Resource
CollectionResourceWrapper(Resource resource)
           
 

Uses of Resource in org.compass.core.converter.mapping.osem
 

Methods in org.compass.core.converter.mapping.osem with parameters of type Resource
protected  Object ClassMappingConverter.constructObjectForUnmarshalling(ClassMapping classMapping, Resource resource)
          Constructs the object used for unmarshalling (no properties are set/unmarshalled) on it.
protected  boolean ReferenceMappingConverter.doMarshall(Resource resource, Object root, HasRefAliasMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
protected  boolean ComponentMappingConverter.doMarshall(Resource resource, Object root, HasRefAliasMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
protected abstract  boolean AbstractRefAliasMappingConverter.doMarshall(Resource resource, Object root, HasRefAliasMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
protected  boolean ClassMappingConverter.doMarshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
protected  void ClassMappingConverter.doSetBoost(Resource resource, Object root, ClassMapping classMapping, MarshallingContext context)
          A simple extension point that allows to set the boost value for the created Resource.
protected  Object ReferenceMappingConverter.doUnmarshall(Resource resource, HasRefAliasMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
protected  Object ComponentMappingConverter.doUnmarshall(Resource resource, HasRefAliasMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
protected abstract  Object AbstractRefAliasMappingConverter.doUnmarshall(Resource resource, HasRefAliasMapping hasRefAliasMapping, ClassMapping refMapping, MarshallingContext context)
           
 boolean ParentMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean MetaDataFormatDelegateConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean ConstantMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean ClassPropertyMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean ClassMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean AbstractRefAliasMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean AbstractCollectionMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean ClassMappingConverter.marshallIds(Resource idResource, Object id, ResourceMapping resourceMapping, MarshallingContext context)
           
protected  int CollectionMappingConverter.marshallIterateData(Object root, AbstractCollectionMapping colMapping, Resource resource, MarshallingContext context)
           
protected  int ArrayMappingConverter.marshallIterateData(Object root, AbstractCollectionMapping colMapping, Resource resource, MarshallingContext context)
           
protected abstract  int AbstractCollectionMappingConverter.marshallIterateData(Object root, AbstractCollectionMapping colMapping, Resource resource, MarshallingContext context)
          Marhall the data, returning the number of elements that were actually stored in the index (and can later be read).
protected  void ClassMappingConverter.storePolyClass(Resource resource, Object root, SearchEngine searchEngine, ClassMapping classMapping)
          Stores the poly class name callback.
 Object ParentMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object MetaDataFormatDelegateConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object ConstantMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object ClassPropertyMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object ClassMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object AbstractRefAliasMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object AbstractCollectionMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 

Uses of Resource in org.compass.core.converter.mapping.rsem
 

Methods in org.compass.core.converter.mapping.rsem with parameters of type Resource
 boolean RawResourceMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean RawResourceMappingConverter.marshallIds(Resource idResource, Object id, ResourceMapping resourceMapping, MarshallingContext context)
           
 Object RawResourceMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 

Uses of Resource in org.compass.core.converter.mapping.xsem
 

Methods in org.compass.core.converter.mapping.xsem with parameters of type Resource
 boolean XmlPropertyMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean XmlObjectMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean XmlIdMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean XmlContentMappingConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 boolean XmlObjectMappingConverter.marshallIds(Resource idResource, Object id, ResourceMapping resourceMapping, MarshallingContext context)
           
 Object XmlPropertyMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object XmlObjectMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object XmlIdMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 Object XmlContentMappingConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
           
 

Uses of Resource in org.compass.core.converter.xsem
 

Methods in org.compass.core.converter.xsem with parameters of type Resource
 boolean SimpleXmlValueConverter.marshall(Resource resource, Object root, Mapping mapping, MarshallingContext context)
           
 Object SimpleXmlValueConverter.unmarshall(Resource resource, Mapping mapping, MarshallingContext context)
          Not supported operation.
 

Uses of Resource in org.compass.core.engine
 

Methods in org.compass.core.engine that return Resource
 Resource SearchEngine.createResource(String alias)
          Creates a resource, that is used with the actual Search Engine implementation.
 Resource SearchEngine.get(Resource idResource)
          Returns a resource for the given resource that holds the properties AND the alias, under the specified alias.
 Resource SearchEngineHits.getResource(int n)
          Returns that maps to the n'th hit.
 Resource SearchEngine.load(Resource idResource)
          Loads a resource for the given resource that holds the properties AND the alias, under the specified alias.
 

Methods in org.compass.core.engine with parameters of type Resource
 void SearchEngine.create(Resource resource)
          Creates the resource in the index file under the given alias.
 void SearchEngine.delete(Resource resource)
          Deletes the resource, which has the property ids.
 String SearchEngineHighlighter.fragment(Resource resource, String propertyName)
           
 String SearchEngineHighlighter.fragment(Resource resource, String propertyName, String text)
           
 String[] SearchEngineHighlighter.fragments(Resource resource, String propertyName)
           
 String[] SearchEngineHighlighter.fragments(Resource resource, String propertyName, String text)
           
 String SearchEngineHighlighter.fragmentsWithSeparator(Resource resource, String propertyName)
           
 String SearchEngineHighlighter.fragmentsWithSeparator(Resource resource, String propertyName, String text)
           
 Resource SearchEngine.get(Resource idResource)
          Returns a resource for the given resource that holds the properties AND the alias, under the specified alias.
 Resource SearchEngine.load(Resource idResource)
          Loads a resource for the given resource that holds the properties AND the alias, under the specified alias.
 SearchEngineQueryBuilder.SearchEngineMoreLikeThisQueryBuilder SearchEngineQueryBuilder.moreLikeThis(Resource idResource)
           
 String[] SearchEngineHighlighter.multiResourceFragment(Resource resource, String propertyName)
           
 String[] SearchEngineHighlighter.multiResourceFragment(Resource resource, String propertyName, String[] texts)
           
 String SearchEngineHighlighter.multiResourceFragmentWithSeparator(Resource resource, String propertyName)
           
 String SearchEngineHighlighter.multiResourceFragmentWithSeparator(Resource resource, String propertyName, String[] texts)
           
 void SearchEngine.save(Resource resource)
          Saves the given resource under the given resource.
 SearchEngineHighlighter SearchEngineHighlighter.setAnalyzer(Resource resource)
           
 SearchEngineAnalyzerHelper SearchEngineAnalyzerHelper.setAnalyzer(Resource resource)
    &nb