|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Represents the connections from the ResourceSpace to the FacetSpace. This is the object generally in charge of the FacetMap itself. Almost all facet operations are done within the context of some Map. The Map itself is provided by the implementation package, usually by a factory or some similar mechanism; other objects are generally created by calling methods on the Map or on another object it has created.
| Method Summary | |
int |
countAllResources(Selection sel)
Counts all Resources in a Selection, with possible savings from doing all at once. |
void |
doEndMap()
Readies the map for use. |
void |
doStartMap()
Prepares the map. |
Resource[] |
getAllResources(Selection sel)
this is not useful. |
boolean |
getAutoSelectOnlyChild()
Return current value of autoSelectOnlyChild. |
Resource[] |
getDirectResources(Selection sel)
this is not useful. |
FacetSpace |
getFacetSpace()
|
java.lang.String |
getInfo()
Implementation-specific string for this FacetMap class. |
ResourceSpace |
getResourceSpace()
|
Selection |
getRootSelection()
Produce a root Selection for the FacetSpace contained in the given facetmap. |
Selection |
getSelection(Heading[] headingList)
|
Selection |
getSelection(java.lang.String ref)
|
boolean |
getShowEmptySelections()
Return current value of showEmptySelections. |
java.lang.String |
getTitle()
A descriptive title for this FacetMap instance. |
void |
map(Resource resource)
Maps every Heading in a Resource, with possible savings from doing all at once. |
void |
map(Resource[] resources)
Maps every Heading in all given Resources, with possible savings from doing all at once. |
void |
map(Resource resource,
Heading heading)
Establishes a bond between a resource and a heading. |
void |
preprocess()
Does any calculation that needs to be done before the map can be browsed. |
void |
setAutoSelectOnlyChild(boolean set)
If this parameter is set true, FacetMap will avoid the situation where there's only one possible next step in any dimension, by automatically selecting that next step and presenting the options from there. |
void |
setShowEmptySelections(boolean set)
If this parameter is set true, FacetMap may provide Selections with which no Resources can be reached. |
| Method Detail |
public java.lang.String getTitle()
public java.lang.String getInfo()
public FacetSpace getFacetSpace()
public ResourceSpace getResourceSpace()
public void preprocess()
throws InternalException,
DataException
InternalException
DataException
public void doStartMap()
throws InternalException
InternalException
public void map(Resource resource,
Heading heading)
throws DataException,
InternalException
DataException
InternalException
public void doEndMap()
throws InternalException
InternalException
public Resource[] getDirectResources(Selection sel)
throws DataException,
InternalException
DataException
InternalException
public Resource[] getAllResources(Selection sel)
throws DataException,
InternalException
DataException
InternalException
public Selection getRootSelection()
throws InternalException
InternalException
public Selection getSelection(java.lang.String ref)
throws InternalException,
UnknownReferenceException
InternalException
UnknownReferenceException
public Selection getSelection(Heading[] headingList)
throws DataException
DataException
public void map(Resource resource)
throws DataException,
InternalException
DataException
InternalException
public void map(Resource[] resources)
throws DataException,
InternalException
DataException
InternalException
public int countAllResources(Selection sel)
throws InternalException
InternalExceptionpublic boolean getAutoSelectOnlyChild()
public boolean getShowEmptySelections()
public void setAutoSelectOnlyChild(boolean set)
This value is false by default.
Selection.getForwardSelections(int)public void setShowEmptySelections(boolean set)
This value is false by default.
Selection.getForwardSelections(int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||