Interface DestinationHelper
public interface DestinationHelper
-
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.asset.kernel.model.AssetEntrycom.liferay.asset.kernel.model.AssetRenderer<?> longgetRouteParameter(String name) longgetUID()
-
Method Details
-
getAssetEntry
com.liferay.asset.kernel.model.AssetEntry getAssetEntry()- Returns:
- The
AssetEntryobject associated with the current destination.
-
getAssetRenderer
com.liferay.asset.kernel.model.AssetRenderer<?> getAssetRenderer()- Returns:
- The
AssetRendererfor theAssetEntryassociated with the current destination.
-
getAssetViewURL
String getAssetViewURL()- Returns:
- The view URL of the asset associated with the current destination.
-
getClassName
String getClassName()- Returns:
- The fully qualified class name of the
AssetEntryassociated with the current destination.
-
getClassPK
long getClassPK()- Returns:
- The class primary key of the
AssetEntryassociated with the current destination.
-
getRouteParameter
- Parameters:
name- The name of the route parameter to retrieve.- Returns:
- The value of a route parameter with the specified name.
-
getScopeGroupId
long getScopeGroupId()- Returns:
- The group ID associated with the current destination.
-
getUID
String getUID()- Returns:
- The unique identifier (UID) of the
AssetEntryassociated with the current destination.
-