|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.dms.DASMessage atg.userprofiling.dms.DPSMessage atg.userprofiling.dms.ViewItemMessage
public class ViewItemMessage
ViewItemMessage is a class which encapsulates the information regarding a repository item that is "viewed" by the end user. The class is meant to hold the information and to be serialized within an ObjectMessage that can be sent over JMS. Typically this object is instantiated and populated with the relevant information and is sent out on a topic or queue that can be acted upon by the underlying system. This feature can be used to note the viewing of such items as: Category, Product, Sku or a Catalog if they are modeled as repository items.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
ViewItemMessage()
Constructs a blank ViewItemMessage |
|
ViewItemMessage(java.lang.String pProfileId)
Constructs a View Item message. |
|
ViewItemMessage(java.lang.String pRepositoryName,
java.lang.String pItemType,
java.lang.String pRepositoryId,
java.lang.String pFolder,
java.lang.String pProfileId,
RepositoryItem pItem,
Targeter pTargeter)
Constructs a View Item message. |
|
ViewItemMessage(java.lang.String pRepositoryName,
java.lang.String pItemType,
java.lang.String pRepositoryId,
java.lang.String pFolder,
java.lang.String pProfileId,
RepositoryItem pItem,
Targeter pTargeter,
java.lang.String pPath)
Constructs a View Item message. |
Method Summary | |
---|---|
java.lang.String |
getFolder()
|
RepositoryItem |
getItem()
|
java.lang.String |
getItemType()
|
java.lang.String |
getPath()
|
java.lang.String |
getRepositoryId()
|
java.lang.String |
getRepositoryName()
|
Targeter |
getTargeter()
|
void |
setFolder(java.lang.String pFolder)
The folder path that includes the item, if it is a content repository |
void |
setItem(RepositoryItem pItem)
The repository item that was viewed. |
void |
setItemType(java.lang.String pItemType)
The repository item type of the repository item that is passed. |
void |
setPath(java.lang.String pPath)
The name of the page that contains this item. |
void |
setRepositoryId(java.lang.String pRepositoryId)
The id of the repository. |
void |
setRepositoryName(java.lang.String pRepositoryName)
The name of the repository that contains this item. |
void |
setTargeter(Targeter pTargeter)
The targeter that was used to view the event. |
protected java.lang.String |
toStringProperties()
Returns the String representation of all the public properties of this message. |
Methods inherited from class atg.userprofiling.dms.DPSMessage |
---|
getParentSessionId, getProfileId, getScenarioPathInfo, getSessionId, getSiteId, setParentSessionId, setProfileId, setScenarioPathInfo, setSessionId, setSiteId, setSiteIdFromSiteContextManager |
Methods inherited from class atg.nucleus.dms.DASMessage |
---|
limitSize, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ViewItemMessage()
public ViewItemMessage(java.lang.String pProfileId)
public ViewItemMessage(java.lang.String pRepositoryName, java.lang.String pItemType, java.lang.String pRepositoryId, java.lang.String pFolder, java.lang.String pProfileId, RepositoryItem pItem, Targeter pTargeter)
public ViewItemMessage(java.lang.String pRepositoryName, java.lang.String pItemType, java.lang.String pRepositoryId, java.lang.String pFolder, java.lang.String pProfileId, RepositoryItem pItem, Targeter pTargeter, java.lang.String pPath)
Method Detail |
---|
public void setPath(java.lang.String pPath)
the
- name of the repository that contains this item.public java.lang.String getPath()
public void setRepositoryName(java.lang.String pRepositoryName)
the
- name of the repository that contains this item.public java.lang.String getRepositoryName()
public void setFolder(java.lang.String pFolder)
the
- path of the containing folderpublic java.lang.String getFolder()
public void setItemType(java.lang.String pItemType)
the
- repository item type.public java.lang.String getItemType()
public void setRepositoryId(java.lang.String pRepositoryId)
the
- repository idpublic java.lang.String getRepositoryId()
public void setItem(RepositoryItem pItem)
the
- repository item that was viewedpublic RepositoryItem getItem()
public void setTargeter(Targeter pTargeter)
the
- targeter that was used to view the eventpublic Targeter getTargeter()
protected java.lang.String toStringProperties()
toStringProperties
in class DPSMessage
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |