|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectfleXplorer.MaterializedFacetedTaxonomies.MFT
public abstract class MFT
Constructor Summary | |
---|---|
MFT()
|
Method Summary | |
---|---|
void |
addObjectDescription(java.lang.String facet,
int termId,
int objId)
Add to the description of an object a specific term. |
void |
addObjectToFacet(java.lang.String facet,
int objId)
Defines that exists a term which belongs to the specific facets which describe a specific object. |
void |
addToLegalIds(java.util.HashSet<java.lang.Integer> legalIds)
Adds the ids of the argument to the list of the legal ids. |
void |
changeFacetTaxonomy(java.lang.String facetName,
Taxonomy<?> tx)
Changes the taxonomy of a specified Facet of the faceted taxonomy. |
java.util.HashSet<java.lang.Integer> |
getAllObjects()
Returns the ids of all objects that belong to the materialized faceted taxonomy. |
java.util.HashSet<java.lang.Integer> |
getAllObjects(java.lang.String facetName)
Returns the ids of the objects that are described by the terms of a specific facet. |
java.lang.String |
getDescriptionOfFocus()
Returns the focus. |
java.lang.String |
getFacetDescription(java.lang.String facet)
Returns the focus that a user has selected for a specific facet. |
java.lang.String |
getFacetDescriptionWithIds(java.lang.String facet)
Returns the focus that a user has selected for a specific facet. |
FT |
getFT()
Returns the Faceted Taxonomy that will be materialized in MFT. |
java.util.HashMap<java.lang.String,java.util.HashSet<java.lang.Integer>> |
getGeneralDescription(java.lang.Integer objId)
Returns the description of the object with the specific id. |
java.util.HashMap<java.lang.String,java.util.HashSet<java.lang.String>> |
getGeneralDescriptionWithNames(java.lang.Integer objId)
Returns the description of the object with the specific id. |
java.util.HashSet<java.lang.Integer> |
getLegalIds()
Returns a HashSet with the legal ids of documents to be displayed. |
java.lang.String |
getMFTName()
Returns the name of Materialized Faceted Taxonomy. |
int |
getNumOfLegalIdsOfTerm(java.lang.String facet,
int termId)
Returns the number of the legal ids of a specific term. |
java.util.HashMap<java.lang.String,Taxonomy<?>> |
getZoomInPoints()
Returns a HashMap that describes a faceted tree which has been created according the focus that has been selected, including the zoom-in point counters. |
java.util.HashMap<java.lang.String,Taxonomy<?>> |
getZoomInPointsNoCount()
Returns a HashMap that describes a faceted tree which has been created according the focus that has been selected. |
java.util.HashMap<java.lang.String,java.util.HashMap<Term<FacetsType>,java.lang.Integer>> |
getZoomSidePoints()
Returns the zoom-side points. |
boolean |
isCountersEnabled()
Returns true if the counter information is enabled. |
void |
printDescriptions()
Prints the descriptions off all objects. |
void |
printFacetedTree(java.util.HashMap<java.lang.String,Taxonomy<?>> tmp)
Print to console a faceted tree with the counters of zoom-in points. |
void |
printObjectsPerFacet()
Prints the objects per facet. |
void |
printZoomPoints(java.util.HashMap<java.lang.String,java.util.HashMap<Term<FacetsType>,java.lang.Integer>> zoomSidePoints)
Prints the zoom side points. |
void |
removeAllOtherIndexes(java.lang.String facetName,
int termId)
Removes from a facet all indexes from the terms of the Terminology except the indexes of the term with the specified id. |
void |
setCounters(Counters state)
Defines if the counter information will be enabled. |
void |
setFT(FT ft)
Defines the Faceted Taxonomy that will be materialized in MFT. |
void |
setMFTName(java.lang.String name)
Defines the name of Materialized Faceted Taxonomy. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MFT()
Method Detail |
---|
public java.util.HashMap<java.lang.String,java.util.HashSet<java.lang.Integer>> getGeneralDescription(java.lang.Integer objId)
objId
- the id of the object
public java.util.HashMap<java.lang.String,java.util.HashSet<java.lang.String>> getGeneralDescriptionWithNames(java.lang.Integer objId)
objId
- the id of the object
public void addObjectDescription(java.lang.String facet, int termId, int objId)
facet
- the facet that term belongs.termId
- the id of the termobjId
- the id of the objectpublic void addObjectToFacet(java.lang.String facet, int objId)
facet
- the facetobjId
- the id of the objectpublic void printObjectsPerFacet()
public void printDescriptions()
public java.lang.String getFacetDescription(java.lang.String facet)
facet
- the facet
public java.lang.String getFacetDescriptionWithIds(java.lang.String facet)
facet
- the facet
public java.util.HashSet<java.lang.Integer> getAllObjects(java.lang.String facetName)
facetName
- the facet
public java.util.HashSet<java.lang.Integer> getAllObjects()
public java.lang.String getDescriptionOfFocus()
public void changeFacetTaxonomy(java.lang.String facetName, Taxonomy<?> tx)
facetName
- the name of facet.tx
- the new taxonomy of the facet.public void setMFTName(java.lang.String name)
name
- The name of MFT.public java.lang.String getMFTName()
public void setCounters(Counters state)
state
- TRUE for enable; FALSE otherwise.public boolean isCountersEnabled()
public void setFT(FT ft)
ft
- the Faceted Taxonomy that will be materializedpublic FT getFT()
public void printFacetedTree(java.util.HashMap<java.lang.String,Taxonomy<?>> tmp)
tmp
- The faceted tree to be printed.public java.util.HashSet<java.lang.Integer> getLegalIds()
public int getNumOfLegalIdsOfTerm(java.lang.String facet, int termId)
facet
- the facet that term belongstermId
- the id of the term
public java.util.HashMap<java.lang.String,Taxonomy<?>> getZoomInPoints()
public java.util.HashMap<java.lang.String,Taxonomy<?>> getZoomInPointsNoCount()
public java.util.HashMap<java.lang.String,java.util.HashMap<Term<FacetsType>,java.lang.Integer>> getZoomSidePoints()
public void removeAllOtherIndexes(java.lang.String facetName, int termId)
facetName
- the name of the facet.termId
- the id of the termpublic void printZoomPoints(java.util.HashMap<java.lang.String,java.util.HashMap<Term<FacetsType>,java.lang.Integer>> zoomSidePoints)
zoomSidePoints
- a HashMap that includes the zoom side pointspublic void addToLegalIds(java.util.HashSet<java.lang.Integer> legalIds)
legalIds
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |