The IAssetSystemManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
CheckBinaryType |
Check that a given File Stream is the specific Binary type.
| |
CreateAsset |
Create a new Asset.
The typeName argument is case sensitive, and must be one of the types available from "AvailableTypeNames" proper in the AssetManager. | |
DeleteAsset |
Delete an Asset.
| |
GetAssetMemberURL |
Gets the URL of the current version of a specific member.
| |
GetAutoConverter(IAssetMember) |
Get the AutoConverter for the given member instance.
Returns null if the member type doesn't have a matching
AutoConverter instance.
| |
GetAutoConverter(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.
| |
GetMetaDataDetector(String) |
Get the Meta data detector for given Asset type name.
| |
GetMetaDataDetector(IAssetBinary) |
Get the Meta data detector for given binary.
| |
GetStorageProvider |
Retrieve the storage provider associated with given Asset Type Name.
| |
SelectAssets | ||
SelectAssetsByOwner |
Select all Assets owned by given object.
| |
SelectAssetsByType |
Select all Assets by specific type.
| |
SelectAssetUrls | ||
SelectSingleAsset |
Select a single Asset by its ID.
| |
SelectSingleAssetBinary |
Select a single AssetBinary by its ID.
| |
SelectSingleAssetBinarySection |
Select a single AssetBinarySection by its ID.
| |
SelectSingleAssetMember |
Select a single AssetMember by its ID.
| |
UpdateAsset |
Commit updated information of the Asset to underlying database.
|
Properties
Name | Description | |
---|---|---|
AutoDiscardPreviousVersions |
Test the flag indicating that previous versions are automatically discarded if Max Number of Version is set.
| |
AvailableTypeNames |
Get the list of available Specific Asset Type Names.
| |
DataManager |
Get the DataManager in charge of communicating with the database.
| |
DefaultStorageProvider |
Get the default storage provider.
| |
MaxNumberOfVersions |
Get the maximum number of versions allowed for Asset.
| |
StorageProviders |
Get the list of initialized storage providers.
|
Events
Name | Description | |
---|---|---|
CleanSweep |
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. |