Package lumis.portal.activitystream
Class ActivityObjectType
- java.lang.Object
-
- lumis.portal.activitystream.ActivityObjectType
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
EmailNotifierVariableResolver.ObjectTypeDecorator
@StableMinor(version="14.0", sinceVersion="8.2") public class ActivityObjectType extends Object implements Serializable
- Since:
- 8.2.0
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ActivityObjectType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
Returns the display name of this object type.String
getId()
Returns the identifier of this object type.String
getLocalizedDisplayName(Locale locale)
Returns the localized display name of this object type.IResource
getStringResource()
Returns the string resource used to localize this object type's strings.void
setDisplayName(String displayName)
Sets the display name of this object type.void
setId(String id)
Sets the identifier of this object type.void
setStringResource(IResource stringResource)
Sets the string localization resource paths for this object type based on a string localization resource object.void
setStringResourcePath(String stringResourcePath)
Sets the string localization resource path for this object type.String
toString()
-
-
-
Method Detail
-
getId
public String getId()
Returns the identifier of this object type.- Returns:
- the identifier of this object type.
- Since:
- 8.2.0
-
setId
public void setId(String id)
Sets the identifier of this object type.- Parameters:
id
- the identifier.- Since:
- 8.2.0
-
getStringResource
public IResource getStringResource()
Returns the string resource used to localize this object type'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 object type 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 object type.- 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 object type.- 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 object type.- 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 object type.- 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
-
-