Package com.microstrategy.web.app.beans
Class PageHistoryItem
- java.lang.Object
-
- com.microstrategy.utils.serialization.AbstractPersistable
-
- com.microstrategy.web.app.beans.PageHistoryItem
-
- All Implemented Interfaces:
EnumWebPersistableState
,Persistable
public class PageHistoryItem extends AbstractPersistable
Class that represents a page on the page History.
Used for the back/Forward buttons.- Since:
- MicroStrategy Web 9.0.0
-
-
Field Summary
-
Fields inherited from class com.microstrategy.utils.serialization.AbstractPersistable
scriptEndTagEncoder
-
Fields inherited from interface com.microstrategy.utils.serialization.EnumWebPersistableState
BARE_MINIMAL_STATE_INFO, MAXIMAL_STATE_INFO, MINIMAL_STATE_INFO, TYPICAL_STATE_INFO
-
-
Constructor Summary
Constructors Constructor Description PageHistoryItem()
PageHistoryItem(java.lang.String pageName, java.lang.String pageState, java.lang.String title, java.lang.String titleID, java.lang.String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
Utility method to clone this object.protected void
doFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)
boolean
equals(java.lang.Object obj)
An element is equal if keys are defined and are equal or if all other fields are the samejava.lang.String
getKey()
java.lang.String
getName()
java.lang.String
getState()
java.lang.String
getTargetBeanID()
java.lang.String
getTargetMessageID()
java.lang.String
getTitle()
java.lang.String
getTitleID()
int
getType()
int
hashCode()
boolean
isSkipType()
void
setKey(java.lang.String key)
void
setName(java.lang.String name)
void
setState(java.lang.String state)
void
setTargetBeanID(java.lang.String targetBeanID)
void
setTargetMessageID(java.lang.String targetMessageID)
void
setTitle(java.lang.String title)
void
setTitleID(java.lang.String titleID)
void
setType(int type)
-
Methods inherited from class com.microstrategy.utils.serialization.AbstractPersistable
doFlatState, getStateHandler, isXMLStateZipped, restoreState, restoreState, restoreXMLState, saveState, saveState, saveState, saveState, saveXMLState, saveXMLState
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- Returns the _name.
-
setName
public void setName(java.lang.String name)
- Parameters:
name
- The _name to set.
-
getState
public java.lang.String getState()
- Returns:
- Returns the _state.
-
setState
public void setState(java.lang.String state)
- Parameters:
state
- The _State to set.
-
getTitle
public java.lang.String getTitle()
- Returns:
- Returns the _title.
-
setTitle
public void setTitle(java.lang.String title)
- Parameters:
title
- The _title to set.
-
getTitleID
public java.lang.String getTitleID()
- Returns:
- Returns the _titleID.
-
setTitleID
public void setTitleID(java.lang.String titleID)
- Parameters:
titleID
- The _titleID to set.
-
getKey
public java.lang.String getKey()
- Returns:
- Returns the _key.
-
setKey
public void setKey(java.lang.String key)
- Parameters:
key
- The _key to set.
-
getType
public int getType()
- Returns:
- Returns the _type.
-
setType
public void setType(int type)
- Parameters:
type
- The _type to set.
-
isSkipType
public boolean isSkipType()
- Returns:
- Returns if the _type is skippable.
-
getTargetBeanID
public java.lang.String getTargetBeanID()
- Returns:
- the DSS ID of the page's target bean
-
setTargetBeanID
public void setTargetBeanID(java.lang.String targetBeanID)
- Parameters:
targetBeanID
- The DSS ID of the page's target bean to set.
-
getTargetMessageID
public java.lang.String getTargetMessageID()
- Returns:
- the message ID of the page's target bean
-
setTargetMessageID
public void setTargetMessageID(java.lang.String targetMessageID)
- Parameters:
targetMessageID
- The message ID of the page's target bean to set.
-
doFlatState
protected void doFlatState(FlatStateSerializer serializer, int howMuchState, FlatStateTokenizer tokenizer)
- Overrides:
doFlatState
in classAbstractPersistable
-
equals
public boolean equals(java.lang.Object obj)
An element is equal if keys are defined and are equal or if all other fields are the same- Overrides:
equals
in classjava.lang.Object
- Parameters:
obj
- page
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
clone
public java.lang.Object clone()
Utility method to clone this object.- Overrides:
clone
in classjava.lang.Object
- Returns:
- the cloned object
-
-