Click or drag to resize

IAssetManager Methods


The IAssetManager type exposes the following members.

Methods
  Name Description
Public method Asset Retrieves an Asset by its unique ID.
Public method AssetByPath Retrieves an asset by its full path
Public method AssetFolder Retrieves a asset folder by its unique ID.
Public method AssetFolderByPath Retrieves an asset folder by its full path
Public method AssetFolders Retrieves a collection of asset folders by their unique IDs.
Public method AssetItem Retrieve an Asset or Asset Folder by its unique ID
Public method AssetItems Retrieves a collection of assets by their unique IDs.
Public method AssetRegionRoots Retrieves the Asset Items that have Locales set and not Inheriting Locale from their ancestors, in a paginated fashion.
Public method AssetRootFolders Retrieves a collection of the Asset Folders at the top level of the asset tree.
Public method Code example Assets(FuncIAsset, Boolean)

Retrieves a collection of Assets, pre-filtered through a function. e.g. a function to filter assets that have the jpg extension.

Public method Assets(IEnumerableString) Retrieves a collection of Assets by their unique IDs.
Public method Assets(Int32, Int32, Int32) Retrieves the collection of all Assets, in a paginated fashion.
Public method AssetsBySchemas Retrieves assets created using a specified list of asset schemas.
Public method CopyAsset Creates a copy of an Asset into a target Asset Folder.
Public method CopyAssetFolder Creates a copy of an Asset Folder in a specified asset folder.
Public method CopyAssetItem  
Public method CopyRegionRootAssetItem Clones an Asset Item that is set as a region root.
Public method CreateAsset(IAssetFolder, IAssetSchema, String, Boolean, Stream, Boolean) Creates a new Asset with specific Asset Schema.
Public method CreateAsset(IAssetFolder, IAssetSchema, String, Boolean, String, Boolean) Creates a new Asset with specific Asset Schema with an external URL rather than an uploaded file.
Public method CreateAssetFolder Creates a new Asset Folder in a specified parent folder.
Public method CreateAssetRootFolder Creates a new Asset Folder at the top level of the asset tree.
Public method CrossLocaleCopyAssetItem

Copies a Asset with language settings, to another location of a new parent Asset Folder with language settings, when there is a Lingual Map established between the Region Roots of both assets.

Public method CurrentVersionFilesCount Calculates the current version files count across all Storage Tracks.
(Inherited from IAssetStorageManager)
Public method DeepCloneT, TManager Duplicates an object instance, not including its unique ID.
(Inherited from ITransactionalEntity)
Public method EmptyAssetRecyleFolder Permanently removes all Asset Items in the asset recycle folder.
Public method MoveAsset Moves an asset from its current location to a new target Asset Folder.
Public method MoveAssetFolder Moves an Asset Folder together with its descendants to the specified target location.
Public method PreviousVersionsFilesCount Calculated the previous version files count across all Storage Tracks.
(Inherited from IAssetStorageManager)
Public method PreviousVersionsStorageSpace Calculates the total storage space of previous versions across all Storage Tracks.
(Inherited from IAssetStorageManager)
Public method QuickWrite Creates a temporary Write Session to quickly write something outside the current Session and transaction. This is a way to bypass the transaction and quickly put something into the content store.
(Inherited from ITransactionalEntity)
Public method RecycleAssetFolder Retrieves the Recycle Folder of the AssetManager Instance.
Public method RelatedAssets Retrieves assets that are related to a specified asset.
Public method RemoveAsset Removes a single Asset by ID.
Public method RemoveAssetFolder Removes a single Asset Folder by ID.
Public method RemoveAssetsAndFolders Removes multiple Assets and Asset Folders given an array of asset IDs.
Public method StorageTrack Retrieves the storage tracking information of an Asset type/schema
(Inherited from IAssetStorageManager)
Public method StorageTracks Retrieves all storage tracks
(Inherited from IAssetStorageManager)
Public method TotalStorageSpace Calculates the total storage space across all Storage Tracks.
(Inherited from IAssetStorageManager)
Top
See Also