The IAssetSystemManager type exposes the following members.

Methods

  NameDescription
Public methodCheckBinaryType
Check that a given File Stream is the specific Binary type.
Public methodCreateAsset
Create a new Asset.

The typeName argument is case sensitive, and must be one of the types available from "AvailableTypeNames" proper in the AssetManager.

Public methodDeleteAsset
Delete an Asset.
Public methodGetAssetMemberURL
Gets the URL of the current version of a specific member.
Public methodGetAutoConverter(IAssetMember)
Get the AutoConverter for the given member instance. Returns null if the member type doesn't have a matching AutoConverter instance.
Public methodGetAutoConverter(String, String)
Get the AutoConverter for the given member name and Asset type name. Returns null if the member type doesn't have a matching AutoConverter instance.
Public methodGetMetaDataDetector(String)
Get the Meta data detector for given Asset type name.
Public methodGetMetaDataDetector(IAssetBinary)
Get the Meta data detector for given binary.
Public methodGetStorageProvider
Retrieve the storage provider associated with given Asset Type Name.
Public methodSelectAssets
Public methodSelectAssetsByOwner
Select all Assets owned by given object.
Public methodSelectAssetsByType
Select all Assets by specific type.
Public methodSelectAssetUrls
Public methodSelectSingleAsset
Select a single Asset by its ID.
Public methodSelectSingleAssetBinary
Select a single AssetBinary by its ID.
Public methodSelectSingleAssetBinarySection
Select a single AssetBinarySection by its ID.
Public methodSelectSingleAssetMember
Select a single AssetMember by its ID.
Public methodUpdateAsset
Commit updated information of the Asset to underlying database.

Properties

  NameDescription
Public propertyAutoDiscardPreviousVersions
Test the flag indicating that previous versions are automatically discarded if Max Number of Version is set.
Public propertyAvailableTypeNames
Get the list of available Specific Asset Type Names.
Public propertyDataManager
Get the DataManager in charge of communicating with the database.
Public propertyDefaultStorageProvider
Get the default storage provider.
Public propertyMaxNumberOfVersions
Get the maximum number of versions allowed for Asset.
Public propertyStorageProviders
Get the list of initialized storage providers.

Events

  NameDescription
Public eventCleanSweep
EventHandler called by the AssetSystemManager to indicate it's time to perform a CleanSweep and dispose of orphan binaries.

Storage providers will subscribe to this event.

See Also