|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.palo.api.ext.favoriteviews.FavoriteViewFactory
public abstract class FavoriteViewFactory
FavoriteViewFactory
An instance of FavoriteViewFactory
is obtained with the
getInstance()
method. Subsequently a favorite view or a favorite
view folder can be created by one of the create methods below.
Example:
FavoriteView favoriteView = FavoriteViewFactory.getInstance(). createFolder("MyFolder", connection);
Constructor Summary | |
---|---|
FavoriteViewFactory()
|
Method Summary | |
---|---|
abstract FavoriteView |
createFavoriteView(java.lang.String name,
CubeView view)
Creates a new FavoriteView with a name and an attached cube
view. |
abstract FavoriteView |
createFavoriteView(java.lang.String name,
CubeView view,
int position)
Creates a new FavoriteView with a name, an attached cube
view, and a position. |
abstract FavoriteViewsFolder |
createFolder(java.lang.String name,
Connection con)
Creates a new FavoriteViewsFolder with the specified name
and connection. |
abstract FavoriteViewsFolder |
createFolder(java.lang.String name,
Connection con,
int position)
Creates a new FavoriteViewsFolder with the specified name
and connection. |
static FavoriteViewFactory |
getInstance()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FavoriteViewFactory()
Method Detail |
---|
public static FavoriteViewFactory getInstance()
public abstract FavoriteView createFavoriteView(java.lang.String name, CubeView view)
FavoriteView
with a name and an attached cube
view.
name
- the name of the new favorite view.view
- the attached cube view.
public abstract FavoriteView createFavoriteView(java.lang.String name, CubeView view, int position)
FavoriteView
with a name, an attached cube
view, and a position.
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 abstract FavoriteViewsFolder createFolder(java.lang.String name, Connection con)
FavoriteViewsFolder
with the specified name
and connection. Folders have to be created with a fixed connection,
because all favorite views are saved per connection.
name
- the name of the folder.con
- the connection to which this favorite views folder belongs.
public abstract FavoriteViewsFolder createFolder(java.lang.String name, Connection con, int position)
FavoriteViewsFolder
with the specified name
and connection. Folders have to be created with a fixed connection,
because all favorite views are saved per connection.
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 |