|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jfacets.simpleprofiles.SimpleProfileRepository
public class SimpleProfileRepository
The SimpleProfileRepository, a very basic PR implementation that allows to
quickly get started with JFacets. It can be used directly in your application
as a "mock" of the final real graph.
At the moment, it creates a tree-like graph that's used for JFacets tests :
| Constructor Summary | |
|---|---|
SimpleProfileRepository()
|
|
| Method Summary | |
|---|---|
SimpleProfile |
createProfile(java.lang.String id)
|
void |
destroy()
|
protected void |
feed()
To be overridden to instantiate the graph using the createProfile() method. |
IProfile |
getProfileById(java.lang.String profileId)
Return a profile by its ID |
IProfile[] |
getSuperProfiles(IProfile profile)
Return passed profile's parents in an array |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleProfileRepository()
| Method Detail |
|---|
public void destroy()
protected void feed()
createProfile() method.
public SimpleProfile createProfile(java.lang.String id)
public IProfile getProfileById(java.lang.String profileId)
IProfileRepository
getProfileById in interface IProfileRepositorypublic IProfile[] getSuperProfiles(IProfile profile)
IProfileRepository
getSuperProfiles in interface IProfileRepository
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||