Package lumis.portal.activitystream
Class ActivityAction
- java.lang.Object
-
- lumis.portal.activitystream.ActivityAction
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EmailNotifierVariableResolver.ActionDecorator
@StableMinor(version="14.1", sinceVersion="8.2") public class ActivityAction extends Object implements Serializable
The action performed during anActivity
.- Since:
- 8.2.0
- Version:
- $Revision: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivityAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
Returns the display name of this action.String
getId()
Returns the identifier of this action.String
getLocalizedDisplayName(Locale locale)
Returns the localized display name of this action.IResource
getStringResource()
Returns the string resource used to localize this action's strings.void
setDisplayName(String displayName)
Sets the display name of this action.void
setId(String id)
Sets the identifier of this action.void
setStringResource(IResource stringResource)
Sets the string localization resource paths for this action based on a string localization resource object.void
setStringResourcePath(String stringResourcePath)
Sets the string localization resource path for this action.String
toString()
-
-
-
Method Detail
-
getId
public String getId()
Returns the identifier of this action.- Returns:
- the identifier of this action.
- Since:
- 8.2.0
-
setId
public void setId(String id)
Sets the identifier of this action.- Parameters:
id
- the identifier.- Since:
- 8.2.0
-
getStringResource
public IResource getStringResource()
Returns the string resource used to localize this action's strings.- Returns:
- the string localization resource.
- Since:
- 8.2.0
-
setStringResource
public void setStringResource(IResource stringResource)
Sets the string localization resource paths for this action based on a string localization resource object.- Parameters:
stringResource
- the string localization resource object.- Since:
- 8.2.0
- See Also:
setStringResourcePath(String)
-
setStringResourcePath
public void setStringResourcePath(String stringResourcePath)
Sets the string localization resource path for this action.- Parameters:
stringResourcePath
- the string localization resource path.- Since:
- 8.2.0
- See Also:
setStringResource(IResource)
-
getDisplayName
public String getDisplayName()
Returns the display name of this action.- Returns:
- a plain-text value, possibly a localizable string key.
- Since:
- 8.2.0
- See Also:
#getStringResourcePaths()
-
setDisplayName
public void setDisplayName(String displayName)
Sets the display name of this action.- Parameters:
displayName
- the plain-text display name value, possibly a localizable string key.- Since:
- 8.2.0
- See Also:
getStringResource()
-
getLocalizedDisplayName
public String getLocalizedDisplayName(Locale locale) throws PortalException
Returns the localized display name of this action.- Parameters:
locale
- the locale to use to localize the display name.- Returns:
- the plain-text display name value.
- Throws:
PortalException
- if there was a problem while applying the localization on the value.- Since:
- 8.2.0
-
-