|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.geebis.books.model.preference.navigator.NavigatorPreferences
@Name(value="navigatorPreferences") public class NavigatorPreferences
The NavigatorPreferences class represents an employee's
preferences for the various navigator toolbars in the Geebis system.
NavigatorPreferences for each navigator that they use, and the
NavigatorPreferences has a NavigatorItemPreferences for each item in the navigator.
Each navigator is defined by a navigator kind which is used to differentiate navigators from
each other.
| Constructor Summary | |
|---|---|
NavigatorPreferences()
|
|
NavigatorPreferences(NavigatorPreferencesKind kind)
|
|
| Method Summary | |
|---|---|
void |
addItem(NavigatorItemPreferences item)
Adds a new NavigatorItemPreferences to this navigator |
java.lang.Integer |
getCount()
Gets the number of items to display in the top level part of this navigator. |
java.lang.Long |
getId()
|
NavigatorItemPreferences |
getItemByIndex(int index)
Gets the navigator item preference object in the list by its index |
NavigatorItemPreferences |
getItemByName(java.lang.String name)
Gets the navigator item preference by name |
java.util.List<NavigatorItemPreferences> |
getItems()
Gets the navigator item preferences for this navigator |
NavigatorPreferencesKind |
getKind()
Gets the kind of this navigator |
java.lang.Integer |
getVersion()
|
void |
removeItem(NavigatorItemPreferences item)
Removes a NavigatorItemPreferences from this navigator |
void |
setCount(java.lang.Integer count)
Sets the number of items to display in the top level part of this navigator. |
void |
setId(java.lang.Long id)
|
void |
setItems(java.util.List<NavigatorItemPreferences> items)
Sets the list of navigator item preferences for this navigator |
void |
setKind(NavigatorPreferencesKind kind)
Sets the kind of this navigator |
void |
setVersion(java.lang.Integer version)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NavigatorPreferences()
public NavigatorPreferences(NavigatorPreferencesKind kind)
| Method Detail |
|---|
public NavigatorPreferencesKind getKind()
public void setKind(NavigatorPreferencesKind kind)
kind - the new kind of this navigatorpublic java.lang.Integer getCount()
public void setCount(java.lang.Integer count)
count - the new number of elements to display in the top level part of this navigatorgegetCountpublic java.util.List<NavigatorItemPreferences> getItems()
navigator item preferences for this navigatorpublic void setItems(java.util.List<NavigatorItemPreferences> items)
items - the new list of navigator item preferences for this navigatorpublic java.lang.Integer getVersion()
public void setVersion(java.lang.Integer version)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public void addItem(NavigatorItemPreferences item)
item - the NavigatorItemPreferences to addpublic void removeItem(NavigatorItemPreferences item)
item - the NavigatorItemPreferences to removepublic NavigatorItemPreferences getItemByIndex(int index)
index - the index of the item to find
public NavigatorItemPreferences getItemByName(java.lang.String name)
name - the name of the item to find
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||