#include <category_asset.h>
Implementation of category assets.
Static Public Member Functions | |
static MAXON_METHOD Result< CategoryAsset > | Create () |
static MAXON_METHOD Id | GetParentCategory (const AssetDescription &asset) |
static MAXON_METHOD Result< void > | SetAssetCategory (const AssetDescription &asset, const Id &category) |
static MAXON_METHOD Result< BaseArray< String > > | GetAssetBreadcrumbString (const AssetDescription &asset, const AssetRepositoryRef &repository) |
Private Member Functions | |
MAXON_INTERFACE (CategoryAssetInterface, MAXON_REFERENCE_COPY_ON_WRITE, "net.maxon.interface.categoryasset") | |
|
private |
|
static |
Create creates a new category asset.
|
static |
GetParentCategory returns the category id of the given asset.
[in] | asset | Asset to investigate. |
|
static |
SetAssetCategory allows to move an asset into a category.
[in] | asset | asset to move. |
[in] | category | Category to use. |
|
static |
GetAssetBreadcrumbString returns the asset parent categories as string.
[in] | asset | Asset to investigate. |
[in] | repository | Repository to use. |