Interface IUserPortalContentLocalizationSource<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>,TLocalization extends ILocalization<TBase,LocalizationId>>
-
- Type Parameters:
TBase- type of the base entity that is providing localization.TLocalization- type of the localization.
- All Superinterfaces:
IDescriptionProviding,ILocalizationProviding<TBase,TLocalization>,INameProviding
- All Known Implementing Classes:
MandantRessource,Projekt,Textbaustein
public interface IUserPortalContentLocalizationSource<TBase extends de.xima.cmn.dao.interfaces.IEntity<Long>,TLocalization extends ILocalization<TBase,LocalizationId>> extends ILocalizationProviding<TBase,TLocalization>, INameProviding, IDescriptionProviding
Interface for entities that act as a source of localized display texts (display name, description, short description) for user portal content, e.g.Projekt,MandantRessourceandTextbaustein.- Since:
- 8.6.0
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
-
Fields inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
ATTR_BESCHREIBUNG, ATTR_DESCRIPTION, COL_DESCRIPTION
-
Fields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StringdisplayNameFallback()Fallback for the display name when no localized display name is available.UserPortalContentgetUserPortalContentByPortalUuid(UUID portalUuid)Gets the user portal content that links this entity to the user portal with the given UUID.-
Methods inherited from interface de.xima.fc.entities.interfaces.IDescriptionProviding
getBeschreibung, getDescription
-
Methods inherited from interface de.xima.fc.entities.interfaces.i18n.ILocalizationProviding
getKeys, getLocales, getLocalization, getLocalizationData, getLocalizations, getLocalizationsDefaultLocale, newLocalization, setLocalization
-
Methods inherited from interface de.xima.fc.entities.interfaces.INameProviding
getName
-
-
-
-
Method Detail
-
getUserPortalContentByPortalUuid
UserPortalContent getUserPortalContentByPortalUuid(UUID portalUuid)
Gets the user portal content that links this entity to the user portal with the given UUID.- Parameters:
portalUuid- The UUID of the user portal.- Returns:
- The user portal content for the given portal, or
nullif none exists.
-
displayNameFallback
default String displayNameFallback()
Fallback for the display name when no localized display name is available. Defaults toINameProviding.getName().- Returns:
- The display name fallback.
-
-