Package lumis.portal.activitystream
Class ActivityObject
- java.lang.Object
-
- lumis.portal.activitystream.ActivityObject
-
- All Implemented Interfaces:
Serializable
@StableMinor(version="14.2", sinceVersion="8.2") public class ActivityObject extends Object implements Serializable
Object on which an action is applied during anActivity
.- Since:
- 8.2.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivityObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
Returns the display name of this object.String
getId()
Returns the identifier of this object.String
getIntroduction()
Returns the introduction text of this object.String
getIntroductionImageUrl()
Returns the URL of the introduction image of this object.Locale
getLocale()
Returns the locale of this object.ActivityObjectType
getType()
Returns the type of this object.String
getUrl()
Returns the URL to the main page of this object.void
setDisplayName(String displayName)
Sets the display name of this object.void
setId(String id)
Sets the identifier of this object.void
setIntroduction(String introduction)
Sets the introduction text of this object.void
setIntroductionImageUrl(String introductionImageUrl)
Sets the introduction image URL of this object.void
setLocale(Locale locale)
Sets the locale of this object.void
setType(ActivityObjectType type)
Sets the type of this object.void
setUrl(String url)
Sets the URL to the main page of this object.
-
-
-
Method Detail
-
getId
public String getId()
Returns the identifier of this object. Typically a content identifier.- Returns:
- the identifier of this object, or
null
if it does not have a direct object. - Since:
- 8.2.0
-
setId
public void setId(String id)
Sets the identifier of this object.- Parameters:
objectId
- the identifier of this object.- Since:
- 8.2.0
-
getType
public ActivityObjectType getType()
Returns the type of this object.- Returns:
- the type of this object, or
null
if it does not have a direct object. - Since:
- 8.2.0
-
setType
public void setType(ActivityObjectType type)
Sets the type of this object.- Parameters:
type
- the type to set.- Since:
- 8.2.0
-
getDisplayName
public String getDisplayName()
Returns the display name of this object.- Returns:
- a plain-text value that is the display name of this object,
or
null
if this object does not have a display name. - Since:
- 8.2.0
-
setDisplayName
public void setDisplayName(String displayName)
Sets the display name of this object.- Parameters:
displayName
- plain-text value to use as the display name of this object.- Since:
- 8.2.0
-
getIntroduction
public String getIntroduction()
Returns the introduction text of this object.- Returns:
- a plain-text value that is the introduction of this object,
or
null
if this object does not have an introduction. - Since:
- 8.2.0
-
setIntroduction
public void setIntroduction(String introduction)
Sets the introduction text of this object.- Parameters:
introduction
- plain-text value to use as the introduction of this object.- Since:
- 8.2.0
-
getIntroductionImageUrl
public String getIntroductionImageUrl()
Returns the URL of the introduction image of this object.- Returns:
- an absolute URL; a URI relative to portal application root; or
null
if there is no image. - Since:
- 8.2.0
-
setIntroductionImageUrl
public void setIntroductionImageUrl(String introductionImageUrl)
Sets the introduction image URL of this object.- Parameters:
introductionImageUrl
- an absolute URL or a URI relative to portal application root that will be post-processed during rendering.- Since:
- 8.2.0
-
getUrl
public String getUrl()
Returns the URL to the main page of this object.- Returns:
- an absolute URL; a URI relative to portal application root; or
null
if there is no URL for this object. - Since:
- 8.2.0
-
setUrl
public void setUrl(String url)
Sets the URL to the main page of this object.- Parameters:
url
- an absolute URL or a URI relative to portal application root that will be post-processed during rendering.- Since:
- 8.2.0
-
getLocale
public Locale getLocale()
Returns the locale of this object.- Returns:
- the locale of this object, or
null
if this object has no locale specified. - Since:
- 8.2.0
-
setLocale
public void setLocale(Locale locale)
Sets the locale of this object.- Parameters:
locale
- the locale, ornull
if the locale is undefined.- Since:
- 8.2.0
-
-