|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.palo.api.ext.favoriteviews.FavoriteViewFactory
org.palo.api.ext.favoriteviews.impl.FavoriteViewFactoryImpl
public class FavoriteViewFactoryImpl
FavoriteViewFactoryImpl
The FavoriteViewFactoryImpl
class provides factory methods
to create favorite views and favorite view folders. The method calls are
translated into constructors of the respective classes, thus the clients
will never see the real constructor and so, the implementation is hidden
from the clients.
Constructor Summary | |
---|---|
FavoriteViewFactoryImpl()
|
Method Summary | |
---|---|
FavoriteView |
createFavoriteView(java.lang.String name,
CubeView view)
Creates a new favorite view with a default position (0). |
FavoriteView |
createFavoriteView(java.lang.String name,
CubeView view,
int position)
Creates a new favorite view. |
FavoriteViewsFolder |
createFolder(java.lang.String name,
Connection con)
Creates a new favorite views folder with a default position (0). |
FavoriteViewsFolder |
createFolder(java.lang.String name,
Connection con,
int position)
Creates a new favorite views folder. |
Methods inherited from class org.palo.api.ext.favoriteviews.FavoriteViewFactory |
---|
getInstance |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FavoriteViewFactoryImpl()
Method Detail |
---|
public FavoriteView createFavoriteView(java.lang.String name, CubeView view)
createFavoriteView
in class FavoriteViewFactory
name
- the name of the new favorite view.view
- the attached cube view.
public FavoriteView createFavoriteView(java.lang.String name, CubeView view, int position)
createFavoriteView
in class FavoriteViewFactory
name
- the name of the new favorite view.view
- the attached cube view.position
- the position of this favorite view (the index to the
children of its parent).
public FavoriteViewsFolder createFolder(java.lang.String name, Connection con)
createFolder
in class FavoriteViewFactory
name
- the name of the folder.con
- the connection to which this favorite views folder belongs.
public FavoriteViewsFolder createFolder(java.lang.String name, Connection con, int position)
createFolder
in class FavoriteViewFactory
name
- the name of the folder.con
- the connection to which this favorite views folder belongs.position
- the position in relation to its siblings.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |