包 | com.adobe.livecycle.assetmanager.client.handler |
类 | public class PermissionBasedAssetHandler |
继承 | PermissionBasedAssetHandler EventDispatcher Object |
实现 | IAssetHandler |
不推荐使用: Deprecated
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
公共属性
属性 | 由以下参数定义 | ||
---|---|---|---|
assetActions : IList
Specifies the list of actions that are associated with the asset that is handled by this handler. | PermissionBasedAssetHandler | ||
constructor : Object
对类对象或给定对象实例的构造函数的引用。 | Object | ||
selectedAssets : Array
Specifies the array of currently selected assets. | PermissionBasedAssetHandler | ||
target : IAssetHandler
Specifies the target asset handler that is wrapped by this instance. | PermissionBasedAssetHandler | ||
userPermissions : IList [静态]
Specifies a list of permissions that is associated with the current logged-in user. | PermissionBasedAssetHandler | ||
userPermissionsPrefixMap : Object [静态]
Specifies a map of asset permissions prefixes using the format {assetType1:prefix1, assetType2:prefix2}. | PermissionBasedAssetHandler |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
PermissionBasedAssetHandler(targetHandler:IAssetHandler)
Constructor. | PermissionBasedAssetHandler | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | EventDispatcher | ||
将事件调度到事件流中。 | EventDispatcher | ||
Returns the asset type associated with the asset. | PermissionBasedAssetHandler | ||
Called when a user clicks an action associated with an asset type. | PermissionBasedAssetHandler | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | EventDispatcher | ||
表示对象是否已经定义了指定的属性。 | Object | ||
Initializes the handler. | PermissionBasedAssetHandler | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
从 EventDispatcher 对象中删除侦听器。 | EventDispatcher | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | EventDispatcher |
属性详细信息
assetActions | 属性 |
assetActions:IList
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the list of actions that are associated with the asset that is handled by this handler.
实现
public function get assetActions():IList
public function set assetActions(value:IList):void
selectedAssets | 属性 |
target | 属性 |
public var target:IAssetHandler
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies the target asset handler that is wrapped by this instance.
userPermissions | 属性 |
userPermissions:IList
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies a list of permissions that is associated with the current logged-in user.
实现
public static function get userPermissions():IList
public static function set userPermissions(value:IList):void
userPermissionsPrefixMap | 属性 |
public static var userPermissionsPrefixMap:Object
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Specifies a map of asset permissions prefixes using the format {assetType1:prefix1, assetType2:prefix2}
.
构造函数详细信息
PermissionBasedAssetHandler | () | 构造函数 |
public function PermissionBasedAssetHandler(targetHandler:IAssetHandler)
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor.
参数targetHandler:IAssetHandler — The AssetHandler instance that is associated with this object.
|
方法详细信息
getAssetType | () | 方法 |
handleAction | () | 方法 |
public function handleAction(actionEvent:AssetActionEvent):void
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Called when a user clicks an action associated with an asset type.
参数
actionEvent:AssetActionEvent — The event that is thrown when the user clicks an action associated with an asset type.
|
initialize | () | 方法 |
public function initialize():void
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Initializes the handler. Called when AssetHandlerRegistry starts.
Tue Jun 12 2018, 11:04 AM Z