com.facetmap
Interface ResourceSpace

All Known Implementing Classes:
ImplicitFacetResourceSpace, MovieResourceSpace, SimpleResourceSpace

public interface ResourceSpace

The repository of classified Resource objects.

Any Resource that is classified at all, is classified according to some classification scheme. So, when it is represented by Facetmap, it has its own FacetSpace. A ResourceSpace's FacetSpace is just the means by which its resources are classified; for example, if the ResourceSpace is a set of news articles classified using Atom, then Atom is the FacetSpace.


Method Summary
 java.util.Iterator getAll()
          Returns all resources.
 Resource getById(int id)
           
 FacetSpace getFacetSpace()
          Return the classification scheme by which these Resources are classified.
 int getResourceCount()
           
 

Method Detail

getFacetSpace

FacetSpace getFacetSpace()
Return the classification scheme by which these Resources are classified.


getResourceCount

int getResourceCount()
                     throws InternalException
Throws:
InternalException

getById

Resource getById(int id)
                 throws InternalException
Throws:
InternalException

getAll

java.util.Iterator getAll()
                          throws InternalException
Returns all resources. Order depends on implementation. This method can be used to communicate resources between maps or to output an entire resource space.

Throws:
InternalException