public class EmailNotifierVariableResolver.ObjectTypeDecorator extends ActivityObjectType
ActivityObjectType
and implements new localization methods that use the
EmailNotifierVariableResolver.locale
and can be used with EL.Constructor and Description |
---|
ObjectTypeDecorator(ActivityObjectType activityObjectType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDisplayName()
Returns the display name of this object type.
|
String |
getId()
Returns the identifier of this object type.
|
String |
getLocalizedDisplayName()
Returns the localized display name of this object type using the resolver locale.
|
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.
|
int |
hashCode() |
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() |
public ObjectTypeDecorator(ActivityObjectType activityObjectType)
public String getId()
ActivityObjectType
getId
in class ActivityObjectType
public void setId(String id)
ActivityObjectType
setId
in class ActivityObjectType
id
- the identifier.public IResource getStringResource()
ActivityObjectType
getStringResource
in class ActivityObjectType
public void setStringResource(IResource stringResource)
ActivityObjectType
setStringResource
in class ActivityObjectType
stringResource
- the string localization resource object.ActivityObjectType.setStringResourcePath(String)
public void setStringResourcePath(String stringResourcePath)
ActivityObjectType
setStringResourcePath
in class ActivityObjectType
stringResourcePath
- the string localization resource path.ActivityObjectType.setStringResource(IResource)
public String getDisplayName()
ActivityObjectType
getDisplayName
in class ActivityObjectType
#getStringResourcePaths()
public void setDisplayName(String displayName)
ActivityObjectType
setDisplayName
in class ActivityObjectType
displayName
- the plain-text display name value, possibly a localizable string key.ActivityObjectType.getStringResource()
public String getLocalizedDisplayName(Locale locale) throws PortalException
ActivityObjectType
getLocalizedDisplayName
in class ActivityObjectType
locale
- the locale to use to localize the display name.PortalException
- if there was a problem while applying the localization on the value.public String toString()
toString
in class ActivityObjectType
public String getLocalizedDisplayName() throws PortalException
PortalException
- if there was a problem while applying the localization on the value.LumisXP 12.1.0.191010 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.