MODULE_APPLICATION, MODULE_ASSET_ACTION_PACKER, MODULE_ASSET_ACTION_PROCESSOR, MODULE_ASSET_ACTION_SAVER, MODULE_ASSET_METADATA, MODULE_ASSET_PROCESSOR, MODULE_ASSET_STORAGE, MODULE_FILTER, MODULE_TYPE_MASK_ALL
Modifier and Type | Method and Description |
---|---|
Asset |
browseForAsset(CumulusSession cumulusSession,
boolean allowContainer,
boolean allowAsset,
java.lang.String title)
Bring up a dialog to allow the user to select a single asset.
|
Asset |
browseForAsset(CumulusSession cumulusSession,
boolean allowContainer,
boolean allowAsset,
java.lang.String title,
java.lang.String defaultNameForContainer)
Bring up a dialog to allow the user to select a single asset.
|
boolean |
canBrowseForAsset(boolean allowContainer,
boolean allowAsset)
Check whether this AssetStorage can bring up a dialog to select a single asset.
|
byte[] |
createAssetReferenceData(CumulusSession cumulusSession,
Asset asset)
Create AssetReference part data for the given asset if possible.
|
boolean |
isValidExclusiveAssetReferenceForCatalog(CumulusSession cumulusSession,
AssetReferencePart assetReferencePart,
java.lang.String catalogName)
Return whether the given AssetReference is valid to be used as an exclusive central asset location for the given catalog.
|
Asset |
resolveAssetReferenceData(CumulusSession cumulusSession,
byte[] data,
boolean showUI,
Asset container)
Returns the asset found for the given asset reference data.
|
getAvailableCategoryFields, getAvailableRecordFields, getID, getName, getName, getType, hasAboutDialog, hasPreferencesDialog, isNativeModule, showAboutDialog, showPreferencesDialog
boolean canBrowseForAsset(boolean allowContainer, boolean allowAsset)
allowContainer
- allow selecting an asset containerallowAsset
- allow selecting an asset that is not a containertrue
if the AssetStorage module can browse for the specified asset type.Asset browseForAsset(CumulusSession cumulusSession, boolean allowContainer, boolean allowAsset, java.lang.String title)
cumulusSession
- the CumulusSession to useallowContainer
- allow selecting an asset containerallowAsset
- allow selecting an asset that is not a containertitle
- dialog title of the upcoming dialognull
if no asset was selected.Asset browseForAsset(CumulusSession cumulusSession, boolean allowContainer, boolean allowAsset, java.lang.String title, java.lang.String defaultNameForContainer)
cumulusSession
- the CumulusSession to useallowContainer
- allow selecting an asset containerallowAsset
- allow selecting an asset that is not a containertitle
- dialog title of the upcoming dialogdefaultNameForContainer
- if the user selects a container asset this is used as the default name for the container to be creatednull
if no asset was selected.byte[] createAssetReferenceData(CumulusSession cumulusSession, Asset asset)
null
.cumulusSession
- the session to use for the AssetReference data to be createdasset
- The asset to create reference information fornull
if it can not create asset reference data.Asset resolveAssetReferenceData(CumulusSession cumulusSession, byte[] data, boolean showUI, Asset container)
cumulusSession
- the session to use for the Asset to be createddata
- Asset reference datashowUI
- Indicates whether the module can show user interface (only evaluated when the Cumulus Java Classes are running with user
interface)container
- The container specified for sub assets (may be null)null
boolean isValidExclusiveAssetReferenceForCatalog(CumulusSession cumulusSession, AssetReferencePart assetReferencePart, java.lang.String catalogName)
assetReferencePart
- the AssetReference information to be checkedtrue
if the given AssetReference can be used for the given catalog's exclusive central asset location.www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.