org.activemath.webapp.dict
Class ItemView
java.lang.Object
org.activemath.webapp.dict.ItemView
- All Implemented Interfaces:
- Serializable, Cloneable
public class ItemView
- extends Object
- implements Cloneable, Serializable
Bean to describe the states of viewing an item.
Covers such information as the id of the item viewed,
the current language, the current mode, and should
include the states of the folds and scroll-position.
- See Also:
- Serialized Form
ItemView
public ItemView()
getId
public String getId()
setId
public void setId(String id)
setMbaseRef
public void setMbaseRef(MBaseRef mbaseRef)
getItemLanguage
public String getItemLanguage()
setItemLanguage
public void setItemLanguage(String itemLanguage)
getViewMode
public String getViewMode()
setViewMode
public void setViewMode(String viewMode)
getEssentialRelationsFromItem
public RelationsPackView getEssentialRelationsFromItem()
- The essential relations are the relations which are
not of occurence types.
- Returns:
getEssentialRelationsToItem
public RelationsPackView getEssentialRelationsToItem()
getForWhatIsItem
public RelationsPackView getForWhatIsItem()
getItemsForThis
public RelationsPackView getItemsForThis()
getBooksWhereItAppears
public RelationsPackView getBooksWhereItAppears()
getDisplayMetadata
public RelationsPackView getDisplayMetadata()
getTheoryOfId
public String getTheoryOfId()
getCollectionOfId
public String getCollectionOfId()
clone
public Object clone()
- Overrides:
clone in class Object
getBookPagesContainingId
public List getBookPagesContainingId()
getBookPagesContainingId
public List getBookPagesContainingId(User user)
- Returns a list of pages.
- Parameters:
user - may be null
- Returns:
- a list of
Page objects